From 9344aea5040213bf56a80ac2f75e28e45ae7db67 Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:26:35 +0100 Subject: [PATCH 01/24] Fix weight generation for pallet-asset-manager (#3078) --- pallets/asset-manager/src/benchmarks.rs | 66 ++++++++++--------------- 1 file changed, 27 insertions(+), 39 deletions(-) diff --git a/pallets/asset-manager/src/benchmarks.rs b/pallets/asset-manager/src/benchmarks.rs index e4c1ec26d7..27cb259d75 100644 --- a/pallets/asset-manager/src/benchmarks.rs +++ b/pallets/asset-manager/src/benchmarks.rs @@ -37,54 +37,42 @@ benchmarks! { } change_existing_asset_type { - let x in 5..100; - for i in 0..x { - let asset_type: T::ForeignAssetType = Location::new(0, X1(GeneralIndex(i as u128))).into(); - let metadata = T::AssetRegistrarMetadata::default(); - let amount = 1u32.into(); - Pallet::::register_foreign_asset( - RawOrigin::Root.into(), - asset_type.clone(), - metadata, - amount, - true - )?; - } + let asset_type: T::ForeignAssetType = Location::new(0, X1(GeneralIndex(1 as u128))).into(); + let metadata = T::AssetRegistrarMetadata::default(); + let amount = 1u32.into(); + Pallet::::register_foreign_asset( + RawOrigin::Root.into(), + asset_type.clone(), + metadata, + amount, + true + )?; let new_asset_type = T::ForeignAssetType::default(); - let asset_type_to_be_changed: T::ForeignAssetType = Location::new( - 0, - X1(GeneralIndex((x-1) as u128)) - ).into(); - let asset_id_to_be_changed = asset_type_to_be_changed.into(); - }: _(RawOrigin::Root, asset_id_to_be_changed, new_asset_type.clone(), x) + let asset_id_to_be_changed = asset_type.clone().into(); + }: _(RawOrigin::Root, asset_id_to_be_changed, new_asset_type.clone(), 1) verify { assert_eq!(Pallet::::asset_id_type(asset_id_to_be_changed), Some(new_asset_type.clone())); + assert_eq!(Pallet::::asset_type_id(new_asset_type.clone()), Some(asset_id_to_be_changed)); + assert!(Pallet::::asset_type_id(asset_type).is_none()); } remove_existing_asset_type { - let x in 5..100; - for i in 0..x { - let asset_type: T::ForeignAssetType = Location::new(0, X1(GeneralIndex(i as u128))).into(); - let metadata = T::AssetRegistrarMetadata::default(); - let amount = 1u32.into(); - Pallet::::register_foreign_asset( - RawOrigin::Root.into(), - asset_type.clone(), - metadata, - amount, - true - )?; - } - - let asset_type_to_be_removed: T::ForeignAssetType = Location::new( - 0, - X1(GeneralIndex((x-1) as u128)) - ).into(); - let asset_id: T::AssetId = asset_type_to_be_removed.clone().into(); - }: _(RawOrigin::Root, asset_id, x) + let asset_type: T::ForeignAssetType = Location::new(0, X1(GeneralIndex(1 as u128))).into(); + let metadata = T::AssetRegistrarMetadata::default(); + let amount = 1u32.into(); + Pallet::::register_foreign_asset( + RawOrigin::Root.into(), + asset_type.clone(), + metadata, + amount, + true + )?; + let asset_id: T::AssetId = asset_type.clone().into(); + }: _(RawOrigin::Root, asset_id, 1) verify { assert!(Pallet::::asset_id_type(asset_id).is_none()); + assert!(Pallet::::asset_type_id(asset_type).is_none()); } } From 6b50394e8769ac66651f2d76880f9ab936e679f9 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:28:19 +0000 Subject: [PATCH 02/24] Use ParachainBlockImport::new_with_delayed_best_block when experimental_block_import_strategy is disabled (#3084) * Use ParachainBlockImport::new_with_delayed_best_block when experimental_block_import_strategy is disabled * fix zombienet test * fix build --- node/service/src/lib.rs | 10 ++++++++-- test/configs/localZombie.json | 2 +- test/configs/zombieAlphanet.json | 2 +- test/configs/zombieAlphanetRpc.json | 2 +- test/configs/zombieMoonbeam.json | 2 +- test/configs/zombieMoonbeamRpc.json | 2 +- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index c217d43afa..064e61b57c 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -577,8 +577,14 @@ where BlockImportPipeline::Dev(frontier_block_import), ) } else { - let parachain_block_import = - ParachainBlockImport::new(frontier_block_import, backend.clone()); + let parachain_block_import = if experimental_block_import_strategy { + ParachainBlockImport::new(frontier_block_import, backend.clone()) + } else { + ParachainBlockImport::new_with_delayed_best_block( + frontier_block_import, + backend.clone(), + ) + }; ( nimbus_consensus::import_queue( client.clone(), diff --git a/test/configs/localZombie.json b/test/configs/localZombie.json index e900f42e76..e58260a105 100644 --- a/test/configs/localZombie.json +++ b/test/configs/localZombie.json @@ -48,7 +48,7 @@ "collator": { "name": "alith", "ws_port": 33345, - "command": "tmp/moonbeam_rt", + "command": "../target/release/moonbeam", "args": [ "--no-hardware-benchmarks", "--force-authoring", diff --git a/test/configs/zombieAlphanet.json b/test/configs/zombieAlphanet.json index ac00eda010..ee79f422a2 100644 --- a/test/configs/zombieAlphanet.json +++ b/test/configs/zombieAlphanet.json @@ -49,7 +49,7 @@ "collator": { "name": "alith", "ws_port": 33345, - "command": "tmp/moonbeam_rt", + "command": "../target/release/moonbeam", "args": [ "--no-hardware-benchmarks", "--force-authoring", diff --git a/test/configs/zombieAlphanetRpc.json b/test/configs/zombieAlphanetRpc.json index 4636b2d47e..9ded9d0983 100644 --- a/test/configs/zombieAlphanetRpc.json +++ b/test/configs/zombieAlphanetRpc.json @@ -49,7 +49,7 @@ { "name": "alith", "ws_port": 33345, - "command": "tmp/moonbeam_rt", + "command": "../target/release/moonbeam", "args": [ "--no-hardware-benchmarks", "--force-authoring", diff --git a/test/configs/zombieMoonbeam.json b/test/configs/zombieMoonbeam.json index 6d147486b4..772fd5f715 100644 --- a/test/configs/zombieMoonbeam.json +++ b/test/configs/zombieMoonbeam.json @@ -46,7 +46,7 @@ "chain_spec_path": "tmp/moonbeam-modified-raw-spec.json", "collator": { "name": "alith", - "command": "tmp/moonbeam_rt", + "command": "../target/release/moonbeam", "ws_port": 33345, "args": [ "--no-hardware-benchmarks", diff --git a/test/configs/zombieMoonbeamRpc.json b/test/configs/zombieMoonbeamRpc.json index 0fe6584ebb..4aaf1239e6 100644 --- a/test/configs/zombieMoonbeamRpc.json +++ b/test/configs/zombieMoonbeamRpc.json @@ -48,7 +48,7 @@ "collators": [ { "name": "alith", - "command": "tmp/moonbeam_rt", + "command": "../target/release/moonbeam", "ws_port": 33345, "args": [ "--no-hardware-benchmarks", From 20119cddc4e7074878e545c8292c1fac07f1e4d3 Mon Sep 17 00:00:00 2001 From: Alan Sapede Date: Fri, 6 Dec 2024 13:34:43 +0100 Subject: [PATCH 03/24] Updates Moonkit to fix experimental import (#3085) * Updates Moonkit to fix experimental import * Update lib.rs --- Cargo.lock | 30 ++++++++++++++-------------- node/service/src/lazy_loading/mod.rs | 2 +- node/service/src/lib.rs | 12 ++--------- 3 files changed, 18 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 21c0dab88e..988ad5d84d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -486,7 +486,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-backing-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "sp-api", "sp-consensus-slots", @@ -7574,7 +7574,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "async-backing-primitives", "async-trait", @@ -7614,7 +7614,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "async-trait", "frame-benchmarking", @@ -8129,7 +8129,7 @@ dependencies = [ [[package]] name = "pallet-async-backing" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8149,7 +8149,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "frame-benchmarking", "frame-support", @@ -8168,7 +8168,7 @@ dependencies = [ [[package]] name = "pallet-author-mapping" version = "2.0.5" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "frame-benchmarking", "frame-support", @@ -8187,7 +8187,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "frame-benchmarking", "frame-support", @@ -8544,7 +8544,7 @@ dependencies = [ [[package]] name = "pallet-emergency-para-xcm" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9256,7 +9256,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-xcm" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "cumulus-primitives-core", "evm", @@ -9505,7 +9505,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -9556,7 +9556,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "frame-benchmarking", "frame-support", @@ -9890,7 +9890,7 @@ dependencies = [ [[package]] name = "pallet-randomness" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "environmental", "frame-benchmarking", @@ -9965,7 +9965,7 @@ dependencies = [ [[package]] name = "pallet-relay-storage-roots" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -14825,7 +14825,7 @@ dependencies = [ [[package]] name = "session-keys-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "async-trait", "frame-support", @@ -18478,7 +18478,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#54564227255cc8e6cd6a01fb8540459337fb43ff" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" dependencies = [ "frame-support", "impl-trait-for-tuples", diff --git a/node/service/src/lazy_loading/mod.rs b/node/service/src/lazy_loading/mod.rs index a581619edf..1e34788753 100644 --- a/node/service/src/lazy_loading/mod.rs +++ b/node/service/src/lazy_loading/mod.rs @@ -337,7 +337,7 @@ where create_inherent_data_providers, &task_manager.spawn_essential_handle(), config.prometheus_registry(), - None, + false, )?; let block_import = BlockImportPipeline::Dev(frontier_block_import); diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 064e61b57c..d6a66cb4af 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -568,11 +568,7 @@ where create_inherent_data_providers, &task_manager.spawn_essential_handle(), config.prometheus_registry(), - if experimental_block_import_strategy { - None - } else { - Some(!dev_service) - }, + !experimental_block_import_strategy, )?, BlockImportPipeline::Dev(frontier_block_import), ) @@ -592,11 +588,7 @@ where create_inherent_data_providers, &task_manager.spawn_essential_handle(), config.prometheus_registry(), - if experimental_block_import_strategy { - None - } else { - Some(!dev_service) - }, + !experimental_block_import_strategy, )?, BlockImportPipeline::Parachain(parachain_block_import), ) From e511ccfdbad2bff2c6a6f200771c49c5538f0750 Mon Sep 17 00:00:00 2001 From: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Date: Fri, 6 Dec 2024 17:12:14 +0100 Subject: [PATCH 04/24] Update the client docker image to moonbeamfoundation/moonbeam:v0.42.1 (#3087) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b30274cb16..d65d1edf06 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Docker images are published for every tagged release. Learn more with `moonbeam ```bash # Join the public testnet -docker run --network="host" moonbeamfoundation/moonbeam:v0.41.1 --chain alphanet +docker run --network="host" moonbeamfoundation/moonbeam:v0.42.1 --chain alphanet ``` You can find more detailed instructions to [run a full node in our TestNet](https://docs.moonbeam.network/node-operators/networks/run-a-node/overview/) @@ -28,7 +28,7 @@ locally. You can quickly set up a single node without a relay chain backing it u ```bash # Run a dev service node -docker run --network="host" moonbeamfoundation/moonbeam:v0.41.1 --dev +docker run --network="host" moonbeamfoundation/moonbeam:v0.42.1 --dev ``` For more information, see our detailed instructions to [run a development node](https://docs.moonbeam.network/builders/get-started/networks/moonbeam-dev/) @@ -39,10 +39,10 @@ The above command will start the node in instant seal mode. It creates a block w ```bash # Author a block every 6 seconds. -docker run --network="host" moonbeamfoundation/moonbeam:v0.41.1 --dev --sealing 6000 +docker run --network="host" moonbeamfoundation/moonbeam:v0.42.1 --dev --sealing 6000 # Manually control the block authorship and finality -docker run --network="host" moonbeamfoundation/moonbeam:v0.41.1 --dev --sealing manual +docker run --network="host" moonbeamfoundation/moonbeam:v0.42.1 --dev --sealing manual ``` ### Prefunded Development Addresses From 412d442c1b471c8348dbfe06479d42f3ca072cb8 Mon Sep 17 00:00:00 2001 From: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:05:44 +0100 Subject: [PATCH 05/24] runtime 3500 bump (#3081) * runtime diff: v0.3400.0 * trigger checks * trigger checks * Update runtime spec version to 3500 --- runtime/moonbase/src/lib.rs | 2 +- runtime/moonbeam/src/lib.rs | 2 +- runtime/moonriver/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 5ea72b82ed..0f3973aa49 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -195,7 +195,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("moonbase"), impl_name: create_runtime_str!("moonbase"), authoring_version: 4, - spec_version: 3400, + spec_version: 3500, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, diff --git a/runtime/moonbeam/src/lib.rs b/runtime/moonbeam/src/lib.rs index 5d2cbe8330..f92aaadc0c 100644 --- a/runtime/moonbeam/src/lib.rs +++ b/runtime/moonbeam/src/lib.rs @@ -193,7 +193,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("moonbeam"), impl_name: create_runtime_str!("moonbeam"), authoring_version: 3, - spec_version: 3400, + spec_version: 3500, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, diff --git a/runtime/moonriver/src/lib.rs b/runtime/moonriver/src/lib.rs index 5fc1def9d3..dd85928534 100644 --- a/runtime/moonriver/src/lib.rs +++ b/runtime/moonriver/src/lib.rs @@ -195,7 +195,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("moonriver"), impl_name: create_runtime_str!("moonriver"), authoring_version: 3, - spec_version: 3400, + spec_version: 3500, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, From 2d4dddf622788fefbb92c1f46c5f05a0bd4000cf Mon Sep 17 00:00:00 2001 From: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:34:33 +0100 Subject: [PATCH 06/24] Backport changes from v0.42.1 tag (#3088) * Update client version to v0.42.1 (cherry picked from commit 0048ad574da1016667c29831b484df26712a157e) * Fix Publish Binary Draft Docker image checkout (cherry picked from commit 1432b45b797a1831767dfa874e23cce0d3c6883b) --------- Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> --- Cargo.lock | 6 +++--- docker/moonbeam-production.Dockerfile | 5 ++++- node/cli-opt/Cargo.toml | 2 +- node/cli/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 988ad5d84d..89a6152770 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6375,7 +6375,7 @@ dependencies = [ [[package]] name = "moonbeam-cli" -version = "0.42.0" +version = "0.42.1" dependencies = [ "clap", "clap-num", @@ -6412,7 +6412,7 @@ dependencies = [ [[package]] name = "moonbeam-cli-opt" -version = "0.42.0" +version = "0.42.1" dependencies = [ "account", "bip32", @@ -6944,7 +6944,7 @@ dependencies = [ [[package]] name = "moonbeam-service" -version = "0.42.0" +version = "0.42.1" dependencies = [ "ansi_term", "async-backing-primitives", diff --git a/docker/moonbeam-production.Dockerfile b/docker/moonbeam-production.Dockerfile index 369db3c78f..558c65f31f 100644 --- a/docker/moonbeam-production.Dockerfile +++ b/docker/moonbeam-production.Dockerfile @@ -29,11 +29,14 @@ RUN echo "*** Cloning Moonbeam ***" && \ if git ls-remote --heads https://github.com/moonbeam-foundation/moonbeam.git $COMMIT | grep -q $COMMIT; then \ echo "Cloning branch $COMMIT"; \ git clone --depth=1 --branch $COMMIT https://github.com/moonbeam-foundation/moonbeam.git; \ + elif git ls-remote --tags https://github.com/moonbeam-foundation/moonbeam.git $COMMIT | grep -q $COMMIT; then \ + echo "Cloning tag $COMMIT"; \ + git clone --depth=1 --branch $COMMIT https://github.com/moonbeam-foundation/moonbeam.git; \ else \ echo "Cloning specific commit $COMMIT"; \ git clone --depth=1 https://github.com/moonbeam-foundation/moonbeam.git && \ cd moonbeam && \ - git fetch --depth=1 origin $COMMIT && \ + git fetch origin $COMMIT && \ git checkout $COMMIT; \ fi diff --git a/node/cli-opt/Cargo.toml b/node/cli-opt/Cargo.toml index 8f93f54426..fe21a17005 100644 --- a/node/cli-opt/Cargo.toml +++ b/node/cli-opt/Cargo.toml @@ -4,7 +4,7 @@ authors = { workspace = true } edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" -version = "0.42.0" +version = "0.42.1" [dependencies] bip32 = { workspace = true, features = ["bip39"] } diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 9e425df8b1..d9537aa82d 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -2,7 +2,7 @@ name = "moonbeam-cli" authors = { workspace = true } edition = "2021" -version = "0.42.0" +version = "0.42.1" [dependencies] clap = { workspace = true, features = ["derive"] } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 6a4897bb16..10b751b8e5 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -4,7 +4,7 @@ authors = { workspace = true } edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" -version = "0.42.0" +version = "0.42.1" [dependencies] async-io = { workspace = true } From 3fe0dadcf6ba7b3c98ff60bc8c8e73885ca72059 Mon Sep 17 00:00:00 2001 From: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:06:33 +0100 Subject: [PATCH 07/24] Update client version to 0.43.0 (#3083) Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> --- Cargo.lock | 6 +++--- node/cli-opt/Cargo.toml | 2 +- node/cli/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 89a6152770..0475149691 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6375,7 +6375,7 @@ dependencies = [ [[package]] name = "moonbeam-cli" -version = "0.42.1" +version = "0.43.0" dependencies = [ "clap", "clap-num", @@ -6412,7 +6412,7 @@ dependencies = [ [[package]] name = "moonbeam-cli-opt" -version = "0.42.1" +version = "0.43.0" dependencies = [ "account", "bip32", @@ -6944,7 +6944,7 @@ dependencies = [ [[package]] name = "moonbeam-service" -version = "0.42.1" +version = "0.43.0" dependencies = [ "ansi_term", "async-backing-primitives", diff --git a/node/cli-opt/Cargo.toml b/node/cli-opt/Cargo.toml index fe21a17005..0390aea8f2 100644 --- a/node/cli-opt/Cargo.toml +++ b/node/cli-opt/Cargo.toml @@ -4,7 +4,7 @@ authors = { workspace = true } edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" -version = "0.42.1" +version = "0.43.0" [dependencies] bip32 = { workspace = true, features = ["bip39"] } diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index d9537aa82d..04e257b537 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -2,7 +2,7 @@ name = "moonbeam-cli" authors = { workspace = true } edition = "2021" -version = "0.42.1" +version = "0.43.0" [dependencies] clap = { workspace = true, features = ["derive"] } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 10b751b8e5..a749ab2307 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -4,7 +4,7 @@ authors = { workspace = true } edition = "2021" homepage = "https://moonbeam.network" license = "GPL-3.0-only" -version = "0.42.1" +version = "0.43.0" [dependencies] async-io = { workspace = true } From a41194d8a955cbb9a04646ff8a988969344e6031 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Mon, 9 Dec 2024 18:44:29 +0000 Subject: [PATCH 08/24] fix smoke test (S06C400) (#3092) * fix smoke test (S06C400) * refactor --- test/helpers/constants.ts | 38 ++++++++++++++++++++------ test/suites/smoke/test-dynamic-fees.ts | 32 ++++++++++++++++------ 2 files changed, 52 insertions(+), 18 deletions(-) diff --git a/test/helpers/constants.ts b/test/helpers/constants.ts index 51e8346816..3fa84ae462 100644 --- a/test/helpers/constants.ts +++ b/test/helpers/constants.ts @@ -1,11 +1,13 @@ // constants.ts - Any common values here should be moved to moonwall if suitable -import { DevModeContext } from "@moonwall/cli"; import { ALITH_GENESIS_FREE_BALANCE, ALITH_GENESIS_LOCK_BALANCE, ALITH_GENESIS_RESERVE_BALANCE, } from "@moonwall/util"; +import { GenericContext } from "@moonwall/types/dist/types/runner"; + +const KILOWEI = 1_000n; /** * Class allowing to store multiple value for a runtime constant based on the runtime version @@ -58,19 +60,33 @@ export const PRECOMPILE_XCM_TRANSACTOR_V3_ADDRESS = "0x0000000000000000000000000 export const PRECOMPILE_IDENTITY_ADDRESS = "0x0000000000000000000000000000000000000818"; export const PRECOMPILE_RELAY_DATA_VERIFIER_ADDRESS = "0x0000000000000000000000000000000000000819"; +const MOONBASE_CONSTANTS = { + SUPPLY_FACTOR: 1n, +}; + +const MOONRIVER_CONSTANTS = { + SUPPLY_FACTOR: 1n, +}; + +const MOONBEAM_CONSTANTS = { + SUPPLY_FACTOR: 100n, +}; + // Fees and gas limits export const RUNTIME_CONSTANTS = { MOONBASE: { + ...MOONBASE_CONSTANTS, GENESIS_FEE_MULTIPLIER: 8_000_000_000_000_000_000n, MIN_FEE_MULTIPLIER: 100_000_000_000_000_000n, MAX_FEE_MULTIPLIER: 100_000_000_000_000_000_000_000n, + WEIGHT_FEE: (50n * KILOWEI * MOONBASE_CONSTANTS.SUPPLY_FACTOR) / 4n, GENESIS_BASE_FEE: new RuntimeConstant({ 3400: 2_500_000_000n, 0: 10_000_000_000n }), MIN_BASE_FEE: new RuntimeConstant({ 3400: 312_500_000n, 0: 1_250_000_000n }), MAX_BASE_FEE: new RuntimeConstant({ 3400: 31_250_000_000_000n, 0: 125_000_000_000_000n }), TARGET_FILL_PERMILL: new RuntimeConstant({ 3000: 350_000n, 2801: 500_000n, 0: 250_000n }), - // Deadline for block production in miliseconds + // Deadline for block production in milliseconds DEADLINE_MILISECONDS: new RuntimeConstant({ 2800: 2000n, 0: 500n }), // 2 seconds of weight BLOCK_WEIGHT_LIMIT: new RuntimeConstant({ 2900: 2_000_000_000_000n, 0: 500_000_000_000n }), @@ -83,22 +99,24 @@ export const RUNTIME_CONSTANTS = { GAS_PER_POV_BYTES: new RuntimeConstant({ 2900: 16n, 0: 4n }), // Storage read/write costs STORAGE_READ_COST: 41_742_000n, - // Weight to gas convertion ratio + // Weight to gas conversion ratio WEIGHT_TO_GAS_RATIO: 25_000n, }, MOONRIVER: { + ...MOONRIVER_CONSTANTS, GENESIS_FEE_MULTIPLIER: 10_000_000_000_000_000_000n, MIN_FEE_MULTIPLIER: 1_000_000_000_000_000_000n, MAX_FEE_MULTIPLIER: 100_000_000_000_000_000_000_000n, + WEIGHT_FEE: (50n * KILOWEI * MOONRIVER_CONSTANTS.SUPPLY_FACTOR) / 4n, GENESIS_BASE_FEE: new RuntimeConstant({ 3400: 3_125_000_000n, 0: 12_500_000_000n }), MIN_BASE_FEE: new RuntimeConstant({ 3400: 312_500_000n, 0: 1_250_000_000n }), MAX_BASE_FEE: new RuntimeConstant({ 3400: 31_250_000_000_000n, 0: 125_000_000_000_000n }), TARGET_FILL_PERMILL: new RuntimeConstant({ 3000: 350_000n, 2801: 500_000n, 0: 250_000n }), - // Deadline for block production in miliseconds + // Deadline for block production in milliseconds DEADLINE_MILISECONDS: new RuntimeConstant({ 3000: 2000n, 0: 500n }), - // Caclulated as the weight per second by the deadline in seconds + // Calculated as the weight per second by the deadline in seconds BLOCK_WEIGHT_LIMIT: new RuntimeConstant({ 3100: 2_000_000_000_000n, 3000: 1_000_000_000_000n, @@ -117,18 +135,20 @@ export const RUNTIME_CONSTANTS = { GAS_PER_POV_BYTES: new RuntimeConstant({ 3100: 16n, 3000: 8n, 0: 4n }), }, MOONBEAM: { + ...MOONBEAM_CONSTANTS, GENESIS_FEE_MULTIPLIER: 8_000_000_000_000_000_000n, MIN_FEE_MULTIPLIER: 1_000_000_000_000_000_000n, MAX_FEE_MULTIPLIER: 100_000_000_000_000_000_000_000n, + WEIGHT_FEE: (50n * KILOWEI * MOONBEAM_CONSTANTS.SUPPLY_FACTOR) / 4n, GENESIS_BASE_FEE: new RuntimeConstant({ 3400: 250_000_000_000n, 0: 1_000_000_000_000n }), MIN_BASE_FEE: new RuntimeConstant({ 3400: 31_250_000_000n, 0: 125_000_000_000n }), MAX_BASE_FEE: new RuntimeConstant({ 3400: 3_125_000_000_000_000n, 0: 12_500_000_000_000_000n }), TARGET_FILL_PERMILL: new RuntimeConstant({ 3000: 350_000n, 2801: 500_000n, 0: 250_000n }), - // Deadline for block production in miliseconds + // Deadline for block production in milliseconds DEADLINE_MILISECONDS: new RuntimeConstant({ 3000: 2000n, 0: 500n }), - // Caclulated as the weight per second by the deadline in seconds + // Calculated as the weight per second by the deadline in seconds BLOCK_WEIGHT_LIMIT: new RuntimeConstant({ 3200: 2_000_000_000_000n, 3100: 1_000_000_000_000n, @@ -155,8 +175,8 @@ export const MAX_ETH_POV_PER_TX = 3_250_000n; type ConstantStoreType = (typeof RUNTIME_CONSTANTS)["MOONBASE"]; -export function ConstantStore(context: DevModeContext): ConstantStoreType { - const runtimeChain = context.pjsApi.runtimeChain.toUpperCase(); +export function ConstantStore(context: GenericContext): ConstantStoreType { + const runtimeChain = context.polkadotJs().runtimeChain.toUpperCase(); const runtime = runtimeChain .split(" ") .filter((v) => Object.keys(RUNTIME_CONSTANTS).includes(v)) diff --git a/test/suites/smoke/test-dynamic-fees.ts b/test/suites/smoke/test-dynamic-fees.ts index 4ceb559998..12fa4d4975 100644 --- a/test/suites/smoke/test-dynamic-fees.ts +++ b/test/suites/smoke/test-dynamic-fees.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment/moonbase"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { WEIGHT_FEE, WEIGHT_PER_GAS, getBlockArray } from "@moonwall/util"; +import { WEIGHT_PER_GAS, getBlockArray, WEIGHT_FEE } from "@moonwall/util"; import { ApiPromise } from "@polkadot/api"; import { GenericExtrinsic } from "@polkadot/types"; import type { u128, u32 } from "@polkadot/types-codec"; @@ -14,7 +14,12 @@ import { } from "@polkadot/types/lookup"; import { AnyTuple } from "@polkadot/types/types"; import { ethers } from "ethers"; -import { checkTimeSliceForUpgrades, rateLimiter, RUNTIME_CONSTANTS } from "../../helpers"; +import { + checkTimeSliceForUpgrades, + ConstantStore, + rateLimiter, + RUNTIME_CONSTANTS, +} from "../../helpers"; import Debug from "debug"; import { DispatchInfo } from "@polkadot/types/interfaces"; const debug = Debug("smoke:dynamic-fees"); @@ -313,29 +318,38 @@ describeSuite({ id: "C400", title: "BaseFeePerGas is correctly calculated", timeout: 30000, - test: function () { + test: async () => { if (skipAll) { log("Skipping test suite due to runtime version"); return; } - const supplyFactor = - paraApi.consts.system.version.specName.toString() === "moonbeam" ? 100n : 1n; + const supplyFactor = ConstantStore(context).SUPPLY_FACTOR; + const weightFee = ConstantStore(context).WEIGHT_FEE; const failures = blockData .map(({ blockNum, nextFeeMultiplier, baseFeePerGasInGwei }) => { const baseFeePerGasInWei = ethers.parseUnits(baseFeePerGasInGwei, "gwei"); - const expectedBaseFeePerGasInWei = + let expectedBaseFeePerGasInWei = (nextFeeMultiplier.toBigInt() * WEIGHT_FEE * WEIGHT_PER_GAS * supplyFactor) / ethers.parseEther("1"); + // The min_gas_price was divided by 4 on runtime 3400 + if (specVersion.toNumber() > 3300) { + expectedBaseFeePerGasInWei = + (nextFeeMultiplier.toBigInt() * weightFee * WEIGHT_PER_GAS) / + ethers.parseEther("1"); + } const valid = baseFeePerGasInWei == expectedBaseFeePerGasInWei; - return { blockNum, baseFeePerGasInGwei, valid }; + return { blockNum, baseFeePerGasInGwei, valid, expectedBaseFeePerGasInWei }; }) .filter(({ valid }) => !valid); - failures.forEach(({ blockNum, baseFeePerGasInGwei }) => { - log(`Block #${blockNum} has incorrect baseFeePerGas: ${baseFeePerGasInGwei}`); + failures.forEach(({ blockNum, baseFeePerGasInGwei, expectedBaseFeePerGasInWei }) => { + const expected = `expected: ${ethers.formatUnits(expectedBaseFeePerGasInWei, "gwei")}`; + log( + `Block #${blockNum} has incorrect baseFeePerGas: ${baseFeePerGasInGwei}, ${expected}` + ); }); expect( failures.length, From 2ae249ad482da31c8673c339d37fec8ae9d5fcd3 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:03:46 +0000 Subject: [PATCH 09/24] Smoke tests: fix dynamic fee checks (#3093) * fix smoke test (S06C400) * refactor * Fix MIN_BASE_FEE for moonbase runtimes --- test/helpers/constants.ts | 25 ++++++++++++++---- test/suites/smoke/test-dynamic-fees.ts | 35 +++----------------------- 2 files changed, 24 insertions(+), 36 deletions(-) diff --git a/test/helpers/constants.ts b/test/helpers/constants.ts index 3fa84ae462..239dccc0a0 100644 --- a/test/helpers/constants.ts +++ b/test/helpers/constants.ts @@ -79,11 +79,16 @@ export const RUNTIME_CONSTANTS = { GENESIS_FEE_MULTIPLIER: 8_000_000_000_000_000_000n, MIN_FEE_MULTIPLIER: 100_000_000_000_000_000n, MAX_FEE_MULTIPLIER: 100_000_000_000_000_000_000_000n, - WEIGHT_FEE: (50n * KILOWEI * MOONBASE_CONSTANTS.SUPPLY_FACTOR) / 4n, + WEIGHT_FEE: new RuntimeConstant({ + 3400: (50n * KILOWEI * MOONBASE_CONSTANTS.SUPPLY_FACTOR) / 4n, + 0: 50n * KILOWEI * MOONBASE_CONSTANTS.SUPPLY_FACTOR, + }), GENESIS_BASE_FEE: new RuntimeConstant({ 3400: 2_500_000_000n, 0: 10_000_000_000n }), - MIN_BASE_FEE: new RuntimeConstant({ 3400: 312_500_000n, 0: 1_250_000_000n }), - MAX_BASE_FEE: new RuntimeConstant({ 3400: 31_250_000_000_000n, 0: 125_000_000_000_000n }), + // (MinimumMultiplier = 0.1) * WEIGHT_FEE * WEIGHT_PER_GAS + MIN_BASE_FEE: new RuntimeConstant({ 3400: 31_250_000n, 0: 125_000_000n }), + // (MaximumMultiplier = 100_000) * WEIGHT_FEE * WEIGHT_PER_GAS + MAX_BASE_FEE: new RuntimeConstant({ 3400: 3_125_000_000_000n, 0: 12_500_000_000_000n }), TARGET_FILL_PERMILL: new RuntimeConstant({ 3000: 350_000n, 2801: 500_000n, 0: 250_000n }), // Deadline for block production in milliseconds @@ -107,10 +112,15 @@ export const RUNTIME_CONSTANTS = { GENESIS_FEE_MULTIPLIER: 10_000_000_000_000_000_000n, MIN_FEE_MULTIPLIER: 1_000_000_000_000_000_000n, MAX_FEE_MULTIPLIER: 100_000_000_000_000_000_000_000n, - WEIGHT_FEE: (50n * KILOWEI * MOONRIVER_CONSTANTS.SUPPLY_FACTOR) / 4n, + WEIGHT_FEE: new RuntimeConstant({ + 3400: (50n * KILOWEI * MOONRIVER_CONSTANTS.SUPPLY_FACTOR) / 4n, + 0: 50n * KILOWEI * MOONRIVER_CONSTANTS.SUPPLY_FACTOR, + }), GENESIS_BASE_FEE: new RuntimeConstant({ 3400: 3_125_000_000n, 0: 12_500_000_000n }), + // (MinimumMultiplier = 1) * WEIGHT_FEE * WEIGHT_PER_GAS MIN_BASE_FEE: new RuntimeConstant({ 3400: 312_500_000n, 0: 1_250_000_000n }), + // (MaximumMultiplier = 100_000) * WEIGHT_FEE * WEIGHT_PER_GAS MAX_BASE_FEE: new RuntimeConstant({ 3400: 31_250_000_000_000n, 0: 125_000_000_000_000n }), TARGET_FILL_PERMILL: new RuntimeConstant({ 3000: 350_000n, 2801: 500_000n, 0: 250_000n }), @@ -139,10 +149,15 @@ export const RUNTIME_CONSTANTS = { GENESIS_FEE_MULTIPLIER: 8_000_000_000_000_000_000n, MIN_FEE_MULTIPLIER: 1_000_000_000_000_000_000n, MAX_FEE_MULTIPLIER: 100_000_000_000_000_000_000_000n, - WEIGHT_FEE: (50n * KILOWEI * MOONBEAM_CONSTANTS.SUPPLY_FACTOR) / 4n, + WEIGHT_FEE: new RuntimeConstant({ + 3400: (50n * KILOWEI * MOONBEAM_CONSTANTS.SUPPLY_FACTOR) / 4n, + 0: 50n * KILOWEI * MOONBEAM_CONSTANTS.SUPPLY_FACTOR, + }), GENESIS_BASE_FEE: new RuntimeConstant({ 3400: 250_000_000_000n, 0: 1_000_000_000_000n }), + // (MinimumMultiplier = 1) * WEIGHT_FEE * WEIGHT_PER_GAS MIN_BASE_FEE: new RuntimeConstant({ 3400: 31_250_000_000n, 0: 125_000_000_000n }), + // (MaximumMultiplier = 100_000) * WEIGHT_FEE * WEIGHT_PER_GAS MAX_BASE_FEE: new RuntimeConstant({ 3400: 3_125_000_000_000_000n, 0: 12_500_000_000_000_000n }), TARGET_FILL_PERMILL: new RuntimeConstant({ 3000: 350_000n, 2801: 500_000n, 0: 250_000n }), diff --git a/test/suites/smoke/test-dynamic-fees.ts b/test/suites/smoke/test-dynamic-fees.ts index 12fa4d4975..0494975e4b 100644 --- a/test/suites/smoke/test-dynamic-fees.ts +++ b/test/suites/smoke/test-dynamic-fees.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment/moonbase"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { WEIGHT_PER_GAS, getBlockArray, WEIGHT_FEE } from "@moonwall/util"; +import { WEIGHT_PER_GAS, getBlockArray } from "@moonwall/util"; import { ApiPromise } from "@polkadot/api"; import { GenericExtrinsic } from "@polkadot/types"; import type { u128, u32 } from "@polkadot/types-codec"; @@ -123,25 +123,6 @@ describeSuite({ const specName = version.specName; runtime = specName.toUpperCase() as any; - if ( - specVersion.toNumber() < 2200 && - (specName.toString() == "moonbase" || specName.toString() == "moonriver") - ) { - log( - `Runtime ${specName.toString()} version ` + - `${specVersion.toString()} is less than 2200, skipping test suite.` - ); - skipAll = true; - } - - if (specVersion.toNumber() < 2300 && specName.toString() == "moonbeam") { - log( - `Runtime ${specName.toString()} version ` + - `${specVersion.toString()} is less than 2300, skipping test suite.` - ); - skipAll = true; - } - targetFillPermill = RUNTIME_CONSTANTS[runtime].TARGET_FILL_PERMILL.get( specVersion.toNumber() ); @@ -323,22 +304,14 @@ describeSuite({ log("Skipping test suite due to runtime version"); return; } - const supplyFactor = ConstantStore(context).SUPPLY_FACTOR; - const weightFee = ConstantStore(context).WEIGHT_FEE; + const weightFee = ConstantStore(context).WEIGHT_FEE.get(specVersion.toNumber()); const failures = blockData .map(({ blockNum, nextFeeMultiplier, baseFeePerGasInGwei }) => { const baseFeePerGasInWei = ethers.parseUnits(baseFeePerGasInGwei, "gwei"); - let expectedBaseFeePerGasInWei = - (nextFeeMultiplier.toBigInt() * WEIGHT_FEE * WEIGHT_PER_GAS * supplyFactor) / - ethers.parseEther("1"); - // The min_gas_price was divided by 4 on runtime 3400 - if (specVersion.toNumber() > 3300) { - expectedBaseFeePerGasInWei = - (nextFeeMultiplier.toBigInt() * weightFee * WEIGHT_PER_GAS) / - ethers.parseEther("1"); - } + const expectedBaseFeePerGasInWei = + (nextFeeMultiplier.toBigInt() * weightFee * WEIGHT_PER_GAS) / ethers.parseEther("1"); const valid = baseFeePerGasInWei == expectedBaseFeePerGasInWei; return { blockNum, baseFeePerGasInGwei, valid, expectedBaseFeePerGasInWei }; From 24de03af81a6cfa812cc7eb4b482f98983b49dd4 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:08:06 +0000 Subject: [PATCH 10/24] test(smoke): use parachain connection when fetching the runtime name (#3098) * test(smoke): use parachain connection when fetching the runtime name * apply linter * fix format * fix: use correct chain name * improvement --- test/helpers/constants.ts | 6 +----- test/suites/lazy-loading/test-runtime-upgrade.ts | 8 +------- test/suites/smoke/test-dynamic-fees.ts | 10 +++------- 3 files changed, 5 insertions(+), 19 deletions(-) diff --git a/test/helpers/constants.ts b/test/helpers/constants.ts index 239dccc0a0..d729a87420 100644 --- a/test/helpers/constants.ts +++ b/test/helpers/constants.ts @@ -191,10 +191,6 @@ export const MAX_ETH_POV_PER_TX = 3_250_000n; type ConstantStoreType = (typeof RUNTIME_CONSTANTS)["MOONBASE"]; export function ConstantStore(context: GenericContext): ConstantStoreType { - const runtimeChain = context.polkadotJs().runtimeChain.toUpperCase(); - const runtime = runtimeChain - .split(" ") - .filter((v) => Object.keys(RUNTIME_CONSTANTS).includes(v)) - .join(); + const runtime = context.polkadotJs().consts.system.version.specName.toUpperCase(); return RUNTIME_CONSTANTS[runtime]; } diff --git a/test/suites/lazy-loading/test-runtime-upgrade.ts b/test/suites/lazy-loading/test-runtime-upgrade.ts index e8b8e17af5..d50be3c5b4 100644 --- a/test/suites/lazy-loading/test-runtime-upgrade.ts +++ b/test/suites/lazy-loading/test-runtime-upgrade.ts @@ -1,6 +1,5 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { RUNTIME_CONSTANTS } from "../../helpers"; import { ApiPromise } from "@polkadot/api"; import fs from "fs/promises"; import { u8aToHex } from "@polkadot/util"; @@ -24,12 +23,7 @@ describeSuite({ beforeAll(async () => { api = context.polkadotJs(); - const runtimeChain = api.runtimeChain.toUpperCase(); - const runtime = runtimeChain - .split(" ") - .filter((v) => Object.keys(RUNTIME_CONSTANTS).includes(v)) - .join() - .toLowerCase(); + const runtime = api.consts.system.version.specName.toLowerCase(); const wasmPath = `../target/release/wbuild/${runtime}-runtime/${runtime}_runtime.compact.compressed.wasm`; // editorconfig-checker-disable-line const runtimeWasmHex = u8aToHex(await fs.readFile(wasmPath)); diff --git a/test/suites/smoke/test-dynamic-fees.ts b/test/suites/smoke/test-dynamic-fees.ts index 0494975e4b..a604b8b426 100644 --- a/test/suites/smoke/test-dynamic-fees.ts +++ b/test/suites/smoke/test-dynamic-fees.ts @@ -14,12 +14,7 @@ import { } from "@polkadot/types/lookup"; import { AnyTuple } from "@polkadot/types/types"; import { ethers } from "ethers"; -import { - checkTimeSliceForUpgrades, - ConstantStore, - rateLimiter, - RUNTIME_CONSTANTS, -} from "../../helpers"; +import { checkTimeSliceForUpgrades, rateLimiter, RUNTIME_CONSTANTS } from "../../helpers"; import Debug from "debug"; import { DispatchInfo } from "@polkadot/types/interfaces"; const debug = Debug("smoke:dynamic-fees"); @@ -304,7 +299,8 @@ describeSuite({ log("Skipping test suite due to runtime version"); return; } - const weightFee = ConstantStore(context).WEIGHT_FEE.get(specVersion.toNumber()); + const runtime = paraApi.consts.system.version.specName.toUpperCase(); + const weightFee = RUNTIME_CONSTANTS[runtime].WEIGHT_FEE.get(specVersion.toNumber()); const failures = blockData .map(({ blockNum, nextFeeMultiplier, baseFeePerGasInGwei }) => { From 276c527bdfd497521fdc14cf961add61f711cec1 Mon Sep 17 00:00:00 2001 From: Tim B <79199034+timbrinded@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:43:40 +0000 Subject: [PATCH 11/24] refactor: :sparkles: Create TS monorepo structure (#3091) * refactor: :sparkles: Dual publish typesbundle properly * refactor: :sparkles: ApiAugment fixed paths * feat: :sparkles: Added new ScrapeMetadata script * build: :building_construction: add built `/dist` to repo * style: :lipstick: lint * style: :lipstick: Exclude dist from editorconfig * fix: :bug: Fix typegen check CI * refactor: :recycle: Tidy script call * fix: :bug: Fix tracing CI * refactor: :recycle: Remove dist from repo * remove dist * fix: :package: Fix packages! * fix: :green_heart: Fix typegen CI * style: :rotating_light: pretty * ci: :construction_worker: Disable typegen check --- .../workflow-templates/dev-tests/action.yml | 16 - .github/workflows/build.yml | 99 +- .github/workflows/upgrade-typescript-api.yml | 65 - .gitignore | 1 + moonbeam-types-bundle/.gitignore | 2 - moonbeam-types-bundle/package.json | 44 +- moonbeam-types-bundle/tsconfig.json | 11 +- package.json | 43 + pnpm-lock.yaml | 1463 ++++++++++------- test/package.json | 51 +- tools/package-lock.json | 3 +- tools/package.json | 3 +- typescript-api/.gitignore | 3 +- typescript-api/package.json | 68 +- typescript-api/scripts/scrapeMetadata.ts | 99 ++ .../moonbase/interfaces/augment-api-rpc.ts | 2 +- .../src/moonbase/interfaces/definitions.ts | 2 +- .../moonbase/interfaces/moon/definitions.ts | 20 +- typescript-api/src/moonbase/tsconfig.json | 2 + .../moonbeam/interfaces/augment-api-rpc.ts | 2 +- .../src/moonbeam/interfaces/definitions.ts | 2 +- .../src/moonbeam/interfaces/empty/index.ts | 4 - .../src/moonbeam/interfaces/empty/types.ts | 4 - .../moonbeam/interfaces/moon/definitions.ts | 19 +- typescript-api/src/moonbeam/tsconfig.json | 4 +- .../moonriver/interfaces/augment-api-rpc.ts | 2 +- .../src/moonriver/interfaces/definitions.ts | 2 +- .../src/moonriver/interfaces/empty/index.ts | 4 - .../src/moonriver/interfaces/empty/types.ts | 4 - .../moonriver/interfaces/moon/definitions.ts | 19 +- typescript-api/src/moonriver/tsconfig.json | 2 + typescript-api/tsconfig.json | 31 - typescript-api/tsup.config.ts | 38 + 33 files changed, 1239 insertions(+), 895 deletions(-) delete mode 100644 .github/workflows/upgrade-typescript-api.yml create mode 100644 package.json create mode 100644 typescript-api/scripts/scrapeMetadata.ts delete mode 100644 typescript-api/src/moonbeam/interfaces/empty/index.ts delete mode 100644 typescript-api/src/moonbeam/interfaces/empty/types.ts delete mode 100644 typescript-api/src/moonriver/interfaces/empty/index.ts delete mode 100644 typescript-api/src/moonriver/interfaces/empty/types.ts delete mode 100644 typescript-api/tsconfig.json create mode 100644 typescript-api/tsup.config.ts diff --git a/.github/workflow-templates/dev-tests/action.yml b/.github/workflow-templates/dev-tests/action.yml index e5316557be..0ed94bb0bd 100644 --- a/.github/workflow-templates/dev-tests/action.yml +++ b/.github/workflow-templates/dev-tests/action.yml @@ -28,22 +28,6 @@ runs: cache: "pnpm" cache-dependency-path: pnpm-lock.yaml - - name: Setup Moonbeam PolkadotJS types - shell: bash - run: | - #### Preparing the legacy types - cd moonbeam-types-bundle - pnpm i - pnpm build - - #### Preparing the typescript api - cd ../typescript-api - pnpm i - pnpm build - - cd ../test - pnpm add ../typescript-api - - name: "Install and run dev test" shell: bash env: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87a1aa8844..a75bd8cbb5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -171,7 +171,7 @@ jobs: chmod +x bin/ec-linux-amd64 - name: Check files # Prettier and editorconfig-checker have different ideas about indentation - run: /tmp/bin/ec-linux-amd64 --exclude "(typescript-api\/)|(test\/contracts\/lib\/.*)" -disable-indent-size + run: /tmp/bin/ec-linux-amd64 --exclude "(typescript-api\/)|(test\/contracts\/lib\/.*)|(\/?dist\/)" -disable-indent-size check-prettier: name: "Check with Prettier" @@ -554,6 +554,48 @@ jobs: - name: Run sccache stat for check pre test run: ${SCCACHE_PATH} --show-stats + # Renable typegen_check when we have a bot in place to update PR for us in case of missing it + + # typegen_check: + # needs: ["set-tags", "build"] + # name: "Check Rust/TS bindings are up to date" + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v4 + # with: + # ref: ${{ needs.set-tags.outputs.git_ref }} + # - uses: pnpm/action-setup@v4 + # with: + # version: 9 + # - uses: actions/setup-node@v4 + # with: + # node-version-file: "test/.nvmrc" + # cache: "pnpm" + # cache-dependency-path: pnpm-lock.yaml + # - name: "Download branch built node" + # uses: actions/download-artifact@v4 + # with: + # name: moonbeam + # path: target/release + # - run: chmod uog+x target/release/moonbeam + # - name: Run Typegen + # run: | + # pnpm i + + # cd test + # pnpm typegen + # - name: Check for changes + # run: | + # cd typescript-api + # if [ -n "$(git status --porcelain .)" ]; then + # echo "Typegen produced changes. Please run 'pnpm typegen' locally and commit the changes." + # false + # else + # echo "No changes" + # true + # fi + dev-test: runs-on: labels: bare-metal @@ -661,16 +703,6 @@ jobs: run: | chmod uog+x build/moonbeam chmod uog+x target/release/moonbeam - - #### Preparing the repository - cd moonbeam-types-bundle - pnpm i - pnpm build - - #### Preparing the typescript api - cd ../typescript-api - pnpm i - pnpm build - name: Running Tracing Tests env: DEBUG_COLOURS: "1" @@ -774,21 +806,6 @@ jobs: with: name: moonbeam path: target/release - - name: Setup Moonbeam PolkadotJS types - shell: bash - run: | - #### Preparing the legacy types - cd moonbeam-types-bundle - pnpm i - pnpm build - - #### Preparing the typescript api - cd ../typescript-api - pnpm i - pnpm build - - cd ../test - pnpm add ../typescript-api - name: "Run lazy loading tests" run: | chmod uog+x target/release/moonbeam @@ -842,21 +859,6 @@ jobs: with: name: runtimes path: target/release/wbuild/${{ matrix.chain }}-runtime/ - - name: Setup Moonbeam PolkadotJS types - shell: bash - run: | - #### Preparing the legacy types - cd moonbeam-types-bundle - pnpm i - pnpm build - - #### Preparing the typescript api - cd ../typescript-api - pnpm i - pnpm build - - cd ../test - pnpm add ../typescript-api - name: "Install and run upgrade test" run: | cd test @@ -919,21 +921,6 @@ jobs: docker create --name moonbeam_container $DOCKER_TAG bash docker cp moonbeam_container:moonbeam/moonbeam test/tmp/moonbeam_rt docker rm -f moonbeam_container - - name: Setup Moonbeam PolkadotJS types - shell: bash - run: | - #### Preparing the legacy types - cd moonbeam-types-bundle - pnpm i - pnpm build - - #### Preparing the typescript api - cd ../typescript-api - pnpm i - pnpm build - - cd ../test - pnpm add ../typescript-api - name: Prepare Chainspecs run: | cd test diff --git a/.github/workflows/upgrade-typescript-api.yml b/.github/workflows/upgrade-typescript-api.yml deleted file mode 100644 index f2bae89652..0000000000 --- a/.github/workflows/upgrade-typescript-api.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Upgrade typescript API -on: - workflow_dispatch: - inputs: - spec_version: - description: runtime spec version (ex. 1601) - required: true - dry_run: - description: Dry Run - do not create PR - required: false - type: boolean - default: false - -jobs: - upgrading-typescript-api: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Retrieve moonbeam binary - run: | - DOCKER_TAG="moonbeamfoundation/moonbeam:runtime-${{ github.event.inputs.spec_version }}" - docker rm -f rtRelease 2> /dev/null - docker create -ti --name rtRelease $DOCKER_TAG bash - mkdir -p target/release - docker cp rtRelease:/moonbeam/moonbeam target/release/moonbeam - docker rm -f rtRelease - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version-file: "test/.nvmrc" - - name: Use pnpm - uses: pnpm/action-setup@v4 - with: - version: 9 - run_install: false - - - name: Upgrade polkadotjs for moonbeam-types-bundle - run: | - cd moonbeam-types-bundle - pnpm install - - name: regenerate typescript api with new runtime metadata - run: | - cd typescript-api - ./scripts/runtime-upgrade.sh ${{ github.event.inputs.spec_version }} - - name: Create Pull Request - if: ${{ !inputs.dry_run }} - uses: peter-evans/create-pull-request@v7 - with: - base: master - branch: "typescript-api-${{ github.event.inputs.spec_version }}" - commit-message: typescript API v0.${{ github.event.inputs.spec_version }}.0 - draft: true - - title: "Upgrade typescript API for runtime-${{ github.event.inputs.spec_version }}" - reviewers: "moonsong-coredev" - labels: "B0-silent,D2-notlive" - - name: Display changes (Dry Run) - if: ${{ inputs.dry_run }} - run: | - git diff - echo "Dry run completed. Changes were not committed or pushed." diff --git a/.gitignore b/.gitignore index 51d347987f..6c16d0836b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ # Typescript directories **/node_modules **/.yarn +**/dist # Spec/Wasm build directory /build/ diff --git a/moonbeam-types-bundle/.gitignore b/moonbeam-types-bundle/.gitignore index 13345b3f9c..d9ff7213b8 100644 --- a/moonbeam-types-bundle/.gitignore +++ b/moonbeam-types-bundle/.gitignore @@ -1,4 +1,2 @@ # ignore files generated by typescript -dist/ -**.json tsconfig.tsbuildinfo \ No newline at end of file diff --git a/moonbeam-types-bundle/package.json b/moonbeam-types-bundle/package.json index 44fc78b6af..3f21ac9eb6 100644 --- a/moonbeam-types-bundle/package.json +++ b/moonbeam-types-bundle/package.json @@ -2,21 +2,36 @@ "name": "moonbeam-types-bundle", "version": "3.0.0", "description": "Bundled types to instantiate the Polkadot JS api with a Moonbeam network", - "main": "dist/index.js", + "main": "./dist/definitions.cjs", "prepublish": "tsc", "type": "module", "module": "./dist/definitions.js", - "types": "./dist/types/definitions.d.ts", + "types": "./dist/definitions.d.ts", "exports": { ".": { - "types": "./dist/types/definitions.d.ts", - "module": "./dist/definitions.js", - "default": "./dist/definitions.js" + "types": "./dist/definitions.d.ts", + "import": "./dist/definitions.js", + "require": "./dist/definitions.cjs" + }, + "./types": { + "types": "./dist/types.d.ts", + "import": "./dist/types.js", + "require": "./dist/types.cjs" + }, + "./rpc": { + "types": "./dist/rpc.d.ts", + "import": "./dist/rpc.js", + "require": "./dist/rpc.cjs" } }, + "files": [ + "dist", + "src" + ], "scripts": { + "clean": "rm -rf node_modules && rm -rf dist", "tsc": "tsc --noEmit --pretty", - "build": "tsc -b --verbose", + "build": "tsup src --format cjs,esm --dts --no-splitting", "publish-package": "npm run build && npm publish", "fmt:fix": "prettier --write --ignore-path .gitignore '**/*.(yml|js|ts|json)'" }, @@ -35,13 +50,14 @@ "url": "git+https://github.com/moonbeam-foundation/moonbeam.git" }, "dependencies": { - "@polkadot/api": "14.0.1", - "@polkadot/api-base": "14.0.1", - "@polkadot/rpc-core": "14.0.1", - "@polkadot/typegen": "14.0.1", - "@polkadot/types": "14.0.1", - "@polkadot/types-codec": "14.0.1", - "prettier": "2.8.8", - "typescript": "5.6.2" + "@polkadot/api": "*", + "@polkadot/api-base": "*", + "@polkadot/rpc-core": "*", + "@polkadot/typegen": "*", + "@polkadot/types": "*", + "@polkadot/types-codec": "*", + "prettier": "*", + "tsup": "*", + "typescript": "*" } } diff --git a/moonbeam-types-bundle/tsconfig.json b/moonbeam-types-bundle/tsconfig.json index f89bd39a00..45d3421010 100644 --- a/moonbeam-types-bundle/tsconfig.json +++ b/moonbeam-types-bundle/tsconfig.json @@ -8,11 +8,12 @@ "declaration": true, "declarationDir": "dist/types", "allowImportingTsExtensions": false, - "typeRoots": [ - // "dist/types", - "node_modules/@types" - ], - "skipLibCheck": true + "typeRoots": ["node_modules/@types"], + "skipLibCheck": true, + "moduleResolution": "bundler", + "module": "ESNext", + "esModuleInterop": true, + "resolveJsonModule": true }, "include": ["src/**/*"], "exclude": ["node_modules", "dist", "scripts"] diff --git a/package.json b/package.json new file mode 100644 index 0000000000..a227aad828 --- /dev/null +++ b/package.json @@ -0,0 +1,43 @@ +{ + "name": "moonbeam", + "version": "1.0.0", + "description": "Moonbeam Network Monorepo", + "private": true, + "type": "module", + "workspaces": [ + "test", + "typescript-api", + "moonbeam-types-bundle" + ], + "scripts": { + "clean-all": "rm -rf node_modules && pnpm -r clean", + "build": "pnpm -r build", + "postinstall": "pnpm build", + "lint": "pnpm -r lint", + "fmt": "pnpm -r fmt", + "fmt:fix": "pnpm -r fmt:fix" + }, + "dependencies": { + "@polkadot/api": "14.3.1", + "@polkadot/api-augment": "14.3.1", + "@polkadot/api-derive": "14.3.1", + "@polkadot/keyring": "13.2.3", + "@polkadot/rpc-provider": "14.3.1", + "@polkadot/types": "14.3.1", + "@polkadot/types-codec": "14.3.1", + "@polkadot/util": "13.2.3", + "@polkadot/util-crypto": "13.2.3", + "ethers": "6.13.4", + "tsup": "8.3.5" + }, + "devDependencies": { + "@types/node": "^22.10.1", + "eslint": "^8.55.0", + "prettier": "2.8.8", + "tsx": "^4.19.2", + "typescript": "^5.3.3" + }, + "keywords": [], + "author": "", + "license": "ISC" +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fb2c807d9b..6edb9727f6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,82 +6,137 @@ settings: importers: + .: + dependencies: + '@polkadot/api': + specifier: 14.3.1 + version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-augment': + specifier: 14.3.1 + version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-derive': + specifier: 14.3.1 + version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/keyring': + specifier: 13.2.3 + version: 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) + '@polkadot/rpc-provider': + specifier: 14.3.1 + version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': + specifier: 14.3.1 + version: 14.3.1 + '@polkadot/types-codec': + specifier: 14.3.1 + version: 14.3.1 + '@polkadot/util': + specifier: 13.2.3 + version: 13.2.3 + '@polkadot/util-crypto': + specifier: 13.2.3 + version: 13.2.3(@polkadot/util@13.2.3) + ethers: + specifier: 6.13.4 + version: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) + tsup: + specifier: 8.3.5 + version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) + devDependencies: + '@types/node': + specifier: ^22.10.1 + version: 22.10.1 + eslint: + specifier: ^8.55.0 + version: 8.57.0 + prettier: + specifier: 2.8.8 + version: 2.8.8 + tsx: + specifier: ^4.19.2 + version: 4.19.2 + typescript: + specifier: ^5.3.3 + version: 5.6.3 + moonbeam-types-bundle: dependencies: '@polkadot/api': - specifier: 14.0.1 + specifier: '*' version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-base': - specifier: 14.0.1 + specifier: '*' version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/rpc-core': - specifier: 14.0.1 + specifier: '*' version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/typegen': - specifier: 14.0.1 + specifier: '*' version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': - specifier: 14.0.1 + specifier: '*' version: 14.0.1 '@polkadot/types-codec': - specifier: 14.0.1 + specifier: '*' version: 14.0.1 prettier: - specifier: 2.8.8 + specifier: '*' version: 2.8.8 + tsup: + specifier: '*' + version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.2)(yaml@2.6.0) typescript: - specifier: 5.6.2 + specifier: '*' version: 5.6.2 test: dependencies: '@acala-network/chopsticks': specifier: 1.0.1 - version: 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3))(utf-8-validate@5.0.10) + version: 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10) '@moonbeam-network/api-augment': specifier: workspace:* version: link:../typescript-api '@moonwall/cli': - specifier: 5.8.0 - version: 5.8.0(@types/node@22.9.0)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3))(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + specifier: 5.9.1 + version: 5.9.1(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@moonwall/util': - specifier: 5.8.0 - version: 5.8.0(@types/node@22.9.0)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8) + specifier: 5.9.1 + version: 5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8) '@openzeppelin/contracts': specifier: 4.9.6 version: 4.9.6 '@polkadot-api/merkleize-metadata': - specifier: 1.1.9 - version: 1.1.9 + specifier: 1.1.10 + version: 1.1.10 '@polkadot/api': - specifier: 14.3.1 + specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-augment': - specifier: 14.3.1 + specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-derive': - specifier: 14.3.1 + specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/apps-config': specifier: 0.146.1 version: 0.146.1(@polkadot/keyring@13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3))(bufferutil@4.0.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(utf-8-validate@5.0.10) '@polkadot/keyring': - specifier: 13.2.3 + specifier: '*' version: 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) '@polkadot/rpc-provider': - specifier: 14.3.1 + specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': - specifier: 14.3.1 + specifier: '*' version: 14.3.1 '@polkadot/types-codec': - specifier: 14.3.1 + specifier: '*' version: 14.3.1 '@polkadot/util': - specifier: 13.2.3 + specifier: '*' version: 13.2.3 '@polkadot/util-crypto': - specifier: 13.2.3 + specifier: '*' version: 13.2.3(@polkadot/util@13.2.3) '@substrate/txwrapper-core': specifier: 7.5.2 @@ -94,7 +149,7 @@ importers: version: 2.1.5(vitest@2.1.5) '@zombienet/utils': specifier: 0.0.25 - version: 0.0.25(@types/node@22.9.0)(chokidar@3.6.0)(typescript@5.6.3) + version: 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) chalk: specifier: 5.3.0 version: 5.3.0 @@ -102,7 +157,7 @@ importers: specifier: github:aurora-is-near/eth-object#master version: https://codeload.github.com/aurora-is-near/eth-object/tar.gz/378b8dbf44a71f7049666cea5a16ab88d45aed06(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) ethers: - specifier: 6.13.4 + specifier: '*' version: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) json-bigint: specifier: 1.0.0 @@ -113,9 +168,9 @@ importers: merkle-patricia-tree: specifier: 4.2.4 version: 4.2.4 - node-fetch: - specifier: 3.3.2 - version: 3.3.2 + moonbeam-types-bundle: + specifier: workspace:* + version: link:../moonbeam-types-bundle octokit: specifier: ^4.0.2 version: 4.0.2 @@ -132,14 +187,14 @@ importers: specifier: 0.8.25 version: 0.8.25(debug@4.3.7) tsx: - specifier: 4.19.2 + specifier: '*' version: 4.19.2 viem: specifier: 2.21.45 version: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) vitest: specifier: 2.1.5 - version: 2.1.5(@types/node@22.9.0)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + version: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) web3: specifier: 4.15.0 version: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) @@ -154,8 +209,8 @@ importers: specifier: ^1.0.4 version: 1.0.4 '@types/node': - specifier: 22.9.0 - version: 22.9.0 + specifier: '*' + version: 22.10.1 '@types/semver': specifier: 7.5.8 version: 7.5.8 @@ -181,13 +236,13 @@ importers: specifier: 3.1.0 version: 3.1.0(@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0) inquirer: - specifier: 9.2.16 - version: 9.2.16 + specifier: 12.2.0 + version: 12.2.0(@types/node@22.10.1) prettier: - specifier: 2.8.8 + specifier: '*' version: 2.8.8 typescript: - specifier: 5.6.3 + specifier: '*' version: 5.6.3 yargs: specifier: 17.7.2 @@ -196,37 +251,43 @@ importers: typescript-api: dependencies: '@polkadot/api': - specifier: 14.3.1 + specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-base': - specifier: 14.3.1 + specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/rpc-core': - specifier: 14.3.1 + specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/typegen': - specifier: 14.3.1 + specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': - specifier: 14.3.1 + specifier: '*' version: 14.3.1 '@polkadot/types-codec': - specifier: 14.3.1 + specifier: '*' version: 14.3.1 '@types/node': - specifier: ^22.9.1 + specifier: '*' version: 22.9.1 + moonbeam-types-bundle: + specifier: workspace:* + version: link:../moonbeam-types-bundle prettier: - specifier: 2.8.8 + specifier: '*' version: 2.8.8 prettier-plugin-jsdoc: specifier: ^0.3.38 version: 0.3.38(prettier@2.8.8) + tsup: + specifier: '*' + version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) tsx: - specifier: ^4.19.2 + specifier: '*' version: 4.19.2 typescript: - specifier: ^5.6.3 + specifier: '*' version: 5.6.3 packages: @@ -255,6 +316,10 @@ packages: '@adraffy/ens-normalize@1.11.0': resolution: {integrity: sha512-/3DDPKHqqIqxUULp8yP4zODUY1i+2xvVWsv8A79xGWdCAG+8sb0hRh0Rk2QyOJUnnbyPUAZYcpBuRe3nS2OIUg==} + '@alcalzone/ansi-tokenize@0.1.3': + resolution: {integrity: sha512-3yWxPTq3UQ/FY9p1ErPxIyfT64elWaMvM9lIHnaqpyft63tkxodF5aUElYHrdisWve5cETkh1+KBw1yJuW0aRw==} + engines: {node: '>=14.13.1'} + '@asamuzakjp/dom-selector@2.0.2': resolution: {integrity: sha512-x1KXOatwofR6ZAYzXRBL5wrdV0vwNxlTCK9NCuLqAzQYARqGcvFwiJA6A1ERuh+dgeA4Dxm3JBYictIes+SqUQ==} @@ -860,6 +925,86 @@ packages: resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} deprecated: Use @eslint/object-schema instead + '@inquirer/checkbox@4.0.3': + resolution: {integrity: sha512-CEt9B4e8zFOGtc/LYeQx5m8nfqQeG/4oNNv0PUvXGG0mys+wR/WbJ3B4KfSQ4Fcr3AQfpiuFOi3fVvmPfvNbxw==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/confirm@5.1.0': + resolution: {integrity: sha512-osaBbIMEqVFjTX5exoqPXs6PilWQdjaLhGtMDXMXg/yxkHXNq43GlxGyTA35lK2HpzUgDN+Cjh/2AmqCN0QJpw==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/core@10.1.1': + resolution: {integrity: sha512-rmZVXy9iZvO3ZStEe/ayuuwIJ23LSF13aPMlLMTQARX6lGUBDHGV8UB5i9MRrfy0+mZwt5/9bdy8llszSD3NQA==} + engines: {node: '>=18'} + + '@inquirer/editor@4.2.0': + resolution: {integrity: sha512-Z3LeGsD3WlItDqLxTPciZDbGtm0wrz7iJGS/uUxSiQxef33ZrBq7LhsXg30P7xrWz1kZX4iGzxxj5SKZmJ8W+w==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/expand@4.0.3': + resolution: {integrity: sha512-MDszqW4HYBpVMmAoy/FA9laLrgo899UAga0itEjsYrBthKieDZNc0e16gdn7N3cQ0DSf/6zsTBZMuDYDQU4ktg==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/figures@1.0.8': + resolution: {integrity: sha512-tKd+jsmhq21AP1LhexC0pPwsCxEhGgAkg28byjJAd+xhmIs8LUX8JbUc3vBf3PhLxWiB5EvyBE5X7JSPAqMAqg==} + engines: {node: '>=18'} + + '@inquirer/input@4.1.0': + resolution: {integrity: sha512-16B8A9hY741yGXzd8UJ9R8su/fuuyO2e+idd7oVLYjP23wKJ6ILRIIHcnXe8/6AoYgwRS2zp4PNsW/u/iZ24yg==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/number@3.0.3': + resolution: {integrity: sha512-HA/W4YV+5deKCehIutfGBzNxWH1nhvUC67O4fC9ufSijn72yrYnRmzvC61dwFvlXIG1fQaYWi+cqNE9PaB9n6Q==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/password@4.0.3': + resolution: {integrity: sha512-3qWjk6hS0iabG9xx0U1plwQLDBc/HA/hWzLFFatADpR6XfE62LqPr9GpFXBkLU0KQUaIXZ996bNG+2yUvocH8w==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/prompts@7.2.0': + resolution: {integrity: sha512-ZXYZ5oGVrb+hCzcglPeVerJ5SFwennmDOPfXq1WyeZIrPGySLbl4W6GaSsBFvu3WII36AOK5yB8RMIEEkBjf8w==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/rawlist@4.0.3': + resolution: {integrity: sha512-5MhinSzfmOiZlRoPezfbJdfVCZikZs38ja3IOoWe7H1dxL0l3Z2jAUgbBldeyhhOkELdGvPlBfQaNbeLslib1w==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/search@3.0.3': + resolution: {integrity: sha512-mQTCbdNolTGvGGVCJSI6afDwiSGTV+fMLPEIMDJgIV6L/s3+RYRpxt6t0DYnqMQmemnZ/Zq0vTIRwoHT1RgcTg==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/select@4.0.3': + resolution: {integrity: sha512-OZfKDtDE8+J54JYAFTUGZwvKNfC7W/gFCjDkcsO7HnTH/wljsZo9y/FJquOxMy++DY0+9l9o/MOZ8s5s1j5wmw==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + + '@inquirer/type@3.0.1': + resolution: {integrity: sha512-+ksJMIy92sOAiAccGpcKZUc3bYO07cADnscIxHBknEm3uNts3movSmBofc1908BNy5edKscxYeAdaX1NXkHS6A==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + '@interlay/interbtc-types@1.13.0': resolution: {integrity: sha512-oUjavcfnX7lxlMd10qGc48/MoATX37TQcuSAZBIUmpCRiJ15hZbQoTAKGgWMPsla3+3YqUAzkWUEVMwUvM1U+w==} @@ -896,10 +1041,6 @@ packages: '@laminar/type-definitions@0.3.1': resolution: {integrity: sha512-QWC2qtvbPIxal+gMfUocZmwK0UsD7Sb0RUm4Hallkp+OXXL+3uBLwztYDLS5LtocOn0tfR//sgpnfsEIEb71Lw==} - '@ljharb/through@2.3.13': - resolution: {integrity: sha512-/gKJun8NNiWGZJkGzI/Ragc53cOdcLNdzjLaIa+GEjguQs0ulsurx8WN0jijdK9yPqDvziX995sMRLyLt1uZMQ==} - engines: {node: '>= 0.4'} - '@logion/node-api@0.27.0-4': resolution: {integrity: sha512-YOAumRQpacPmX5YUk6jHAi+EAJWKCU3WL4+YQpaKhXv5KoS3n6Iz2fK8qzcD5Gs+AUTg2WLmKH+7Jc5WRnHcig==} engines: {node: '>=18'} @@ -917,17 +1058,17 @@ packages: resolution: {integrity: sha512-a5xE4G7OI51HGrJWaZrgzph8XTbeuMOcgNp5PCS+Gasne1fT+HQsI48K3QUEu4ANe2xmN28O1+YmG3xsFeFWfw==} engines: {node: '>=20.0.0'} - '@moonwall/cli@5.8.0': - resolution: {integrity: sha512-FWpUM1OJYkmOXlr1lU06ZUbpgvoByIRawkHRriL7F8vdlw7hvP2wIeV4xFFJNefXZOOyqbsgv4wVFxe7+Gay1A==} + '@moonwall/cli@5.9.1': + resolution: {integrity: sha512-DjnHB61lr8qkIm+BqhBhGGyHdFrlKlntxOAvJCmoDfNlsMmXHvsaeU9E7KNYRHnXbklrHKMhQhXQ8LdFIfqDXA==} engines: {node: '>=20', pnpm: '>=7'} hasBin: true - '@moonwall/types@5.8.0': - resolution: {integrity: sha512-KjueheNwOrDeWNQA+bfV7N6xeKLPpKLv9TIO5QRl0JDvxev53/u0BQXa5J4a8IQ0v2B/dKfcHyYteh8vq8qSNw==} + '@moonwall/types@5.9.1': + resolution: {integrity: sha512-1q72msaH3SbKcM0pdcqxnSEJVrrK7WO9lUsBObjuOu/an4zIzluELw65Hu3J6lfCvKg13ypUnJic7McX3mHdKw==} engines: {node: '>=20', pnpm: '>=7'} - '@moonwall/util@5.8.0': - resolution: {integrity: sha512-D36JM4EyDAxE32OBVTfnbpxHVpBH3BehcAjRhXsEZ/AAEyMwCg9qqdzVdMK7bo2EhoZad6UKZdOs+/4vl7W1rQ==} + '@moonwall/util@5.9.1': + resolution: {integrity: sha512-UlbwiX5ibywxLaCVwgNIcHOXoHh/nSHg+crtl+0f7suANJpCuQwm1WSUUMstaEliJ7FvNiGlwjozpU/NpBXWJA==} engines: {node: '>=20', pnpm: '>=7'} '@noble/curves@1.2.0': @@ -1189,8 +1330,8 @@ packages: '@polkadot-api/logs-provider@0.0.6': resolution: {integrity: sha512-4WgHlvy+xee1ADaaVf6+MlK/+jGMtsMgAzvbQOJZnP4PfQuagoTqaeayk8HYKxXGphogLlPbD06tANxcb+nvAg==} - '@polkadot-api/merkleize-metadata@1.1.9': - resolution: {integrity: sha512-TwFhbnHcnad/O5S8NnT9OcCX0CRAyJL9PilwV/sd8cEdS9LWNwlBxjTqUWWKhRrtlsSeuvi2ldYC+dgUYUaIOA==} + '@polkadot-api/merkleize-metadata@1.1.10': + resolution: {integrity: sha512-GBzd3Fjwnk1G/lGmMzYh/gFaLUunTa20KSRDjW48Osq0JaXdEja6qcVeyKO/5Q8dJB+ysMViapBCTi+VqQNUGg==} '@polkadot-api/metadata-builders@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': resolution: {integrity: sha512-BD7rruxChL1VXt0icC2gD45OtT9ofJlql0qIllHSRYgama1CR2Owt+ApInQxB+lWqM+xNOznZRpj8CXNDvKIMg==} @@ -1198,9 +1339,6 @@ packages: '@polkadot-api/metadata-builders@0.3.2': resolution: {integrity: sha512-TKpfoT6vTb+513KDzMBTfCb/ORdgRnsS3TDFpOhAhZ08ikvK+hjHMt5plPiAX/OWkm1Wc9I3+K6W0hX5Ab7MVg==} - '@polkadot-api/metadata-builders@0.9.1': - resolution: {integrity: sha512-yZPm9KKn7QydbjMQMzhKHekDuQSdSZXYdCyqGt74HSNz9DdJSdpFNwHv0p+vmp+9QDlVsKK7nbUTjYxLZT4vCA==} - '@polkadot-api/metadata-builders@0.9.2': resolution: {integrity: sha512-2vxtjMC5PvN+sTM6DPMopznNfTUJEe6G6CzMhtK19CASb2OeN9NoRpnxmpEagjndO98YPkyQtDv25sKGUVhgAA==} @@ -1248,9 +1386,6 @@ packages: '@polkadot-api/substrate-bindings@0.6.0': resolution: {integrity: sha512-lGuhE74NA1/PqdN7fKFdE5C1gNYX357j1tWzdlPXI0kQ7h3kN0zfxNOpPUN7dIrPcOFZ6C0tRRVrBylXkI6xPw==} - '@polkadot-api/substrate-bindings@0.9.3': - resolution: {integrity: sha512-ygaZo8+xssTdb6lj9mA8RTlanDfyd0iMex3aBFC1IzOSm08XUWdRpuSLRuerFCimLzKuz/oBOTKdqBFGb7ybUQ==} - '@polkadot-api/substrate-bindings@0.9.4': resolution: {integrity: sha512-SUyetILwgUsodSk1qhNu0HflRBdq2VBCbqAqCBNaoCauE3/Q/G6k7xS+1nE6MTcpjZQex+TriJdDz/trLSvwsA==} @@ -1290,6 +1425,10 @@ packages: resolution: {integrity: sha512-PE6DW+8kRhbnGKn7qCF7yM6eEt/kqrY8bh1i0RZcPY9QgwXW4bZZrtMK4WssX6Z70NTEoOW6xHYIjc7gFZuz8g==} engines: {node: '>=18'} + '@polkadot/api-augment@15.0.1': + resolution: {integrity: sha512-dNFrim/87+rStNCrI1aSaH0nZzRadDwEIya/p860lFRVZQpkBvZlqvSBQUqcKxI0c5c1pp1uaSEixq+A+IOUBg==} + engines: {node: '>=18'} + '@polkadot/api-augment@7.15.1': resolution: {integrity: sha512-7csQLS6zuYuGq7W1EkTBz1ZmxyRvx/Qpz7E7zPSwxmY8Whb7Yn2effU9XF0eCcRpyfSW8LodF8wMmLxGYs1OaQ==} engines: {node: '>=14.0.0'} @@ -1310,6 +1449,10 @@ packages: resolution: {integrity: sha512-GZT6rTpT3HYZ/C3rLPjoX3rX3DOxNG/zgts+jKjNrCumAeZkVq5JErKIX8/3f2TVaE2Kbqniy3d1TH/AL4HBPA==} engines: {node: '>=18'} + '@polkadot/api-base@15.0.1': + resolution: {integrity: sha512-P4WQ+SqyuotVd//EFMIzlWLRbER9JycpdmTaKof2NpVioGotbHhJtO4TXPC3CW1C8zovM7KYrcWtz6b8/FxqoA==} + engines: {node: '>=18'} + '@polkadot/api-base@7.15.1': resolution: {integrity: sha512-UlhLdljJPDwGpm5FxOjvJNFTxXMRFaMuVNx6EklbuetbBEJ/Amihhtj0EJRodxQwtZ4ZtPKYKt+g+Dn7OJJh4g==} engines: {node: '>=14.0.0'} @@ -1330,6 +1473,10 @@ packages: resolution: {integrity: sha512-PhqUEJCY54vXtIaoYqGUtJY06wHd/K0cBmBz9yCLxp8UZkLoGWhfJRTruI25Jnucf9awS5cZKYqbsoDrL09Oqg==} engines: {node: '>=18'} + '@polkadot/api-derive@15.0.1': + resolution: {integrity: sha512-gaLqZ8wL+hGMntq5gxHb6Rv+EQzmmnC63plMBvk5pnNfCm4xjN43GYpbOwSQknHVNo+irC7qwD3GyPK6TfFUUA==} + engines: {node: '>=18'} + '@polkadot/api-derive@7.15.1': resolution: {integrity: sha512-CsOQppksQBaa34L1fWRzmfQQpoEBwfH0yTTQxgj3h7rFYGVPxEKGeFjo1+IgI2vXXvOO73Z8E4H/MnbxvKrs1Q==} engines: {node: '>=14.0.0'} @@ -1350,6 +1497,10 @@ packages: resolution: {integrity: sha512-ZBKSXEVJa1S1bnmpnA7KT/fX3sJDIJOdVD9Hp3X+G73yvXzuK5k1Mn5z9bD/AcMs/HAGcbuYU+b9+b9IByH9YQ==} engines: {node: '>=18'} + '@polkadot/api@15.0.1': + resolution: {integrity: sha512-ZOqw99B70XrX0it0cWu1YSBrtGNhdFpk5zvUVL5+FD8iyO+Tuk1m32VR0PukDCdlwxFXuEw7vRdZX/G/BzoZhg==} + engines: {node: '>=18'} + '@polkadot/api@7.15.1': resolution: {integrity: sha512-z0z6+k8+R9ixRMWzfsYrNDnqSV5zHKmyhTCL0I7+1I081V18MJTCFUKubrh0t1gD0/FCt3U9Ibvr4IbtukYLrQ==} engines: {node: '>=14.0.0'} @@ -1451,6 +1602,10 @@ packages: resolution: {integrity: sha512-Z8Hp8fFHwFCiTX0bBCDqCZ4U26wLIJl1NRSjJTsAr+SS68pYZBDGCwhKztpKGqndk1W1akRUaxrkGqYdIFmspQ==} engines: {node: '>=18'} + '@polkadot/rpc-augment@15.0.1': + resolution: {integrity: sha512-4FoY+oXC08+vaLMAvFgOOjcFHNBHEv2kOqgxtO/yCyMLNvyRRnrBtMofznJ1EWEwzehvU5iSlbMCerKdImFRZQ==} + engines: {node: '>=18'} + '@polkadot/rpc-augment@7.15.1': resolution: {integrity: sha512-sK0+mphN7nGz/eNPsshVi0qd0+N0Pqxuebwc1YkUGP0f9EkDxzSGp6UjGcSwWVaAtk9WZZ1MpK1Jwb/2GrKV7Q==} engines: {node: '>=14.0.0'} @@ -1471,6 +1626,10 @@ packages: resolution: {integrity: sha512-FV2NPhFwFxmX8LqibDcGc6IKTBqmvwr7xwF2OA60Br4cX+AQzMSVpFlfQcETll+0M+LnRhqGKGkP0EQWXaSowA==} engines: {node: '>=18'} + '@polkadot/rpc-core@15.0.1': + resolution: {integrity: sha512-I5F1T17Nr5oEuqAysP7n14tWym54hCriqj0pV0tM4yfIF0iWaWPkqWNRU7uNfv86n3m15IMGoMapvgZVnUF5LQ==} + engines: {node: '>=18'} + '@polkadot/rpc-core@7.15.1': resolution: {integrity: sha512-4Sb0e0PWmarCOizzxQAE1NQSr5z0n+hdkrq3+aPohGu9Rh4PodG+OWeIBy7Ov/3GgdhNQyBLG+RiVtliXecM3g==} engines: {node: '>=14.0.0'} @@ -1491,6 +1650,10 @@ packages: resolution: {integrity: sha512-NF/Z/7lzT+jp5LZzC49g+YIjRzXVI0hFag3+B+4zh6E/kKADdF59EHj2Im4LDhRGOnEO9AE4H6/UjNEbZ94JtA==} engines: {node: '>=18'} + '@polkadot/rpc-provider@15.0.1': + resolution: {integrity: sha512-ziRob/sco751+OK700vNh7IivysFOeZthO7JpC8CEQhZ2c+z/HY7bNsAucy1q1ELGe7xLMZW2/rm/RG285ZDPQ==} + engines: {node: '>=18'} + '@polkadot/rpc-provider@7.15.1': resolution: {integrity: sha512-n0RWfSaD/r90JXeJkKry1aGZwJeBUUiMpXUQ9Uvp6DYBbYEDs0fKtWLpdT3PdFrMbe5y3kwQmNLxwe6iF4+mzg==} engines: {node: '>=14.0.0'} @@ -1521,6 +1684,10 @@ packages: resolution: {integrity: sha512-SC4M6TBlgCglNz+gRbvfoVRDz0Vyeev6v0HeAdw0H6ayEW4BXUdo5bFr0092bdS5uTrEPgiSyUry5TJs2KoXig==} engines: {node: '>=18'} + '@polkadot/types-augment@15.0.1': + resolution: {integrity: sha512-6fTjJmTGd46UUIYPHr5oA6kiFl6IY45dvDgUQu07AmVdEQlq3OPq/7GyS639SLHHfMLSPbFKyt1iMVj9BNu0qA==} + engines: {node: '>=18'} + '@polkadot/types-augment@7.15.1': resolution: {integrity: sha512-aqm7xT/66TCna0I2utpIekoquKo0K5pnkA/7WDzZ6gyD8he2h0IXfe8xWjVmuyhjxrT/C/7X1aUF2Z0xlOCwzQ==} engines: {node: '>=14.0.0'} @@ -1541,6 +1708,10 @@ packages: resolution: {integrity: sha512-3y3RBGd+8ebscGbNUOjqUjnRE7hgicgid5LtofHK3O1EDcJQJnYBDkJ7fOAi96CDgHsg+f2FWWkBWEPgpOQoMQ==} engines: {node: '>=18'} + '@polkadot/types-codec@15.0.1': + resolution: {integrity: sha512-SLypmYH6FYRmqGG8TBbi4X0tYh1OUZEMNkujln2eHxsuFIYRGrHFnEohtkF9ktSxoUji2ph9I5ZW5gqQvEsXrA==} + engines: {node: '>=18'} + '@polkadot/types-codec@7.15.1': resolution: {integrity: sha512-nI11dT7FGaeDd/fKPD8iJRFGhosOJoyjhZ0gLFFDlKCaD3AcGBRTTY8HFJpP/5QXXhZzfZsD93fVKrosnegU0Q==} engines: {node: '>=14.0.0'} @@ -1561,6 +1732,10 @@ packages: resolution: {integrity: sha512-F4EBvF3Zvym0xrkAA5Yz01IAVMepMV3w2Dwd0C9IygEAQ5sYLLPHmf72/aXn+Ag+bSyT2wlJHpDc+nEBXNQ3Gw==} engines: {node: '>=18'} + '@polkadot/types-create@15.0.1': + resolution: {integrity: sha512-M1vs5o3sw8p3g88GhJgz2vSSgxnr5CfbaL4r5EYzR+Hx9xUvz03aEofySvodusEpdRQ9MijnsNSP9306xvcqhw==} + engines: {node: '>=18'} + '@polkadot/types-create@7.15.1': resolution: {integrity: sha512-+HiaHn7XOwP0kv/rVdORlVkNuMoxuvt+jd67A/CeEreJiXqRLu+S61Mdk7wi6719PTaOal1hTDFfyGrtUd8FSQ==} engines: {node: '>=14.0.0'} @@ -1581,6 +1756,10 @@ packages: resolution: {integrity: sha512-58b3Yc7+sxwNjs8axmrA9OCgnxmEKIq7XCH2VxSgLqTeqbohVtxwUSCW/l8NPrq1nxzj4J2sopu0PPg8/++q4g==} engines: {node: '>=18'} + '@polkadot/types-known@15.0.1': + resolution: {integrity: sha512-9VC6QX4/JAjWmnSdaZIm4n8CgmVj9KutgQ5/Uy9VBrTwfRzUPIBwHZT8lPQLeN1WwQRbtc5ojDoo2SR+OqGTqw==} + engines: {node: '>=18'} + '@polkadot/types-known@4.17.1': resolution: {integrity: sha512-YkOwGrO+k9aVrBR8FgYHnfJKhOfpdgC5ZRYNL/xJ9oa7lBYqPts9ENAxeBmJS/5IGeDF9f32MNyrCP2umeCXWg==} engines: {node: '>=14.0.0'} @@ -1609,6 +1788,10 @@ packages: resolution: {integrity: sha512-MfVe4iIOJIfBr+gj8Lu8gwIvhnO6gDbG5LeaKAjY6vS6Oh0y5Ztr8NdMIl8ccSpoyt3LqIXjfApeGzHiLzr6bw==} engines: {node: '>=18'} + '@polkadot/types-support@15.0.1': + resolution: {integrity: sha512-w/IWFuDn290brw75ZXKPkQMazz0yizE0zK0XuqP2S4IW009x+z0peRc7Q4k36JOqDVDwSc38vTxWtRPVqdoI1g==} + engines: {node: '>=18'} + '@polkadot/types-support@7.15.1': resolution: {integrity: sha512-FIK251ffVo+NaUXLlaJeB5OvT7idDd3uxaoBM6IwsS87rzt2CcWMyCbu0uX89AHZUhSviVx7xaBxfkGEqMePWA==} engines: {node: '>=14.0.0'} @@ -1629,6 +1812,10 @@ packages: resolution: {integrity: sha512-O748XgCLDQYxS5nQ6TJSqW88oC4QNIoNVlWZC2Qq4SmEXuSzaNHQwSVtdyPRJCCc4Oi1DCQvGui4O+EukUl7HA==} engines: {node: '>=18'} + '@polkadot/types@15.0.1': + resolution: {integrity: sha512-jnn0h8Z4O3l/UjrBOJPmkfKjuC6fSqhQfsn7HpWF18lEicGp4/A7X3AZryIg8npKHHiuH30bK/o1VuivH+4dVw==} + engines: {node: '>=18'} + '@polkadot/types@4.17.1': resolution: {integrity: sha512-rjW4OFdwvFekzN3ATLibC2JPSd8AWt5YepJhmuCPdwH26r3zB8bEC6dM7YQExLVUmygVPvgXk5ffHI6RAdXBMg==} engines: {node: '>=14.0.0'} @@ -2258,12 +2445,12 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + '@types/node@22.10.1': + resolution: {integrity: sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==} + '@types/node@22.7.5': resolution: {integrity: sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==} - '@types/node@22.9.0': - resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} - '@types/node@22.9.1': resolution: {integrity: sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==} @@ -2273,6 +2460,12 @@ packages: '@types/pbkdf2@3.1.2': resolution: {integrity: sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew==} + '@types/prop-types@15.7.14': + resolution: {integrity: sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==} + + '@types/react@18.3.14': + resolution: {integrity: sha512-NzahNKvjNhVjuPBQ+2G7WlxstQ+47kXZNHlUvFakDViuIEfGY926GqhMueQFZ7woG+sPiQKlF36XfrIUVSUfFg==} + '@types/responselike@1.0.3': resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} @@ -2285,6 +2478,9 @@ packages: '@types/stylis@4.2.5': resolution: {integrity: sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==} + '@types/tmp@0.2.6': + resolution: {integrity: sha512-chhaNf2oKHlRkDGt+tiKE2Z5aJ6qalm7Z9rlLdBwmOiAAf09YQvvoLXjWK4HWPF1xU/fqvMgfNfpVoBscA/tKA==} + '@types/unist@2.0.11': resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} @@ -2476,10 +2672,12 @@ packages: abstract-leveldown@6.2.3: resolution: {integrity: sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==} engines: {node: '>=6'} + deprecated: Superseded by abstract-level (https://github.com/Level/community#faq) abstract-leveldown@6.3.0: resolution: {integrity: sha512-TU5nlYgta8YrBMNpc9FwQzRbiXsj49gsALsXadbGHt9CROPzX5fB0rWDR5mtdpOOKa5XqRFpbj1QroPAoPzVjQ==} engines: {node: '>=6'} + deprecated: Superseded by abstract-level (https://github.com/Level/community#faq) accepts@1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} @@ -2534,6 +2732,10 @@ packages: resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} engines: {node: '>=8'} + ansi-escapes@7.0.0: + resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} + engines: {node: '>=18'} + ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -2575,10 +2777,6 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - array-buffer-byte-length@1.0.1: - resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} - engines: {node: '>= 0.4'} - array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} @@ -2613,6 +2811,10 @@ packages: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} + auto-bind@5.0.1: + resolution: {integrity: sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + available-typed-arrays@1.0.7: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} @@ -2663,9 +2865,6 @@ packages: bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} - bl@5.1.0: - resolution: {integrity: sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==} - blakejs@1.2.1: resolution: {integrity: sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==} @@ -2859,9 +3058,9 @@ packages: clear@0.1.0: resolution: {integrity: sha512-qMjRnoL+JDPJHeLePZJuao6+8orzHMGP04A8CdwCNsKhRbOnKRjefxONR7bwILT3MHecxKBjHkKL/tkZ8r4Uzw==} - cli-cursor@3.1.0: - resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} - engines: {node: '>=8'} + cli-boxes@3.0.0: + resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} + engines: {node: '>=10'} cli-cursor@4.0.0: resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} @@ -2888,6 +3087,10 @@ packages: resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} engines: {node: 10.* || >= 12.*} + cli-truncate@4.0.0: + resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==} + engines: {node: '>=18'} + cli-width@4.1.0: resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} engines: {node: '>= 12'} @@ -2902,9 +3105,9 @@ packages: clone-response@1.0.3: resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==} - clone@1.0.4: - resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} - engines: {node: '>=0.8'} + code-excerpt@4.0.0: + resolution: {integrity: sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} @@ -2988,6 +3191,10 @@ packages: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} + convert-to-spaces@2.0.1: + resolution: {integrity: sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} @@ -3116,10 +3323,6 @@ packages: resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} - deep-equal@2.2.3: - resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==} - engines: {node: '>= 0.4'} - deep-extend@0.6.0: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} @@ -3131,9 +3334,6 @@ packages: resolution: {integrity: sha512-qCSH6I0INPxd9Y1VtAiLpnYvz5O//6rCfJXKk0z66Up9/VOSr+1yS8XSKA5IWRxjocFGlzPyaZYe+jxq7OOLtQ==} engines: {node: '>=16.0.0'} - defaults@1.0.4: - resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} - defer-to-connect@2.0.1: resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==} engines: {node: '>=10'} @@ -3141,6 +3341,7 @@ packages: deferred-leveldown@5.3.0: resolution: {integrity: sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw==} engines: {node: '>=6'} + deprecated: Superseded by abstract-level (https://github.com/Level/community#faq) define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} @@ -3266,6 +3467,10 @@ packages: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} + environment@1.1.0: + resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} + engines: {node: '>=18'} + err-code@2.0.3: resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==} @@ -3284,12 +3489,12 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} - es-get-iterator@1.1.3: - resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} - es-module-lexer@1.5.4: resolution: {integrity: sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==} + es-toolkit@1.29.0: + resolution: {integrity: sha512-GjTll+E6APcfAQA09D89HdT8Qn2Yb+TeDSDBTMcxAo+V+w1amAtCI15LJu4YPH/UCPoSo/F47Gr1LIM0TE0lZA==} + es5-ext@0.10.64: resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==} engines: {node: '>=0.10'} @@ -3335,9 +3540,9 @@ packages: escape-latex@1.2.0: resolution: {integrity: sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw==} - escape-string-regexp@1.0.5: - resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} - engines: {node: '>=0.8.0'} + escape-string-regexp@2.0.0: + resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} + engines: {node: '>=8'} escape-string-regexp@4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} @@ -3548,10 +3753,6 @@ packages: resolution: {integrity: sha512-nLOa0/SYYnN2NPcLrI81UNSPxyg3q0sGiltfe9G1okg0nxs5CqAwtmaqPQdGcOryeGURaCoQx8Y4AUkhGTh7IQ==} engines: {node: '>=0.12.0'} - figures@3.2.0: - resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} - engines: {node: '>=8'} - figures@6.1.0: resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} engines: {node: '>=18'} @@ -3665,9 +3866,6 @@ packages: functional-red-black-tree@1.0.1: resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} - functions-have-names@1.2.3: - resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} - gauge@4.0.4: resolution: {integrity: sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -3790,9 +3988,6 @@ packages: engines: {node: '>=6'} deprecated: this library is no longer supported - has-bigints@1.0.2: - resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} - has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} @@ -3936,6 +4131,10 @@ packages: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} + indent-string@5.0.0: + resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} + engines: {node: '>=12'} + index-to-position@0.1.2: resolution: {integrity: sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==} engines: {node: '>=18'} @@ -3953,18 +4152,24 @@ packages: ini@1.3.8: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} - inquirer-press-to-continue@1.2.0: - resolution: {integrity: sha512-HdKOgEAydYhI3OKLy5S4LMi7a/AHJjPzF06mHqbdVxlTmHOaytQVBaVbQcSytukD70K9FYLhYicNOPuNjFiWVQ==} + ink@5.1.0: + resolution: {integrity: sha512-3vIO+CU4uSg167/dZrg4wHy75llUINYXxN4OsdaCkE40q4zyOTPwNc2VEpLnnWsIvIQeo6x6lilAhuaSt+rIsA==} + engines: {node: '>=18'} peerDependencies: - inquirer: '>=8.0.0 <10.0.0' + '@types/react': '>=18.0.0' + react: '>=18.0.0' + react-devtools-core: ^4.19.1 + peerDependenciesMeta: + '@types/react': + optional: true + react-devtools-core: + optional: true - inquirer@9.2.16: - resolution: {integrity: sha512-qzgbB+yNjgSzk2omeqMDtO9IgJet/UL67luT1MaaggRpGK73DBQct5Q4pipwFQcIKK1GbMODYd4UfsRCkSP1DA==} + inquirer@12.2.0: + resolution: {integrity: sha512-CI0yGbyd5SS4vP7i180S9i95yI+M3ONaljfLBlNS1IIIZ7n+xbH76WzHkIHj253huRiXaKQZl8zijOl0Y0mjqg==} engines: {node: '>=18'} - - internal-slot@1.0.7: - resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} - engines: {node: '>= 0.4'} + peerDependencies: + '@types/node': '>=18' ip-address@9.0.5: resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==} @@ -3986,21 +4191,10 @@ packages: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} - is-array-buffer@3.0.4: - resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} - engines: {node: '>= 0.4'} - - is-bigint@1.0.4: - resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} - is-binary-path@2.1.0: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} - is-boolean-object@1.1.2: - resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} - engines: {node: '>= 0.4'} - is-buffer@1.1.6: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} @@ -4012,10 +4206,6 @@ packages: resolution: {integrity: sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==} engines: {node: '>= 0.4'} - is-date-object@1.0.5: - resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} - engines: {node: '>= 0.4'} - is-descriptor@1.0.3: resolution: {integrity: sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==} engines: {node: '>= 0.4'} @@ -4028,6 +4218,14 @@ packages: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} + is-fullwidth-code-point@4.0.0: + resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} + engines: {node: '>=12'} + + is-fullwidth-code-point@5.0.0: + resolution: {integrity: sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==} + engines: {node: '>=18'} + is-function@1.0.2: resolution: {integrity: sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==} @@ -4043,9 +4241,10 @@ packages: resolution: {integrity: sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==} engines: {node: '>=6.5.0', npm: '>=3'} - is-interactive@1.0.0: - resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} - engines: {node: '>=8'} + is-in-ci@1.0.0: + resolution: {integrity: sha512-eUuAjybVTHMYWm/U+vBO1sY/JOCgoPCXRxzdju0K+K0BiGW0SChEL1MLC0PoCIR1OlPo5YAp8HuQoUlsWEICwg==} + engines: {node: '>=18'} + hasBin: true is-interactive@2.0.0: resolution: {integrity: sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==} @@ -4054,14 +4253,6 @@ packages: is-lambda@1.0.1: resolution: {integrity: sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==} - is-map@2.0.3: - resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==} - engines: {node: '>= 0.4'} - - is-number-object@1.0.7: - resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} - engines: {node: '>= 0.4'} - is-number@3.0.0: resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==} engines: {node: '>=0.10.0'} @@ -4088,18 +4279,6 @@ packages: is-promise@2.2.2: resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} - is-regex@1.1.4: - resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} - engines: {node: '>= 0.4'} - - is-set@2.0.3: - resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==} - engines: {node: '>= 0.4'} - - is-shared-array-buffer@1.0.3: - resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==} - engines: {node: '>= 0.4'} - is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} @@ -4108,14 +4287,6 @@ packages: resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==} engines: {node: '>=18'} - is-string@1.0.7: - resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} - engines: {node: '>= 0.4'} - - is-symbol@1.0.4: - resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} - engines: {node: '>= 0.4'} - is-typed-array@1.1.13: resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} @@ -4135,14 +4306,6 @@ packages: resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==} engines: {node: '>=18'} - is-weakmap@2.0.2: - resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==} - engines: {node: '>= 0.4'} - - is-weakset@2.0.3: - resolution: {integrity: sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==} - engines: {node: '>= 0.4'} - isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} @@ -4291,6 +4454,7 @@ packages: level-mem@5.0.1: resolution: {integrity: sha512-qd+qUJHXsGSFoHTziptAKXoLX87QjR7v2KMbqncDXPxQuCdsQlzmyX+gwrEHhlzn08vkf8TyipYyMmiC6Gobzg==} engines: {node: '>=6'} + deprecated: Superseded by memory-level (https://github.com/Level/community#faq) level-packager@5.1.1: resolution: {integrity: sha512-HMwMaQPlTC1IlcwT3+swhqf/NUO+ZhXVz6TY1zZIIZlIR0YSn8GtAAWmIvKjNY16ZkEg/JcpAuQskxsXqC0yOQ==} @@ -4307,6 +4471,7 @@ packages: levelup@4.4.0: resolution: {integrity: sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==} engines: {node: '>=6'} + deprecated: Superseded by abstract-level (https://github.com/Level/community#faq) levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} @@ -4347,10 +4512,6 @@ packages: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} - log-symbols@5.1.0: - resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==} - engines: {node: '>=12'} - log-symbols@6.0.0: resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==} engines: {node: '>=18'} @@ -4431,6 +4592,7 @@ packages: memdown@5.1.0: resolution: {integrity: sha512-B3J+UizMRAlEArDjWHTMmadet+UKwHd3UjMgGBkZcKAxAYVPS9o0Yeiha4qvz7iGiL2Sb3igUft6p7nbFWctpw==} engines: {node: '>=6'} + deprecated: Superseded by memory-level (https://github.com/Level/community#faq) memoizee@0.4.15: resolution: {integrity: sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==} @@ -4702,9 +4864,9 @@ packages: multihashes@0.4.21: resolution: {integrity: sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw==} - mute-stream@1.0.0: - resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + mute-stream@2.0.0: + resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} + engines: {node: ^18.17.0 || >=20.5.0} mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} @@ -4868,18 +5030,10 @@ packages: resolution: {integrity: sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==} engines: {node: '>= 0.4'} - object-is@1.1.6: - resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==} - engines: {node: '>= 0.4'} - object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} - object.assign@4.1.5: - resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} - engines: {node: '>= 0.4'} - oboe@2.1.5: resolution: {integrity: sha512-zRFWiF+FoicxEs3jNI/WYUrVEgA7DeET/InK0XQuudGHRg8iIob3cNPrJTKaz4004uaA9Pbe+Dwa8iluhjLZWA==} @@ -4910,14 +5064,6 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} - ora@5.4.1: - resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} - engines: {node: '>=10'} - - ora@6.3.1: - resolution: {integrity: sha512-ERAyNnZOfqM+Ao3RAvIXkYh5joP220yf59gVe2X/cI6SiCxIdi4c9HZKZD8R6q/RDXEje1THBju6iExiSsgJaQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - ora@8.1.1: resolution: {integrity: sha512-YWielGi1XzG1UTvOaCFaNgEnuhZVMSHYkW/FQ7UX8O26PtlpdM84c0f7wLPlkvx2RfiQmnzd61d/MGxmpQeJPw==} engines: {node: '>=18'} @@ -4991,6 +5137,10 @@ packages: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} + patch-console@2.0.0: + resolution: {integrity: sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -5254,6 +5404,12 @@ packages: react-is@18.3.1: resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} + react-reconciler@0.29.2: + resolution: {integrity: sha512-zZQqIiYgDCTP/f1N/mAR10nJGrPD2ZR+jDSEsKWJHYC7Cm2wodlwbR3upZRdC3cjIjSlTLNVyO7Iu0Yy7t2AYg==} + engines: {node: '>=0.10.0'} + peerDependencies: + react: ^18.3.1 + react@18.3.1: resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} @@ -5288,10 +5444,6 @@ packages: regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} - regexp.prototype.flags@1.5.3: - resolution: {integrity: sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==} - engines: {node: '>= 0.4'} - request@2.88.2: resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==} engines: {node: '>= 6'} @@ -5325,10 +5477,6 @@ packages: responselike@2.0.1: resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==} - restore-cursor@3.1.0: - resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} - engines: {node: '>=8'} - restore-cursor@4.0.0: resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -5475,10 +5623,6 @@ packages: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} - set-function-name@2.0.2: - resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} - engines: {node: '>= 0.4'} - setimmediate@1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} @@ -5531,6 +5675,14 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + slice-ansi@5.0.0: + resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} + engines: {node: '>=12'} + + slice-ansi@7.1.0: + resolution: {integrity: sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==} + engines: {node: '>=18'} + smart-buffer@4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} @@ -5607,6 +5759,10 @@ packages: resolution: {integrity: sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==} engines: {node: '>= 8'} + stack-utils@2.0.6: + resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} + engines: {node: '>=10'} + stackback@0.0.2: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} @@ -5617,18 +5773,10 @@ packages: std-env@3.8.0: resolution: {integrity: sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==} - stdin-discarder@0.1.0: - resolution: {integrity: sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - stdin-discarder@0.2.2: resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==} engines: {node: '>=18'} - stop-iteration-iterator@1.0.0: - resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} - engines: {node: '>= 0.4'} - store@2.0.12: resolution: {integrity: sha512-eO9xlzDpXLiMr9W1nQ3Nfp9EzZieIQc10zPPMP5jsVV7bLOziSFFBP0XoDXACEIFtdI+rIz0NwWVA/QVJ8zJtw==} @@ -6025,6 +6173,9 @@ packages: undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + undici-types@6.20.0: + resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} engines: {node: '>=18'} @@ -6194,9 +6345,6 @@ packages: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} engines: {node: '>=18'} - wcwidth@1.0.1: - resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} - web-streams-polyfill@3.3.3: resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} engines: {node: '>= 8'} @@ -6396,13 +6544,6 @@ packages: whatwg-url@7.1.0: resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} - which-boxed-primitive@1.0.2: - resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} - - which-collection@1.0.2: - resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==} - engines: {node: '>= 0.4'} - which-typed-array@1.1.15: resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} engines: {node: '>= 0.4'} @@ -6420,6 +6561,10 @@ packages: wide-align@1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} + widest-line@5.0.0: + resolution: {integrity: sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==} + engines: {node: '>=18'} + window-size@1.1.1: resolution: {integrity: sha512-5D/9vujkmVQ7pSmc0SCBmHXbkv6eaHwXEx65MywhmUMsI8sGqJ972APq1lotfcwMKPFLuCFfL8xGHLIp7jaBmA==} engines: {node: '>= 0.10.0'} @@ -6447,6 +6592,10 @@ packages: resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} engines: {node: '>=12'} + wrap-ansi@9.0.0: + resolution: {integrity: sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==} + engines: {node: '>=18'} + wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} @@ -6572,10 +6721,17 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + yoctocolors-cjs@2.1.2: + resolution: {integrity: sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==} + engines: {node: '>=18'} + yoctocolors@2.1.1: resolution: {integrity: sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==} engines: {node: '>=18'} + yoga-wasm-web@0.3.3: + resolution: {integrity: sha512-N+d4UJSJbt/R3wqY7Coqs5pcV0aUj2j9IaQ3rNj9bVCLld8tTGKRa2USARjnvZJWVx1NDmQev8EknoczaOQDOA==} + zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} @@ -6603,13 +6759,13 @@ snapshots: - supports-color - utf-8-validate - '@acala-network/chopsticks-db@1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3))(utf-8-validate@5.0.10)': + '@acala-network/chopsticks-db@1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10)': dependencies: '@acala-network/chopsticks-core': 1.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/util': 13.2.3 idb: 8.0.0 sqlite3: 5.1.7 - typeorm: 0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3)) + typeorm: 0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3)) transitivePeerDependencies: - '@google-cloud/spanner' - '@sap/hana-client' @@ -6637,10 +6793,10 @@ snapshots: '@polkadot/util': 13.2.3 '@polkadot/wasm-util': 7.4.1(@polkadot/util@13.2.3) - '@acala-network/chopsticks@1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3))(utf-8-validate@5.0.10)': + '@acala-network/chopsticks@1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10)': dependencies: '@acala-network/chopsticks-core': 1.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@acala-network/chopsticks-db': 1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3))(utf-8-validate@5.0.10) + '@acala-network/chopsticks-db': 1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10) '@pnpm/npm-conf': 2.3.1 '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -6689,6 +6845,11 @@ snapshots: '@adraffy/ens-normalize@1.11.0': {} + '@alcalzone/ansi-tokenize@0.1.3': + dependencies: + ansi-styles: 6.2.1 + is-fullwidth-code-point: 4.0.0 + '@asamuzakjp/dom-selector@2.0.2': dependencies: bidi-js: 1.0.3 @@ -7166,6 +7327,112 @@ snapshots: '@humanwhocodes/object-schema@2.0.3': {} + '@inquirer/checkbox@4.0.3(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/figures': 1.0.8 + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.2 + + '@inquirer/confirm@5.1.0(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + + '@inquirer/core@10.1.1(@types/node@22.10.1)': + dependencies: + '@inquirer/figures': 1.0.8 + '@inquirer/type': 3.0.1(@types/node@22.10.1) + ansi-escapes: 4.3.2 + cli-width: 4.1.0 + mute-stream: 2.0.0 + signal-exit: 4.1.0 + strip-ansi: 6.0.1 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.2 + transitivePeerDependencies: + - '@types/node' + + '@inquirer/editor@4.2.0(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + external-editor: 3.1.0 + + '@inquirer/expand@4.0.3(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + yoctocolors-cjs: 2.1.2 + + '@inquirer/figures@1.0.8': {} + + '@inquirer/input@4.1.0(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + + '@inquirer/number@3.0.3(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + + '@inquirer/password@4.0.3(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + ansi-escapes: 4.3.2 + + '@inquirer/prompts@7.2.0(@types/node@22.10.1)': + dependencies: + '@inquirer/checkbox': 4.0.3(@types/node@22.10.1) + '@inquirer/confirm': 5.1.0(@types/node@22.10.1) + '@inquirer/editor': 4.2.0(@types/node@22.10.1) + '@inquirer/expand': 4.0.3(@types/node@22.10.1) + '@inquirer/input': 4.1.0(@types/node@22.10.1) + '@inquirer/number': 3.0.3(@types/node@22.10.1) + '@inquirer/password': 4.0.3(@types/node@22.10.1) + '@inquirer/rawlist': 4.0.3(@types/node@22.10.1) + '@inquirer/search': 3.0.3(@types/node@22.10.1) + '@inquirer/select': 4.0.3(@types/node@22.10.1) + '@types/node': 22.10.1 + + '@inquirer/rawlist@4.0.3(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + yoctocolors-cjs: 2.1.2 + + '@inquirer/search@3.0.3(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/figures': 1.0.8 + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + yoctocolors-cjs: 2.1.2 + + '@inquirer/select@4.0.3(@types/node@22.10.1)': + dependencies: + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/figures': 1.0.8 + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.2 + + '@inquirer/type@3.0.1(@types/node@22.10.1)': + dependencies: + '@types/node': 22.10.1 + '@interlay/interbtc-types@1.13.0': {} '@isaacs/cliui@8.0.2': @@ -7207,10 +7474,6 @@ snapshots: dependencies: '@open-web3/orml-type-definitions': 0.8.2-11 - '@ljharb/through@2.3.13': - dependencies: - call-bind: 1.0.7 - '@logion/node-api@0.27.0-4(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@polkadot/api': 10.13.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -7240,7 +7503,7 @@ snapshots: '@polkadot/typegen': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': 14.3.1 '@polkadot/types-codec': 14.3.1 - '@types/node': 22.9.1 + '@types/node': 22.10.1 prettier: 2.8.8 prettier-plugin-jsdoc: 0.3.38(prettier@2.8.8) tsx: 4.19.2 @@ -7250,12 +7513,13 @@ snapshots: - supports-color - utf-8-validate - '@moonwall/cli@5.8.0(@types/node@22.9.0)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3))(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@moonwall/cli@5.9.1(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: - '@acala-network/chopsticks': 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3))(utf-8-validate@5.0.10) + '@acala-network/chopsticks': 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10) + '@inquirer/prompts': 7.2.0(@types/node@22.10.1) '@moonbeam-network/api-augment': 0.3300.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@moonwall/types': 5.8.0(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) - '@moonwall/util': 5.8.0(@types/node@22.9.0)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) + '@moonwall/types': 5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) + '@moonwall/util': 5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) '@octokit/rest': 21.0.2 '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-derive': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -7264,9 +7528,11 @@ snapshots: '@polkadot/types-codec': 14.3.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) + '@types/react': 18.3.14 + '@types/tmp': 0.2.6 '@vitest/ui': 2.1.5(vitest@2.1.5) - '@zombienet/orchestrator': 0.0.97(@polkadot/util@13.2.3)(@types/node@22.9.0)(bufferutil@4.0.8)(chokidar@3.6.0)(utf-8-validate@5.0.10) - '@zombienet/utils': 0.0.25(@types/node@22.9.0)(chokidar@3.6.0)(typescript@5.6.3) + '@zombienet/orchestrator': 0.0.97(@polkadot/util@13.2.3)(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(utf-8-validate@5.0.10) + '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) bottleneck: 2.19.5 cfonts: 3.3.0 chalk: 5.3.0 @@ -7277,15 +7543,16 @@ snapshots: dotenv: 16.4.5 ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) get-port: 7.1.0 - inquirer: 9.2.16 - inquirer-press-to-continue: 1.2.0(inquirer@9.2.16) + ink: 5.1.0(@types/react@18.3.14)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@5.0.10) jsonc-parser: 3.3.1 minimatch: 9.0.5 polkadot-api: 1.7.7(bufferutil@4.0.8)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.4.5) + react: 18.3.1 semver: 7.6.3 tiny-invariant: 1.3.3 + tmp: 0.2.3 viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - vitest: 2.1.5(@types/node@22.9.0)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) web3-providers-ws: 4.0.8(bufferutil@4.0.8)(utf-8-validate@5.0.10) ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -7322,6 +7589,7 @@ snapshots: - pg-native - pg-query-stream - postcss + - react-devtools-core - redis - rxjs - sass @@ -7338,76 +7606,105 @@ snapshots: - utf-8-validate - zod - '@moonwall/types@5.8.0(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8)': + '@moonwall/types@5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8)': dependencies: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-base': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-base': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) '@polkadot/types': 14.3.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) - '@types/node': 22.9.1 - '@zombienet/utils': 0.0.25(@types/node@22.9.1)(chokidar@3.6.0)(typescript@5.6.3) + '@types/node': 22.10.1 + '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) bottleneck: 2.19.5 debug: 4.3.7(supports-color@8.1.1) ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) polkadot-api: 1.7.7(bufferutil@4.0.8)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.4.5) viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) transitivePeerDependencies: + - '@edge-runtime/vm' - '@microsoft/api-extractor' - '@swc/core' - '@swc/wasm' + - '@vitest/browser' + - '@vitest/ui' - bufferutil - chokidar - encoding + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw - postcss - rxjs + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - tsx - typescript - utf-8-validate - yaml - zod - '@moonwall/types@5.8.0(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8)': + '@moonwall/types@5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8)': dependencies: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-base': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-base': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) '@polkadot/types': 14.3.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) - '@types/node': 22.9.1 - '@zombienet/utils': 0.0.25(@types/node@22.9.1)(chokidar@3.6.0)(typescript@5.6.3) + '@types/node': 22.10.1 + '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) bottleneck: 2.19.5 debug: 4.3.7(supports-color@8.1.1) ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) polkadot-api: 1.7.7(bufferutil@4.0.8)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.0) viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) transitivePeerDependencies: + - '@edge-runtime/vm' - '@microsoft/api-extractor' - '@swc/core' - '@swc/wasm' + - '@vitest/browser' + - '@vitest/ui' - bufferutil - chokidar - encoding + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw - postcss - rxjs + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - tsx - typescript - utf-8-validate - yaml - zod - '@moonwall/util@5.8.0(@types/node@22.9.0)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8)': + '@moonwall/util@5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8)': dependencies: + '@inquirer/prompts': 7.2.0(@types/node@22.10.1) '@moonbeam-network/api-augment': 0.3300.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@moonwall/types': 5.8.0(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) + '@moonwall/types': 5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-derive': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) @@ -7424,12 +7721,10 @@ snapshots: debug: 4.3.7(supports-color@8.1.1) dotenv: 16.4.5 ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) - inquirer: 9.2.16 - inquirer-press-to-continue: 1.2.0(inquirer@9.2.16) rlp: 3.0.0 semver: 7.6.3 viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - vitest: 2.1.5(@types/node@22.9.0)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) yargs: 17.7.2 @@ -7464,10 +7759,11 @@ snapshots: - yaml - zod - '@moonwall/util@5.8.0(@types/node@22.9.0)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8)': + '@moonwall/util@5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8)': dependencies: + '@inquirer/prompts': 7.2.0(@types/node@22.10.1) '@moonbeam-network/api-augment': 0.3300.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@moonwall/types': 5.8.0(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8) + '@moonwall/types': 5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8) '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-derive': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) @@ -7484,12 +7780,10 @@ snapshots: debug: 4.3.7(supports-color@8.1.1) dotenv: 16.4.5 ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) - inquirer: 9.2.16 - inquirer-press-to-continue: 1.2.0(inquirer@9.2.16) rlp: 3.0.0 semver: 7.6.3 viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - vitest: 2.1.5(@types/node@22.9.0)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) yargs: 17.7.2 @@ -7798,7 +8092,7 @@ snapshots: '@polkadot-api/utils': 0.1.2 '@polkadot-api/wasm-executor': 0.1.2 '@polkadot-api/ws-provider': 0.3.6(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@types/node': 22.9.1 + '@types/node': 22.10.1 commander: 12.1.0 execa: 9.5.1 fs.promises.exists: 1.1.4 @@ -7837,7 +8131,7 @@ snapshots: '@polkadot-api/utils': 0.1.2 '@polkadot-api/wasm-executor': 0.1.2 '@polkadot-api/ws-provider': 0.3.6(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@types/node': 22.9.1 + '@types/node': 22.10.1 commander: 12.1.0 execa: 9.5.1 fs.promises.exists: 1.1.4 @@ -7905,10 +8199,10 @@ snapshots: dependencies: '@polkadot-api/json-rpc-provider': 0.0.4 - '@polkadot-api/merkleize-metadata@1.1.9': + '@polkadot-api/merkleize-metadata@1.1.10': dependencies: - '@polkadot-api/metadata-builders': 0.9.1 - '@polkadot-api/substrate-bindings': 0.9.3 + '@polkadot-api/metadata-builders': 0.9.2 + '@polkadot-api/substrate-bindings': 0.9.4 '@polkadot-api/utils': 0.1.2 '@polkadot-api/metadata-builders@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': @@ -7923,11 +8217,6 @@ snapshots: '@polkadot-api/utils': 0.1.0 optional: true - '@polkadot-api/metadata-builders@0.9.1': - dependencies: - '@polkadot-api/substrate-bindings': 0.9.3 - '@polkadot-api/utils': 0.1.2 - '@polkadot-api/metadata-builders@0.9.2': dependencies: '@polkadot-api/substrate-bindings': 0.9.4 @@ -7992,7 +8281,7 @@ snapshots: '@polkadot-api/smoldot@0.3.7(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 smoldot: 2.0.33(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil @@ -8014,13 +8303,6 @@ snapshots: scale-ts: 1.6.1 optional: true - '@polkadot-api/substrate-bindings@0.9.3': - dependencies: - '@noble/hashes': 1.5.0 - '@polkadot-api/utils': 0.1.2 - '@scure/base': 1.1.9 - scale-ts: 1.6.1 - '@polkadot-api/substrate-bindings@0.9.4': dependencies: '@noble/hashes': 1.5.0 @@ -8103,6 +8385,20 @@ snapshots: - supports-color - utf-8-validate + '@polkadot/api-augment@15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api-base': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-augment': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/types-augment': 15.0.1 + '@polkadot/types-codec': 15.0.1 + '@polkadot/util': 13.2.3 + tslib: 2.8.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + '@polkadot/api-augment@7.15.1(encoding@0.1.13)': dependencies: '@babel/runtime': 7.26.0 @@ -8166,6 +8462,18 @@ snapshots: - supports-color - utf-8-validate + '@polkadot/api-base@15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/rpc-core': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/util': 13.2.3 + rxjs: 7.8.1 + tslib: 2.8.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + '@polkadot/api-base@7.15.1(encoding@0.1.13)': dependencies: '@babel/runtime': 7.26.0 @@ -8240,6 +8548,23 @@ snapshots: - supports-color - utf-8-validate + '@polkadot/api-derive@15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-augment': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-base': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-core': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/types-codec': 15.0.1 + '@polkadot/util': 13.2.3 + '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) + rxjs: 7.8.1 + tslib: 2.8.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + '@polkadot/api-derive@7.15.1(encoding@0.1.13)': dependencies: '@babel/runtime': 7.26.0 @@ -8345,6 +8670,30 @@ snapshots: - supports-color - utf-8-validate + '@polkadot/api@15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api-augment': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-base': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-derive': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) + '@polkadot/rpc-augment': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-core': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-provider': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/types-augment': 15.0.1 + '@polkadot/types-codec': 15.0.1 + '@polkadot/types-create': 15.0.1 + '@polkadot/types-known': 15.0.1 + '@polkadot/util': 13.2.3 + '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) + eventemitter3: 5.0.1 + rxjs: 7.8.1 + tslib: 2.8.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + '@polkadot/api@7.15.1(encoding@0.1.13)': dependencies: '@babel/runtime': 7.26.0 @@ -8582,6 +8931,18 @@ snapshots: - supports-color - utf-8-validate + '@polkadot/rpc-augment@15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/rpc-core': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/types-codec': 15.0.1 + '@polkadot/util': 13.2.3 + tslib: 2.8.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + '@polkadot/rpc-augment@7.15.1(encoding@0.1.13)': dependencies: '@babel/runtime': 7.26.0 @@ -8644,6 +9005,19 @@ snapshots: - supports-color - utf-8-validate + '@polkadot/rpc-core@15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/rpc-augment': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-provider': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/util': 13.2.3 + rxjs: 7.8.1 + tslib: 2.8.1 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + '@polkadot/rpc-core@7.15.1(encoding@0.1.13)': dependencies: '@babel/runtime': 7.26.0 @@ -8732,6 +9106,27 @@ snapshots: - supports-color - utf-8-validate + '@polkadot/rpc-provider@15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) + '@polkadot/types': 15.0.1 + '@polkadot/types-support': 15.0.1 + '@polkadot/util': 13.2.3 + '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) + '@polkadot/x-fetch': 13.2.3 + '@polkadot/x-global': 13.2.3 + '@polkadot/x-ws': 13.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) + eventemitter3: 5.0.1 + mock-socket: 9.3.1 + nock: 13.5.6 + tslib: 2.8.1 + optionalDependencies: + '@substrate/connect': 0.8.11(bufferutil@4.0.8)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + '@polkadot/rpc-provider@7.15.1(encoding@0.1.13)': dependencies: '@babel/runtime': 7.26.0 @@ -8837,6 +9232,13 @@ snapshots: '@polkadot/util': 13.2.3 tslib: 2.8.1 + '@polkadot/types-augment@15.0.1': + dependencies: + '@polkadot/types': 15.0.1 + '@polkadot/types-codec': 15.0.1 + '@polkadot/util': 13.2.3 + tslib: 2.8.1 + '@polkadot/types-augment@7.15.1': dependencies: '@babel/runtime': 7.26.0 @@ -8869,6 +9271,12 @@ snapshots: '@polkadot/x-bigint': 13.2.3 tslib: 2.8.1 + '@polkadot/types-codec@15.0.1': + dependencies: + '@polkadot/util': 13.2.3 + '@polkadot/x-bigint': 13.2.3 + tslib: 2.8.1 + '@polkadot/types-codec@7.15.1': dependencies: '@babel/runtime': 7.26.0 @@ -8898,6 +9306,12 @@ snapshots: '@polkadot/util': 13.2.3 tslib: 2.8.1 + '@polkadot/types-create@15.0.1': + dependencies: + '@polkadot/types-codec': 15.0.1 + '@polkadot/util': 13.2.3 + tslib: 2.8.1 + '@polkadot/types-create@7.15.1': dependencies: '@babel/runtime': 7.26.0 @@ -8937,6 +9351,15 @@ snapshots: '@polkadot/util': 13.2.3 tslib: 2.8.1 + '@polkadot/types-known@15.0.1': + dependencies: + '@polkadot/networks': 13.2.3 + '@polkadot/types': 15.0.1 + '@polkadot/types-codec': 15.0.1 + '@polkadot/types-create': 15.0.1 + '@polkadot/util': 13.2.3 + tslib: 2.8.1 + '@polkadot/types-known@4.17.1': dependencies: '@babel/runtime': 7.26.0 @@ -8984,6 +9407,11 @@ snapshots: '@polkadot/util': 13.2.3 tslib: 2.8.1 + '@polkadot/types-support@15.0.1': + dependencies: + '@polkadot/util': 13.2.3 + tslib: 2.8.1 + '@polkadot/types-support@7.15.1': dependencies: '@babel/runtime': 7.26.0 @@ -9027,6 +9455,17 @@ snapshots: rxjs: 7.8.1 tslib: 2.8.1 + '@polkadot/types@15.0.1': + dependencies: + '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) + '@polkadot/types-augment': 15.0.1 + '@polkadot/types-codec': 15.0.1 + '@polkadot/types-create': 15.0.1 + '@polkadot/util': 13.2.3 + '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) + rxjs: 7.8.1 + tslib: 2.8.1 + '@polkadot/types@4.17.1': dependencies: '@babel/runtime': 7.26.0 @@ -9690,7 +10129,7 @@ snapshots: '@subsocial/definitions@0.8.14(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: - '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) lodash.camelcase: 4.3.0 transitivePeerDependencies: - bufferutil @@ -9835,17 +10274,17 @@ snapshots: '@types/bn.js@4.11.6': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/bn.js@5.1.6': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/cacheable-request@6.0.3': dependencies: '@types/http-cache-semantics': 4.0.4 '@types/keyv': 3.1.4 - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/responselike': 1.0.3 '@types/debug@4.1.12': @@ -9862,7 +10301,7 @@ snapshots: '@types/keyv@3.1.4': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/level-errors@3.0.2': {} @@ -9870,7 +10309,7 @@ snapshots: dependencies: '@types/abstract-leveldown': 7.2.5 '@types/level-errors': 3.0.2 - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/long@4.0.2': {} @@ -9882,16 +10321,16 @@ snapshots: '@types/node-fetch@2.6.12': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 form-data: 4.0.1 '@types/node@12.20.55': {} - '@types/node@22.7.5': + '@types/node@22.10.1': dependencies: - undici-types: 6.19.8 + undici-types: 6.20.0 - '@types/node@22.9.0': + '@types/node@22.7.5': dependencies: undici-types: 6.19.8 @@ -9903,31 +10342,40 @@ snapshots: '@types/pbkdf2@3.1.2': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 + + '@types/prop-types@15.7.14': {} + + '@types/react@18.3.14': + dependencies: + '@types/prop-types': 15.7.14 + csstype: 3.1.3 '@types/responselike@1.0.3': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/secp256k1@4.0.6': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/semver@7.5.8': {} '@types/stylis@4.2.5': {} + '@types/tmp@0.2.6': {} + '@types/unist@2.0.11': {} '@types/uuid@9.0.8': {} '@types/websocket@1.0.10': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/ws@8.5.3': dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 '@types/yargs-parser@21.0.3': {} @@ -10050,13 +10498,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.5(vite@5.4.11(@types/node@22.9.0))': + '@vitest/mocker@2.1.5(vite@5.4.11(@types/node@22.10.1))': dependencies: '@vitest/spy': 2.1.5 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.4.11(@types/node@22.9.0) + vite: 5.4.11(@types/node@22.10.1) '@vitest/pretty-format@2.1.5': dependencies: @@ -10086,7 +10534,7 @@ snapshots: sirv: 3.0.0 tinyglobby: 0.2.10 tinyrainbow: 1.2.0 - vitest: 2.1.5(@types/node@22.9.0)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) '@vitest/utils@2.1.5': dependencies: @@ -10098,12 +10546,12 @@ snapshots: '@zeroio/type-definitions@0.0.14': {} - '@zombienet/orchestrator@0.0.97(@polkadot/util@13.2.3)(@types/node@22.9.0)(bufferutil@4.0.8)(chokidar@3.6.0)(utf-8-validate@5.0.10)': + '@zombienet/orchestrator@0.0.97(@polkadot/util@13.2.3)(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(utf-8-validate@5.0.10)': dependencies: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) - '@zombienet/utils': 0.0.25(@types/node@22.9.0)(chokidar@3.6.0)(typescript@5.6.3) + '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) JSONStream: 1.3.5 chai: 4.5.0 debug: 4.3.7(supports-color@8.1.1) @@ -10130,30 +10578,14 @@ snapshots: - supports-color - utf-8-validate - '@zombienet/utils@0.0.25(@types/node@22.9.0)(chokidar@3.6.0)(typescript@5.6.3)': + '@zombienet/utils@0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3)': dependencies: cli-table3: 0.6.5 debug: 4.3.7(supports-color@8.1.1) mocha: 10.7.3 nunjucks: 3.2.4(chokidar@3.6.0) toml: 3.0.0 - ts-node: 10.9.2(@types/node@22.9.0)(typescript@5.6.3) - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - - '@types/node' - - chokidar - - supports-color - - typescript - - '@zombienet/utils@0.0.25(@types/node@22.9.1)(chokidar@3.6.0)(typescript@5.6.3)': - dependencies: - cli-table3: 0.6.5 - debug: 4.3.7(supports-color@8.1.1) - mocha: 10.7.3 - nunjucks: 3.2.4(chokidar@3.6.0) - toml: 3.0.0 - ts-node: 10.9.2(@types/node@22.9.1)(typescript@5.6.3) + ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.6.3) transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -10216,7 +10648,7 @@ snapshots: acorn-walk@8.3.4: dependencies: - acorn: 8.12.1 + acorn: 8.14.0 acorn@8.12.1: {} @@ -10261,6 +10693,10 @@ snapshots: dependencies: type-fest: 0.21.3 + ansi-escapes@7.0.0: + dependencies: + environment: 1.1.0 + ansi-regex@5.0.1: {} ansi-regex@6.1.0: {} @@ -10293,11 +10729,6 @@ snapshots: argparse@2.0.1: {} - array-buffer-byte-length@1.0.1: - dependencies: - call-bind: 1.0.7 - is-array-buffer: 3.0.4 - array-flatten@1.1.1: {} array-union@2.1.0: {} @@ -10320,6 +10751,8 @@ snapshots: atomic-sleep@1.0.0: {} + auto-bind@5.0.1: {} + available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.0.0 @@ -10372,12 +10805,6 @@ snapshots: inherits: 2.0.4 readable-stream: 3.6.2 - bl@5.1.0: - dependencies: - buffer: 6.0.3 - inherits: 2.0.4 - readable-stream: 3.6.2 - blakejs@1.2.1: {} bluebird@3.7.2: {} @@ -10528,7 +10955,7 @@ snapshots: canvas-renderer@2.2.1: dependencies: - '@types/node': 22.9.1 + '@types/node': 22.10.1 caseless@0.12.0: {} @@ -10617,9 +11044,7 @@ snapshots: clear@0.1.0: {} - cli-cursor@3.1.0: - dependencies: - restore-cursor: 3.1.0 + cli-boxes@3.0.0: {} cli-cursor@4.0.0: dependencies: @@ -10650,6 +11075,11 @@ snapshots: optionalDependencies: '@colors/colors': 1.5.0 + cli-truncate@4.0.0: + dependencies: + slice-ansi: 5.0.0 + string-width: 7.2.0 + cli-width@4.1.0: {} cliui@7.0.4: @@ -10668,7 +11098,9 @@ snapshots: dependencies: mimic-response: 1.0.1 - clone@1.0.4: {} + code-excerpt@4.0.0: + dependencies: + convert-to-spaces: 2.0.1 color-convert@2.0.1: dependencies: @@ -10733,6 +11165,8 @@ snapshots: content-type@1.0.5: {} + convert-to-spaces@2.0.1: {} + cookie-signature@1.0.6: {} cookie@0.6.0: {} @@ -10856,37 +11290,12 @@ snapshots: deep-eql@5.0.2: {} - deep-equal@2.2.3: - dependencies: - array-buffer-byte-length: 1.0.1 - call-bind: 1.0.7 - es-get-iterator: 1.1.3 - get-intrinsic: 1.2.4 - is-arguments: 1.1.1 - is-array-buffer: 3.0.4 - is-date-object: 1.0.5 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.3 - isarray: 2.0.5 - object-is: 1.1.6 - object-keys: 1.1.1 - object.assign: 4.1.5 - regexp.prototype.flags: 1.5.3 - side-channel: 1.0.6 - which-boxed-primitive: 1.0.2 - which-collection: 1.0.2 - which-typed-array: 1.1.15 - deep-extend@0.6.0: {} deep-is@0.1.4: {} deepmerge-ts@7.1.3: {} - defaults@1.0.4: - dependencies: - clone: 1.0.4 - defer-to-connect@2.0.1: {} deferred-leveldown@5.3.0: @@ -11019,6 +11428,8 @@ snapshots: env-paths@2.2.1: optional: true + environment@1.1.0: {} + err-code@2.0.3: optional: true @@ -11034,20 +11445,10 @@ snapshots: es-errors@1.3.0: {} - es-get-iterator@1.1.3: - dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 - has-symbols: 1.0.3 - is-arguments: 1.1.1 - is-map: 2.0.3 - is-set: 2.0.3 - is-string: 1.0.7 - isarray: 2.0.5 - stop-iteration-iterator: 1.0.0 - es-module-lexer@1.5.4: {} + es-toolkit@1.29.0: {} + es5-ext@0.10.64: dependencies: es6-iterator: 2.0.3 @@ -11163,7 +11564,7 @@ snapshots: escape-latex@1.2.0: {} - escape-string-regexp@1.0.5: {} + escape-string-regexp@2.0.0: {} escape-string-regexp@4.0.0: {} @@ -11501,10 +11902,6 @@ snapshots: bit-twiddle: 1.0.2 commander: 2.7.1 - figures@3.2.0: - dependencies: - escape-string-regexp: 1.0.5 - figures@6.1.0: dependencies: is-unicode-supported: 2.1.0 @@ -11618,8 +12015,6 @@ snapshots: functional-red-black-tree@1.0.1: {} - functions-have-names@1.2.3: {} - gauge@4.0.4: dependencies: aproba: 2.0.0 @@ -11793,8 +12188,6 @@ snapshots: ajv: 6.12.6 har-schema: 2.0.0 - has-bigints@1.0.2: {} - has-flag@4.0.0: {} has-property-descriptors@1.0.2: @@ -11947,6 +12340,8 @@ snapshots: indent-string@4.0.0: optional: true + indent-string@5.0.0: {} + index-to-position@0.1.2: {} infer-owner@1.0.4: @@ -11961,35 +12356,49 @@ snapshots: ini@1.3.8: {} - inquirer-press-to-continue@1.2.0(inquirer@9.2.16): + ink@5.1.0(@types/react@18.3.14)(bufferutil@4.0.8)(react@18.3.1)(utf-8-validate@5.0.10): dependencies: - deep-equal: 2.2.3 - inquirer: 9.2.16 - ora: 6.3.1 + '@alcalzone/ansi-tokenize': 0.1.3 + ansi-escapes: 7.0.0 + ansi-styles: 6.2.1 + auto-bind: 5.0.1 + chalk: 5.3.0 + cli-boxes: 3.0.0 + cli-cursor: 4.0.0 + cli-truncate: 4.0.0 + code-excerpt: 4.0.0 + es-toolkit: 1.29.0 + indent-string: 5.0.0 + is-in-ci: 1.0.0 + patch-console: 2.0.0 + react: 18.3.1 + react-reconciler: 0.29.2(react@18.3.1) + scheduler: 0.23.2 + signal-exit: 3.0.7 + slice-ansi: 7.1.0 + stack-utils: 2.0.6 + string-width: 7.2.0 + type-fest: 4.29.0 + widest-line: 5.0.0 + wrap-ansi: 9.0.0 + ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) + yoga-wasm-web: 0.3.3 + optionalDependencies: + '@types/react': 18.3.14 + transitivePeerDependencies: + - bufferutil + - utf-8-validate - inquirer@9.2.16: + inquirer@12.2.0(@types/node@22.10.1): dependencies: - '@ljharb/through': 2.3.13 + '@inquirer/core': 10.1.1(@types/node@22.10.1) + '@inquirer/prompts': 7.2.0(@types/node@22.10.1) + '@inquirer/type': 3.0.1(@types/node@22.10.1) + '@types/node': 22.10.1 ansi-escapes: 4.3.2 - chalk: 5.3.0 - cli-cursor: 3.1.0 - cli-width: 4.1.0 - external-editor: 3.1.0 - figures: 3.2.0 - lodash: 4.17.21 - mute-stream: 1.0.0 - ora: 5.4.1 + mute-stream: 2.0.0 run-async: 3.0.0 rxjs: 7.8.1 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 6.2.0 - - internal-slot@1.0.7: - dependencies: - es-errors: 1.3.0 - hasown: 2.0.2 - side-channel: 1.0.6 ip-address@9.0.5: dependencies: @@ -12010,24 +12419,10 @@ snapshots: call-bind: 1.0.7 has-tostringtag: 1.0.2 - is-array-buffer@3.0.4: - dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 - - is-bigint@1.0.4: - dependencies: - has-bigints: 1.0.2 - is-binary-path@2.1.0: dependencies: binary-extensions: 2.3.0 - is-boolean-object@1.1.2: - dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 - is-buffer@1.1.6: {} is-callable@1.2.7: {} @@ -12036,10 +12431,6 @@ snapshots: dependencies: hasown: 2.0.2 - is-date-object@1.0.5: - dependencies: - has-tostringtag: 1.0.2 - is-descriptor@1.0.3: dependencies: is-accessor-descriptor: 1.0.1 @@ -12049,6 +12440,12 @@ snapshots: is-fullwidth-code-point@3.0.0: {} + is-fullwidth-code-point@4.0.0: {} + + is-fullwidth-code-point@5.0.0: + dependencies: + get-east-asian-width: 1.3.0 + is-function@1.0.2: {} is-generator-function@1.0.10: @@ -12061,19 +12458,13 @@ snapshots: is-hex-prefixed@1.0.0: {} - is-interactive@1.0.0: {} + is-in-ci@1.0.0: {} is-interactive@2.0.0: {} is-lambda@1.0.1: optional: true - is-map@2.0.3: {} - - is-number-object@1.0.7: - dependencies: - has-tostringtag: 1.0.2 - is-number@3.0.0: dependencies: kind-of: 3.2.2 @@ -12090,29 +12481,10 @@ snapshots: is-promise@2.2.2: {} - is-regex@1.1.4: - dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 - - is-set@2.0.3: {} - - is-shared-array-buffer@1.0.3: - dependencies: - call-bind: 1.0.7 - is-stream@2.0.1: {} is-stream@4.0.1: {} - is-string@1.0.7: - dependencies: - has-tostringtag: 1.0.2 - - is-symbol@1.0.4: - dependencies: - has-symbols: 1.0.3 - is-typed-array@1.1.13: dependencies: which-typed-array: 1.1.15 @@ -12125,13 +12497,6 @@ snapshots: is-unicode-supported@2.1.0: {} - is-weakmap@2.0.2: {} - - is-weakset@2.0.3: - dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 - isarray@2.0.5: {} isexe@2.0.0: {} @@ -12356,11 +12721,6 @@ snapshots: chalk: 4.1.2 is-unicode-supported: 0.1.0 - log-symbols@5.1.0: - dependencies: - chalk: 5.3.0 - is-unicode-supported: 1.3.0 - log-symbols@6.0.0: dependencies: chalk: 5.3.0 @@ -12832,7 +13192,7 @@ snapshots: multibase: 0.7.0 varint: 5.0.2 - mute-stream@1.0.0: {} + mute-stream@2.0.0: {} mz@2.7.0: dependencies: @@ -12980,20 +13340,8 @@ snapshots: object-inspect@1.13.3: {} - object-is@1.1.6: - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - object-keys@1.1.1: {} - object.assign@4.1.5: - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - has-symbols: 1.0.3 - object-keys: 1.1.1 - oboe@2.1.5: dependencies: http-https: 1.0.0 @@ -13038,30 +13386,6 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 - ora@5.4.1: - dependencies: - bl: 4.1.0 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-spinners: 2.9.2 - is-interactive: 1.0.0 - is-unicode-supported: 0.1.0 - log-symbols: 4.1.0 - strip-ansi: 6.0.1 - wcwidth: 1.0.1 - - ora@6.3.1: - dependencies: - chalk: 5.3.0 - cli-cursor: 4.0.0 - cli-spinners: 2.9.2 - is-interactive: 2.0.0 - is-unicode-supported: 1.3.0 - log-symbols: 5.1.0 - stdin-discarder: 0.1.0 - strip-ansi: 7.1.0 - wcwidth: 1.0.1 - ora@8.1.1: dependencies: chalk: 5.3.0 @@ -13139,6 +13463,8 @@ snapshots: parseurl@1.3.3: {} + patch-console@2.0.0: {} + path-exists@4.0.0: {} path-is-absolute@1.0.1: {} @@ -13400,7 +13726,7 @@ snapshots: '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 '@types/long': 4.0.2 - '@types/node': 22.9.1 + '@types/node': 22.10.1 long: 4.0.0 proxy-addr@2.0.7: @@ -13486,6 +13812,12 @@ snapshots: react-is@18.3.1: {} + react-reconciler@0.29.2(react@18.3.1): + dependencies: + loose-envify: 1.4.0 + react: 18.3.1 + scheduler: 0.23.2 + react@18.3.1: dependencies: loose-envify: 1.4.0 @@ -13524,13 +13856,6 @@ snapshots: regenerator-runtime@0.14.1: {} - regexp.prototype.flags@1.5.3: - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-errors: 1.3.0 - set-function-name: 2.0.2 - request@2.88.2: dependencies: aws-sign2: 0.7.0 @@ -13572,11 +13897,6 @@ snapshots: dependencies: lowercase-keys: 2.0.0 - restore-cursor@3.1.0: - dependencies: - onetime: 5.1.2 - signal-exit: 3.0.7 - restore-cursor@4.0.0: dependencies: onetime: 5.1.2 @@ -13759,13 +14079,6 @@ snapshots: gopd: 1.0.1 has-property-descriptors: 1.0.2 - set-function-name@2.0.2: - dependencies: - define-data-property: 1.1.4 - es-errors: 1.3.0 - functions-have-names: 1.2.3 - has-property-descriptors: 1.0.2 - setimmediate@1.0.5: {} setprototypeof@1.2.0: {} @@ -13818,6 +14131,16 @@ snapshots: slash@3.0.0: {} + slice-ansi@5.0.0: + dependencies: + ansi-styles: 6.2.1 + is-fullwidth-code-point: 4.0.0 + + slice-ansi@7.1.0: + dependencies: + ansi-styles: 6.2.1 + is-fullwidth-code-point: 5.0.0 + smart-buffer@4.2.0: optional: true @@ -13934,22 +14257,18 @@ snapshots: minipass: 3.3.6 optional: true + stack-utils@2.0.6: + dependencies: + escape-string-regexp: 2.0.0 + stackback@0.0.2: {} statuses@2.0.1: {} std-env@3.8.0: {} - stdin-discarder@0.1.0: - dependencies: - bl: 5.1.0 - stdin-discarder@0.2.2: {} - stop-iteration-iterator@1.0.0: - dependencies: - internal-slot: 1.0.7 - store@2.0.12: {} strict-uri-encode@1.1.0: {} @@ -14178,32 +14497,14 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3): - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.11 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 22.9.0 - acorn: 8.12.1 - acorn-walk: 8.3.4 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.6.3 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - - ts-node@10.9.2(@types/node@22.9.1)(typescript@5.6.3): + ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.9.1 + '@types/node': 22.10.1 acorn: 8.12.1 acorn-walk: 8.3.4 arg: 4.1.3 @@ -14226,6 +14527,33 @@ snapshots: tslib@2.8.1: {} + tsup@8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.2)(yaml@2.6.0): + dependencies: + bundle-require: 5.0.0(esbuild@0.24.0) + cac: 6.7.14 + chokidar: 4.0.1 + consola: 3.2.3 + debug: 4.3.7(supports-color@8.1.1) + esbuild: 0.24.0 + joycon: 3.1.1 + picocolors: 1.1.1 + postcss-load-config: 6.0.1(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.0) + resolve-from: 5.0.0 + rollup: 4.26.0 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tinyexec: 0.3.1 + tinyglobby: 0.2.10 + tree-kill: 1.2.2 + optionalDependencies: + postcss: 8.4.49 + typescript: 5.6.2 + transitivePeerDependencies: + - jiti + - supports-color + - tsx + - yaml + tsup@8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.4.5): dependencies: bundle-require: 5.0.0(esbuild@0.24.0) @@ -14322,7 +14650,7 @@ snapshots: dependencies: is-typedarray: 1.0.0 - typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3)): + typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3)): dependencies: '@sqltools/formatter': 1.2.5 app-root-path: 3.1.0 @@ -14341,7 +14669,7 @@ snapshots: yargs: 17.7.2 optionalDependencies: sqlite3: 5.1.7 - ts-node: 10.9.2(@types/node@22.9.0)(typescript@5.6.3) + ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.6.3) transitivePeerDependencies: - supports-color @@ -14362,6 +14690,8 @@ snapshots: undici-types@6.19.8: {} + undici-types@6.20.0: {} + unicorn-magic@0.1.0: {} unicorn-magic@0.3.0: {} @@ -14467,13 +14797,13 @@ snapshots: - utf-8-validate - zod - vite-node@2.1.5(@types/node@22.9.0): + vite-node@2.1.5(@types/node@22.10.1): dependencies: cac: 6.7.14 debug: 4.3.7(supports-color@8.1.1) es-module-lexer: 1.5.4 pathe: 1.1.2 - vite: 5.4.11(@types/node@22.9.0) + vite: 5.4.11(@types/node@22.10.1) transitivePeerDependencies: - '@types/node' - less @@ -14485,19 +14815,19 @@ snapshots: - supports-color - terser - vite@5.4.11(@types/node@22.9.0): + vite@5.4.11(@types/node@22.10.1): dependencies: esbuild: 0.21.5 postcss: 8.4.49 rollup: 4.26.0 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.1 fsevents: 2.3.3 - vitest@2.1.5(@types/node@22.9.0)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)): + vitest@2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)): dependencies: '@vitest/expect': 2.1.5 - '@vitest/mocker': 2.1.5(vite@5.4.11(@types/node@22.9.0)) + '@vitest/mocker': 2.1.5(vite@5.4.11(@types/node@22.10.1)) '@vitest/pretty-format': 2.1.5 '@vitest/runner': 2.1.5 '@vitest/snapshot': 2.1.5 @@ -14513,11 +14843,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.11(@types/node@22.9.0) - vite-node: 2.1.5(@types/node@22.9.0) + vite: 5.4.11(@types/node@22.10.1) + vite-node: 2.1.5(@types/node@22.10.1) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.1 '@vitest/ui': 2.1.5(vitest@2.1.5) jsdom: 23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: @@ -14535,10 +14865,6 @@ snapshots: dependencies: xml-name-validator: 5.0.0 - wcwidth@1.0.1: - dependencies: - defaults: 1.0.4 - web-streams-polyfill@3.3.3: {} web3-bzz@1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10): @@ -15017,21 +15343,6 @@ snapshots: tr46: 1.0.1 webidl-conversions: 4.0.2 - which-boxed-primitive@1.0.2: - dependencies: - is-bigint: 1.0.4 - is-boolean-object: 1.1.2 - is-number-object: 1.0.7 - is-string: 1.0.7 - is-symbol: 1.0.4 - - which-collection@1.0.2: - dependencies: - is-map: 2.0.3 - is-set: 2.0.3 - is-weakmap: 2.0.2 - is-weakset: 2.0.3 - which-typed-array@1.1.15: dependencies: available-typed-arrays: 1.0.7 @@ -15054,6 +15365,10 @@ snapshots: string-width: 4.2.3 optional: true + widest-line@5.0.0: + dependencies: + string-width: 7.2.0 + window-size@1.1.1: dependencies: define-property: 1.0.0 @@ -15083,6 +15398,12 @@ snapshots: string-width: 5.1.2 strip-ansi: 7.1.0 + wrap-ansi@9.0.0: + dependencies: + ansi-styles: 6.2.1 + string-width: 7.2.0 + strip-ansi: 7.1.0 + wrappy@1.0.2: {} write-file-atomic@5.0.1: @@ -15202,6 +15523,10 @@ snapshots: yocto-queue@0.1.0: {} + yoctocolors-cjs@2.1.2: {} + yoctocolors@2.1.1: {} + yoga-wasm-web@0.3.3: {} + zod@3.23.8: {} diff --git a/test/package.json b/test/package.json index 71b437f44d..7c90fedc50 100644 --- a/test/package.json +++ b/test/package.json @@ -1,10 +1,14 @@ { - "name": "test", + "name": "@moonbeam-network/test", "version": "1.0.0", - "description": "", + "description": "Moonbeam test suite", "main": "index.js", + "private": true, "type": "module", "scripts": { + "bundle-types": "cd ../moonbeam-types-bundle && pnpm build; cd ../test", + "typegen": "pnpm bundle-types && cd ../typescript-api && pnpm scrape && pnpm generate && pnpm build; cd ../test", + "clean": "rm -rf node_modules", "fmt": "prettier --check --trailing-comma es5 --ignore-path ../.prettierignore '**/*.(yml|js|ts|json)'", "fmt:fix": "prettier --write --trailing-comma es5 --ignore-path ../.prettierignore '**/*.(yml|js|ts|json)'", "lint": "eslint './helpers/**/*.ts' './suites/**/*.ts'", @@ -18,37 +22,37 @@ "dependencies": { "@acala-network/chopsticks": "1.0.1", "@moonbeam-network/api-augment": "workspace:*", - "@moonwall/cli": "5.8.0", - "@moonwall/util": "5.8.0", + "@moonwall/cli": "5.9.1", + "@moonwall/util": "5.9.1", "@openzeppelin/contracts": "4.9.6", - "@polkadot-api/merkleize-metadata": "1.1.9", - "@polkadot/api": "14.3.1", - "@polkadot/api-augment": "14.3.1", - "@polkadot/api-derive": "14.3.1", + "@polkadot-api/merkleize-metadata": "1.1.10", + "@polkadot/api": "*", + "@polkadot/api-augment": "*", + "@polkadot/api-derive": "*", "@polkadot/apps-config": "0.146.1", - "@polkadot/keyring": "13.2.3", - "@polkadot/rpc-provider": "14.3.1", - "@polkadot/types": "14.3.1", - "@polkadot/types-codec": "14.3.1", - "@polkadot/util": "13.2.3", - "@polkadot/util-crypto": "13.2.3", + "@polkadot/keyring": "*", + "@polkadot/rpc-provider": "*", + "@polkadot/types": "*", + "@polkadot/types-codec": "*", + "@polkadot/util": "*", + "@polkadot/util-crypto": "*", "@substrate/txwrapper-core": "7.5.2", "@substrate/txwrapper-substrate": "7.5.2", "@vitest/ui": "2.1.5", "@zombienet/utils": "0.0.25", "chalk": "5.3.0", "eth-object": "github:aurora-is-near/eth-object#master", - "ethers": "6.13.4", + "ethers": "*", "json-bigint": "1.0.0", "json-stable-stringify": "1.1.1", "merkle-patricia-tree": "4.2.4", - "node-fetch": "3.3.2", + "moonbeam-types-bundle": "workspace:*", "octokit": "^4.0.2", "randomness": "1.6.15", "rlp": "3.0.0", "semver": "7.6.3", "solc": "0.8.25", - "tsx": "4.19.2", + "tsx": "*", "viem": "2.21.45", "vitest": "2.1.5", "web3": "4.15.0", @@ -57,7 +61,7 @@ "devDependencies": { "@types/debug": "4.1.12", "@types/json-bigint": "^1.0.4", - "@types/node": "22.9.0", + "@types/node": "*", "@types/semver": "7.5.8", "@types/yargs": "17.0.33", "@typescript-eslint/eslint-plugin": "7.5.0", @@ -66,16 +70,11 @@ "debug": "4.3.7", "eslint": "8.57.0", "eslint-plugin-unused-imports": "3.1.0", - "inquirer": "9.2.16", - "prettier": "2.8.8", - "typescript": "5.6.3", + "inquirer": "12.2.0", + "prettier": "*", + "typescript": "*", "yargs": "17.7.2" }, - "pnpm": { - "overrides": { - "inquirer": "9.2.16" - } - }, "engines": { "pnpm": ">=8.6", "node": ">=20.10.0" diff --git a/tools/package-lock.json b/tools/package-lock.json index f102b75011..b37699981e 100644 --- a/tools/package-lock.json +++ b/tools/package-lock.json @@ -26,8 +26,7 @@ "yargs": "^17.0.1" }, "devDependencies": { - "@types/yargs": "^15.0.12", - "node-fetch": "^3.3.1" + "@types/yargs": "^15.0.12" } }, "node_modules/@ampproject/remapping": { diff --git a/tools/package.json b/tools/package.json index 6f266be2b1..e9a26434e4 100644 --- a/tools/package.json +++ b/tools/package.json @@ -20,8 +20,7 @@ "yargs": "^17.0.1" }, "devDependencies": { - "@types/yargs": "^15.0.12", - "node-fetch": "^3.3.1" + "@types/yargs": "^15.0.12" }, "scripts": { "package-moon-key": "node_modules/.bin/tsc moon-key.ts; node_modules/.bin/pkg -t node14 moon-key.js; rm moon-key.js", diff --git a/typescript-api/.gitignore b/typescript-api/.gitignore index 5cb70eaf42..15b9b743a8 100644 --- a/typescript-api/.gitignore +++ b/typescript-api/.gitignore @@ -1,6 +1,5 @@ metadata-*.json build -dist *.tgz # Logs @@ -31,4 +30,4 @@ node_modules/ .npm # Optional eslint cache -.eslintcache +.eslintcache \ No newline at end of file diff --git a/typescript-api/package.json b/typescript-api/package.json index 216fd62965..ec802a289d 100644 --- a/typescript-api/package.json +++ b/typescript-api/package.json @@ -15,60 +15,62 @@ "node": ">=20.0.0" }, "scripts": { - "generate": "pnpm load:meta && pnpm generate:defs && pnpm generate:meta", + "clean": "rm -rf node_modules && rm -rf dist", "scrape": "pnpm tsx scripts/scrapeMetadata.ts", - "postgenerate": "pnpm pretty", + "generate": "pnpm generate:defs && pnpm generate:meta", + "postgenerate": "pnpm build && pnpm fmt:fix", "load:meta": "pnpm load:meta:moonbase && pnpm load:meta:moonriver && pnpm load:meta:moonbeam", "load:meta:local": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > metadata-moonbase.json", "load:meta:moonbase": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' https://rpc.api.moonbase.moonbeam.network > metadata-moonbase.json", "load:meta:moonriver": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' https://rpc.api.moonriver.moonbeam.network > metadata-moonriver.json", "load:meta:moonbeam": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' https://rpc.api.moonbeam.network > metadata-moonbeam.json", - "generate:defs": "npm run generate:defs:moonbase && pnpm generate:defs:moonriver && pnpm generate:defs:moonbeam", + "generate:defs": "pnpm run generate:defs:moonbase && pnpm generate:defs:moonriver && pnpm generate:defs:moonbeam", "generate:defs:moonbase": "pnpm tsx node_modules/@polkadot/typegen/scripts/polkadot-types-from-defs.mjs --package @moonbeam/api-augment/moonbase/interfaces --input ./src/moonbase/interfaces --endpoint ./metadata-moonbase.json", "generate:defs:moonriver": "pnpm tsx node_modules/@polkadot/typegen/scripts/polkadot-types-from-defs.mjs --package @moonbeam/api-augment/moonriver/interfaces --input ./src/moonriver/interfaces --endpoint ./metadata-moonriver.json", "generate:defs:moonbeam": "pnpm tsx node_modules/@polkadot/typegen/scripts/polkadot-types-from-defs.mjs --package @moonbeam/api-augment/moonbeam/interfaces --input ./src/moonbeam/interfaces --endpoint ./metadata-moonbeam.json", - "generate:meta": "npm run generate:meta:moonbase && pnpm generate:meta:moonriver && pnpm generate:meta:moonbeam", + "generate:meta": "pnpm run generate:meta:moonbase && pnpm generate:meta:moonriver && pnpm generate:meta:moonbeam", "generate:meta:moonbase": "pnpm tsx node_modules/@polkadot/typegen/scripts/polkadot-types-from-chain.mjs --endpoint ./metadata-moonbase.json --package @moonbeam/api-augment/moonbeam/interfaces --output ./src/moonbase/interfaces", "generate:meta:moonriver": "pnpm tsx node_modules/@polkadot/typegen/scripts/polkadot-types-from-chain.mjs --endpoint ./metadata-moonriver.json --package @moonbeam/api-augment/moonbeam/interfaces --output ./src/moonriver/interfaces", "generate:meta:moonbeam": "pnpm tsx node_modules/@polkadot/typegen/scripts/polkadot-types-from-chain.mjs --endpoint ./metadata-moonbeam.json --package @moonbeam/api-augment/moonbeam/interfaces --output ./src/moonbeam/interfaces", - "build": "tsc -b --verbose", + "build": "tsup", "deploy": "pnpm generate && pnpm build && pnpm publish", "fmt:fix": "prettier --write --ignore-unknown --plugin prettier-plugin-jsdoc 'src/**/*' 'scripts/**/*'" }, - "module": "./dist/index.js", - "types": "./dist/types/index.d.ts", + "main": "./dist/moonbeam/index.cjs", + "module": "./dist/moonbeam/index.js", + "types": "./dist/moonbeam/index.d.ts", "exports": { ".": { - "types": "./dist/types/index.d.ts", - "module": "./dist/index.js", - "default": "./dist/index.js" + "require": "./dist/moonbeam/index.cjs", + "import": "./dist/moonbeam/index.js", + "types": "./dist/moonbeam/index.d.ts" }, "./moonbeam": { - "types": "./dist/types/index.d.ts", - "module": "./dist/index.js", - "default": "./dist/index.js" + "require": "./dist/moonbeam/index.cjs", + "import": "./dist/moonbeam/index.js", + "types": "./dist/moonbeam/index.d.ts" }, "./moonriver": { - "types": "./dist/moonriver/types/index.d.ts", - "module": "./dist/moonriver/index.js", - "default": "./dist/moonriver/index.js" + "require": "./dist/moonriver/index.cjs", + "import": "./dist/moonriver/index.js", + "types": "./dist/moonriver/index.d.ts" }, "./moonbase": { - "types": "./dist/moonbase/types/index.d.ts", - "module": "./dist/moonbase/index.js", - "default": "./dist/moonbase/index.js" + "require": "./dist/moonbase/index.cjs", + "import": "./dist/moonbase/index.js", + "types": "./dist/moonbase/index.d.ts" } }, "typesVersions": { "*": { "moonbeam": [ - "./dist/types/index.d.ts" + "./dist/moonbeam/index.d.ts" ], "moonriver": [ - "./dist/types/moonriver/index.d.ts" + "./dist/moonriver/index.d.ts" ], "moonbase": [ - "./dist/types/moonbase/index.d.ts" + "./dist/moonbase/index.d.ts" ] } }, @@ -80,16 +82,18 @@ "api" ], "dependencies": { - "@polkadot/api": "14.3.1", - "@polkadot/api-base": "14.3.1", - "@polkadot/rpc-core": "14.3.1", - "@polkadot/typegen": "14.3.1", - "@polkadot/types": "14.3.1", - "@polkadot/types-codec": "14.3.1", - "@types/node": "^22.9.1", - "prettier": "2.8.8", + "@polkadot/api": "*", + "@polkadot/api-base": "*", + "@polkadot/rpc-core": "*", + "@polkadot/typegen": "*", + "@polkadot/types": "*", + "@polkadot/types-codec": "*", + "@types/node": "*", + "moonbeam-types-bundle": "workspace:*", + "prettier": "*", "prettier-plugin-jsdoc": "^0.3.38", - "tsx": "^4.19.2", - "typescript": "^5.6.3" + "tsup": "*", + "tsx": "*", + "typescript": "*" } } diff --git a/typescript-api/scripts/scrapeMetadata.ts b/typescript-api/scripts/scrapeMetadata.ts new file mode 100644 index 0000000000..f34df5a5df --- /dev/null +++ b/typescript-api/scripts/scrapeMetadata.ts @@ -0,0 +1,99 @@ +import fs from "node:fs"; +import { ChildProcessWithoutNullStreams, execSync, spawn } from "node:child_process"; +import path from "node:path"; + +const CHAINS = ["moonbase", "moonriver", "moonbeam"]; + +const fetchMetadata = async (port: number = 9933) => { + const maxRetries = 60; + const sleepTime = 500; + const url = `http://localhost:${port}`; + const payload = { + id: "1", + jsonrpc: "2.0", + method: "state_getMetadata", + params: [], + }; + + for (let i = 0; i < maxRetries; i++) { + try { + const response = await fetch(url, { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + body: JSON.stringify(payload), + }); + + if (!response.ok) { + throw new Error(`HTTP error! status: ${response.status}`); + } + + const data = await response.json(); + return data; + } catch { + console.log("Waiting for node to launch..."); + await new Promise((resolve) => setTimeout(resolve, sleepTime)); + } + } + console.log(`Error fetching metadata after ${(maxRetries * sleepTime) / 1000} seconds`); + throw new Error("Error fetching metadata"); +}; + +let nodes: { [key: string]: ChildProcessWithoutNullStreams } = {}; + +async function main() { + const runtimeChainSpec = process.argv[2]; + const nodePath = path.join(process.cwd(), "..", "target", "release", "moonbeam"); + + if (runtimeChainSpec) { + console.log(`Bump package version to 0.${runtimeChainSpec}.0`); + execSync(`npm version --no-git-tag-version 0.${runtimeChainSpec}.0`); + } + + if (!fs.existsSync(nodePath)) { + console.error("Moonbeam Node not found at path: ", nodePath); + throw new Error("File not found"); + } + + for (const chain of CHAINS) { + console.log(`Starting ${chain} node`); + nodes[chain] = spawn(nodePath, [ + "--no-hardware-benchmarks", + "--unsafe-force-node-key-generation", + "--no-telemetry", + "--no-prometheus", + "--alice", + "--tmp", + `--chain=${chain}-dev`, + "--wasm-execution=interpreted-i-know-what-i-do", + "--rpc-port=9933", + ]); + + console.log(`Getting ${chain} metadata`); + try { + const metadata = await fetchMetadata(); + fs.writeFileSync(`metadata-${chain}.json`, JSON.stringify(metadata, null, 2)); + console.log(`✅ Metadata for ${chain} written to metadata-${chain}.json`); + nodes[chain].kill(); + await new Promise((resolve) => setTimeout(resolve, 2000)); + } catch (error) { + console.error(`❌ Error getting metadata for ${chain}`); + throw error; + } + } +} + +process.on("SIGINT", () => { + Object.values(nodes).forEach((node) => node.kill()); + process.exit(); +}); + +main() + .catch((error) => { + console.error(error); + process.exitCode = 1; + }) + .finally(() => { + Object.values(nodes).forEach((node) => node.kill()); + }); diff --git a/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts b/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts index 2b8daa38dd..a71564cc61 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts @@ -614,7 +614,7 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from Frontier's backend */ + /** Returns the latest synced block from frontier's backend */ getLatestSyncedBlock: AugmentedRpc<() => Observable>; /** Returns whether an Ethereum block is finalized */ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; diff --git a/typescript-api/src/moonbase/interfaces/definitions.ts b/typescript-api/src/moonbase/interfaces/definitions.ts index fdef01d9ab..6f4ed42e99 100644 --- a/typescript-api/src/moonbase/interfaces/definitions.ts +++ b/typescript-api/src/moonbase/interfaces/definitions.ts @@ -1 +1 @@ -export { default as moon } from "./moon/definitions"; +export { default as moon } from "./moon/definitions.js"; diff --git a/typescript-api/src/moonbase/interfaces/moon/definitions.ts b/typescript-api/src/moonbase/interfaces/moon/definitions.ts index f8e64d5b4b..745e4404ef 100644 --- a/typescript-api/src/moonbase/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonbase/interfaces/moon/definitions.ts @@ -1,24 +1,8 @@ -// TODO: update default export to make use of all definitions in moonbeam-types-bundle -// import { moonbeamDefinitions } from "moonbeam-types-bundle"; +import { moonbeamDefinitions } from "moonbeam-types-bundle"; -// TODO: Import this from moonbeam-types-bundle export default { types: {}, rpc: { - isBlockFinalized: { - description: "Returns whether an Ethereum block is finalized", - params: [{ name: "blockHash", type: "Hash" }], - type: "bool", - }, - isTxFinalized: { - description: "Returns whether an Ethereum transaction is finalized", - params: [{ name: "txHash", type: "Hash" }], - type: "bool", - }, - getLatestSyncedBlock: { - description: "Returns the latest synced block from Frontier's backend", - params: [], - type: "u32", - }, + ...moonbeamDefinitions.rpc?.moon, }, }; diff --git a/typescript-api/src/moonbase/tsconfig.json b/typescript-api/src/moonbase/tsconfig.json index effb825f00..a96231aac4 100644 --- a/typescript-api/src/moonbase/tsconfig.json +++ b/typescript-api/src/moonbase/tsconfig.json @@ -4,6 +4,8 @@ "rootDir": ".", "baseUrl": "./", "outDir": "../../dist/moonbase", + "declarationDir": "../../dist/moonbase", + "declarationMap": true, "paths": { "@moonbeam/api-augment/moonbase/*": ["src/moonbase/*"], "@polkadot/api/augment": ["src/moonbase/interfaces/augment-api.ts"], diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts b/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts index 2b8daa38dd..a71564cc61 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts @@ -614,7 +614,7 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from Frontier's backend */ + /** Returns the latest synced block from frontier's backend */ getLatestSyncedBlock: AugmentedRpc<() => Observable>; /** Returns whether an Ethereum block is finalized */ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; diff --git a/typescript-api/src/moonbeam/interfaces/definitions.ts b/typescript-api/src/moonbeam/interfaces/definitions.ts index fdef01d9ab..6f4ed42e99 100644 --- a/typescript-api/src/moonbeam/interfaces/definitions.ts +++ b/typescript-api/src/moonbeam/interfaces/definitions.ts @@ -1 +1 @@ -export { default as moon } from "./moon/definitions"; +export { default as moon } from "./moon/definitions.js"; diff --git a/typescript-api/src/moonbeam/interfaces/empty/index.ts b/typescript-api/src/moonbeam/interfaces/empty/index.ts deleted file mode 100644 index 58fa3ba837..0000000000 --- a/typescript-api/src/moonbeam/interfaces/empty/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Auto-generated via `yarn polkadot-types-from-defs`, do not edit -/* eslint-disable */ - -export * from "./types.js"; diff --git a/typescript-api/src/moonbeam/interfaces/empty/types.ts b/typescript-api/src/moonbeam/interfaces/empty/types.ts deleted file mode 100644 index 878e1e9ec1..0000000000 --- a/typescript-api/src/moonbeam/interfaces/empty/types.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Auto-generated via `yarn polkadot-types-from-defs`, do not edit -/* eslint-disable */ - -export type PHANTOM_EMPTY = "empty"; diff --git a/typescript-api/src/moonbeam/interfaces/moon/definitions.ts b/typescript-api/src/moonbeam/interfaces/moon/definitions.ts index 0ba9d14413..745e4404ef 100644 --- a/typescript-api/src/moonbeam/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonbeam/interfaces/moon/definitions.ts @@ -1,21 +1,8 @@ -// TODO: Import this from moonbeam-types-bundle +import { moonbeamDefinitions } from "moonbeam-types-bundle"; + export default { types: {}, rpc: { - isBlockFinalized: { - description: "Returns whether an Ethereum block is finalized", - params: [{ name: "blockHash", type: "Hash" }], - type: "bool", - }, - isTxFinalized: { - description: "Returns whether an Ethereum transaction is finalized", - params: [{ name: "txHash", type: "Hash" }], - type: "bool", - }, - getLatestSyncedBlock: { - description: "Returns the latest synced block from Frontier's backend", - params: [], - type: "u32", - }, + ...moonbeamDefinitions.rpc?.moon, }, }; diff --git a/typescript-api/src/moonbeam/tsconfig.json b/typescript-api/src/moonbeam/tsconfig.json index 3201642603..c7c72d20df 100644 --- a/typescript-api/src/moonbeam/tsconfig.json +++ b/typescript-api/src/moonbeam/tsconfig.json @@ -3,7 +3,9 @@ "compilerOptions": { "rootDir": ".", "baseUrl": "./", - "outDir": "../../dist", + "outDir": "../../dist/moonbeam", + "declarationDir": "../../dist/moonbeam", + "declarationMap": true, "paths": { "@moonbeam/api-augment/*": ["src/moonbeam/*"], "@polkadot/api/augment": ["src/moonbeam/interfaces/augment-api.ts"], diff --git a/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts b/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts index 2b8daa38dd..a71564cc61 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts @@ -614,7 +614,7 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from Frontier's backend */ + /** Returns the latest synced block from frontier's backend */ getLatestSyncedBlock: AugmentedRpc<() => Observable>; /** Returns whether an Ethereum block is finalized */ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; diff --git a/typescript-api/src/moonriver/interfaces/definitions.ts b/typescript-api/src/moonriver/interfaces/definitions.ts index fdef01d9ab..6f4ed42e99 100644 --- a/typescript-api/src/moonriver/interfaces/definitions.ts +++ b/typescript-api/src/moonriver/interfaces/definitions.ts @@ -1 +1 @@ -export { default as moon } from "./moon/definitions"; +export { default as moon } from "./moon/definitions.js"; diff --git a/typescript-api/src/moonriver/interfaces/empty/index.ts b/typescript-api/src/moonriver/interfaces/empty/index.ts deleted file mode 100644 index 58fa3ba837..0000000000 --- a/typescript-api/src/moonriver/interfaces/empty/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Auto-generated via `yarn polkadot-types-from-defs`, do not edit -/* eslint-disable */ - -export * from "./types.js"; diff --git a/typescript-api/src/moonriver/interfaces/empty/types.ts b/typescript-api/src/moonriver/interfaces/empty/types.ts deleted file mode 100644 index 878e1e9ec1..0000000000 --- a/typescript-api/src/moonriver/interfaces/empty/types.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Auto-generated via `yarn polkadot-types-from-defs`, do not edit -/* eslint-disable */ - -export type PHANTOM_EMPTY = "empty"; diff --git a/typescript-api/src/moonriver/interfaces/moon/definitions.ts b/typescript-api/src/moonriver/interfaces/moon/definitions.ts index 0ba9d14413..745e4404ef 100644 --- a/typescript-api/src/moonriver/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonriver/interfaces/moon/definitions.ts @@ -1,21 +1,8 @@ -// TODO: Import this from moonbeam-types-bundle +import { moonbeamDefinitions } from "moonbeam-types-bundle"; + export default { types: {}, rpc: { - isBlockFinalized: { - description: "Returns whether an Ethereum block is finalized", - params: [{ name: "blockHash", type: "Hash" }], - type: "bool", - }, - isTxFinalized: { - description: "Returns whether an Ethereum transaction is finalized", - params: [{ name: "txHash", type: "Hash" }], - type: "bool", - }, - getLatestSyncedBlock: { - description: "Returns the latest synced block from Frontier's backend", - params: [], - type: "u32", - }, + ...moonbeamDefinitions.rpc?.moon, }, }; diff --git a/typescript-api/src/moonriver/tsconfig.json b/typescript-api/src/moonriver/tsconfig.json index 222be2e300..65e422f9a9 100644 --- a/typescript-api/src/moonriver/tsconfig.json +++ b/typescript-api/src/moonriver/tsconfig.json @@ -4,6 +4,8 @@ "rootDir": ".", "baseUrl": "./", "outDir": "../../dist/moonriver", + "declarationDir": "../../dist/moonriver", + "declarationMap": true, "paths": { "@moonbeam/api-augment/moonriver/*": ["src/moonriver/*"], "@polkadot/api/augment": ["src/moonriver/interfaces/augment-api.ts"], diff --git a/typescript-api/tsconfig.json b/typescript-api/tsconfig.json deleted file mode 100644 index 85e1277080..0000000000 --- a/typescript-api/tsconfig.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "incremental": true, - "rootDir": "src", - "outDir": "dist", - "baseUrl": "./", - "paths": { - "@storagehub/api-augment/*": ["src/*"], - "@polkadot/api/augment": ["src/interfaces/augment-api.ts"], - "@polkadot/types/augment": ["src/interfaces/augment-types.ts"], - "@polkadot/types/lookup": ["src/interfaces/types-lookup.ts"] - }, - "noEmit": false, - "declaration": true, - "declarationDir": "dist/types", - "allowImportingTsExtensions": false - }, - "exclude": ["node_modules", "dist", "scripts"], - "references": [ - { - "path": "./src/moonbeam" - }, - { - "path": "./src/moonriver" - }, - { - "path": "./src/moonbase" - } - ] -} diff --git a/typescript-api/tsup.config.ts b/typescript-api/tsup.config.ts new file mode 100644 index 0000000000..d0295ca705 --- /dev/null +++ b/typescript-api/tsup.config.ts @@ -0,0 +1,38 @@ +import { defineConfig } from 'tsup' +import { execSync } from 'child_process' + +export default defineConfig([ + { + entry: ['src/moonbeam'], + outDir: 'dist/moonbeam', + format: ['esm', 'cjs'], + splitting: false, + clean: true, + onSuccess: async () => { + console.log('Running tsc for moonbeam...') + execSync('pnpm tsc -p src/moonbeam/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + } + }, + { + entry: ['src/moonriver'], + outDir: 'dist/moonriver', + format: ['esm', 'cjs'], + splitting: false, + clean: true, + onSuccess: async () => { + console.log('Running tsc for moonriver...') + execSync('pnpm tsc -p src/moonriver/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + } + }, + { + entry: ['src/moonbase'], + outDir: 'dist/moonbase', + format: ['esm', 'cjs'], + splitting: false, + clean: true, + onSuccess: async () => { + console.log('Running tsc for moonbase...') + execSync('pnpm tsc -p src/moonbase/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + } + } +]) From ba9c9c69aa6789d4fa71917aada86664bb3412f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:33:55 +0100 Subject: [PATCH 12/24] chore(deps): bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#3027) Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.6.1 to 3.7.1. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v3.6.1...v3.7.1) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- .github/workflows/prepare-binary.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a75bd8cbb5..e2693d86c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -738,7 +738,7 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.6.1 + uses: docker/setup-buildx-action@v3.7.1 with: version: latest driver-opts: | diff --git a/.github/workflows/prepare-binary.yml b/.github/workflows/prepare-binary.yml index f4f6ddadd6..65e9b327ab 100644 --- a/.github/workflows/prepare-binary.yml +++ b/.github/workflows/prepare-binary.yml @@ -82,7 +82,7 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3.6.1 + uses: docker/setup-buildx-action@v3.7.1 with: version: latest driver-opts: | From b0b6880fcbc79dfec16d21f8c8bf169c03b34ab3 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:09:29 +0000 Subject: [PATCH 13/24] test(smoke): Correctly check egress hmrp channels (#3089) --- test/suites/smoke/test-xcm-failures.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/suites/smoke/test-xcm-failures.ts b/test/suites/smoke/test-xcm-failures.ts index 9b0510d4dc..800ba52cd7 100644 --- a/test/suites/smoke/test-xcm-failures.ts +++ b/test/suites/smoke/test-xcm-failures.ts @@ -412,7 +412,7 @@ describeSuite({ (await relayApi.query.hrmp.hrmpIngressChannelsIndex(paraId)) as any ).map((a: any) => a.toNumber()); const outChannels = ( - (await relayApi.query.hrmp.hrmpIngressChannelsIndex(paraId)) as any + (await relayApi.query.hrmp.hrmpEgressChannelsIndex(paraId)) as any ).map((a: any) => a.toNumber()); const channels = [...new Set([...inChannels, ...outChannels])]; From 9e17fd6095fdd50c5d919972af70e7dea1175252 Mon Sep 17 00:00:00 2001 From: Tim B <79199034+timbrinded@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:29:28 +0000 Subject: [PATCH 14/24] =?UTF-8?q?chore:=20=E2=99=BB=EF=B8=8F=20Replace=20P?= =?UTF-8?q?rettier=20&=20EsLint=20with=20Biome=20(#3096)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor: :sparkles: Dual publish typesbundle properly * refactor: :sparkles: ApiAugment fixed paths * feat: :sparkles: Added new ScrapeMetadata script * build: :building_construction: add built `/dist` to repo * style: :lipstick: lint * style: :lipstick: Exclude dist from editorconfig * fix: :bug: Fix typegen check CI * refactor: :recycle: Tidy script call * fix: :bug: Fix tracing CI * refactor: :recycle: Remove dist from repo * remove dist * fix: :package: Fix packages! * fix: :green_heart: Fix typegen CI * style: :rotating_light: pretty * style: :lipstick: Replace Prettier with Biome * style: :lipstick: Replace Prettier with Biome * style: :fire: get rid of editor config * style: :recycle: Regen types (with formatting) * fix: :white_check_mark: Fix Test * merge fixes * fmt --- .github/workflows/build.yml | 63 +- .gitignore | 5 +- .vscode/launch.json | 50 - .vscode/settings.json | 21 - .vscode/tasks.json | 50 - CONTRIBUTIONS.md | 3 +- biome.json | 65 + moonbeam-types-bundle/package.json | 5 +- package.json | 8 +- pnpm-lock.yaml | 788 +--- precompiles/identity/src/lib.rs | 2 - runtime/moonbase/tests/integration_test.rs | 2 - runtime/moonbeam/tests/integration_test.rs | 2 - runtime/moonriver/tests/integration_test.rs | 2 - test/.eslintrc.cjs | 30 - test/biome.json | 9 + test/helpers/accounts.ts | 10 +- test/helpers/assets.ts | 39 +- test/helpers/block.ts | 42 +- test/helpers/common.ts | 10 +- test/helpers/constants.ts | 2 +- test/helpers/contracts.ts | 2 +- test/helpers/crowdloan.ts | 2 +- test/helpers/eth-transactions.ts | 24 +- test/helpers/expect.ts | 26 +- test/helpers/foreign-chains.ts | 3 +- test/helpers/modexp.ts | 1 - test/helpers/precompile-contract-calls.ts | 22 +- test/helpers/precompiles.ts | 10 +- test/helpers/providers.ts | 4 +- test/helpers/randomness.ts | 4 +- test/helpers/referenda.ts | 19 +- test/helpers/round.ts | 6 +- test/helpers/staking.ts | 2 +- test/helpers/storageQueries.ts | 8 +- test/helpers/tracingFns.ts | 8 +- test/helpers/transactions.ts | 16 +- test/helpers/voting.ts | 10 +- test/helpers/wormhole.ts | 22 +- test/helpers/xcm.ts | 61 +- test/package.json | 15 +- test/scripts/combine-imports.ts | 9 +- test/scripts/compile-contracts.ts | 54 +- test/scripts/compile-wasm.ts | 8 +- .../fast-execute-chopstick-proposal.ts | 5 +- test/scripts/get-sample-evm-txs.ts | 10 +- test/scripts/modify-plain-specs.ts | 2 +- test/scripts/preapprove-rt-rawspec.ts | 2 +- .../scripts/prepare-lazy-loading-overrides.ts | 2 +- test/scripts/update-local-types.ts | 25 +- test/suites/chopsticks/test-upgrade-chain.ts | 8 +- .../test-block/test-block-mocked-relay.ts | 2 +- .../test-transaction-with-metadata-hash.ts | 4 +- .../dev/moonbase/sample/sample_basic.ts | 4 +- .../test-assets/test-assets-drain-both.ts | 4 +- .../test-assets/test-assets-insufficients.ts | 4 +- .../test-assets/test-assets-transfer.ts | 4 +- ...test-foreign-assets-change-xcm-location.ts | 2 +- .../test-author-double-registration.ts | 2 +- .../test-author-failed-association.ts | 2 +- .../test-author-first-time-keys.ts | 6 +- .../test-author-missing-deposit-fail.ts | 2 +- .../test-author-non-author-rotate.ts | 2 +- .../test-author-removing-author.ts | 6 +- .../test-author/test-author-removing-keys.ts | 4 +- .../test-author-same-key-rotation.ts | 4 +- .../test-author-simple-association.ts | 2 +- .../test-author-update-diff-keys.ts | 4 +- .../test-author-update-nimbus-key.ts | 4 +- .../test-balance/test-balance-extrinsics.ts | 4 +- .../test-balance/test-balance-genesis.ts | 6 +- .../test-balance/test-balance-transfer.ts | 6 +- .../test-contract-delegate-call.ts | 4 +- .../test-contract/test-contract-error.ts | 2 +- .../test-contract/test-contract-evm-limits.ts | 4 +- .../test-contract/test-contract-methods.ts | 2 +- ...st-conviction-batch-delegate-undelegate.ts | 2 +- .../test-conviction-delegate-weight-fit.ts | 2 +- .../test-conviction-undelegate-weight-fit.ts | 2 +- .../test-conviction-voting/test-delegate.ts | 25 +- .../test-conviction-voting/test-delegate2.ts | 23 +- .../test-crowdloan-democracy.ts | 2 +- .../test-crowdloan-register-accs.ts | 6 +- .../test-crowdloan-register-batch.ts | 2 +- .../test-eth-call-state-override.ts | 2 +- .../test-eth-fee/test-eth-fee-history.ts | 11 +- .../moonbase/test-eth-fee/test-eth-paysFee.ts | 2 +- .../test-eth-fee/test-eth-txn-weights.ts | 2 +- .../test-eth-rpc/test-eth-rpc-deprecated.ts | 2 +- .../test-eth-rpc-log-filtering.ts | 2 +- .../test-eth-rpc-transaction-receipt.ts | 2 +- .../moonbase/test-eth-tx/test-eth-tx-types.ts | 8 +- .../test-evm/test-pallet-evm-overflow.ts | 3 +- .../test-evm/test-pallet-evm-transfer.ts | 3 +- .../test-fees/test-fee-multiplier-max.ts | 6 +- .../test-fees/test-fee-multiplier-xcm.ts | 6 +- .../moonbase/test-fees/test-length-fees.ts | 2 +- .../test-gas-estimation-allcontracts.ts | 36 +- .../test-gas/test-gas-estimation-multiply.ts | 2 +- .../test-gas-estimation-subcall-oog.ts | 2 +- .../test-locks/test-locks-multiple-locks.ts | 2 +- .../test-maintenance-filter.ts | 2 +- .../test-maintenance-filter2.ts | 6 +- .../test-maintenance-filter3.ts | 2 +- .../test-maintenance/test-maintenance-mode.ts | 4 +- .../test-foreign-assets-migration.ts | 6 +- .../moonbase/test-multisigs/test-multisigs.ts | 6 +- .../test-parameters/test-parameters.ts | 2 +- .../moonbase/test-pov/test-evm-over-pov.ts | 4 +- .../moonbase/test-pov/test-evm-over-pov2.ts | 4 +- .../test-pov/test-precompile-over-pov.ts | 4 +- .../test-pov/test-precompile-over-pov2.ts | 4 +- .../moonbase/test-pov/test-xcm-to-evm-pov.ts | 6 +- ...mpile-assets-erc20-local-assets-removal.ts | 2 +- .../test-precompile-assets-erc20-low-level.ts | 6 +- .../test-precompile-assets-erc20.ts | 6 +- .../test-precompile-assets-erc20a.ts | 6 +- .../test-precompile-assets-erc20b.ts | 6 +- .../test-precompile-assets-erc20c.ts | 6 +- .../test-precompile-assets-erc20d.ts | 6 +- .../test-precompile-assets-erc20e.ts | 6 +- .../test-precompile-assets-erc20f.ts | 6 +- .../test-precompile-author-mapping-keys.ts | 6 +- .../test-precompile-author-mapping-keys2.ts | 4 +- .../test-precompile-author-mapping-keys3.ts | 4 +- .../test-precompile-author-mapping-keys4.ts | 4 +- .../test-precompile-author-mapping-keys5.ts | 6 +- .../test-precompile-author-mapping-keys6.ts | 8 +- .../test-precompile-author-mapping-keys7.ts | 2 +- .../test-precompile-author-mapping-keys8.ts | 2 +- .../test-precompile-author-mapping2.ts | 2 +- .../test-precompile-author-mapping3.ts | 2 +- .../test-precompile/test-precompile-batch.ts | 6 +- .../test-precompile-call-permit-demo.ts | 2 +- .../test-precompile-clear-suicided-storage.ts | 4 +- .../test-precompile-conviction-voting.ts | 2 +- .../test-precompile-conviction-voting2.ts | 2 +- .../test-precompile-conviction-voting3.ts | 2 +- .../test-precompile-conviction-voting4.ts | 2 +- .../test-precompile-democracy.ts | 2 +- .../test-precompile/test-precompile-erc20.ts | 2 +- .../test-precompile-identity.ts | 4 +- .../test-precompile/test-precompile-modexp.ts | 36 +- .../test-precompile-pallet-xcm.ts | 4 +- .../test-precompile-preimage.ts | 2 +- .../test-precompile-referenda-demo.ts | 2 +- .../test-precompile-relay-verifier.ts | 34 +- .../test-precompile-wormhole.ts | 9 +- .../test-precompile-xcm-transactor.ts | 2 +- .../test-precompile-xcm-transactor11.ts | 2 +- .../test-precompile-xcm-transactor12.ts | 2 +- .../test-precompile-xcm-transactor2.ts | 2 +- .../test-precompile-xcm-transactor7.ts | 2 +- .../test-precompile-xcm-transactor8.ts | 2 +- .../test-precompile-xcm-utils.ts | 2 +- .../test-proxy/test-proxy-identity.ts | 2 +- .../dev/moonbase/test-proxy/test-proxy.ts | 4 +- .../test-randomness-babe-lottery2.ts | 2 +- .../test-randomness-babe-request2.ts | 2 +- .../test-randomness/test-randomness-result.ts | 4 +- .../test-randomness-result2.ts | 4 +- .../test-randomness-result4.ts | 4 +- .../test-randomness-vrf-lottery5.ts | 2 +- .../test-randomness-vrf-lottery6.ts | 2 +- .../test-randomness-vrf-request2.ts | 2 +- .../test-receipt/test-receipt-root.ts | 4 +- .../test-referenda-fast-general-admin.ts | 2 +- .../test-referenda-general-admin.ts | 2 +- .../test-referenda/test-referenda-submit.ts | 2 +- .../test-rewards-auto-compound-pov.ts | 2 +- .../test-rewards-auto-compound10.ts | 2 +- .../dev/moonbase/test-staking/test-rewards.ts | 2 +- .../moonbase/test-staking/test-rewards2.ts | 2 +- .../moonbase/test-staking/test-rewards3.ts | 2 +- .../moonbase/test-staking/test-rewards4.ts | 6 +- .../moonbase/test-staking/test-rewards5.ts | 4 +- .../test-staking/test-staking-consts.ts | 2 +- .../test-staking/test-staking-locks11.ts | 8 +- .../test-staking/test-staking-locks12.ts | 6 +- .../test-staking/test-staking-locks9.ts | 2 +- .../test-evm-store-storage-growth.ts | 2 +- .../test-subscription-logs2.ts | 2 +- .../test-subscription-pending.ts | 2 +- .../test-subscription/test-subscription.ts | 2 +- .../test-treasury/test-treasury-pallet.ts | 2 +- .../test-txpool/test-txpool-fairness.ts | 4 +- .../test-txpool/test-txpool-limits3.ts | 2 +- .../test-txpool/test-txpool-limits4.ts | 2 +- .../test-mock-hrmp-asset-transfer-2.ts | 6 +- .../test-mock-hrmp-asset-transfer-3.ts | 6 +- .../test-mock-hrmp-asset-transfer-4.ts | 6 +- .../test-mock-hrmp-asset-transfer-5.ts | 6 +- .../test-mock-hrmp-asset-transfer-6.ts | 6 +- .../test-mock-hrmp-asset-transfer-8.ts | 6 +- .../test-xcm-v3/test-mock-hrmp-transact-1.ts | 6 +- .../test-xcm-v3/test-mock-hrmp-transact-2.ts | 6 +- .../test-xcm-v3/test-mock-hrmp-transact-3.ts | 6 +- .../test-xcm-v3/test-mock-hrmp-transact-4.ts | 6 +- .../test-mock-hrmp-transact-ethereum-1.ts | 6 +- .../test-mock-hrmp-transact-ethereum-10.ts | 8 +- .../test-mock-hrmp-transact-ethereum-11.ts | 8 +- .../test-mock-hrmp-transact-ethereum-12.ts | 6 +- .../test-mock-hrmp-transact-ethereum-2.ts | 6 +- .../test-mock-hrmp-transact-ethereum-3.ts | 8 +- .../test-mock-hrmp-transact-ethereum-4.ts | 6 +- .../test-mock-hrmp-transact-ethereum-5.ts | 6 +- .../test-mock-hrmp-transact-ethereum-6.ts | 8 +- .../test-mock-hrmp-transact-ethereum-7.ts | 8 +- .../test-mock-hrmp-transact-ethereum-8.ts | 6 +- .../test-xcm-erc20-data-field-size.ts | 2 +- .../test-xcm-v3/test-xcm-erc20-excess-gas.ts | 12 +- .../test-xcm-erc20-fees-and-trap.ts | 12 +- .../test-xcm-v3/test-xcm-erc20-v3-filter.ts | 8 +- .../moonbase/test-xcm-v3/test-xcm-erc20-v3.ts | 8 +- .../test-xcmv3-max-weight-instructions.ts | 6 +- .../test-xcmv3-new-instructions.ts | 6 +- .../test-xcm-v4/test-auto-pause-xcm.ts | 6 +- .../test-mock-hrmp-asset-transfer-1.ts | 6 +- .../test-mock-hrmp-asset-transfer-2.ts | 6 +- .../test-mock-hrmp-asset-transfer-3.ts | 6 +- .../test-mock-hrmp-asset-transfer-4.ts | 6 +- .../test-mock-hrmp-asset-transfer-5.ts | 6 +- .../test-mock-hrmp-asset-transfer-6.ts | 6 +- .../test-xcm-v4/test-mock-hrmp-transact-1.ts | 6 +- .../test-xcm-v4/test-mock-hrmp-transact-2.ts | 6 +- .../test-xcm-v4/test-mock-hrmp-transact-3.ts | 6 +- .../test-xcm-v4/test-mock-hrmp-transact-4.ts | 6 +- .../test-mock-hrmp-transact-ethereum-1.ts | 6 +- .../test-mock-hrmp-transact-ethereum-10.ts | 8 +- .../test-mock-hrmp-transact-ethereum-2.ts | 6 +- .../test-mock-hrmp-transact-ethereum-4.ts | 6 +- .../test-mock-hrmp-transact-ethereum-5.ts | 6 +- .../test-mock-hrmp-transact-ethereum-6.ts | 8 +- .../test-mock-hrmp-transact-ethereum-7.ts | 8 +- .../test-mock-hrmp-transact-ethereum-8.ts | 6 +- .../test-xcm-v4/test-xcm-dry-run-api.ts | 4 +- .../test-xcm-erc20-transfer-two-ERC20.ts | 8 +- .../test-xcm-v4/test-xcm-erc20-transfer.ts | 8 +- .../test-xcm-evm-fee-with-origin-token.ts | 8 +- .../test-xcm-v4/test-xcm-evm-with-dot.ts | 12 +- .../test-xcm-payment-api-transact-foreign.ts | 8 +- .../test-xcm-payment-api-transact-native.ts | 6 +- .../test-xcm-v4/test-xcm-payment-api.ts | 2 +- .../test-xcm-v4/test-xcm-ver-conversion-1.ts | 6 +- .../test-xcm-v4/test-xcm-ver-conversion-2.ts | 6 +- ...mpile-assets-erc20-local-assets-removal.ts | 2 +- .../lazy-loading/test-runtime-upgrade.ts | 22 +- .../smoke/test-author-filter-consistency.ts | 8 +- .../smoke/test-author-mapping-consistency.ts | 14 +- .../suites/smoke/test-balances-consistency.ts | 110 +- test/suites/smoke/test-block-finalized.ts | 4 +- test/suites/smoke/test-block-weights.ts | 29 +- test/suites/smoke/test-dynamic-fees.ts | 67 +- .../test-eth-parent-hash-bad-block-fix.ts | 2 +- .../smoke/test-ethereum-contract-code.ts | 4 +- .../test-ethereum-current-consistency.ts | 8 +- test/suites/smoke/test-ethereum-failures.ts | 11 +- .../smoke/test-foreign-asset-consistency.ts | 10 +- .../suites/smoke/test-foreign-xcm-failures.ts | 28 +- .../smoke/test-historic-compatibility.ts | 31 +- test/suites/smoke/test-old-regressions.ts | 6 +- test/suites/smoke/test-orbiter-consistency.ts | 28 +- test/suites/smoke/test-polkadot-decoding.ts | 14 +- test/suites/smoke/test-proxy-consistency.ts | 16 +- .../smoke/test-randomness-consistency.ts | 31 +- test/suites/smoke/test-relay-indices.ts | 4 +- test/suites/smoke/test-relay-xcm-fees.ts | 25 +- test/suites/smoke/test-staking-consistency.ts | 49 +- test/suites/smoke/test-staking-rewards.ts | 80 +- .../smoke/test-staking-round-cleanup.ts | 20 +- test/suites/smoke/test-state-v1-migration.ts | 2 +- .../suites/smoke/test-treasury-consistency.ts | 6 +- test/suites/smoke/test-xcm-autopause.ts | 2 +- test/suites/smoke/test-xcm-failures.ts | 10 +- test/suites/tracing-tests/test-trace-1.ts | 6 +- test/suites/tracing-tests/test-trace-2.ts | 4 +- test/suites/tracing-tests/test-trace-3.ts | 4 +- test/suites/tracing-tests/test-trace-6.ts | 30 +- test/suites/tracing-tests/test-trace-call.ts | 4 +- .../tracing-tests/test-trace-concurrency.ts | 2 +- .../tracing-tests/test-trace-erc20-xcm.ts | 6 +- .../test-trace-ethereum-xcm-1.ts | 6 +- .../test-trace-ethereum-xcm-2.ts | 6 +- .../test-trace-ethereum-xcm-3.ts | 6 +- .../suites/tracing-tests/test-trace-filter.ts | 2 +- test/suites/tracing-tests/test-trace-gas.ts | 2 +- test/suites/zombie/test_para.ts | 2 +- tools/extract-migration-logs.ts | 2 +- tools/get-binary.ts | 4 +- tools/github/generate-runtimes-body.ts | 8 +- tools/github/github-utils.ts | 4 +- tools/load-testing/load-gas-loop.ts | 8 +- tools/pov/index.ts | 8 +- typescript-api/.gitignore | 3 - typescript-api/.npmignore | 5 +- typescript-api/biome.json | 22 + typescript-api/package.json | 8 +- typescript-api/scripts/scrapeMetadata.ts | 15 +- .../moonbase/interfaces/augment-api-consts.ts | 568 ++- .../moonbase/interfaces/augment-api-errors.ts | 1345 ++++-- .../moonbase/interfaces/augment-api-events.ts | 1312 ++++-- .../moonbase/interfaces/augment-api-query.ts | 1023 ++-- .../moonbase/interfaces/augment-api-rpc.ts | 577 ++- .../interfaces/augment-api-runtime.ts | 248 +- .../src/moonbase/interfaces/augment-api-tx.ts | 2093 +++++---- .../src/moonbase/interfaces/augment-types.ts | 90 +- .../src/moonbase/interfaces/lookup.ts | 4105 ++++++++++------- .../moonbase/interfaces/moon/definitions.ts | 4 +- .../src/moonbase/interfaces/registry.ts | 2 +- .../src/moonbase/interfaces/types-lookup.ts | 4 +- .../moonbeam/interfaces/augment-api-consts.ts | 568 ++- .../moonbeam/interfaces/augment-api-errors.ts | 1337 ++++-- .../moonbeam/interfaces/augment-api-events.ts | 1292 ++++-- .../moonbeam/interfaces/augment-api-query.ts | 1015 ++-- .../moonbeam/interfaces/augment-api-rpc.ts | 577 ++- .../interfaces/augment-api-runtime.ts | 248 +- .../src/moonbeam/interfaces/augment-api-tx.ts | 2039 ++++---- .../src/moonbeam/interfaces/augment-types.ts | 90 +- .../src/moonbeam/interfaces/lookup.ts | 4045 +++++++++------- .../moonbeam/interfaces/moon/definitions.ts | 4 +- .../src/moonbeam/interfaces/registry.ts | 2 +- .../src/moonbeam/interfaces/types-lookup.ts | 4 +- .../interfaces/augment-api-consts.ts | 568 ++- .../interfaces/augment-api-errors.ts | 1337 ++++-- .../interfaces/augment-api-events.ts | 1292 ++++-- .../moonriver/interfaces/augment-api-query.ts | 1015 ++-- .../moonriver/interfaces/augment-api-rpc.ts | 577 ++- .../interfaces/augment-api-runtime.ts | 248 +- .../moonriver/interfaces/augment-api-tx.ts | 2039 ++++---- .../src/moonriver/interfaces/augment-types.ts | 90 +- .../src/moonriver/interfaces/lookup.ts | 4045 +++++++++------- .../moonriver/interfaces/moon/definitions.ts | 4 +- .../src/moonriver/interfaces/registry.ts | 2 +- .../src/moonriver/interfaces/types-lookup.ts | 4 +- typescript-api/tsup.config.ts | 42 +- 335 files changed, 22976 insertions(+), 14275 deletions(-) delete mode 100644 .vscode/launch.json delete mode 100644 .vscode/settings.json delete mode 100644 .vscode/tasks.json create mode 100644 biome.json delete mode 100644 test/.eslintrc.cjs create mode 100644 test/biome.json create mode 100644 typescript-api/biome.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2693d86c2..317ab7d26f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -151,8 +151,8 @@ jobs: use-quiet-mode: "yes" max-depth: 4 - check-editorconfig: - name: "Check editorconfig" + check-biome: + name: "Check with Biome" runs-on: ubuntu-latest permissions: contents: read @@ -162,68 +162,17 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ needs.set-tags.outputs.git_ref }} - - name: Setup editorconfig checker - run: | - ls /tmp/bin/ec-linux-amd64 || \ - cd /tmp && \ - wget https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.7.0/ec-linux-amd64.tar.gz && \ - tar xvf ec-linux-amd64.tar.gz && \ - chmod +x bin/ec-linux-amd64 - - name: Check files - # Prettier and editorconfig-checker have different ideas about indentation - run: /tmp/bin/ec-linux-amd64 --exclude "(typescript-api\/)|(test\/contracts\/lib\/.*)|(\/?dist\/)" -disable-indent-size - - check-prettier: - name: "Check with Prettier" - runs-on: ubuntu-latest - permissions: - contents: read - needs: ["set-tags"] - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ needs.set-tags.outputs.git_ref }} - - uses: oven-sh/setup-bun@v2 - with: - bun-version: latest - - name: Check with Prettier - run: | - bun x prettier@2 --check --ignore-path .prettierignore '**/*.(yml|js|ts|json)' \ - || (git diff --quiet \ - || (echo 'Unable to show a diff because there are unstaged changes'; false) \ - && (bun x prettier@2 --ignore-path \ - .prettierignore '**/*.(yml|js|ts|json)' -w --loglevel silent \ - && git --no-pager diff; git restore .) && false) - - bun x prettier@2 --check --ignore-path .prettierignore '**/*.(yml|js|ts|json)' - - check-eslint: - name: "Check with EsLint" - runs-on: ubuntu-latest - permissions: - contents: read - needs: ["set-tags"] - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ needs.set-tags.outputs.git_ref }} - - name: Use pnpm - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@v4 with: version: 9 - - name: Use Node.js + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version-file: "test/.nvmrc" cache: "pnpm" cache-dependency-path: pnpm-lock.yaml - - name: Run Eslint check - run: | - cd test - pnpm i - pnpm lint + - run: pnpm install + - run: pnpm check check-cargo-toml-format: name: "Check Cargo.toml files format" diff --git a/.gitignore b/.gitignore index 6c16d0836b..2a1db21706 100644 --- a/.gitignore +++ b/.gitignore @@ -20,5 +20,6 @@ tools/*-local.json tools/*-local-raw.json tools/build -# RustRover -.idea/ \ No newline at end of file +# IDEs +.idea/ +.vscode/ \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index c05d3d8b28..0000000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "type": "lldb", - "request": "launch", - "name": "Build & Launch Moonbeam Node (Linux)", - "preLaunchTask": "Build Moonbeam (debug symbols)", - "program": "${workspaceFolder}/target/release/moonbeam", - "args": [ - "--execution=Native", - "--no-telemetry", - "--no-prometheus", - "--dev", - "--sealing=manual", - "-linfo", - "--port=${dbgconfig:port_p2p}", - "--rpc-port=${dbgconfig:port_rpc}", - "--tmp" - ], - "cwd": "${workspaceFolder}", - "sourceLanguages": ["rust"], - "sourceMap": { - "/rustc/*": "${dbgconfig:rustc_path}" - } - }, - { - "type": "lldb", - "request": "launch", - "name": "Launch Moonbeam Node (Linux)", - "program": "${workspaceFolder}/target/release/moonbeam", - "args": [ - "--execution=Native", - "--no-telemetry", - "--no-prometheus", - "--dev", - "--sealing=manual", - "-linfo", - "--port=${dbgconfig:port_p2p}", - "--rpc-port=${dbgconfig:port_rpc}", - "--tmp" - ], - "cwd": "${workspaceFolder}", - "sourceLanguages": ["rust"], - "sourceMap": { - "/rustc/*": "${dbgconfig:rustc_path}" - } - } - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index ec8bf3b29a..0000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "editor.formatOnSave": true, - "editor.rulers": [100], - "[typescript]": { - "editor.defaultFormatter": "vscode.typescript-language-features" - }, - "[json]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[javascript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[yaml]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "lldb.dbgconfig": { - "rustc_path": "${env:HOME}/.rustup/toolchains/nightly-2021-01-13-x86_64-unknown-linux-gnu/lib/rustlib/src/rust", - "port_p2p": 30333, - "port_rpc": 9944 - } -} diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index fe087c1a16..0000000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "Build Moonbeam (debug symbols)", - "type": "shell", - "command": "RUSTFLAGS=-g cargo build --release", - "presentation": { - "reveal": "always", - "panel": "new" - } - }, - { - "label": "Build Moonbeam (debug symbols + tracing)", - "type": "shell", - "command": "RUSTFLAGS=-g cargo build --release --features=evm-tracing", - "presentation": { - "reveal": "always", - "panel": "new" - } - }, - { - "label": "Run single test file in debug mode", - "type": "shell", - "command": "cd tests && DEBUG_MODE=true npm run test-single", - "presentation": { - "reveal": "always", - "panel": "new" - } - }, - { - "label": "Run current test file in debug mode", - "type": "shell", - "command": "cd tests && DEBUG_MODE=true npm run current-test -- '${fileDirname}/${fileBasename}'", - "presentation": { - "reveal": "always", - "panel": "new" - } - }, - { - "label": "Run current test file", - "type": "shell", - "command": "cd tests && npm run current-test -- '${fileDirname}/${fileBasename}'", - "presentation": { - "reveal": "always", - "panel": "new" - } - } - ] -} diff --git a/CONTRIBUTIONS.md b/CONTRIBUTIONS.md index 66ed5f7a09..e41f03a84a 100644 --- a/CONTRIBUTIONS.md +++ b/CONTRIBUTIONS.md @@ -25,8 +25,7 @@ and are expected to pass before a PR is considered mergeable. They can also be r - [clippy](https://github.com/rust-lang/rust-clippy) - run with `cargo clippy --release --workspace` - [rustfmt](https://github.com/rust-lang/rustfmt) - run with `cargo fmt -- --check` -- [editorconfig](https://editorconfig.org/) - integrate into your text editor / IDE -- [prettier](https://prettier.io/) - run with `npx prettier --check --ignore-path .gitignore '**/*.(yml|js|ts|json)'` (runs against `typescript` code) +- [biome](https://biomejs.dev/) - run with `pnpm check` (runs against `typescript` code) ### Directory Structure diff --git a/biome.json b/biome.json new file mode 100644 index 0000000000..4bd34690ec --- /dev/null +++ b/biome.json @@ -0,0 +1,65 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "files": { + "include": [ + "*.js", + "*.ts", + "*.yml", + "*.md" + ], + "ignore": [ + "./node_modules/*", + "./dist/*", + "./target/*", + "**/tmp/*", + "*.spec.json" + ] + }, + "organizeImports": { + "enabled": false + }, + "formatter": { + "enabled": true, + "lineWidth": 100, + "attributePosition": "multiline" + }, + "json": { + "formatter": { + "enabled": false + } + }, + "javascript": { + "formatter": { + "trailingCommas": "es5", + "semicolons": "always", + "indentStyle": "space", + "lineWidth": 100, + "quoteStyle": "double" + } + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "suspicious": { + "noExplicitAny": "off", + "noImplicitAnyLet": "off", + "noAsyncPromiseExecutor": "off" + }, + "performance": { + "noAccumulatingSpread": "off", + "noDelete": "off" + }, + "complexity": { + "useArrowFunction": "off", + "useLiteralKeys": "off", + "noForEach": "off" + }, + "style": { + "noNonNullAssertion": "off", + "noUnusedTemplateLiteral": "off", + "useTemplate": "off" + } + } + } +} \ No newline at end of file diff --git a/moonbeam-types-bundle/package.json b/moonbeam-types-bundle/package.json index 3f21ac9eb6..64aeafbc39 100644 --- a/moonbeam-types-bundle/package.json +++ b/moonbeam-types-bundle/package.json @@ -33,7 +33,8 @@ "tsc": "tsc --noEmit --pretty", "build": "tsup src --format cjs,esm --dts --no-splitting", "publish-package": "npm run build && npm publish", - "fmt:fix": "prettier --write --ignore-path .gitignore '**/*.(yml|js|ts|json)'" + "check":"biome check .", + "check:fix": "biome check . --write" }, "keywords": [ "moonbeam", @@ -50,13 +51,13 @@ "url": "git+https://github.com/moonbeam-foundation/moonbeam.git" }, "dependencies": { + "@biomejs/biome": "*", "@polkadot/api": "*", "@polkadot/api-base": "*", "@polkadot/rpc-core": "*", "@polkadot/typegen": "*", "@polkadot/types": "*", "@polkadot/types-codec": "*", - "prettier": "*", "tsup": "*", "typescript": "*" } diff --git a/package.json b/package.json index a227aad828..229d3e2b0d 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,8 @@ "clean-all": "rm -rf node_modules && pnpm -r clean", "build": "pnpm -r build", "postinstall": "pnpm build", - "lint": "pnpm -r lint", - "fmt": "pnpm -r fmt", - "fmt:fix": "pnpm -r fmt:fix" + "check": "pnpm -r check", + "check:fix": "pnpm -r check:fix" }, "dependencies": { "@polkadot/api": "14.3.1", @@ -31,9 +30,8 @@ "tsup": "8.3.5" }, "devDependencies": { + "@biomejs/biome": "1.9.4", "@types/node": "^22.10.1", - "eslint": "^8.55.0", - "prettier": "2.8.8", "tsx": "^4.19.2", "typescript": "^5.3.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6edb9727f6..0a6dc5600f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,15 +42,12 @@ importers: specifier: 8.3.5 version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) devDependencies: + '@biomejs/biome': + specifier: 1.9.4 + version: 1.9.4 '@types/node': specifier: ^22.10.1 version: 22.10.1 - eslint: - specifier: ^8.55.0 - version: 8.57.0 - prettier: - specifier: 2.8.8 - version: 2.8.8 tsx: specifier: ^4.19.2 version: 4.19.2 @@ -60,6 +57,9 @@ importers: moonbeam-types-bundle: dependencies: + '@biomejs/biome': + specifier: '*' + version: 1.9.4 '@polkadot/api': specifier: '*' version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -78,9 +78,6 @@ importers: '@polkadot/types-codec': specifier: '*' version: 14.0.1 - prettier: - specifier: '*' - version: 2.8.8 tsup: specifier: '*' version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.2)(yaml@2.6.0) @@ -93,6 +90,9 @@ importers: '@acala-network/chopsticks': specifier: 1.0.1 version: 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10) + '@biomejs/biome': + specifier: '*' + version: 1.9.4 '@moonbeam-network/api-augment': specifier: workspace:* version: link:../typescript-api @@ -217,30 +217,15 @@ importers: '@types/yargs': specifier: 17.0.33 version: 17.0.33 - '@typescript-eslint/eslint-plugin': - specifier: 7.5.0 - version: 7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/parser': - specifier: 7.5.0 - version: 7.5.0(eslint@8.57.0)(typescript@5.6.3) bottleneck: specifier: 2.19.5 version: 2.19.5 debug: specifier: 4.3.7 version: 4.3.7(supports-color@8.1.1) - eslint: - specifier: 8.57.0 - version: 8.57.0 - eslint-plugin-unused-imports: - specifier: 3.1.0 - version: 3.1.0(@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0) inquirer: specifier: 12.2.0 version: 12.2.0(@types/node@22.10.1) - prettier: - specifier: '*' - version: 2.8.8 typescript: specifier: '*' version: 5.6.3 @@ -250,6 +235,9 @@ importers: typescript-api: dependencies: + '@biomejs/biome': + specifier: '*' + version: 1.9.4 '@polkadot/api': specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -274,12 +262,6 @@ importers: moonbeam-types-bundle: specifier: workspace:* version: link:../moonbeam-types-bundle - prettier: - specifier: '*' - version: 2.8.8 - prettier-plugin-jsdoc: - specifier: ^0.3.38 - version: 0.3.38(prettier@2.8.8) tsup: specifier: '*' version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) @@ -340,6 +322,59 @@ packages: peerDependencies: '@polkadot/api': ^10.7.3 + '@biomejs/biome@1.9.4': + resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==} + engines: {node: '>=14.21.3'} + hasBin: true + + '@biomejs/cli-darwin-arm64@1.9.4': + resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [darwin] + + '@biomejs/cli-darwin-x64@1.9.4': + resolution: {integrity: sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [darwin] + + '@biomejs/cli-linux-arm64-musl@1.9.4': + resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-arm64@1.9.4': + resolution: {integrity: sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-x64-musl@1.9.4': + resolution: {integrity: sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-linux-x64@1.9.4': + resolution: {integrity: sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-win32-arm64@1.9.4': + resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [win32] + + '@biomejs/cli-win32-x64@1.9.4': + resolution: {integrity: sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [win32] + '@colors/colors@1.5.0': resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} @@ -811,24 +846,6 @@ packages: cpu: [x64] os: [win32] - '@eslint-community/eslint-utils@4.4.1': - resolution: {integrity: sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - - '@eslint-community/regexpp@4.12.1': - resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - - '@eslint/eslintrc@2.1.4': - resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - '@eslint/js@8.57.0': - resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@ethereumjs/common@2.6.5': resolution: {integrity: sha512-lRyVQOeCDaIVtgfbowla32pzeDv2Obr8oR8Put5RdUBNRGr1VGPGQNGP6elWIpgK3YdpzqTOh4GyUGOureVeeA==} @@ -912,19 +929,6 @@ packages: '@gar/promisify@1.1.3': resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} - '@humanwhocodes/config-array@0.11.14': - resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} - engines: {node: '>=10.10.0'} - deprecated: Use @eslint/config-array instead - - '@humanwhocodes/module-importer@1.0.1': - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} - - '@humanwhocodes/object-schema@2.0.3': - resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} - deprecated: Use @eslint/object-schema instead - '@inquirer/checkbox@4.0.3': resolution: {integrity: sha512-CEt9B4e8zFOGtc/LYeQx5m8nfqQeG/4oNNv0PUvXGG0mys+wR/WbJ3B4KfSQ4Fcr3AQfpiuFOi3fVvmPfvNbxw==} engines: {node: '>=18'} @@ -1108,18 +1112,6 @@ packages: '@noble/secp256k1@1.7.1': resolution: {integrity: sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==} - '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - - '@nodelib/fs.stat@2.0.5': - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - - '@nodelib/fs.walk@1.2.8': - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - '@npmcli/fs@1.1.1': resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==} @@ -2418,9 +2410,6 @@ packages: '@types/json-bigint@1.0.4': resolution: {integrity: sha512-ydHooXLbOmxBbubnA7Eh+RpBzuaIiQjh8WGJYQB50JFGFrdxW7JzVlyEV7fAXw0T2sqJ1ysTneJbiyNLqZRAag==} - '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/keyv@3.1.4': resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} @@ -2499,67 +2488,6 @@ packages: '@types/yargs@17.0.33': resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} - '@typescript-eslint/eslint-plugin@7.5.0': - resolution: {integrity: sha512-HpqNTH8Du34nLxbKgVMGljZMG0rJd2O9ecvr2QLYp+7512ty1j42KnsFwspPXg1Vh8an9YImf6CokUBltisZFQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - '@typescript-eslint/parser': ^7.0.0 - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@typescript-eslint/parser@7.5.0': - resolution: {integrity: sha512-cj+XGhNujfD2/wzR1tabNsidnYRaFfEkcULdcIyVBYcXjBvBKOes+mpMBP7hMpOyk+gBcfXsrg4NBGAStQyxjQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@typescript-eslint/scope-manager@7.5.0': - resolution: {integrity: sha512-Z1r7uJY0MDeUlql9XJ6kRVgk/sP11sr3HKXn268HZyqL7i4cEfrdFuSSY/0tUqT37l5zT0tJOsuDP16kio85iA==} - engines: {node: ^18.18.0 || >=20.0.0} - - '@typescript-eslint/type-utils@7.5.0': - resolution: {integrity: sha512-A021Rj33+G8mx2Dqh0nMO9GyjjIBK3MqgVgZ2qlKf6CJy51wY/lkkFqq3TqqnH34XyAHUkq27IjlUkWlQRpLHw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@typescript-eslint/types@7.5.0': - resolution: {integrity: sha512-tv5B4IHeAdhR7uS4+bf8Ov3k793VEVHd45viRRkehIUZxm0WF82VPiLgHzA/Xl4TGPg1ZD49vfxBKFPecD5/mg==} - engines: {node: ^18.18.0 || >=20.0.0} - - '@typescript-eslint/typescript-estree@7.5.0': - resolution: {integrity: sha512-YklQQfe0Rv2PZEueLTUffiQGKQneiIEKKnfIqPIOxgM9lKSZFCjT5Ad4VqRKj/U4+kQE3fa8YQpskViL7WjdPQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@typescript-eslint/utils@7.5.0': - resolution: {integrity: sha512-3vZl9u0R+/FLQcpy2EHyRGNqAS/ofJ3Ji8aebilfJe+fobK8+LbIFmrHciLVDxjDoONmufDcnVSF38KwMEOjzw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - - '@typescript-eslint/visitor-keys@7.5.0': - resolution: {integrity: sha512-mcuHM/QircmA6O7fy6nn2w/3ditQkj+SgtOc8DW3uQ10Yfj42amm2i+6F2K4YAOPNNTmE6iM1ynM6lrSwdendA==} - engines: {node: ^18.18.0 || >=20.0.0} - - '@ungap/structured-clone@1.2.0': - resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@unique-nft/opal-testnet-types@1003.70.0': resolution: {integrity: sha512-vXJoV7cqwO21svd03DFL7bl8H77zFbJzgkUgNPLPbVA6YkZt+ZeDmbP9lKKPbNadB1DP84kOZPVvsbmzx7+Jxg==} peerDependencies: @@ -2683,11 +2611,6 @@ packages: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} - acorn-jsx@5.3.2: - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn-walk@8.3.4: resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==} engines: {node: '>=0.4.0'} @@ -2780,10 +2703,6 @@ packages: array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} - array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} - asap@2.0.6: resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} @@ -2966,10 +2885,6 @@ packages: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} engines: {node: '>= 0.4'} - callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - camelcase@5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} @@ -3327,9 +3242,6 @@ packages: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} - deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - deepmerge-ts@7.1.3: resolution: {integrity: sha512-qCSH6I0INPxd9Y1VtAiLpnYvz5O//6rCfJXKk0z66Up9/VOSr+1yS8XSKA5IWRxjocFGlzPyaZYe+jxq7OOLtQ==} engines: {node: '>=16.0.0'} @@ -3396,14 +3308,6 @@ packages: resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==} engines: {node: '>=0.3.1'} - dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - - doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dom-walk@0.1.2: resolution: {integrity: sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==} @@ -3548,61 +3452,13 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} - eslint-plugin-unused-imports@3.1.0: - resolution: {integrity: sha512-9l1YFCzXKkw1qtAru1RWUtG2EVDZY0a0eChKXcL+EZ5jitG7qxdctu4RnvhOJHv4xfmUf7h+JJPINlVpGhZMrw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': 6 - 7 - eslint: '8' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - - eslint-rule-composer@0.3.0: - resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} - engines: {node: '>=4.0.0'} - - eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - eslint-visitor-keys@3.4.3: - resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - eslint@8.57.0: - resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. - hasBin: true - esniff@2.0.1: resolution: {integrity: sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==} engines: {node: '>=0.10'} - espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - esquery@1.6.0: - resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} - engines: {node: '>=0.10'} - - esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} - - estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} - estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} - esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} - etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} @@ -3711,16 +3567,9 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} - fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - fast-redact@3.5.0: resolution: {integrity: sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A==} engines: {node: '>=6'} @@ -3731,9 +3580,6 @@ packages: fast-sha256@1.3.0: resolution: {integrity: sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==} - fastq@1.17.1: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - fdir@6.4.2: resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} peerDependencies: @@ -3757,10 +3603,6 @@ packages: resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} engines: {node: '>=18'} - file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} - file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} @@ -3776,10 +3618,6 @@ packages: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} - flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} - flat@5.0.2: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} hasBin: true @@ -3915,10 +3753,6 @@ packages: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} - glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} - glob@10.4.5: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true @@ -3939,18 +3773,10 @@ packages: global@4.4.0: resolution: {integrity: sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==} - globals@13.24.0: - resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} - engines: {node: '>=8'} - globalthis@1.0.4: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} - globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} - gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -3971,9 +3797,6 @@ packages: graceful-readlink@1.0.1: resolution: {integrity: sha512-8tLu60LgxF6XpdbK8OW3FA+IfTNBn1ZHGHKF4KQbEeSkajYw5PlYJcKluntgegDPTg8UkHjpet1T82vk6TQ68w==} - graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - handlebars@4.7.8: resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} engines: {node: '>=0.4.7'} @@ -4109,20 +3932,12 @@ packages: ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - ignore@5.3.2: - resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} - engines: {node: '>= 4'} - immediate@3.2.3: resolution: {integrity: sha512-RrGCXRm/fRVqMIhqXrGEX9rRADavPiDFSoMb/k64i9XMk8uH4r/Omi5Ctierj6XzNecwDbO4WuFbDD1zmpl3Tg==} immediate@3.3.0: resolution: {integrity: sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q==} - import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} - imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -4261,10 +4076,6 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - is-plain-obj@2.1.0: resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} engines: {node: '>=8'} @@ -4384,9 +4195,6 @@ packages: json-schema@0.4.0: resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} - json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - json-stable-stringify@1.1.1: resolution: {integrity: sha512-SU/971Kt5qVQfJpyDveVhQ/vya+5hvrjClFOcr8c0Fq5aODJjMwutrOfCU+eCnVD5gpx1Q3fEqkyom77zH1iIg==} engines: {node: '>= 0.4'} @@ -4473,10 +4281,6 @@ packages: engines: {node: '>=6'} deprecated: Superseded by abstract-level (https://github.com/Level/community#faq) - levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} - libp2p-crypto@0.21.2: resolution: {integrity: sha512-EXFrhSpiHtJ+/L8xXDvQNK5VjUMG51u878jzZcaT5XhuN/zFg6PWJFnl/qB2Y2j7eMWnvCRP7Kp+ua2H36cG4g==} engines: {node: '>=12.0.0'} @@ -4607,10 +4411,6 @@ packages: merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - merkle-patricia-tree@4.2.4: resolution: {integrity: sha512-eHbf/BG6eGNsqqfbLED9rIqbsF4+sykEaBn6OLNs71tjclbMcMOk1tEPmJKcNcNCLkvbpY/lwyOlizWsqPNo8w==} @@ -4684,10 +4484,6 @@ packages: micromark@3.2.0: resolution: {integrity: sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==} - micromatch@4.0.8: - resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} - engines: {node: '>=8.6'} - mime-db@1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} @@ -4733,10 +4529,6 @@ packages: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} - minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} - engines: {node: '>=16 || 14 >=14.17'} - minimatch@9.0.5: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} @@ -4910,9 +4702,6 @@ packages: resolution: {integrity: sha512-1dj4ET34TfEes0+josVLvwpJe337Jk6txd3XUjVmVs3budSo2eEjvN6pX4myYE1pS4x/k2Av57n/ypRl2u++AQ==} engines: {node: '>= 10'} - natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} @@ -5060,10 +4849,6 @@ packages: resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==} engines: {node: '>=18'} - optionator@0.9.4: - resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} - engines: {node: '>= 0.8.0'} - ora@8.1.1: resolution: {integrity: sha512-YWielGi1XzG1UTvOaCFaNgEnuhZVMSHYkW/FQ7UX8O26PtlpdM84c0f7wLPlkvx2RfiQmnzd61d/MGxmpQeJPw==} engines: {node: '>=18'} @@ -5106,10 +4891,6 @@ packages: pako@2.1.0: resolution: {integrity: sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==} - parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - parse-headers@2.0.5: resolution: {integrity: sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA==} @@ -5164,10 +4945,6 @@ packages: path-to-regexp@0.1.10: resolution: {integrity: sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==} - path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - pathe@1.1.2: resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} @@ -5268,10 +5045,6 @@ packages: engines: {node: '>=10'} hasBin: true - prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} - prettier-plugin-jsdoc@0.3.38: resolution: {integrity: sha512-h81ZV/nFk5gr3fzWMWzWoz/M/8FneAZxscT7DVSy+5jMIuWYnBFZfSswVKYZyTaZ5r6+6k4hpFTDWhRp85C1tg==} engines: {node: '>=12.0.0'} @@ -5359,9 +5132,6 @@ packages: querystringify@2.2.0: resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} - queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - quick-format-unescaped@4.0.4: resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} @@ -5463,10 +5233,6 @@ packages: resolve-alpn@1.2.1: resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} - resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} - resolve-from@5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} @@ -5489,10 +5255,6 @@ packages: resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} engines: {node: '>= 4'} - reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} deprecated: Rimraf versions prior to v4 are no longer supported @@ -5528,9 +5290,6 @@ packages: resolution: {integrity: sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==} engines: {node: '>=0.12.0'} - run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - rxjs@6.6.7: resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==} engines: {npm: '>=2.0.0'} @@ -5671,10 +5430,6 @@ packages: resolution: {integrity: sha512-BPwJGUeDaDCHihkORDchNyyTvWFhcusy1XMmhEVTQTwGeybFbp8YEmB+njbPnth1FibULBSBVwCQni25XlCUDg==} engines: {node: '>=18'} - slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - slice-ansi@5.0.0: resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} engines: {node: '>=12'} @@ -5871,9 +5626,6 @@ packages: resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} engines: {node: '>=10'} - text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} @@ -5974,12 +5726,6 @@ packages: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} hasBin: true - ts-api-utils@1.4.0: - resolution: {integrity: sha512-032cPxaEKwM+GT3vA5JXNzIaizx388rhsSW79vGRNGXfRRAdEAn2mvk36PvK5HnOchyWZ7afLEXqYCvPCrzuzQ==} - engines: {node: '>=16'} - peerDependencies: - typescript: '>=4.2.0' - ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} @@ -6048,10 +5794,6 @@ packages: tweetnacl@1.0.3: resolution: {integrity: sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==} - type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} - type-detect@4.1.0: resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==} engines: {node: '>=4'} @@ -6060,10 +5802,6 @@ packages: resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} engines: {node: '>=10'} - type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} @@ -6570,10 +6308,6 @@ packages: engines: {node: '>= 0.10.0'} hasBin: true - word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} - wordwrap@1.0.0: resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} @@ -6872,6 +6606,41 @@ snapshots: dependencies: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@biomejs/biome@1.9.4': + optionalDependencies: + '@biomejs/cli-darwin-arm64': 1.9.4 + '@biomejs/cli-darwin-x64': 1.9.4 + '@biomejs/cli-linux-arm64': 1.9.4 + '@biomejs/cli-linux-arm64-musl': 1.9.4 + '@biomejs/cli-linux-x64': 1.9.4 + '@biomejs/cli-linux-x64-musl': 1.9.4 + '@biomejs/cli-win32-arm64': 1.9.4 + '@biomejs/cli-win32-x64': 1.9.4 + + '@biomejs/cli-darwin-arm64@1.9.4': + optional: true + + '@biomejs/cli-darwin-x64@1.9.4': + optional: true + + '@biomejs/cli-linux-arm64-musl@1.9.4': + optional: true + + '@biomejs/cli-linux-arm64@1.9.4': + optional: true + + '@biomejs/cli-linux-x64-musl@1.9.4': + optional: true + + '@biomejs/cli-linux-x64@1.9.4': + optional: true + + '@biomejs/cli-win32-arm64@1.9.4': + optional: true + + '@biomejs/cli-win32-x64@1.9.4': + optional: true + '@colors/colors@1.5.0': optional: true @@ -7126,29 +6895,6 @@ snapshots: '@esbuild/win32-x64@0.24.0': optional: true - '@eslint-community/eslint-utils@4.4.1(eslint@8.57.0)': - dependencies: - eslint: 8.57.0 - eslint-visitor-keys: 3.4.3 - - '@eslint-community/regexpp@4.12.1': {} - - '@eslint/eslintrc@2.1.4': - dependencies: - ajv: 6.12.6 - debug: 4.3.7(supports-color@8.1.1) - espree: 9.6.1 - globals: 13.24.0 - ignore: 5.3.2 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - - '@eslint/js@8.57.0': {} - '@ethereumjs/common@2.6.5': dependencies: crc-32: 1.2.2 @@ -7315,18 +7061,6 @@ snapshots: '@gar/promisify@1.1.3': optional: true - '@humanwhocodes/config-array@0.11.14': - dependencies: - '@humanwhocodes/object-schema': 2.0.3 - debug: 4.3.7(supports-color@8.1.1) - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - - '@humanwhocodes/module-importer@1.0.1': {} - - '@humanwhocodes/object-schema@2.0.3': {} - '@inquirer/checkbox@4.0.3(@types/node@22.10.1)': dependencies: '@inquirer/core': 10.1.1(@types/node@22.10.1) @@ -7846,18 +7580,6 @@ snapshots: '@noble/secp256k1@1.7.1': {} - '@nodelib/fs.scandir@2.1.5': - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - - '@nodelib/fs.stat@2.0.5': {} - - '@nodelib/fs.walk@1.2.8': - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.17.1 - '@npmcli/fs@1.1.1': dependencies: '@gar/promisify': 1.1.3 @@ -10297,8 +10019,6 @@ snapshots: '@types/json-bigint@1.0.4': {} - '@types/json-schema@7.0.15': {} - '@types/keyv@3.1.4': dependencies: '@types/node': 22.10.1 @@ -10383,94 +10103,6 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3)': - dependencies: - '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/type-utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.7(supports-color@8.1.1) - eslint: 8.57.0 - graphemer: 1.4.0 - ignore: 5.3.2 - natural-compare: 1.4.0 - semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3)': - dependencies: - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.7(supports-color@8.1.1) - eslint: 8.57.0 - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/scope-manager@7.5.0': - dependencies: - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/visitor-keys': 7.5.0 - - '@typescript-eslint/type-utils@7.5.0(eslint@8.57.0)(typescript@5.6.3)': - dependencies: - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) - '@typescript-eslint/utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - debug: 4.3.7(supports-color@8.1.1) - eslint: 8.57.0 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/types@7.5.0': {} - - '@typescript-eslint/typescript-estree@7.5.0(typescript@5.6.3)': - dependencies: - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.7(supports-color@8.1.1) - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.3 - semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/utils@7.5.0(eslint@8.57.0)(typescript@5.6.3)': - dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) - eslint: 8.57.0 - semver: 7.6.3 - transitivePeerDependencies: - - supports-color - - typescript - - '@typescript-eslint/visitor-keys@7.5.0': - dependencies: - '@typescript-eslint/types': 7.5.0 - eslint-visitor-keys: 3.4.3 - - '@ungap/structured-clone@1.2.0': {} - '@unique-nft/opal-testnet-types@1003.70.0(@polkadot/api@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(@polkadot/types@14.3.1)': dependencies: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -10642,10 +10274,6 @@ snapshots: mime-types: 2.1.35 negotiator: 0.6.3 - acorn-jsx@5.3.2(acorn@8.14.0): - dependencies: - acorn: 8.14.0 - acorn-walk@8.3.4: dependencies: acorn: 8.14.0 @@ -10731,8 +10359,6 @@ snapshots: array-flatten@1.1.1: {} - array-union@2.1.0: {} - asap@2.0.6: {} asn1@0.2.6: @@ -10840,6 +10466,7 @@ snapshots: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 + optional: true brace-expansion@2.0.1: dependencies: @@ -10945,8 +10572,6 @@ snapshots: get-intrinsic: 1.2.4 set-function-length: 1.2.2 - callsites@3.1.0: {} - camelcase@5.3.1: {} camelcase@6.3.0: {} @@ -11141,7 +10766,8 @@ snapshots: complex.js@2.4.2: {} - concat-map@0.0.1: {} + concat-map@0.0.1: + optional: true config-chain@1.1.13: dependencies: @@ -11292,8 +10918,6 @@ snapshots: deep-extend@0.6.0: {} - deep-is@0.1.4: {} - deepmerge-ts@7.1.3: {} defer-to-connect@2.0.1: {} @@ -11342,14 +10966,6 @@ snapshots: diff@5.2.0: {} - dir-glob@3.0.1: - dependencies: - path-type: 4.0.0 - - doctrine@3.0.0: - dependencies: - esutils: 2.0.3 - dom-walk@0.1.2: {} dotenv@16.4.5: {} @@ -11568,65 +11184,6 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0): - dependencies: - eslint: 8.57.0 - eslint-rule-composer: 0.3.0 - optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) - - eslint-rule-composer@0.3.0: {} - - eslint-scope@7.2.2: - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - - eslint-visitor-keys@3.4.3: {} - - eslint@8.57.0: - dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.0) - '@eslint-community/regexpp': 4.12.1 - '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.57.0 - '@humanwhocodes/config-array': 0.11.14 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.2.0 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.5 - debug: 4.3.7(supports-color@8.1.1) - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.6.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.24.0 - graphemer: 1.4.0 - ignore: 5.3.2 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.4 - strip-ansi: 6.0.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - esniff@2.0.1: dependencies: d: 1.0.2 @@ -11634,28 +11191,10 @@ snapshots: event-emitter: 0.3.5 type: 2.7.3 - espree@9.6.1: - dependencies: - acorn: 8.14.0 - acorn-jsx: 5.3.2(acorn@8.14.0) - eslint-visitor-keys: 3.4.3 - - esquery@1.6.0: - dependencies: - estraverse: 5.3.0 - - esrecurse@4.3.0: - dependencies: - estraverse: 5.3.0 - - estraverse@5.3.0: {} - estree-walker@3.0.3: dependencies: '@types/estree': 1.0.6 - esutils@2.0.3: {} - etag@1.8.1: {} eth-ens-namehash@2.0.8: @@ -11864,28 +11403,14 @@ snapshots: fast-deep-equal@3.1.3: {} - fast-glob@3.3.2: - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.8 - fast-json-stable-stringify@2.1.0: {} - fast-levenshtein@2.0.6: {} - fast-redact@3.5.0: {} fast-safe-stringify@2.1.1: {} fast-sha256@1.3.0: {} - fastq@1.17.1: - dependencies: - reusify: 1.0.4 - fdir@6.4.2(picomatch@4.0.2): optionalDependencies: picomatch: 4.0.2 @@ -11906,10 +11431,6 @@ snapshots: dependencies: is-unicode-supported: 2.1.0 - file-entry-cache@6.0.1: - dependencies: - flat-cache: 3.2.0 - file-uri-to-path@1.0.0: {} fill-range@7.1.1: @@ -11933,12 +11454,6 @@ snapshots: locate-path: 6.0.0 path-exists: 4.0.0 - flat-cache@3.2.0: - dependencies: - flatted: 3.3.1 - keyv: 4.5.4 - rimraf: 3.0.2 - flat@5.0.2: {} flatted@3.3.1: {} @@ -12068,10 +11583,6 @@ snapshots: dependencies: is-glob: 4.0.3 - glob-parent@6.0.2: - dependencies: - is-glob: 4.0.3 - glob@10.4.5: dependencies: foreground-child: 3.3.0 @@ -12089,6 +11600,7 @@ snapshots: minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 + optional: true glob@8.1.0: dependencies: @@ -12112,24 +11624,11 @@ snapshots: min-document: 2.19.0 process: 0.11.10 - globals@13.24.0: - dependencies: - type-fest: 0.20.2 - globalthis@1.0.4: dependencies: define-properties: 1.2.1 gopd: 1.0.1 - globby@11.1.0: - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.3.2 - ignore: 5.3.2 - merge2: 1.4.1 - slash: 3.0.0 - gopd@1.0.1: dependencies: get-intrinsic: 1.2.4 @@ -12170,8 +11669,6 @@ snapshots: graceful-readlink@1.0.1: {} - graphemer@1.4.0: {} - handlebars@4.7.8: dependencies: minimist: 1.2.8 @@ -12324,17 +11821,10 @@ snapshots: ieee754@1.2.1: {} - ignore@5.3.2: {} - immediate@3.2.3: {} immediate@3.3.0: {} - import-fresh@3.3.0: - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - imurmurhash@0.1.4: {} indent-string@4.0.0: @@ -12471,8 +11961,6 @@ snapshots: is-number@7.0.0: {} - is-path-inside@3.0.3: {} - is-plain-obj@2.1.0: {} is-plain-obj@4.1.0: {} @@ -12583,8 +12071,6 @@ snapshots: json-schema@0.4.0: {} - json-stable-stringify-without-jsonify@1.0.1: {} - json-stable-stringify@1.1.1: dependencies: call-bind: 1.0.7 @@ -12682,11 +12168,6 @@ snapshots: level-supports: 1.0.1 xtend: 4.0.2 - levn@0.4.1: - dependencies: - prelude-ls: 1.2.1 - type-check: 0.4.0 - libp2p-crypto@0.21.2: dependencies: '@noble/ed25519': 1.7.3 @@ -12859,8 +12340,6 @@ snapshots: merge-stream@2.0.0: {} - merge2@1.4.1: {} - merkle-patricia-tree@4.2.4: dependencies: '@types/levelup': 4.3.3 @@ -13007,11 +12486,6 @@ snapshots: transitivePeerDependencies: - supports-color - micromatch@4.0.8: - dependencies: - braces: 3.0.3 - picomatch: 2.3.1 - mime-db@1.52.0: {} mime-types@2.1.35: @@ -13039,15 +12513,12 @@ snapshots: minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 + optional: true minimatch@5.1.6: dependencies: brace-expansion: 2.0.1 - minimatch@9.0.3: - dependencies: - brace-expansion: 2.0.1 - minimatch@9.0.5: dependencies: brace-expansion: 2.0.1 @@ -13225,8 +12696,6 @@ snapshots: napi-maybe-compressed-blob-linux-arm64-gnu: 0.0.11 napi-maybe-compressed-blob-linux-x64-gnu: 0.0.11 - natural-compare@1.4.0: {} - negotiator@0.6.3: {} negotiator@0.6.4: @@ -13377,15 +12846,6 @@ snapshots: dependencies: mimic-function: 5.0.1 - optionator@0.9.4: - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.4.1 - prelude-ls: 1.2.1 - type-check: 0.4.0 - word-wrap: 1.2.5 - ora@8.1.1: dependencies: chalk: 5.3.0 @@ -13435,10 +12895,6 @@ snapshots: pako@2.1.0: {} - parent-module@1.0.1: - dependencies: - callsites: 3.1.0 - parse-headers@2.0.5: {} parse-json@8.1.0: @@ -13467,7 +12923,8 @@ snapshots: path-exists@4.0.0: {} - path-is-absolute@1.0.1: {} + path-is-absolute@1.0.1: + optional: true path-key@3.1.1: {} @@ -13480,8 +12937,6 @@ snapshots: path-to-regexp@0.1.10: {} - path-type@4.0.0: {} - pathe@1.1.2: {} pathval@1.1.1: {} @@ -13673,8 +13128,6 @@ snapshots: tar-fs: 2.1.1 tunnel-agent: 0.6.0 - prelude-ls@1.2.1: {} - prettier-plugin-jsdoc@0.3.38(prettier@2.8.8): dependencies: binary-searching: 2.0.5 @@ -13765,8 +13218,6 @@ snapshots: querystringify@2.2.0: {} - queue-microtask@1.2.3: {} - quick-format-unescaped@4.0.4: {} quick-lru@5.1.1: {} @@ -13887,8 +13338,6 @@ snapshots: resolve-alpn@1.2.1: {} - resolve-from@4.0.0: {} - resolve-from@5.0.0: {} resolve-pkg-maps@1.0.0: {} @@ -13910,11 +13359,10 @@ snapshots: retry@0.12.0: optional: true - reusify@1.0.4: {} - rimraf@3.0.2: dependencies: glob: 7.2.3 + optional: true ripemd160@2.0.2: dependencies: @@ -13966,10 +13414,6 @@ snapshots: run-async@3.0.0: {} - run-parallel@1.2.0: - dependencies: - queue-microtask: 1.2.3 - rxjs@6.6.7: dependencies: tslib: 1.14.1 @@ -14129,8 +13573,6 @@ snapshots: mrmime: 2.0.0 totalist: 3.0.1 - slash@3.0.0: {} - slice-ansi@5.0.0: dependencies: ansi-styles: 6.2.1 @@ -14403,8 +13845,6 @@ snapshots: mkdirp: 1.0.4 yallist: 4.0.0 - text-table@0.2.0: {} - thenify-all@1.6.0: dependencies: thenify: 3.3.1 @@ -14491,10 +13931,6 @@ snapshots: tree-kill@1.2.2: {} - ts-api-utils@1.4.0(typescript@5.6.3): - dependencies: - typescript: 5.6.3 - ts-interface-checker@0.1.13: {} ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3): @@ -14623,16 +14059,10 @@ snapshots: tweetnacl@1.0.3: {} - type-check@0.4.0: - dependencies: - prelude-ls: 1.2.1 - type-detect@4.1.0: {} type-fest@0.13.1: {} - type-fest@0.20.2: {} - type-fest@0.21.3: {} type-fest@4.29.0: {} @@ -15374,8 +14804,6 @@ snapshots: define-property: 1.0.0 is-number: 3.0.0 - word-wrap@1.2.5: {} - wordwrap@1.0.0: {} workerpool@6.5.1: {} diff --git a/precompiles/identity/src/lib.rs b/precompiles/identity/src/lib.rs index 74ba4e7f2d..b5246100f2 100644 --- a/precompiles/identity/src/lib.rs +++ b/precompiles/identity/src/lib.rs @@ -86,13 +86,11 @@ where // Note: addRegistrar(address) & killIdentity(address) are not supported since they use a // force origin. - // editorconfig-checker-disable #[precompile::public("setIdentity((((bool,bytes),(bool,bytes))[],(bool,bytes),(bool,bytes),(bool,bytes),(bool,bytes),(bool,bytes),bool,bytes,(bool,bytes),(bool,bytes)))")] fn set_identity( handle: &mut impl PrecompileHandle, info: IdentityInfo, ) -> EvmResult { - // editorconfig-checker-enable let caller = handle.context().caller; let event = log1( diff --git a/runtime/moonbase/tests/integration_test.rs b/runtime/moonbase/tests/integration_test.rs index e03577dde3..9cc5ef1a25 100644 --- a/runtime/moonbase/tests/integration_test.rs +++ b/runtime/moonbase/tests/integration_test.rs @@ -1776,7 +1776,6 @@ fn length_fee_is_sensible() { .len_fee }; - // editorconfig-checker-disable // left: cost of length fee, right: size in bytes // /------------- proportional component: O(N * 1B) // | /- exponential component: O(N ** 3) @@ -1790,7 +1789,6 @@ fn length_fee_is_sensible() { assert_eq!( 1_001_000_000_000_000_000, calc_fee(1_000_000)); // one UNIT, ~ 1MB assert_eq!( 1_000_010_000_000_000_000_000, calc_fee(10_000_000)); assert_eq!(1_000_000_100_000_000_000_000_000, calc_fee(100_000_000)); - // editorconfig-checker-enable }); } diff --git a/runtime/moonbeam/tests/integration_test.rs b/runtime/moonbeam/tests/integration_test.rs index 0dc042db5e..c56a3c2da1 100644 --- a/runtime/moonbeam/tests/integration_test.rs +++ b/runtime/moonbeam/tests/integration_test.rs @@ -1317,7 +1317,6 @@ fn length_fee_is_sensible() { .len_fee }; - // editorconfig-checker-disable // left: cost of length fee, right: size in bytes // /------------- proportional component: O(N * 1B) // | /- exponential component: O(N ** 3) @@ -1331,7 +1330,6 @@ fn length_fee_is_sensible() { assert_eq!( 100_100_000_000_000_000_000, calc_fee(1_000_000)); // 100 GLMR, ~ 1MB assert_eq!( 100_001_000_000_000_000_000_000, calc_fee(10_000_000)); assert_eq!(100_000_010_000_000_000_000_000_000, calc_fee(100_000_000)); - // editorconfig-checker-enable }); } diff --git a/runtime/moonriver/tests/integration_test.rs b/runtime/moonriver/tests/integration_test.rs index 37bcd6b0f1..66787031e1 100644 --- a/runtime/moonriver/tests/integration_test.rs +++ b/runtime/moonriver/tests/integration_test.rs @@ -1303,7 +1303,6 @@ fn length_fee_is_sensible() { .len_fee }; - // editorconfig-checker-disable // left: cost of length fee, right: size in bytes // /------------- proportional component: O(N * 1B) // | /- exponential component: O(N ** 3) @@ -1317,7 +1316,6 @@ fn length_fee_is_sensible() { assert_eq!( 1_001_000_000_000_000_000, calc_fee(1_000_000)); // one MOVR, ~ 1MB assert_eq!( 1_000_010_000_000_000_000_000, calc_fee(10_000_000)); assert_eq!(1_000_000_100_000_000_000_000_000, calc_fee(100_000_000)); - // editorconfig-checker-enable }); } diff --git a/test/.eslintrc.cjs b/test/.eslintrc.cjs deleted file mode 100644 index 40514289ac..0000000000 --- a/test/.eslintrc.cjs +++ /dev/null @@ -1,30 +0,0 @@ -module.exports = { - env: { - es2021: true, - node: true, - }, - extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"], - overrides: [ - { - env: { - node: true, - }, - files: [".eslintrc.{js,cjs}"], - parserOptions: { - sourceType: "script", - }, - }, - ], - parser: "@typescript-eslint/parser", - parserOptions: { - ecmaVersion: "latest", - sourceType: "module", - }, - plugins: ["@typescript-eslint", "unused-imports"], - rules: { - "@typescript-eslint/no-explicit-any": "off", - "no-async-promise-executor": "off", - "@typescript-eslint/no-unused-vars": "off", - "unused-imports/no-unused-imports-ts": "error", - }, -}; \ No newline at end of file diff --git a/test/biome.json b/test/biome.json new file mode 100644 index 0000000000..6640232a64 --- /dev/null +++ b/test/biome.json @@ -0,0 +1,9 @@ +{ + "extends": [ + "../biome.json" + ], + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "files": { + "ignore": ["html"] + } +} \ No newline at end of file diff --git a/test/helpers/accounts.ts b/test/helpers/accounts.ts index 5f6ec333d6..f03eb4b727 100644 --- a/test/helpers/accounts.ts +++ b/test/helpers/accounts.ts @@ -1,5 +1,11 @@ -import { DevModeContext } from "@moonwall/cli"; -import { GLMR, KeyringPair, MIN_GLMR_STAKING, alith, generateKeyringPair } from "@moonwall/util"; +import type { DevModeContext } from "@moonwall/cli"; +import { + GLMR, + type KeyringPair, + MIN_GLMR_STAKING, + alith, + generateKeyringPair, +} from "@moonwall/util"; export async function createAccounts( context: DevModeContext, diff --git a/test/helpers/assets.ts b/test/helpers/assets.ts index 9cb3389cfc..bccdc750b6 100644 --- a/test/helpers/assets.ts +++ b/test/helpers/assets.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment/moonbase"; -import { u128 } from "@polkadot/types"; +import type { u128 } from "@polkadot/types"; import { BN, hexToU8a, u8aToHex } from "@polkadot/util"; -import { expect, DevModeContext } from "@moonwall/cli"; +import { expect, type DevModeContext } from "@moonwall/cli"; import { blake2AsU8a, xxhashAsU8a } from "@polkadot/util-crypto"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails, @@ -70,29 +70,30 @@ export function assetContractAddress(assetId: bigint | string): `0x${string}` { } export const patchLocationV4recursively = (value: any) => { + let result = value; // e.g. Convert this: { X1: { Parachain: 1000 } } to { X1: [ { Parachain: 1000 } ] } // Also, will remove the Xcm key if it exists. - if (value && value.Xcm !== undefined) { - value = value.Xcm; + if (result && result.Xcm !== undefined) { + result = result.Xcm; } - if (value && typeof value == "object") { - if (Array.isArray(value)) { - return value.map(patchLocationV4recursively); + if (result && typeof result === "object") { + if (Array.isArray(result)) { + return result.map(patchLocationV4recursively); } - for (const k of Object.keys(value)) { + for (const k of Object.keys(result)) { if (k === "Concrete" || k === "Abstract") { - return patchLocationV4recursively(value[k]); + return patchLocationV4recursively(result[k]); } - if (k.match(/^[Xx]\d$/g) && !Array.isArray(value[k])) { - value[k] = Object.entries(value[k]).map(([k, v]) => ({ + if (k.match(/^[Xx]\d$/g) && !Array.isArray(result[k])) { + result[k] = Object.entries(result[k]).map(([k, v]) => ({ [k]: patchLocationV4recursively(v), })); } else { - value[k] = patchLocationV4recursively(value[k]); + result[k] = patchLocationV4recursively(result[k]); } } } - return value; + return result; }; const runtimeApi = { @@ -243,7 +244,7 @@ function getSupportedAssetStorageKey(asset: any, context: any) { export async function addAssetToWeightTrader(asset: any, relativePrice: bigint, context: any) { const assetV4 = patchLocationV4recursively(asset.Xcm); - if (relativePrice == 0n) { + if (relativePrice === 0n) { const addAssetWithPlaceholderPrice = context .polkadotJs() .tx.sudo.sudo(context.polkadotJs().tx.xcmWeightTrader.addAsset(assetV4, 1n)); @@ -397,7 +398,7 @@ export async function registerForeignAsset( const { decimals, name, symbol } = metadata; // Sanitize Xcm Location - xcmLocation = patchLocationV4recursively(xcmLocation); + const xcmLoc = patchLocationV4recursively(xcmLocation); const { result } = await context.createBlock( context @@ -405,7 +406,7 @@ export async function registerForeignAsset( .tx.sudo.sudo( context .polkadotJs() - .tx.evmForeignAssets.createForeignAsset(assetId, xcmLocation, decimals, symbol, name) + .tx.evmForeignAssets.createForeignAsset(assetId, xcmLoc, decimals, symbol, name) ) ); @@ -547,9 +548,9 @@ export async function mockOldAssetBalance( // Get keys to modify total supply & dummyCode (TODO: remove once dummy code inserted by node) const assetKey = xxhashAsU8a(new TextEncoder().encode("Asset"), 128); const overallAssetKey = new Uint8Array([...module, ...assetKey, ...blake2concatAssetId]); - const evmCodeAssetKey = api.query.evm.accountCodes.key("0xFfFFfFff" + assetId.toHex().slice(2)); + const evmCodeAssetKey = api.query.evm.accountCodes.key(`0xFfFFfFff${assetId.toHex().slice(2)}`); const evmCodesMetadataAssetKey = api.query.evm.accountCodesMetadata.key( - "0xFfFFfFff" + assetId.toHex().slice(2) + `0xFfFFfFff${assetId.toHex().slice(2)}` ); const codeSize = DUMMY_REVERT_BYTECODE.slice(2).length / 2; diff --git a/test/helpers/block.ts b/test/helpers/block.ts index c8f3ac0e78..a2ab88991f 100644 --- a/test/helpers/block.ts +++ b/test/helpers/block.ts @@ -1,21 +1,21 @@ import "@moonbeam-network/api-augment/moonbase"; -import { DevModeContext, expect } from "@moonwall/cli"; +import { type DevModeContext, expect } from "@moonwall/cli"; import { - BlockRangeOption, + type BlockRangeOption, EXTRINSIC_BASE_WEIGHT, WEIGHT_PER_GAS, calculateFeePortions, mapExtrinsics, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import type { TxWithEvent } from "@polkadot/api-derive/types"; -import { Option, u128, u32 } from "@polkadot/types"; +import type { Option, u128, u32 } from "@polkadot/types"; import type { ITuple } from "@polkadot/types-codec/types"; -import { BlockHash, DispatchInfo, RuntimeDispatchInfo } from "@polkadot/types/interfaces"; +import type { BlockHash, DispatchInfo, RuntimeDispatchInfo } from "@polkadot/types/interfaces"; import type { RuntimeDispatchInfoV1 } from "@polkadot/types/interfaces/payment"; import type { AccountId20, Block } from "@polkadot/types/interfaces/runtime/types"; import chalk from "chalk"; -import { Debugger } from "debug"; +import type { Debugger } from "debug"; import Debug from "debug"; const debug = Debug("test:blocks"); @@ -47,9 +47,10 @@ const getBlockDetails = async ( const fees = await Promise.all( block.extrinsics.map(async (ext) => - ( - await api.at(block.header.parentHash) - ).call.transactionPaymentApi.queryInfo(ext.toU8a(), ext.encodedLength) + (await api.at(block.header.parentHash)).call.transactionPaymentApi.queryInfo( + ext.toU8a(), + ext.encodedLength + ) ) ); @@ -120,10 +121,10 @@ export const verifyBlockFees = async ( // This hash will only exist if the transaction was executed through ethereum. let ethereumAddress = ""; - if (extrinsic.method.section == "ethereum") { + if (extrinsic.method.section === "ethereum") { // Search for ethereum execution events.forEach((event) => { - if (event.section == "ethereum" && event.method == "Executed") { + if (event.section === "ethereum" && event.method === "Executed") { ethereumAddress = event.data[0].toString(); } }); @@ -131,7 +132,7 @@ export const verifyBlockFees = async ( // Payment event is submitted for substrate transactions const paymentEvent = events.find( - (event) => event.section == "transactionPayment" && event.method == "TransactionFeePaid" + (event) => event.section === "transactionPayment" && event.method === "TransactionFeePaid" ); let txFees = 0n; @@ -144,7 +145,7 @@ export const verifyBlockFees = async ( api.events.system.ExtrinsicFailed.is(event) ) { const dispatchInfo = - event.method == "ExtrinsicSuccess" + event.method === "ExtrinsicSuccess" ? (event.data[0] as DispatchInfo) : (event.data[1] as DispatchInfo); @@ -152,9 +153,9 @@ export const verifyBlockFees = async ( // Either ethereum transactions or signed extrinsics with fees (substrate tx) if ( (dispatchInfo.paysFee.isYes && !extrinsic.signer.isEmpty) || - extrinsic.method.section == "ethereum" + extrinsic.method.section === "ethereum" ) { - if (extrinsic.method.section == "ethereum") { + if (extrinsic.method.section === "ethereum") { // For Ethereum tx we caluculate fee by first converting weight to gas const gasUsed = (dispatchInfo as any).weight.refTime.toBigInt() / WEIGHT_PER_GAS; const ethTxWrapper = extrinsic.method.args[0] as any; @@ -308,7 +309,8 @@ export async function jumpToRound(context: DevModeContext, round: number): Promi ).current.toNumber(); if (currentRound === round) { return lastBlockHash; - } else if (currentRound > round) { + } + if (currentRound > round) { return null; } @@ -317,9 +319,10 @@ export async function jumpToRound(context: DevModeContext, round: number): Promi } export async function jumpBlocks(context: DevModeContext, blockCount: number) { - while (blockCount > 0) { + let blocksToCreate = blockCount; + while (blocksToCreate > 0) { (await context.createBlock()).block.hash.toString(); - blockCount--; + blocksToCreate--; } } @@ -350,7 +353,8 @@ export function extractPreimageDeposit( accountId: deposit.unwrap()[0].toHex(), amount: deposit.unwrap()[1], }; - } else if ("isNone" in deposit && deposit.isNone) { + } + if ("isNone" in deposit && deposit.isNone) { return undefined; } diff --git a/test/helpers/common.ts b/test/helpers/common.ts index a46cc9abaa..65abc49a3a 100644 --- a/test/helpers/common.ts +++ b/test/helpers/common.ts @@ -1,8 +1,8 @@ -import { DevModeContext, importJsonConfig } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; -import { u32 } from "@polkadot/types"; +import { type DevModeContext, importJsonConfig } from "@moonwall/cli"; +import type { ApiPromise } from "@polkadot/api"; +import type { u32 } from "@polkadot/types"; import { EXTRINSIC_VERSION } from "@polkadot/types/extrinsic/v4/Extrinsic"; -import { createMetadata, KeyringPair, OptionsWithMeta } from "@substrate/txwrapper-core"; +import { createMetadata, type KeyringPair, type OptionsWithMeta } from "@substrate/txwrapper-core"; import Bottleneck from "bottleneck"; export function rateLimiter(options?: Bottleneck.ConstructorOptions) { @@ -53,7 +53,7 @@ export async function getMappingInfo(context: DevModeContext, authorId: string) export async function getProviderPath() { const globalConfig = await importJsonConfig(); - const env = globalConfig.environments.find(({ name }) => name == process.env.MOON_TEST_ENV)!; + const env = globalConfig.environments.find(({ name }) => name === process.env.MOON_TEST_ENV)!; return env.connections ? env.connections[0].endpoints[0].replace("ws://", "http://") : `http://127.0.0.1:${10000 + Number(process.env.VITEST_POOL_ID || 1) * 100}`; diff --git a/test/helpers/constants.ts b/test/helpers/constants.ts index d729a87420..fe892ca3ef 100644 --- a/test/helpers/constants.ts +++ b/test/helpers/constants.ts @@ -1,11 +1,11 @@ // constants.ts - Any common values here should be moved to moonwall if suitable +import type { GenericContext } from "@moonwall/cli"; import { ALITH_GENESIS_FREE_BALANCE, ALITH_GENESIS_LOCK_BALANCE, ALITH_GENESIS_RESERVE_BALANCE, } from "@moonwall/util"; -import { GenericContext } from "@moonwall/types/dist/types/runner"; const KILOWEI = 1_000n; diff --git a/test/helpers/contracts.ts b/test/helpers/contracts.ts index dac654068a..8be231f552 100644 --- a/test/helpers/contracts.ts +++ b/test/helpers/contracts.ts @@ -1,4 +1,4 @@ -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; export interface HeavyContract { diff --git a/test/helpers/crowdloan.ts b/test/helpers/crowdloan.ts index e0a4a485ee..48ac36ecad 100644 --- a/test/helpers/crowdloan.ts +++ b/test/helpers/crowdloan.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; import { VESTING_PERIOD } from "./constants.js"; export async function calculate_vested_amount( diff --git a/test/helpers/eth-transactions.ts b/test/helpers/eth-transactions.ts index c9837c9aa5..df0e414797 100644 --- a/test/helpers/eth-transactions.ts +++ b/test/helpers/eth-transactions.ts @@ -1,13 +1,14 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext, expect } from "@moonwall/cli"; -import { EventRecord } from "@polkadot/types/interfaces"; -import { +import { type DevModeContext, expect } from "@moonwall/cli"; +import type { EventRecord } from "@polkadot/types/interfaces"; +import type { EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, } from "@polkadot/types/lookup"; +import assert from "node:assert"; import { fromHex } from "viem"; export type Errors = { @@ -18,7 +19,10 @@ export type Errors = { }; export async function extractRevertReason(context: DevModeContext, responseHash: string) { - const tx = (await context.ethers().provider!.getTransaction(responseHash))!; + const tx = await context.ethers().provider?.getTransaction(responseHash); + + assert(tx, "Transaction not found"); + try { await context.ethers().call({ to: tx.to, data: tx.data, gasLimit: tx.gasLimit }); return null; @@ -33,18 +37,18 @@ export function expectEVMResult( resultType: Type, reason?: T[Type] ) { - expect(events, `Missing events, probably failed execution`).to.be.length.at.least(1); + expect(events, "Missing events, probably failed execution").to.be.length.at.least(1); const ethereumResult = events.find( - ({ event: { section, method } }) => section == "ethereum" && method == "Executed" + ({ event: { section, method } }) => section === "ethereum" && method === "Executed" )!.event.data[3] as EvmCoreErrorExitReason; const foundReason = ethereumResult.isError ? ethereumResult.asError.type : ethereumResult.isFatal - ? ethereumResult.asFatal.type - : ethereumResult.isRevert - ? ethereumResult.asRevert.type - : ethereumResult.asSucceed.type; + ? ethereumResult.asFatal.type + : ethereumResult.isRevert + ? ethereumResult.asRevert.type + : ethereumResult.asSucceed.type; expect( ethereumResult.type, diff --git a/test/helpers/expect.ts b/test/helpers/expect.ts index 146a004d6e..212679b822 100644 --- a/test/helpers/expect.ts +++ b/test/helpers/expect.ts @@ -1,12 +1,12 @@ -import { BlockCreationResponse, expect } from "@moonwall/cli"; +import { type BlockCreationResponse, expect } from "@moonwall/cli"; import type { EventRecord } from "@polkadot/types/interfaces"; -import { +import type { ApiTypes, AugmentedEvent, AugmentedEvents, SubmittableExtrinsic, } from "@polkadot/api/types"; -import { IEvent } from "@polkadot/types/types"; +import type { IEvent } from "@polkadot/types/types"; export type ExtractTuple

= P extends AugmentedEvent<"rxjs", infer T> ? T : never; @@ -22,7 +22,7 @@ export async function expectOk< ApiType, // @ts-expect-error TODO: fix this Calls extends Call[] ? Awaited[] : Awaited - > + >, >(call: Promise): Promise { const block = await call; if (Array.isArray(block.result)) { @@ -56,7 +56,7 @@ export function expectSubstrateEvent< Event extends AugmentedEvents, Section extends keyof Event, Method extends keyof Event[Section], - Tuple extends ExtractTuple + Tuple extends ExtractTuple, >( //@ts-expect-error TODO: fix this block: BlockCreationResponse[] : Awaited>, @@ -67,7 +67,7 @@ export function expectSubstrateEvent< if (Array.isArray(block.result)) { block.result.forEach((r) => { const foundEvents = r.events.filter( - ({ event }) => event.section.toString() == section && event.method.toString() == method + ({ event }) => event.section.toString() === section && event.method.toString() === method ); if (foundEvents.length > 0) { expect( @@ -84,7 +84,7 @@ export function expectSubstrateEvent< } else { const foundEvents = (block.result! as any).events!.filter( (item: any) => - item.event.section.toString() == section && item.event.method.toString() == method + item.event.section.toString() === section && item.event.method.toString() === method ); if (foundEvents.length > 0) { expect( @@ -97,10 +97,10 @@ export function expectSubstrateEvent< expect( event, `Event ${section.toString()}.${method.toString()} not found:\n${(Array.isArray(block.result) - ? block.result.map((r) => r.events).flat() + ? block.result.flatMap((r) => r.events) : block.result - ? block.result.events - : [] + ? block.result.events + : [] ) .map(({ event }) => ` - ${event.section.toString()}.${event.method.toString()}\n`) .join("")}` @@ -119,7 +119,7 @@ export function expectSubstrateEvents< Event extends AugmentedEvents, Section extends keyof Event, Method extends keyof Event[Section], - Tuple extends ExtractTuple + Tuple extends ExtractTuple, >( //@ts-expect-error TODO: fix this block: BlockCreationResponse[] : Awaited>, @@ -130,7 +130,7 @@ export function expectSubstrateEvents< if (Array.isArray(block.result)) { block.result.forEach((r) => { const foundEvents = r.events.filter( - ({ event }) => event.section.toString() == section && event.method.toString() == method + ({ event }) => event.section.toString() === section && event.method.toString() === method ); if (foundEvents.length > 0) { events.push(...foundEvents); @@ -139,7 +139,7 @@ export function expectSubstrateEvents< } else { const foundEvents = (block.result! as any).events.filter( (item: any) => - item.event.section.toString() == section && item.event.method.toString() == method + item.event.section.toString() === section && item.event.method.toString() === method ); if (foundEvents.length > 0) { events.push(...foundEvents); diff --git a/test/helpers/foreign-chains.ts b/test/helpers/foreign-chains.ts index 027b28f5bc..da1095e39b 100644 --- a/test/helpers/foreign-chains.ts +++ b/test/helpers/foreign-chains.ts @@ -55,7 +55,8 @@ export const isMuted = (moonbeamNetworkName: MoonbeamNetworkName, paraId: ParaId const currentTime = new Date().getTime(); return match.mutedUntil && match.mutedUntil >= currentTime; - } else return false; + } + return false; }; export const ForeignChainsEndpoints = [ diff --git a/test/helpers/modexp.ts b/test/helpers/modexp.ts index 68511bcd52..5f03fd4669 100644 --- a/test/helpers/modexp.ts +++ b/test/helpers/modexp.ts @@ -1,4 +1,3 @@ -// editorconfig-checker-disable-file export const testVectors = { "nagydani-1-square": { base: "e09ad9675465c53a109fac66a445c91b292d2bb2c5268addb30cd82f80fcb0033ff97c80a5fc6f39193ae969c6ede6710a6b7ac27078a06d90ef1c72e5c85fb5", diff --git a/test/helpers/precompile-contract-calls.ts b/test/helpers/precompile-contract-calls.ts index be9fc195a0..7313982cc6 100644 --- a/test/helpers/precompile-contract-calls.ts +++ b/test/helpers/precompile-contract-calls.ts @@ -1,5 +1,5 @@ -import { BlockCreation, DevModeContext, PrecompileCallOptions } from "@moonwall/cli"; -import { KeyringPair } from "@moonwall/util"; +import type { BlockCreation, DevModeContext, PrecompileCallOptions } from "@moonwall/cli"; +import type { KeyringPair } from "@moonwall/util"; class PrecompileContract { precompileName: string; @@ -36,7 +36,7 @@ class PrecompileContract { } withRawTxOnly(rawTxOnly: boolean) { - if (rawTxOnly == false) { + if (rawTxOnly === false) { this.rawTxOnly = undefined; } return this; @@ -105,28 +105,12 @@ export class PrecompileCall { } class ReadPrecompileCall extends PrecompileCall { - constructor( - params: PrecompileCallOptions, - context: DevModeContext, - blockCreationOptions: BlockCreation - ) { - super(params, context, blockCreationOptions); - } - async tx(): Promise { return await this.context.readPrecompile!(this.params); } } class WritePrecompileCall extends PrecompileCall { - constructor( - params: PrecompileCallOptions, - context: DevModeContext, - blockCreationOptions: BlockCreation - ) { - super(params, context, blockCreationOptions); - } - async tx(): Promise { return await this.context.writePrecompile!(this.params); } diff --git a/test/helpers/precompiles.ts b/test/helpers/precompiles.ts index edfeab3ea2..4e74565ba3 100644 --- a/test/helpers/precompiles.ts +++ b/test/helpers/precompiles.ts @@ -1,4 +1,4 @@ -import { DevModeContext, expect, fetchCompiledContract } from "@moonwall/cli"; +import { type DevModeContext, expect, fetchCompiledContract } from "@moonwall/cli"; import { BALTATHAR_PRIVATE_KEY, CHARLETH_PRIVATE_KEY, @@ -9,7 +9,7 @@ import { charleth, createViemTransaction, } from "@moonwall/util"; -import { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types"; +import type { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types"; import { blake2AsHex } from "@polkadot/util-crypto"; import { encodeFunctionData, parseEther } from "viem"; import { expectEVMResult } from "./eth-transactions.js"; @@ -19,7 +19,7 @@ export const setAuthorMappingKeysViaPrecompile = async ( account: string, privateKey: `0x${string}`, keys: string, - handleFail: boolean = false + handleFail = false ) => { const { abi: authorMappingAbi } = fetchCompiledContract("AuthorMapping"); @@ -59,7 +59,7 @@ export const concatNewKeys = `0x${newKeys.map((key) => key.slice(2)).join("")}`; export const notePreimagePrecompile = async < Call extends SubmittableExtrinsic, - ApiType extends ApiTypes + ApiType extends ApiTypes, >( context: DevModeContext, proposal: Call @@ -86,7 +86,7 @@ export const notePreimagePrecompile = async < export async function getAuthorMappingInfo( context: DevModeContext, authorId: string -): Promise { +): Promise { const mapping = await context.polkadotJs().query.authorMapping.mappingWithDeposit(authorId); if (mapping.isSome) { return { diff --git a/test/helpers/providers.ts b/test/helpers/providers.ts index 275db8a563..2c55830da1 100644 --- a/test/helpers/providers.ts +++ b/test/helpers/providers.ts @@ -1,5 +1,5 @@ -import { LogsSubscription } from "node_modules/web3/lib/types/eth.exports.js"; -import { Log, Web3 } from "web3"; +import type { LogsSubscription } from "node_modules/web3/lib/types/eth.exports.js"; +import type { Log, Web3 } from "web3"; export async function web3SubscribeHistoricalLogs( web3: Web3, diff --git a/test/helpers/randomness.ts b/test/helpers/randomness.ts index 2476d6d8f2..148e4fc452 100644 --- a/test/helpers/randomness.ts +++ b/test/helpers/randomness.ts @@ -1,11 +1,11 @@ -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; import { BALTATHAR_PRIVATE_KEY, CHARLETH_PRIVATE_KEY, DOROTHY_PRIVATE_KEY, alith, } from "@moonwall/util"; -import { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; +import type { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; import { nToHex } from "@polkadot/util"; import { fromBytes, parseEther } from "viem"; diff --git a/test/helpers/referenda.ts b/test/helpers/referenda.ts index d5497e28f2..c668780517 100644 --- a/test/helpers/referenda.ts +++ b/test/helpers/referenda.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext } from "@moonwall/cli"; -import { FrameSupportPreimagesBounded } from "@polkadot/types/lookup"; +import type { DevModeContext } from "@moonwall/cli"; +import type { FrameSupportPreimagesBounded } from "@polkadot/types/lookup"; import chalk from "chalk"; import Debugger from "debug"; @@ -56,22 +56,22 @@ export const forceReducedReferendaExecution = async ( }; if (forceTally) { const totalIssuance = (await api.query.balances.totalIssuance()).toBigInt(); - fastProposalData["tally"] = { + fastProposalData.tally = { ayes: totalIssuance - 1n, nays: 0, support: totalIssuance - 1n, }; } - let fastProposal; + let fastProposal: any; try { fastProposal = api.registry.createType( - `Option`, + "Option", fastProposalData ); } catch { fastProposal = api.registry.createType( - `Option`, + "Option", fastProposalData ); } @@ -100,7 +100,8 @@ export const forceReducedReferendaExecution = async ( } const callData = api.createType("Call", call.asInline.toHex()); return ( - callData.method == "nudgeReferendum" && (callData.args[0] as any).toNumber() == proposalIndex + callData.method === "nudgeReferendum" && + (callData.args[0] as any).toNumber() === proposalIndex ); }); @@ -120,7 +121,7 @@ export const forceReducedReferendaExecution = async ( await moveScheduledCallTo( context, 2, - (call) => call.isLookup && call.asLookup.toHex() == callHash + (call) => call.isLookup && call.asLookup.toHex() === callHash ); log( @@ -169,7 +170,7 @@ async function moveScheduledCallTo( } } - if (storages.length == 0) { + if (storages.length === 0) { throw new Error("No scheduled call found"); } await context.createBlock( diff --git a/test/helpers/round.ts b/test/helpers/round.ts index 3b93c63f82..54229d84a6 100644 --- a/test/helpers/round.ts +++ b/test/helpers/round.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; -import { ApiPromise } from "@polkadot/api"; -import { PalletParachainStakingRoundInfo } from "@polkadot/types/lookup"; -import { BN, BN_ONE, BN_ZERO } from "@polkadot/util"; +import type { ApiPromise } from "@polkadot/api"; +import type { PalletParachainStakingRoundInfo } from "@polkadot/types/lookup"; +import { type BN, BN_ONE, BN_ZERO } from "@polkadot/util"; /* * Get any block of a given round. diff --git a/test/helpers/staking.ts b/test/helpers/staking.ts index b92338be78..4ebb81110b 100644 --- a/test/helpers/staking.ts +++ b/test/helpers/staking.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; export async function getRewardedAndCompoundedEvents(context: DevModeContext, blockHash: string) { return ( diff --git a/test/helpers/storageQueries.ts b/test/helpers/storageQueries.ts index 0ee205504e..0cb879712a 100644 --- a/test/helpers/storageQueries.ts +++ b/test/helpers/storageQueries.ts @@ -1,4 +1,4 @@ -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import Debugger from "debug"; import { rateLimiter } from "./common.js"; @@ -50,7 +50,7 @@ export async function processAllStorage( prefixes.map(async (prefix) => limiter.schedule(async () => { let startKey: string | undefined = undefined; - loop: for (;;) { + for (;;) { // @ts-expect-error _rpcCore is not yet exposed const keys: string = await api._rpcCore.provider.send("state_getKeysPaged", [ prefix, @@ -60,7 +60,7 @@ export async function processAllStorage( ]); if (!keys.length) { - break loop; + break; } // @ts-expect-error _rpcCore is not yet exposed @@ -83,7 +83,7 @@ export async function processAllStorage( total += keys.length; if (keys.length !== maxKeys) { - break loop; + break; } startKey = keys[keys.length - 1]; } diff --git a/test/helpers/tracingFns.ts b/test/helpers/tracingFns.ts index 33e5706640..3e5fa75648 100644 --- a/test/helpers/tracingFns.ts +++ b/test/helpers/tracingFns.ts @@ -1,6 +1,10 @@ -import { DevModeContext, customDevRpcRequest, deployCreateCompiledContract } from "@moonwall/cli"; +import { + type DevModeContext, + customDevRpcRequest, + deployCreateCompiledContract, +} from "@moonwall/cli"; import { alith, createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; export async function createContracts(context: DevModeContext) { let nonce = await context.viem().getTransactionCount({ address: alith.address as `0x${string}` }); diff --git a/test/helpers/transactions.ts b/test/helpers/transactions.ts index bde2eb9510..b3792506cb 100644 --- a/test/helpers/transactions.ts +++ b/test/helpers/transactions.ts @@ -1,5 +1,5 @@ // Ethers is used to handle post-london transactions -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; import { createViemTransaction } from "@moonwall/util"; import type { ApiPromise } from "@polkadot/api"; import type { SubmittableExtrinsic } from "@polkadot/api/promise/types"; @@ -17,7 +17,7 @@ export async function rpcToLocalNode( method: string, params: any[] = [] ): Promise { - return fetch("http://localhost:" + rpcPort, { + return fetch(`http://localhost:${rpcPort}`, { body: JSON.stringify({ id: 1, jsonrpc: "2.0", @@ -37,9 +37,8 @@ export async function rpcToLocalNode( throw new Error(`${error.code} ${error.message}: ${JSON.stringify(error.data)}`); } return result; - } else { - throw new Error("Unexpected response format"); } + throw new Error("Unexpected response format"); }); } @@ -63,7 +62,7 @@ export const sendAllStreamAndWaitLast = async ( chunk.map((tx) => { return new Promise(async (resolve, reject) => { const timer = setTimeout(() => { - reject(`timed out`); + reject("timed out"); unsub(); }, timeout); const unsub = await tx.send((result) => { @@ -105,9 +104,10 @@ export async function sendPrecompileTx( } else { throw new Error(`selector doesn't exist on the precompile contract`); } - parameters.forEach((para: string) => { - data += para.slice(2).padStart(64, "0"); - }); + + for (const param of parameters) { + data += param.slice(2).padStart(64, "0"); + } return context.createBlock( createViemTransaction(context, { diff --git a/test/helpers/voting.ts b/test/helpers/voting.ts index e768e45d53..d0fd174abb 100644 --- a/test/helpers/voting.ts +++ b/test/helpers/voting.ts @@ -1,8 +1,8 @@ -import { DevModeContext, filterAndApply } from "@moonwall/cli"; +import { type DevModeContext, filterAndApply } from "@moonwall/cli"; import { alith, baltathar } from "@moonwall/util"; import { expectSubstrateEvent } from "./expect.js"; -import { KeyringPair } from "@polkadot/keyring/types"; -import { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; +import type { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types"; export async function createProposal({ context, @@ -23,7 +23,7 @@ export async function createProposal({ await context .polkadotJs() .tx.referenda.submit( - track == "root" ? { system: "root" } : { Origins: track }, + track === "root" ? { system: "root" } : { Origins: track }, { Lookup: { Hash: call.hash.toHex(), len: call.method.encodedLength } }, { After: 1 } ) @@ -49,7 +49,7 @@ export const OPEN_TECHNICAL_COMMITTEE_THRESHOLD = Math.ceil( export const executeExtViaOpenTechCommittee = async < Call extends SubmittableExtrinsic, - ApiType extends ApiTypes + ApiType extends ApiTypes, >( context: DevModeContext, extrinsic: Call | string, diff --git a/test/helpers/wormhole.ts b/test/helpers/wormhole.ts index 24742eba56..59391d5a28 100644 --- a/test/helpers/wormhole.ts +++ b/test/helpers/wormhole.ts @@ -2,14 +2,14 @@ import { SigningKey } from "ethers"; import { encodePacked, keccak256, pad, toBytes } from "viem"; function encode(type: string, val: any) { - if (type == "uint8") return encodePacked(["uint8"], [val]).slice(2); - if (type == "uint16") return encodePacked(["uint16"], [val]).slice(2); - if (type == "uint32") return encodePacked(["uint32"], [val]).slice(2); - if (type == "uint64") return encodePacked(["uint64"], [val]).slice(2); - if (type == "uint128") return encodePacked(["uint128"], [val]).slice(2); - if (type == "address32") return pad(encodePacked(["address"], [`0x${val.slice(-40)}`])).slice(2); - if (type == "uint256") return encodePacked(["uint256"], [val]).slice(2); - if (type == "bytes32") + if (type === "uint8") return encodePacked(["uint8"], [val]).slice(2); + if (type === "uint16") return encodePacked(["uint16"], [val]).slice(2); + if (type === "uint32") return encodePacked(["uint32"], [val]).slice(2); + if (type === "uint64") return encodePacked(["uint64"], [val]).slice(2); + if (type === "uint128") return encodePacked(["uint128"], [val]).slice(2); + if (type === "address32") return pad(encodePacked(["address"], [`0x${val.slice(-40)}`])).slice(2); + if (type === "uint256") return encodePacked(["uint256"], [val]).slice(2); + if (type === "bytes32") return encodePacked(["bytes32"], [pad(val as `0x${string}`, { size: 32 })]).slice(2); } @@ -35,7 +35,7 @@ export async function createSignedVAA( payload.slice(2), ]; - const hash = keccak256(keccak256(("0x" + body.join("")) as `0x${string}`)); + const hash = keccak256(keccak256(`0x${body.join("")}` as `0x${string}`)); let signatures = ""; for (const i in signers) { @@ -114,8 +114,8 @@ export async function genAssetMeta( encode("address32", tokenAddress), encode("uint16", tokenChain), encode("uint8", decimals), - encode("bytes32", "0x" + Buffer.from(symbol).toString("hex")), - encode("bytes32", "0x" + Buffer.from(name).toString("hex")), + encode("bytes32", `0x${Buffer.from(symbol).toString("hex")}`), + encode("bytes32", `0x${Buffer.from(name).toString("hex")}`), ]; const seconds = Math.floor(new Date().getTime() / 1000.0); diff --git a/test/helpers/xcm.ts b/test/helpers/xcm.ts index 3fae235449..2fb34da13d 100644 --- a/test/helpers/xcm.ts +++ b/test/helpers/xcm.ts @@ -1,12 +1,12 @@ -import { DevModeContext, customDevRpcRequest } from "@moonwall/cli"; +import { type DevModeContext, customDevRpcRequest } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { XcmpMessageFormat } from "@polkadot/types/interfaces"; -import { +import type { XcmpMessageFormat } from "@polkadot/types/interfaces"; +import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, XcmV3JunctionNetworkId, XcmVersionedXcm, } from "@polkadot/types/lookup"; -import { BN, stringToU8a, u8aToHex } from "@polkadot/util"; +import { type BN, stringToU8a, u8aToHex } from "@polkadot/util"; import { xxhashAsU8a } from "@polkadot/util-crypto"; import { RELAY_V3_SOURCE_LOCATION } from "./assets.js"; @@ -75,7 +75,7 @@ export function mockHrmpChannelExistanceTx( export function descendOriginFromAddress20( context: DevModeContext, address: `0x${string}` = "0x0101010101010101010101010101010101010101", - paraId: number = 1 + paraId = 1 ) { const toHash = new Uint8Array([ ...new TextEncoder().encode("SiblingChain"), @@ -266,7 +266,7 @@ export class XcmFragment { // Add one or more `BuyExecution` instruction // if weight_limit is not set in config, then we put unlimited - buy_execution(fee_index: number = 0, repeat: bigint = 1n): this { + buy_execution(fee_index = 0, repeat = 1n): this { const weightLimit = this.config.weight_limit != null ? { Limited: this.config.weight_limit } @@ -289,7 +289,7 @@ export class XcmFragment { // Add one or more `BuyExecution` instruction // if weight_limit is not set in config, then we put unlimited - refund_surplus(repeat: bigint = 1n): this { + refund_surplus(repeat = 1n): this { for (let i = 0; i < repeat; i++) { this.instructions.push({ RefundSurplus: null, @@ -299,7 +299,7 @@ export class XcmFragment { } // Add a `ClaimAsset` instruction - claim_asset(index: number = 0): this { + claim_asset(index = 0): this { this.instructions.push({ ClaimAsset: { assets: [ @@ -321,7 +321,7 @@ export class XcmFragment { } // Add a `ClearOrigin` instruction - clear_origin(repeat: bigint = 1n): this { + clear_origin(repeat = 1n): this { for (let i = 0; i < repeat; i++) { this.instructions.push({ ClearOrigin: null as any }); } @@ -348,10 +348,7 @@ export class XcmFragment { } // Add a `DepositAsset` instruction - deposit_asset( - max_assets: bigint = 1n, - network: "Any" | XcmV3JunctionNetworkId["type"] = "Any" - ): this { + deposit_asset(max_assets = 1n, network: "Any" | XcmV3JunctionNetworkId["type"] = "Any"): this { if (this.config.beneficiary == null) { console.warn("!Building a DepositAsset instruction without a configured beneficiary"); } @@ -369,10 +366,7 @@ export class XcmFragment { } // Add a `DepositAsset` instruction for xcm v3 - deposit_asset_v3( - max_assets: bigint = 1n, - network: XcmV3JunctionNetworkId["type"] | null = null - ): this { + deposit_asset_v3(max_assets = 1n, network: XcmV3JunctionNetworkId["type"] | null = null): this { if (this.config.beneficiary == null) { console.warn("!Building a DepositAsset instruction without a configured beneficiary"); } @@ -456,7 +450,8 @@ export class XcmFragment { // Utility function to support functional style method call chaining bound to `this` context with(callback: (this: this) => void): this { - return callback.call(this), this; + callback.call(this); + return this; } // Pushes the given instruction @@ -483,7 +478,7 @@ export class XcmFragment { as_v4(): any { const patchLocationV4recursively = (value: any) => { // e.g. Convert this: { X1: { Parachain: 1000 } } to { X1: [ { Parachain: 1000 } ] } - if (value && typeof value == "object") { + if (value && typeof value === "object") { if (Array.isArray(value)) { return value.map(patchLocationV4recursively); } @@ -508,14 +503,14 @@ export class XcmFragment { } // Add a `BurnAsset` instruction - burn_asset(amount: bigint = 0n): this { + burn_asset(amount = 0n): this { this.instructions.push({ BurnAsset: this.config.assets.map(({ multilocation, fungible }) => { return { id: { Concrete: multilocation, }, - fun: { Fungible: amount == 0n ? fungible : amount }, + fun: { Fungible: amount === 0n ? fungible : amount }, }; }, this), }); @@ -570,7 +565,7 @@ export class XcmFragment { } // Add a `ExpectError` instruction - expect_error(index: number = 0, error: string = "Unimplemented"): this { + expect_error(index = 0, error = "Unimplemented"): this { this.instructions.push({ ExpectError: [index, error], }); @@ -578,7 +573,7 @@ export class XcmFragment { } // Add a `ExpectTransactStatus` instruction - expect_transact_status(status: string = "Success"): this { + expect_transact_status(status = "Success"): this { this.instructions.push({ ExpectTransactStatus: status, }); @@ -589,7 +584,7 @@ export class XcmFragment { query_pallet( destination: MultiLocation = { parents: 1, interior: { X1: { Parachain: 1000 } } }, query_id: number = Math.floor(Math.random() * 1000), - module_name: string = "pallet_balances", + module_name = "pallet_balances", max_weight: { refTime: bigint; proofSize: bigint } = { refTime: 1_000_000_000n, proofSize: 1_000_000_000n, @@ -610,11 +605,11 @@ export class XcmFragment { // Add a `ExpectPallet` instruction expect_pallet( - index: number = 0, - name: string = "Balances", - module_name: string = "pallet_balances", - crate_major: number = 4, - min_crate_minor: number = 0 + index = 0, + name = "Balances", + module_name = "pallet_balances", + crate_major = 4, + min_crate_minor = 0 ): this { this.instructions.push({ ExpectPallet: { @@ -665,7 +660,7 @@ export class XcmFragment { // Add a `ExportMessage` instruction export_message( - xcm_hex: string = "", + xcm_hex = "", network: "Any" | XcmV3JunctionNetworkId["type"] = "Ethereum", destination: Junctions = { X1: { Parachain: 1000 } } ): this { @@ -770,7 +765,7 @@ export class XcmFragment { } // Add a `SetFeesMode` instruction - set_fees_mode(jit_withdraw: boolean = true): this { + set_fees_mode(jit_withdraw = true): this { this.instructions.push({ SetFeesMode: { jit_withdraw }, }); @@ -778,7 +773,7 @@ export class XcmFragment { } // Add a `SetTopic` instruction - set_topic(topic: string = "0xk89103a9CF04c71Dbc94D0b566f7A2"): this { + set_topic(topic = "0xk89103a9CF04c71Dbc94D0b566f7A2"): this { this.instructions.push({ SetTopic: Array.from(stringToU8a(topic)), }); @@ -835,7 +830,7 @@ export class XcmFragment { const instructions = message.asV2; for (let i = 0; i < instructions.length; i++) { - if (instructions[i].isBuyExecution == true) { + if (instructions[i].isBuyExecution === true) { const newWeight = await weightMessage(context, message); this.instructions[i] = { BuyExecution: { diff --git a/test/package.json b/test/package.json index 7c90fedc50..cfbd72b024 100644 --- a/test/package.json +++ b/test/package.json @@ -9,10 +9,11 @@ "bundle-types": "cd ../moonbeam-types-bundle && pnpm build; cd ../test", "typegen": "pnpm bundle-types && cd ../typescript-api && pnpm scrape && pnpm generate && pnpm build; cd ../test", "clean": "rm -rf node_modules", - "fmt": "prettier --check --trailing-comma es5 --ignore-path ../.prettierignore '**/*.(yml|js|ts|json)'", - "fmt:fix": "prettier --write --trailing-comma es5 --ignore-path ../.prettierignore '**/*.(yml|js|ts|json)'", - "lint": "eslint './helpers/**/*.ts' './suites/**/*.ts'", - "lint:fix": "eslint './helpers/**/*.ts' './suites/**/*.ts' --fix", + "fmt": "biome format .", + "fmt:fix": "biome format --write .", + "check": "biome check .", + "check:fix": "biome check . --write", + "lint": "biome lint .", "compile-solidity": "tsx scripts/compile-contracts.ts compile", "typecheck": "pnpm tsc --noEmit" }, @@ -21,6 +22,7 @@ "license": "ISC", "dependencies": { "@acala-network/chopsticks": "1.0.1", + "@biomejs/biome": "*", "@moonbeam-network/api-augment": "workspace:*", "@moonwall/cli": "5.9.1", "@moonwall/util": "5.9.1", @@ -64,14 +66,9 @@ "@types/node": "*", "@types/semver": "7.5.8", "@types/yargs": "17.0.33", - "@typescript-eslint/eslint-plugin": "7.5.0", - "@typescript-eslint/parser": "7.5.0", "bottleneck": "2.19.5", "debug": "4.3.7", - "eslint": "8.57.0", - "eslint-plugin-unused-imports": "3.1.0", "inquirer": "12.2.0", - "prettier": "*", "typescript": "*", "yargs": "17.7.2" }, diff --git a/test/scripts/combine-imports.ts b/test/scripts/combine-imports.ts index 4728ba91f7..daa44fff34 100644 --- a/test/scripts/combine-imports.ts +++ b/test/scripts/combine-imports.ts @@ -2,8 +2,8 @@ // useful for old test cases that had multiple imports from helpers in the same file. // Usage: pnpm tsx ./scripts/combine-imports.ts -import fs from "fs/promises"; -import { join } from "path"; +import fs from "node:fs/promises"; +import { join } from "node:path"; const processFile = async (filePath: string): Promise => { const content = await fs.readFile(filePath, "utf-8"); @@ -11,12 +11,13 @@ const processFile = async (filePath: string): Promise => { const importRegex = /import \{ ([^\}]+) \} from "\.\.\/\.\.\/\.\.\/helpers";/g; const allImports: string[] = []; - let match; let firstMatchIndex = -1; - while ((match = importRegex.exec(content)) !== null) { + let match = importRegex.exec(content); + while (match !== null) { if (firstMatchIndex === -1) firstMatchIndex = match.index; allImports.push(match[1].trim()); + match = importRegex.exec(content); } if (allImports.length > 0) { diff --git a/test/scripts/compile-contracts.ts b/test/scripts/compile-contracts.ts index b7d83e73d9..52624b13a9 100644 --- a/test/scripts/compile-contracts.ts +++ b/test/scripts/compile-contracts.ts @@ -1,16 +1,16 @@ -import { CompiledContract } from "@moonwall/cli"; +import type { CompiledContract } from "@moonwall/cli"; import chalk from "chalk"; -import fs from "fs/promises"; -import path from "path"; +import fs from "node:fs/promises"; +import path from "node:path"; import solc from "solc"; -import { Abi } from "viem"; -import crypto from "crypto"; +import type { Abi } from "viem"; +import crypto from "node:crypto"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; -let sourceByReference = {} as { [ref: string]: string }; -let countByReference = {} as { [ref: string]: number }; -let refByContract = {} as { [contract: string]: string }; +const sourceByReference = {} as { [ref: string]: string }; +const countByReference = {} as { [ref: string]: number }; +const refByContract = {} as { [contract: string]: string }; let contractMd5 = {} as { [contract: string]: string }; const solcVersion = solc.version(); @@ -85,7 +85,7 @@ async function main(args: any) { const contracts = (await getFiles(contractPath.filepath)).filter((filename) => filename.endsWith(".sol") ); - for (let filepath of contracts) { + for (const filepath of contracts) { const ref = filepath .replace(contractPath.filepath, contractPath.importPath) .replace(/^\//, ""); @@ -112,7 +112,7 @@ async function main(args: any) { for (const contract of Object.keys(sourceToCompile)) { const path = filePaths.find((path) => path.includes(contract)); const contractHash = computeHash((await fs.readFile(path!)).toString()); - if (contractHash != contractMd5[contract]) { + if (contractHash !== contractMd5[contract]) { console.log(` - Change in ${chalk.yellow(contract)}, compiling ⚙️`); contractsToCompile.push(contract); } else if (args.argv.Verbose) { @@ -130,12 +130,12 @@ async function main(args: any) { await compile(ref, outputDirectory); await fs.writeFile(tempFile, JSON.stringify(contractMd5, null, 2)); - } catch (e) { + } catch (e: any) { console.log(`Failed to compile: ${ref}`); if (e.errors) { - e.errors.forEach((error) => { + for (const error of e.errors) { console.log(error.formattedMessage); - }); + } } else { console.log(e); } @@ -163,9 +163,6 @@ const getImports = (fileRef: string) => (dependency: string) => { return { contents: sourceByReference[localRef] }; } base = path.dirname(base); - if (base == ".") { - continue; - } } return { error: "Source not found" }; }; @@ -202,15 +199,18 @@ function compileSolidity( if (!result.contracts) { throw result; } - return Object.keys(result.contracts[filename]).reduce((p, contractName) => { - p[contractName] = { - byteCode: ("0x" + - result.contracts[filename][contractName].evm.bytecode.object) as `0x${string}`, - contract: result.contracts[filename][contractName], - sourceCode: contractContent, - }; - return p; - }, {} as { [name: string]: CompiledContract }); + return Object.keys(result.contracts[filename]).reduce( + (p, contractName) => { + p[contractName] = { + byteCode: + `0x${result.contracts[filename][contractName].evm.bytecode.object}` as `0x${string}`, + contract: result.contracts[filename][contractName], + sourceCode: contractContent, + }; + return p; + }, + {} as { [name: string]: CompiledContract } + ); } // Shouldn't be run concurrently with the same 'name' @@ -231,9 +231,7 @@ async function compile( if (refByContract[dest]) { console.warn( chalk.red( - `Contract ${contractName} already exist from ` + - `${refByContract[dest]}. ` + - `Erasing previous version` + `Contract ${contractName} already exist from ${refByContract[dest]}. Erasing previous version` ) ); } diff --git a/test/scripts/compile-wasm.ts b/test/scripts/compile-wasm.ts index 5091123d60..a7d782ba18 100644 --- a/test/scripts/compile-wasm.ts +++ b/test/scripts/compile-wasm.ts @@ -1,6 +1,6 @@ -import fs from "fs/promises"; -import path from "path"; -import child_process from "child_process"; +import fs from "node:fs/promises"; +import path from "node:path"; +import child_process from "node:child_process"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; @@ -40,7 +40,7 @@ yargs(hideBin(process.argv)) async function spawn(cmd: string) { return new Promise((resolve, reject) => { - var spawned = child_process.spawn(cmd, { shell: true }); + const spawned = child_process.spawn(cmd, { shell: true }); let errData = ""; let outData = ""; diff --git a/test/scripts/fast-execute-chopstick-proposal.ts b/test/scripts/fast-execute-chopstick-proposal.ts index fc82b49bb0..cfe561480f 100644 --- a/test/scripts/fast-execute-chopstick-proposal.ts +++ b/test/scripts/fast-execute-chopstick-proposal.ts @@ -204,7 +204,8 @@ const main = async () => { } const callData = api.createType("Call", call.asInline.toHex()); return ( - callData.method == "nudgeReferendum" && (callData.args[0] as any).toNumber() == proposalIndex + callData.method === "nudgeReferendum" && + (callData.args[0] as any).toNumber() === proposalIndex ); }); @@ -221,7 +222,7 @@ const main = async () => { (await api.rpc.chain.getHeader()).number.toNumber() + 2 )}` ); - await moveScheduledCallTo(api, 1, (call) => call.isLookup && call.asLookup.toHex() == callHash); + await moveScheduledCallTo(api, 1, (call) => call.isLookup && call.asLookup.toHex() === callHash); console.log( `${chalk.yellow("Fast forward")} ${chalk.green(1)} to #${chalk.green( diff --git a/test/scripts/get-sample-evm-txs.ts b/test/scripts/get-sample-evm-txs.ts index 5f3cde2645..04718ff533 100644 --- a/test/scripts/get-sample-evm-txs.ts +++ b/test/scripts/get-sample-evm-txs.ts @@ -1,7 +1,7 @@ import { runtimes } from "helpers/runtimes"; -import { Chain, createPublicClient, http } from "viem"; -import fs from "fs"; -import path from "path"; +import { type Chain, createPublicClient, http } from "viem"; +import fs from "node:fs"; +import path from "node:path"; interface Network { name: string; @@ -61,7 +61,7 @@ const main = async () => { `Generating tracing samples for networks ${networks.flatMap((n) => n.name).join(", ")}` ); networks.forEach(async (network) => { - let samples: Sample[] = []; + const samples: Sample[] = []; const chain = createChain(network); const client = createPublicClient({ chain, @@ -97,7 +97,7 @@ const main = async () => { const sample: Sample = { network: network.name, runtime: runtime.specVersion, - blockNumber: parseInt(block.number.toString()), + blockNumber: Number.parseInt(block.number.toString()), txHash: block.transactions[0], }; samples.push(sample); diff --git a/test/scripts/modify-plain-specs.ts b/test/scripts/modify-plain-specs.ts index 434ba04a41..becf2dc006 100644 --- a/test/scripts/modify-plain-specs.ts +++ b/test/scripts/modify-plain-specs.ts @@ -1,4 +1,4 @@ -import fs from "fs/promises"; +import fs from "node:fs/promises"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; import { ALITH_ADDRESS } from "@moonwall/util"; diff --git a/test/scripts/preapprove-rt-rawspec.ts b/test/scripts/preapprove-rt-rawspec.ts index 0cc1fbbbe4..8ac76d8c94 100644 --- a/test/scripts/preapprove-rt-rawspec.ts +++ b/test/scripts/preapprove-rt-rawspec.ts @@ -1,4 +1,4 @@ -import fs from "fs/promises"; +import fs from "node:fs/promises"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; import { convertExponentials } from "@zombienet/utils"; diff --git a/test/scripts/prepare-lazy-loading-overrides.ts b/test/scripts/prepare-lazy-loading-overrides.ts index 8a570c0a1b..cce2981c35 100644 --- a/test/scripts/prepare-lazy-loading-overrides.ts +++ b/test/scripts/prepare-lazy-loading-overrides.ts @@ -1,4 +1,4 @@ -import fs from "fs/promises"; +import fs from "node:fs/promises"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; import { convertExponentials } from "@zombienet/utils"; diff --git a/test/scripts/update-local-types.ts b/test/scripts/update-local-types.ts index adeeb4aa03..8e9945dfb2 100644 --- a/test/scripts/update-local-types.ts +++ b/test/scripts/update-local-types.ts @@ -1,9 +1,8 @@ -import { exec, spawn } from "child_process"; -import { promisify } from "util"; -import { join, dirname } from "path"; -import { fileURLToPath } from "url"; -import { readFileSync, writeFileSync } from "fs"; -import { start } from "repl"; +import { exec, spawn } from "node:child_process"; +import { promisify } from "node:util"; +import { join, dirname } from "node:path"; +import { fileURLToPath } from "node:url"; +import { readFileSync, writeFileSync } from "node:fs"; const execAsync = promisify(exec); @@ -53,14 +52,14 @@ const startNode = (network: string, rpcPort: string, port: string) => { const node = spawn( "../target/release/moonbeam", [ - `--alice`, + "--alice", `--chain=${network}`, `--rpc-port=${rpcPort}`, - `--no-hardware-benchmarks`, - `--unsafe-force-node-key-generation`, - `--wasm-execution=interpreted-i-know-what-i-do`, - `--no-telemetry`, - `--no-prometheus`, + "--no-hardware-benchmarks", + "--unsafe-force-node-key-generation", + "--wasm-execution=interpreted-i-know-what-i-do", + "--no-telemetry", + "--no-prometheus", "--tmp", ], { @@ -87,7 +86,7 @@ const scrapeMetadata = async (network: string, port: string) => { const metadataJson = await metadata.json(); writeFile( - `../../typescript-api`, + "../../typescript-api", `metadata-${network.replace("-dev", "")}.json`, JSON.stringify(metadataJson) ); diff --git a/test/suites/chopsticks/test-upgrade-chain.ts b/test/suites/chopsticks/test-upgrade-chain.ts index bb8fca976a..381ae3c43e 100644 --- a/test/suites/chopsticks/test-upgrade-chain.ts +++ b/test/suites/chopsticks/test-upgrade-chain.ts @@ -4,12 +4,12 @@ import { beforeAll, describeSuite, expect, - ChopsticksContext, + type ChopsticksContext, } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { HexString } from "@polkadot/util/types"; -import { u32 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { HexString } from "@polkadot/util/types"; +import type { u32 } from "@polkadot/types"; import { hexToU8a, u8aConcat, u8aToHex } from "@polkadot/util"; import { blake2AsHex, xxhashAsU8a } from "@polkadot/util-crypto"; import { parseEther } from "ethers"; diff --git a/test/suites/dev/common/test-block/test-block-mocked-relay.ts b/test/suites/dev/common/test-block/test-block-mocked-relay.ts index 1c35bce321..a14cbae6ba 100644 --- a/test/suites/dev/common/test-block/test-block-mocked-relay.ts +++ b/test/suites/dev/common/test-block/test-block-mocked-relay.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; -import { CumulusPrimitivesParachainInherentParachainInherentData } from "@polkadot/types/lookup"; +import type { CumulusPrimitivesParachainInherentParachainInherentData } from "@polkadot/types/lookup"; describeSuite({ id: "D010405", diff --git a/test/suites/dev/common/test-transaction/test-transaction-with-metadata-hash.ts b/test/suites/dev/common/test-transaction/test-transaction-with-metadata-hash.ts index b1f71d3475..2aa8ab88ce 100644 --- a/test/suites/dev/common/test-transaction/test-transaction-with-metadata-hash.ts +++ b/test/suites/dev/common/test-transaction/test-transaction-with-metadata-hash.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { SignerOptions } from "@polkadot/api/types"; +import type { SignerOptions } from "@polkadot/api/types"; import { merkleizeMetadata } from "@polkadot-api/merkleize-metadata"; import { u8aToHex } from "@polkadot/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; async function metadataHash(api: ApiPromise) { const m = await api.call.metadata.metadataAtVersion(15); diff --git a/test/suites/dev/moonbase/sample/sample_basic.ts b/test/suites/dev/moonbase/sample/sample_basic.ts index 6e8f5870b9..2468d04cf1 100644 --- a/test/suites/dev/moonbase/sample/sample_basic.ts +++ b/test/suites/dev/moonbase/sample/sample_basic.ts @@ -1,8 +1,8 @@ import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { CHARLETH_ADDRESS, BALTATHAR_ADDRESS, alith, setupLogger } from "@moonwall/util"; -import { parseEther, formatEther, Signer } from "ethers"; +import { parseEther, formatEther, type Signer } from "ethers"; import { BN } from "@polkadot/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "D014301", diff --git a/test/suites/dev/moonbase/test-assets/test-assets-drain-both.ts b/test/suites/dev/moonbase/test-assets/test-assets-drain-both.ts index efff16e71c..8e6c8264b3 100644 --- a/test/suites/dev/moonbase/test-assets/test-assets-drain-both.ts +++ b/test/suites/dev/moonbase/test-assets/test-assets-drain-both.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, alith, baltathar, generateKeyringPair } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { u128 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { u128 } from "@polkadot/types"; import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { BN } from "@polkadot/util"; import { mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-assets/test-assets-insufficients.ts b/test/suites/dev/moonbase/test-assets/test-assets-insufficients.ts index 84f7891909..86c3c42fba 100644 --- a/test/suites/dev/moonbase/test-assets/test-assets-insufficients.ts +++ b/test/suites/dev/moonbase/test-assets/test-assets-insufficients.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith, baltathar, generateKeyringPair } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { u128 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { u128 } from "@polkadot/types"; import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { BN } from "@polkadot/util"; import { mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-assets/test-assets-transfer.ts b/test/suites/dev/moonbase/test-assets/test-assets-transfer.ts index d6f3d19c7c..51683897da 100644 --- a/test/suites/dev/moonbase/test-assets/test-assets-transfer.ts +++ b/test/suites/dev/moonbase/test-assets/test-assets-transfer.ts @@ -2,8 +2,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, alith, baltathar } from "@moonwall/util"; import "@polkadot/api-augment"; -import { u128 } from "@polkadot/types"; -import { ApiPromise } from "@polkadot/api"; +import type { u128 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-assets/test-foreign-assets-change-xcm-location.ts b/test/suites/dev/moonbase/test-assets/test-foreign-assets-change-xcm-location.ts index 6280d60b7f..0fa325ce36 100644 --- a/test/suites/dev/moonbase/test-assets/test-foreign-assets-change-xcm-location.ts +++ b/test/suites/dev/moonbase/test-assets/test-foreign-assets-change-xcm-location.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { PARA_1000_SOURCE_LOCATION_V4, RELAY_SOURCE_LOCATION_V4, diff --git a/test/suites/dev/moonbase/test-author/test-author-double-registration.ts b/test/suites/dev/moonbase/test-author/test-author-double-registration.ts index b2499229d8..4603ca3b25 100644 --- a/test/suites/dev/moonbase/test-author/test-author-double-registration.ts +++ b/test/suites/dev/moonbase/test-author/test-author-double-registration.ts @@ -8,7 +8,7 @@ import { DEFAULT_GENESIS_BALANCE, DEFAULT_GENESIS_MAPPING, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-failed-association.ts b/test/suites/dev/moonbase/test-author/test-author-failed-association.ts index c820103dad..173c61b996 100644 --- a/test/suites/dev/moonbase/test-author/test-author-failed-association.ts +++ b/test/suites/dev/moonbase/test-author/test-author-failed-association.ts @@ -7,7 +7,7 @@ import { CHARLETH_SESSION_ADDRESS, baltathar, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-first-time-keys.ts b/test/suites/dev/moonbase/test-author/test-author-first-time-keys.ts index 2e5cf29b4f..1a2dbad16f 100644 --- a/test/suites/dev/moonbase/test-author/test-author-first-time-keys.ts +++ b/test/suites/dev/moonbase/test-author/test-author-first-time-keys.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { charleth, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -52,8 +52,8 @@ describeSuite({ "authorMapping", "setKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRegistered")).to - .exist; + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRegistered")) + .to.exist; }, }); diff --git a/test/suites/dev/moonbase/test-author/test-author-missing-deposit-fail.ts b/test/suites/dev/moonbase/test-author/test-author-missing-deposit-fail.ts index 0ba60b6fe3..5e68c46da6 100644 --- a/test/suites/dev/moonbase/test-author/test-author-missing-deposit-fail.ts +++ b/test/suites/dev/moonbase/test-author/test-author-missing-deposit-fail.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { BALTATHAR_SESSION_ADDRESS, generateKeyringPair } from "@moonwall/util"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-non-author-rotate.ts b/test/suites/dev/moonbase/test-author/test-author-non-author-rotate.ts index 83c7d95004..d9979934cb 100644 --- a/test/suites/dev/moonbase/test-author/test-author-non-author-rotate.ts +++ b/test/suites/dev/moonbase/test-author/test-author-non-author-rotate.ts @@ -6,7 +6,7 @@ import { BALTATHAR_SESSION_ADDRESS, CHARLETH_SESSION_ADDRESS, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-removing-author.ts b/test/suites/dev/moonbase/test-author/test-author-removing-author.ts index 013391e209..a926ac5bf1 100644 --- a/test/suites/dev/moonbase/test-author/test-author-removing-author.ts +++ b/test/suites/dev/moonbase/test-author/test-author-removing-author.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; import { dorothy, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -51,8 +51,8 @@ describeSuite({ "authorMapping", "removeKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRemoved")).to.not - .exist; + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRemoved")).to + .not.exist; }, }); }, diff --git a/test/suites/dev/moonbase/test-author/test-author-removing-keys.ts b/test/suites/dev/moonbase/test-author/test-author-removing-keys.ts index 2580eba6cf..d1aad05d97 100644 --- a/test/suites/dev/moonbase/test-author/test-author-removing-keys.ts +++ b/test/suites/dev/moonbase/test-author/test-author-removing-keys.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; import { charleth, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -54,7 +54,7 @@ describeSuite({ "authorMapping", "removeKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRemoved")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRemoved")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-author/test-author-same-key-rotation.ts b/test/suites/dev/moonbase/test-author/test-author-same-key-rotation.ts index b32aa1708b..9fcffd1b55 100644 --- a/test/suites/dev/moonbase/test-author/test-author-same-key-rotation.ts +++ b/test/suites/dev/moonbase/test-author/test-author-same-key-rotation.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; import { charleth, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -54,7 +54,7 @@ describeSuite({ "authorMapping", "setKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRotated")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRotated")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-author/test-author-simple-association.ts b/test/suites/dev/moonbase/test-author/test-author-simple-association.ts index 06db222d44..64260fe047 100644 --- a/test/suites/dev/moonbase/test-author/test-author-simple-association.ts +++ b/test/suites/dev/moonbase/test-author/test-author-simple-association.ts @@ -8,7 +8,7 @@ import { GLMR, } from "@moonwall/util"; import { expect, describeSuite } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-update-diff-keys.ts b/test/suites/dev/moonbase/test-author/test-author-update-diff-keys.ts index e831a3824b..7523f284a9 100644 --- a/test/suites/dev/moonbase/test-author/test-author-update-diff-keys.ts +++ b/test/suites/dev/moonbase/test-author/test-author-update-diff-keys.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; import { CHARLETH_ADDRESS, charleth, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -59,7 +59,7 @@ describeSuite({ "authorMapping", "setKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRotated")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRotated")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-author/test-author-update-nimbus-key.ts b/test/suites/dev/moonbase/test-author/test-author-update-nimbus-key.ts index a9416f4ce0..c207d65702 100644 --- a/test/suites/dev/moonbase/test-author/test-author-update-nimbus-key.ts +++ b/test/suites/dev/moonbase/test-author/test-author-update-nimbus-key.ts @@ -7,7 +7,7 @@ import { getBlockExtrinsic, DOROTHY_ADDRESS, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -60,7 +60,7 @@ describeSuite({ "authorMapping", "removeKeys" ); - expect(events.find((e) => e.section == "authorMapping")).to.not.exist; + expect(events.find((e) => e.section === "authorMapping")).to.not.exist; }, }); diff --git a/test/suites/dev/moonbase/test-balance/test-balance-extrinsics.ts b/test/suites/dev/moonbase/test-balance/test-balance-extrinsics.ts index 0e6928da9d..ca024c766a 100644 --- a/test/suites/dev/moonbase/test-balance/test-balance-extrinsics.ts +++ b/test/suites/dev/moonbase/test-balance/test-balance-extrinsics.ts @@ -7,7 +7,7 @@ import { createRawTransfer, mapExtrinsics, } from "@moonwall/util"; -import { PrivateKeyAccount } from "viem"; +import type { PrivateKeyAccount } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; describeSuite({ @@ -44,7 +44,7 @@ describeSuite({ const txsWithEvents = mapExtrinsics(signedBlock.block.extrinsics, allRecords); const ethTx = txsWithEvents.find( - ({ extrinsic: { method } }) => method.section == "ethereum" + ({ extrinsic: { method } }) => method.section === "ethereum" )!; context.polkadotJs().events.parachainStaking.candidate; diff --git a/test/suites/dev/moonbase/test-balance/test-balance-genesis.ts b/test/suites/dev/moonbase/test-balance/test-balance-genesis.ts index 6b40edc68c..ca3fd52f7c 100644 --- a/test/suites/dev/moonbase/test-balance/test-balance-genesis.ts +++ b/test/suites/dev/moonbase/test-balance/test-balance-genesis.ts @@ -27,9 +27,9 @@ describeSuite({ title: "should be accessible through polkadotJs", test: async function () { const genesisHash = await context.polkadotJs().rpc.chain.getBlockHash(0); - const account = await ( - await context.polkadotJs().at(genesisHash) - ).query.system.account(ALITH_ADDRESS); + const account = await (await context.polkadotJs().at(genesisHash)).query.system.account( + ALITH_ADDRESS + ); expect(account.data.free.toBigInt()).toBe(ALITH_GENESIS_FREE_BALANCE); expect(account.data.reserved.toBigInt()).toBe(ALITH_GENESIS_RESERVE_BALANCE); }, diff --git a/test/suites/dev/moonbase/test-balance/test-balance-transfer.ts b/test/suites/dev/moonbase/test-balance/test-balance-transfer.ts index cb61b53da2..b4cc85ae45 100644 --- a/test/suites/dev/moonbase/test-balance/test-balance-transfer.ts +++ b/test/suites/dev/moonbase/test-balance/test-balance-transfer.ts @@ -127,9 +127,9 @@ describeSuite({ ).block.header.number.toBigInt(); const block1Hash = await context.polkadotJs().rpc.chain.getBlockHash(blockNumber); - const balance = await ( - await context.polkadotJs().at(block1Hash) - ).query.system.account(ALITH_ADDRESS); + const balance = await (await context.polkadotJs().at(block1Hash)).query.system.account( + ALITH_ADDRESS + ); expect(await context.viem().getBalance({ blockNumber, address: ALITH_ADDRESS })).to.equal( balance.data.free.toBigInt() + diff --git a/test/suites/dev/moonbase/test-contract/test-contract-delegate-call.ts b/test/suites/dev/moonbase/test-contract/test-contract-delegate-call.ts index 099b421fb3..eb4e9d1612 100644 --- a/test/suites/dev/moonbase/test-contract/test-contract-delegate-call.ts +++ b/test/suites/dev/moonbase/test-contract/test-contract-delegate-call.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll, deployCreateCompiledContract } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { encodeFunctionData, Abi } from "viem"; +import { encodeFunctionData, type Abi } from "viem"; const PRECOMPILE_PREFIXES = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 1024, 1026, 2048, 2049, 2050, 2052, 2053, 2054, 2055, 2056, 2057, 2058, @@ -12,7 +12,7 @@ const PRECOMPILE_PREFIXES = [ const ALLOWED_PRECOMPILE_PREFIXES = PRECOMPILE_PREFIXES.filter((add) => add <= 9); const FORBIDDEN_PRECOMPILE_PREFIXES = PRECOMPILE_PREFIXES.filter((add) => add > 9); const DELEGATECALL_FORDIDDEN_MESSAGE = - // contract call result (boolean). False == failed. + // contract call result (boolean). False === failed. "0x0000000000000000000000000000000000000000000000000000000000000000" + "0000000000000000000000000000000000000000000000000000000000000040" + // result offset "0000000000000000000000000000000000000000000000000000000000000084" + // result length diff --git a/test/suites/dev/moonbase/test-contract/test-contract-error.ts b/test/suites/dev/moonbase/test-contract/test-contract-error.ts index eb897787e4..67c2563ccd 100644 --- a/test/suites/dev/moonbase/test-contract/test-contract-error.ts +++ b/test/suites/dev/moonbase/test-contract/test-contract-error.ts @@ -7,7 +7,7 @@ import { expect, } from "@moonwall/cli"; import { ALITH_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { encodeFunctionData, Abi } from "viem"; +import { encodeFunctionData, type Abi } from "viem"; import { verifyLatestBlockFees } from "../../../../helpers"; // TODO: expand these tests to do multiple txn types when added to viem diff --git a/test/suites/dev/moonbase/test-contract/test-contract-evm-limits.ts b/test/suites/dev/moonbase/test-contract/test-contract-evm-limits.ts index ce3883fb3d..790ba36e74 100644 --- a/test/suites/dev/moonbase/test-contract/test-contract-evm-limits.ts +++ b/test/suites/dev/moonbase/test-contract/test-contract-evm-limits.ts @@ -14,7 +14,7 @@ describeSuite({ // fixed by: // https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd it({ - id: `T01`, + id: "T01", title: "should fail with out of gas", test: async function () { const bytecode = new Uint8Array([ @@ -22,7 +22,7 @@ describeSuite({ 249, 0, 224, 111, 1, 0, 0, 0, 247, 30, 1, 0, 0, 0, 0, 0, 0, ]); - const value = "0x" + 993452714685890559n.toString(16); + const value = `0x${993452714685890559n.toString(16)}`; const rawSigned = await createEthersTransaction(context, { from: ALITH_ADDRESS, diff --git a/test/suites/dev/moonbase/test-contract/test-contract-methods.ts b/test/suites/dev/moonbase/test-contract/test-contract-methods.ts index 50595d3295..d8fe378066 100644 --- a/test/suites/dev/moonbase/test-contract/test-contract-methods.ts +++ b/test/suites/dev/moonbase/test-contract/test-contract-methods.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { encodeFunctionData, Abi } from "viem"; +import { encodeFunctionData, type Abi } from "viem"; describeSuite({ id: "D010609", diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-batch-delegate-undelegate.ts b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-batch-delegate-undelegate.ts index 7c0a256a75..a822ac2bb5 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-batch-delegate-undelegate.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-batch-delegate-undelegate.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair, alith } from "@moonwall/util"; +import { type KeyringPair, alith } from "@moonwall/util"; import { createAccounts, expectSubstrateEvents } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-delegate-weight-fit.ts b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-delegate-weight-fit.ts index c82882349c..29b062e815 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-delegate-weight-fit.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-delegate-weight-fit.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair, alith } from "@moonwall/util"; +import { type KeyringPair, alith } from "@moonwall/util"; import { createAccounts, expectSubstrateEvents } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-undelegate-weight-fit.ts b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-undelegate-weight-fit.ts index 4e8b6511a4..46ba4514eb 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-undelegate-weight-fit.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-undelegate-weight-fit.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair, alith } from "@moonwall/util"; +import { type KeyringPair, alith } from "@moonwall/util"; import { createAccounts, chunk, expectSubstrateEvents } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-delegate.ts b/test/suites/dev/moonbase/test-conviction-voting/test-delegate.ts index 3f02f89171..d3f9ccf9cd 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-delegate.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-delegate.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext, describeSuite, expect } from "@moonwall/cli"; +import { type DevModeContext, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_STAKING, alith, generateKeyringPair, @@ -30,16 +30,19 @@ describeSuite({ ); const events = await context.polkadotJs().query.system.events(); - const delegatedEvents = events.reduce((acc, event) => { - if (context.polkadotJs().events.convictionVoting.Delegated.is(event.event)) { - acc.push({ - from: event.event.data[0].toString(), - to: event.event.data[1].toString(), - }); - } + const delegatedEvents = events.reduce( + (acc, event) => { + if (context.polkadotJs().events.convictionVoting.Delegated.is(event.event)) { + acc.push({ + from: event.event.data[0].toString(), + to: event.event.data[1].toString(), + }); + } - return acc; - }, [] as { from: string; to: string }[]); + return acc; + }, + [] as { from: string; to: string }[] + ); expect(delegatedEvents.length).to.be.greaterThanOrEqual(10); }, diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-delegate2.ts b/test/suites/dev/moonbase/test-conviction-voting/test-delegate2.ts index 368c823b0f..cf0080e45b 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-delegate2.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-delegate2.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext, beforeAll, describeSuite, expect } from "@moonwall/cli"; +import { type DevModeContext, beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_STAKING, alith, generateKeyringPair, @@ -44,15 +44,18 @@ describeSuite({ ); const events = await context.polkadotJs().query.system.events(); - const undelegatedEvents = events.reduce((acc, event) => { - if (context.polkadotJs().events.convictionVoting.Undelegated.is(event.event)) { - acc.push({ - who: event.event.data[0].toString(), - }); - } + const undelegatedEvents = events.reduce( + (acc, event) => { + if (context.polkadotJs().events.convictionVoting.Undelegated.is(event.event)) { + acc.push({ + who: event.event.data[0].toString(), + }); + } - return acc; - }, [] as { who: string }[]); + return acc; + }, + [] as { who: string }[] + ); console.log(undelegatedEvents.length); expect(undelegatedEvents.length).to.be.greaterThanOrEqual(10); diff --git a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-democracy.ts b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-democracy.ts index 16eed5d27b..4e825d8f04 100644 --- a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-democracy.ts +++ b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-democracy.ts @@ -7,7 +7,7 @@ import { whiteListTrackNoSend, } from "@moonwall/cli"; import { DEFAULT_GENESIS_BALANCE, ethan, GLMR, GOLIATH_ADDRESS } from "@moonwall/util"; -import { SubmittableExtrinsic } from "@polkadot/api/promise/types"; +import type { SubmittableExtrinsic } from "@polkadot/api/promise/types"; import { getAccountPayable, RELAYCHAIN_ARBITRARY_ADDRESS_1, diff --git a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-accs.ts b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-accs.ts index 2085697e61..ffa56d8ddb 100644 --- a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-accs.ts +++ b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-accs.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, alith } from "@moonwall/util"; -import { PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from "viem/accounts"; +import { type PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { VESTING_PERIOD, getAccountPayable } from "../../../../helpers"; describeSuite({ @@ -9,7 +9,7 @@ describeSuite({ title: "Crowdloan - many accounts", foundationMethods: "dev", testCases: ({ context, it, log }) => { - let numberOfAccounts: number = -1; + let numberOfAccounts = -1; let largInput: [string, string, bigint][]; beforeAll(async () => { @@ -31,7 +31,7 @@ describeSuite({ .map((_) => privateKeyToAccount(generatePrivateKey())); largInput = accounts.map((acc: PrivateKeyAccount) => { return [ - acc.address + "111111111111111111111111", + `${acc.address}111111111111111111111111`, acc.address, (3_000_000n * GLMR) / BigInt(numberOfAccounts), ]; diff --git a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-batch.ts b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-batch.ts index 31eac964ee..dde5009409 100644 --- a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-batch.ts +++ b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-batch.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, alith } from "@moonwall/util"; -import { PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from "viem/accounts"; +import { type PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { VESTING_PERIOD, getAccountPayable } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-eth-call/test-eth-call-state-override.ts b/test/suites/dev/moonbase/test-eth-call/test-eth-call-state-override.ts index a141553b6e..1560ad953e 100644 --- a/test/suites/dev/moonbase/test-eth-call/test-eth-call-state-override.ts +++ b/test/suites/dev/moonbase/test-eth-call/test-eth-call-state-override.ts @@ -9,7 +9,7 @@ import { } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, baltathar, createEthersTransaction } from "@moonwall/util"; import { hexToBigInt, nToHex } from "@polkadot/util"; -import { encodeFunctionData, encodePacked, keccak256, pad, parseEther, Abi } from "viem"; +import { encodeFunctionData, encodePacked, keccak256, pad, parseEther, type Abi } from "viem"; import { expectOk } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-eth-fee/test-eth-fee-history.ts b/test/suites/dev/moonbase/test-eth-fee/test-eth-fee-history.ts index 0afc040fc3..10c5271886 100644 --- a/test/suites/dev/moonbase/test-eth-fee/test-eth-fee-history.ts +++ b/test/suites/dev/moonbase/test-eth-fee/test-eth-fee-history.ts @@ -49,11 +49,10 @@ describeSuite({ return a - b; }); const index = (percentile / 100) * array.length - 1; - if (Math.floor(index) == index) { + if (Math.floor(index) === index) { return array[index]; - } else { - return Math.ceil((array[Math.floor(index)] + array[Math.ceil(index)]) / 2); } + return Math.ceil((array[Math.floor(index)] + array[Math.ceil(index)]) / 2); } function matchExpectations( @@ -93,7 +92,7 @@ describeSuite({ const feeHistory = new Promise((resolve, reject) => { const unwatch = context.viem().watchBlocks({ onBlock: async (block) => { - if (Number(block.number! - startingBlock) == block_count) { + if (Number(block.number! - startingBlock) === block_count) { const result = (await customDevRpcRequest("eth_feeHistory", [ "0x2", "latest", @@ -126,7 +125,7 @@ describeSuite({ const feeHistory = new Promise((resolve, reject) => { const unwatch = context.viem().watchBlocks({ onBlock: async (block) => { - if (Number(block.number! - startingBlock) == block_count) { + if (Number(block.number! - startingBlock) === block_count) { const result = (await customDevRpcRequest("eth_feeHistory", [ "0xA", "latest", @@ -180,7 +179,7 @@ describeSuite({ const feeHistory = new Promise((resolve, reject) => { const unwatch = context.viem().watchBlocks({ onBlock: async (block) => { - if (Number(block.number! - startingBlock) == block_count) { + if (Number(block.number! - startingBlock) === block_count) { const result = (await customDevRpcRequest("eth_feeHistory", [ block_count, "latest", diff --git a/test/suites/dev/moonbase/test-eth-fee/test-eth-paysFee.ts b/test/suites/dev/moonbase/test-eth-fee/test-eth-paysFee.ts index d07ad828c9..791d30881d 100644 --- a/test/suites/dev/moonbase/test-eth-fee/test-eth-paysFee.ts +++ b/test/suites/dev/moonbase/test-eth-fee/test-eth-paysFee.ts @@ -19,7 +19,7 @@ describeSuite({ ); const info = extractInfo(result?.events)!; expect(info).to.not.be.empty; - expect(info.paysFee.isYes, "Transaction should be marked as paysFees == no").to.be.false; + expect(info.paysFee.isYes, "Transaction should be marked as paysFees === no").to.be.false; }, }); } diff --git a/test/suites/dev/moonbase/test-eth-fee/test-eth-txn-weights.ts b/test/suites/dev/moonbase/test-eth-fee/test-eth-txn-weights.ts index 6017f5570e..bb2bf6a903 100644 --- a/test/suites/dev/moonbase/test-eth-fee/test-eth-txn-weights.ts +++ b/test/suites/dev/moonbase/test-eth-fee/test-eth-txn-weights.ts @@ -54,7 +54,7 @@ describeSuite({ const wholeBlock = await context.polkadotJs().rpc.chain.getBlock(block.hash); const index = wholeBlock.block.extrinsics.findIndex( - (ext) => ext.method.method == "transact" && ext.method.section == "ethereum" + (ext) => ext.method.method === "transact" && ext.method.section === "ethereum" ); const extSuccessEvent = result?.events .filter(({ phase }) => phase.isApplyExtrinsic && phase.asApplyExtrinsic.eq(index)) diff --git a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-deprecated.ts b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-deprecated.ts index a0ac26b0d8..84d101d5cc 100644 --- a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-deprecated.ts +++ b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-deprecated.ts @@ -18,7 +18,7 @@ describeSuite({ for (const { method, params } of deprecatedMethods) { it({ - id: `T0${deprecatedMethods.findIndex((item) => item.method == method) + 1}`, + id: `T0${deprecatedMethods.findIndex((item) => item.method === method) + 1}`, title: `${method} should be mark as not found`, test: async function () { expect(async () => await customDevRpcRequest(method, params)).rejects.toThrowError( diff --git a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-log-filtering.ts b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-log-filtering.ts index fae736fe62..9babe87ce8 100644 --- a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-log-filtering.ts +++ b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-log-filtering.ts @@ -6,7 +6,7 @@ import { deployCreateCompiledContract, customDevRpcRequest, } from "@moonwall/cli"; -import { TransactionReceipt } from "viem"; +import type { TransactionReceipt } from "viem"; describeSuite({ id: "D011203", diff --git a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-transaction-receipt.ts b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-transaction-receipt.ts index 8f91b26c82..0c946d78a7 100644 --- a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-transaction-receipt.ts +++ b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-transaction-receipt.ts @@ -1,5 +1,5 @@ import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { BALTATHAR_ADDRESS, createViemTransaction, extractFee } from "@moonwall/util"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-eth-tx/test-eth-tx-types.ts b/test/suites/dev/moonbase/test-eth-tx/test-eth-tx-types.ts index fb719b3d35..4151a9f0c8 100644 --- a/test/suites/dev/moonbase/test-eth-tx/test-eth-tx-types.ts +++ b/test/suites/dev/moonbase/test-eth-tx/test-eth-tx-types.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { EthereumTransactionTransactionV2 } from "@polkadot/types/lookup"; +import type { EthereumTransactionTransactionV2 } from "@polkadot/types/lookup"; import { DEFAULT_TXN_MAX_BASE_FEE } from "../../../../helpers"; describeSuite({ @@ -25,7 +25,7 @@ describeSuite({ const signedBlock = await context.polkadotJs().rpc.chain.getBlock(); const extrinsic = signedBlock.block.extrinsics.find( - (ex) => ex.method.section == "ethereum" + (ex) => ex.method.section === "ethereum" )!.args[0] as EthereumTransactionTransactionV2; expect(extrinsic.isLegacy).to.be.true; @@ -67,7 +67,7 @@ describeSuite({ const signedBlock = await context.polkadotJs().rpc.chain.getBlock(); const extrinsic = signedBlock.block.extrinsics.find( - (ex) => ex.method.section == "ethereum" + (ex) => ex.method.section === "ethereum" )!.args[0] as EthereumTransactionTransactionV2; expect(extrinsic.isEip2930).to.be.true; @@ -122,7 +122,7 @@ describeSuite({ const signedBlock = await context.polkadotJs().rpc.chain.getBlock(); const extrinsic = signedBlock.block.extrinsics.find( - (ex) => ex.method.section == "ethereum" + (ex) => ex.method.section === "ethereum" )!.args[0] as EthereumTransactionTransactionV2; expect(extrinsic.isEip1559).to.be.true; diff --git a/test/suites/dev/moonbase/test-evm/test-pallet-evm-overflow.ts b/test/suites/dev/moonbase/test-evm/test-pallet-evm-overflow.ts index 43293369ae..c74bc85880 100644 --- a/test/suites/dev/moonbase/test-evm/test-pallet-evm-overflow.ts +++ b/test/suites/dev/moonbase/test-evm/test-pallet-evm-overflow.ts @@ -37,7 +37,8 @@ describeSuite({ expect( result?.events.find( - ({ event: { section, method } }) => section == "system" && method == "ExtrinsicSuccess" + ({ event: { section, method } }) => + section === "system" && method === "ExtrinsicSuccess" ) ).to.exist; diff --git a/test/suites/dev/moonbase/test-evm/test-pallet-evm-transfer.ts b/test/suites/dev/moonbase/test-evm/test-pallet-evm-transfer.ts index ceccaf0572..8118d7dc6c 100644 --- a/test/suites/dev/moonbase/test-evm/test-pallet-evm-transfer.ts +++ b/test/suites/dev/moonbase/test-evm/test-pallet-evm-transfer.ts @@ -71,7 +71,8 @@ describeSuite({ expect( result?.events.find( - ({ event: { section, method } }) => section == "system" && method == "ExtrinsicSuccess" + ({ event: { section, method } }) => + section === "system" && method === "ExtrinsicSuccess" ) ).to.exist; expect(await context.viem().getBalance({ address: baltathar.address })).to.equal( diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts index ad0433d815..079a857291 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts @@ -111,7 +111,7 @@ describeSuite({ ); // grab the first withdraw event and hope it's the right one... - const withdrawEvent = result?.events.filter(({ event }) => event.method == "Withdraw")[0]; + const withdrawEvent = result?.events.filter(({ event }) => event.method === "Withdraw")[0]; const amount = withdrawEvent.event.data.amount.toBigInt(); // ~/4 to compensate for the ref time XCM fee changes // Previous value: 6_000_000_012_598_000_941_192n @@ -164,13 +164,13 @@ describeSuite({ expect(receipt2.status).toBe("success"); const successEvent = interactionResult?.events.filter( - ({ event }) => event.method == "ExtrinsicSuccess" + ({ event }) => event.method === "ExtrinsicSuccess" )[0]; const weight = successEvent.event.data.dispatchInfo.weight.refTime.toBigInt(); expect(weight).to.equal(1_734_300_000n); const withdrawEvents = interactionResult?.events.filter( - ({ event }) => event.method == "Withdraw" + ({ event }) => event.method === "Withdraw" ); expect(withdrawEvents?.length).to.equal(1); const withdrawEvent = withdrawEvents![0]; diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts index 72dea9d4bd..76e03a7752 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment/moonbase"; import { beforeAll, beforeEach, describeSuite, expect } from "@moonwall/cli"; -import { BALTATHAR_ADDRESS, KeyringPair, alith, generateKeyringPair } from "@moonwall/util"; +import { BALTATHAR_ADDRESS, type KeyringPair, alith, generateKeyringPair } from "@moonwall/util"; import { bnToHex } from "@polkadot/util"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, descendOriginFromAddress20, expectOk, @@ -70,7 +70,7 @@ describeSuite({ const metadata = await context.polkadotJs().rpc.state.getMetadata(); balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); }); diff --git a/test/suites/dev/moonbase/test-fees/test-length-fees.ts b/test/suites/dev/moonbase/test-fees/test-length-fees.ts index 2fdf3f346d..4bd63affb1 100644 --- a/test/suites/dev/moonbase/test-fees/test-length-fees.ts +++ b/test/suites/dev/moonbase/test-fees/test-length-fees.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext, describeSuite, expect } from "@moonwall/cli"; +import { type DevModeContext, describeSuite, expect } from "@moonwall/cli"; import { BALTATHAR_ADDRESS, baltathar } from "@moonwall/util"; //TODO: Change these to be less literal diff --git a/test/suites/dev/moonbase/test-gas/test-gas-estimation-allcontracts.ts b/test/suites/dev/moonbase/test-gas/test-gas-estimation-allcontracts.ts index 63e0ac56c9..67e8a0fb86 100644 --- a/test/suites/dev/moonbase/test-gas/test-gas-estimation-allcontracts.ts +++ b/test/suites/dev/moonbase/test-gas/test-gas-estimation-allcontracts.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { - EthTransactionType, + type EthTransactionType, TransactionTypes, beforeAll, customDevRpcRequest, @@ -28,7 +28,7 @@ describeSuite({ beforeAll(async function () { // Estimation for storage need to happen in a block > than genesis. // Otherwise contracts that uses block number as storage will remove instead of storing - // (as block.number == H256::default). + // (as block.number === H256::default). await context.createBlock(); }); @@ -52,24 +52,26 @@ describeSuite({ title: `should be enough for contract ${contractName} via ${txnType}`, test: async function () { const { bytecode, abi } = fetchCompiledContract(contractName); - const constructorAbi = abi.find((call) => call.type == "constructor") as AbiConstructor; + const constructorAbi = abi.find( + (call) => call.type === "constructor" + ) as AbiConstructor; // ask RPC for an gas estimate of deploying this contract const args = constructorAbi ? constructorAbi.inputs.map((input) => - input.type == "bool" + input.type === "bool" ? true - : input.type == "address" - ? faith.address - : input.type.startsWith("uint") - ? `0x${Buffer.from( - randomBytes(Number(input.type.split("uint")[1]) / 8) - ).toString("hex")}` - : input.type.startsWith("bytes") - ? `0x${Buffer.from(randomBytes(Number(input.type.split("bytes")[1]))).toString( - "hex" - )}` - : "0x" + : input.type === "address" + ? faith.address + : input.type.startsWith("uint") + ? `0x${Buffer.from( + randomBytes(Number(input.type.split("uint")[1]) / 8) + ).toString("hex")}` + : input.type.startsWith("bytes") + ? `0x${Buffer.from( + randomBytes(Number(input.type.split("bytes")[1])) + ).toString("hex")}` + : "0x" ) : []; @@ -90,7 +92,7 @@ describeSuite({ ]); creationResult = "Succeed"; } catch (e: any) { - if (e.message == "VM Exception while processing transaction: revert") { + if (e.message === "VM Exception while processing transaction: revert") { estimate = 12_000_000n; creationResult = "Revert"; } else { @@ -110,7 +112,7 @@ describeSuite({ .getTransactionReceipt({ hash: result!.hash as `0x${string}` }); expectEVMResult(result!.events, creationResult); - expect(receipt.status == "success").to.equal(creationResult == "Succeed"); + expect(receipt.status === "success").to.equal(creationResult === "Succeed"); }, }); } diff --git a/test/suites/dev/moonbase/test-gas/test-gas-estimation-multiply.ts b/test/suites/dev/moonbase/test-gas/test-gas-estimation-multiply.ts index 15b2ef79d9..80eeaa4627 100644 --- a/test/suites/dev/moonbase/test-gas/test-gas-estimation-multiply.ts +++ b/test/suites/dev/moonbase/test-gas/test-gas-estimation-multiply.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { Abi } from "viem"; +import type { Abi } from "viem"; describeSuite({ id: "D011804", diff --git a/test/suites/dev/moonbase/test-gas/test-gas-estimation-subcall-oog.ts b/test/suites/dev/moonbase/test-gas/test-gas-estimation-subcall-oog.ts index 127b12bc9d..5abf0717f5 100644 --- a/test/suites/dev/moonbase/test-gas/test-gas-estimation-subcall-oog.ts +++ b/test/suites/dev/moonbase/test-gas/test-gas-estimation-subcall-oog.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { Abi, decodeEventLog, encodeFunctionData } from "viem"; +import { type Abi, decodeEventLog, encodeFunctionData } from "viem"; describeSuite({ id: "D011805", diff --git a/test/suites/dev/moonbase/test-locks/test-locks-multiple-locks.ts b/test/suites/dev/moonbase/test-locks/test-locks-multiple-locks.ts index 3c42639a97..082b6b9f44 100644 --- a/test/suites/dev/moonbase/test-locks/test-locks-multiple-locks.ts +++ b/test/suites/dev/moonbase/test-locks/test-locks-multiple-locks.ts @@ -60,7 +60,7 @@ describeSuite({ await context.polkadotJs().query.system.account(randomAddress) ).data.frozen.toBigInt(); - // BigInt doesn't have max()- we are testing frozenBalance == max(GLMR, MIN_GLMR_DELEGATOR) + // BigInt doesn't have max()- we are testing frozenBalance === max(GLMR, MIN_GLMR_DELEGATOR) if (GLMR > MIN_GLMR_DELEGATOR) { expect(frozenBalance).to.equal(GLMR); } else { diff --git a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter.ts b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter.ts index 6c76ba2c9a..3019e0950f 100644 --- a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter.ts +++ b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter.ts @@ -9,7 +9,7 @@ import { baltathar, createRawTransfer, } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { hexToU8a } from "@polkadot/util"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter2.ts b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter2.ts index 858846f45e..5982d338dc 100644 --- a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter2.ts +++ b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter2.ts @@ -7,8 +7,8 @@ import { execOpenTechCommitteeProposal, } from "@moonwall/cli"; import { ALITH_ADDRESS, alith, baltathar } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { RELAY_SOURCE_LOCATION, addAssetToWeightTrader, @@ -52,7 +52,7 @@ describeSuite({ ); // set relative price in xcmWeightTrader - await addAssetToWeightTrader(RELAY_SOURCE_LOCATION, 0, context); + await addAssetToWeightTrader(RELAY_SOURCE_LOCATION, 0n, context); await execOpenTechCommitteeProposal( context, diff --git a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter3.ts b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter3.ts index a08fcf3b80..4a0fb36e7b 100644 --- a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter3.ts +++ b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter3.ts @@ -53,7 +53,7 @@ describeSuite({ assetId = events.event.data[0].toHex().replace(/,/g, ""); // set relative price in xcmWeightTrader - await addAssetToWeightTrader(sourceLocation, 0, context); + await addAssetToWeightTrader(sourceLocation, 0n, context); }); beforeEach(async () => { diff --git a/test/suites/dev/moonbase/test-maintenance/test-maintenance-mode.ts b/test/suites/dev/moonbase/test-maintenance/test-maintenance-mode.ts index cac2e485ef..730b83a405 100644 --- a/test/suites/dev/moonbase/test-maintenance/test-maintenance-mode.ts +++ b/test/suites/dev/moonbase/test-maintenance/test-maintenance-mode.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect, execOpenTechCommitteeProposal } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { Result } from "@polkadot/types"; -import { SpRuntimeDispatchError } from "@polkadot/types/lookup"; +import type { Result } from "@polkadot/types"; +import type { SpRuntimeDispatchError } from "@polkadot/types/lookup"; describeSuite({ id: "D012004", diff --git a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-foreign-assets-migration.ts b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-foreign-assets-migration.ts index b7393925f7..0d50cc5699 100644 --- a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-foreign-assets-migration.ts +++ b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-foreign-assets-migration.ts @@ -1,5 +1,5 @@ import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { ethers, parseEther } from "ethers"; import { expectOk } from "../../../../helpers"; import { @@ -16,7 +16,7 @@ import { alith, createEthersTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; +import type { u128 } from "@polkadot/types-codec"; import { encodeFunctionData, parseAbi } from "viem"; describeSuite({ @@ -52,7 +52,7 @@ describeSuite({ ]; const totalSupply = accounts - .reduce((sum, account) => sum + parseFloat(account.balance), 0) + .reduce((sum, account) => sum + Number.parseFloat(account.balance), 0) .toString(); // Create asset details diff --git a/test/suites/dev/moonbase/test-multisigs/test-multisigs.ts b/test/suites/dev/moonbase/test-multisigs/test-multisigs.ts index 72db4ccf85..7836fedd05 100644 --- a/test/suites/dev/moonbase/test-multisigs/test-multisigs.ts +++ b/test/suites/dev/moonbase/test-multisigs/test-multisigs.ts @@ -56,7 +56,7 @@ describeSuite({ // check the event 'NewMultisig' was emitted const records = await context.polkadotJs().query.system.events(); const events = records.filter( - ({ event }) => event.section == "multisig" && event.method == "NewMultisig" + ({ event }) => event.section === "multisig" && event.method === "NewMultisig" ); expect(events).to.have.lengthOf(1); expect(block.result!.successful).to.be.true; @@ -99,7 +99,7 @@ describeSuite({ // check the event 'MultisigApproval' was emitted const records = await context.polkadotJs().query.system.events(); const events = records.filter( - ({ event }) => event.section == "multisig" && event.method == "MultisigApproval" + ({ event }) => event.section === "multisig" && event.method === "MultisigApproval" ); expect(events).to.have.lengthOf(1); expect(block.result!.successful).to.be.true; @@ -138,7 +138,7 @@ describeSuite({ const records = await context.polkadotJs().query.system.events(); const events = records.filter( - ({ event }) => event.section == "multisig" && event.method == "MultisigCancelled" + ({ event }) => event.section === "multisig" && event.method === "MultisigCancelled" ); expect(events, "event 'MultisigCancelled' was not emitted").to.have.lengthOf(1); expect(block.result!.successful).to.be.true; diff --git a/test/suites/dev/moonbase/test-parameters/test-parameters.ts b/test/suites/dev/moonbase/test-parameters/test-parameters.ts index fb1fbef96a..7a34646e04 100644 --- a/test/suites/dev/moonbase/test-parameters/test-parameters.ts +++ b/test/suites/dev/moonbase/test-parameters/test-parameters.ts @@ -1,4 +1,4 @@ -import { describeSuite, DevModeContext, expect } from "@moonwall/cli"; +import { describeSuite, type DevModeContext, expect } from "@moonwall/cli"; import "@moonbeam-network/api-augment"; import { alith } from "@moonwall/util"; diff --git a/test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts b/test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts index 85d1538738..f157e04cef 100644 --- a/test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts +++ b/test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; -import { expectEVMResult, HeavyContract, deployHeavyContracts } from "../../../../helpers"; +import { type Abi, encodeFunctionData } from "viem"; +import { expectEVMResult, type HeavyContract, deployHeavyContracts } from "../../../../helpers"; describeSuite({ id: "D012701", diff --git a/test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts b/test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts index 73f47e785e..5b4cc396c8 100644 --- a/test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts +++ b/test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; -import { HeavyContract, deployHeavyContracts } from "../../../../helpers"; +import { type Abi, encodeFunctionData } from "viem"; +import { type HeavyContract, deployHeavyContracts } from "../../../../helpers"; import { MAX_ETH_POV_PER_TX } from "../../../../helpers/constants"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts index abff6957db..5fb4735cec 100644 --- a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts +++ b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts @@ -6,9 +6,9 @@ import { deployCreateCompiledContract, fetchCompiledContract, } from "@moonwall/cli"; -import { HeavyContract, deployHeavyContracts, expectEVMResult } from "../../../../helpers"; +import { type HeavyContract, deployHeavyContracts, expectEVMResult } from "../../../../helpers"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { ALITH_ADDRESS, PRECOMPILE_BATCH_ADDRESS, createEthersTransaction } from "@moonwall/util"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts index 06212a0795..a7881e9a08 100644 --- a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts +++ b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts @@ -7,8 +7,8 @@ import { fetchCompiledContract, } from "@moonwall/cli"; import { PRECOMPILE_BATCH_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; -import { HeavyContract, deployHeavyContracts, MAX_ETH_POV_PER_TX } from "../../../../helpers"; +import { type Abi, encodeFunctionData } from "viem"; +import { type HeavyContract, deployHeavyContracts, MAX_ETH_POV_PER_TX } from "../../../../helpers"; describeSuite({ id: "D012705", diff --git a/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts b/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts index 5c4847cbfc..1fb6198417 100644 --- a/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts +++ b/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { describeSuite, beforeAll, expect, deployCreateCompiledContract } from "@moonwall/cli"; -import { Abi, encodeFunctionData } from "viem"; -import { HeavyContract, deployHeavyContracts, expectOk } from "../../../../helpers"; +import { type Abi, encodeFunctionData } from "viem"; +import { type HeavyContract, deployHeavyContracts, expectOk } from "../../../../helpers"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, descendOriginFromAddress20, injectHrmpMessage, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts index 79b48e60e1..9aead393b1 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { extractRevertReason } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts index a6e3b4c4af..a84cc8e27e 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts @@ -13,10 +13,10 @@ import { alith, createEthersTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { u128 } from "@polkadot/types"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { nToHex } from "@polkadot/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts index 285c8d54b6..a0be75f2b6 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, decodeAbiParameters, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, decodeAbiParameters, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts index ff647f9010..a17829c21c 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, alith, createEthersTransaction } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { mockOldAssetBalance } from "../../../../helpers"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "D012804", diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts index 01486a76f9..881312dd03 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts @@ -9,11 +9,11 @@ import { createEthersTransaction, createViemTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { mockOldAssetBalance } from "../../../../helpers"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "D012805", diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts index f53f0c4d19..5943b74797 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, alith, createViemTransaction } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts index be123caad7..f82853d5ea 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts @@ -7,9 +7,9 @@ import { alith, createViemTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts index 1922aac4c1..748e746577 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts @@ -7,9 +7,9 @@ import { alith, createViemTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts index 3b35f8e576..e0804e0f42 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { BALTATHAR_ADDRESS, alith, createViemTransaction } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts index 940c51f842..563ffb3d2a 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts @@ -36,7 +36,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isSucceed ).to.be.true; }, @@ -52,8 +52,8 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRegistered")).to - .exist; + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRegistered")) + .to.exist; }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts index 28c5997e87..ecec8ee4b0 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts @@ -44,7 +44,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isSucceed ).to.be.true; }, @@ -60,7 +60,7 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRotated")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRotated")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts index ba8d616b6e..10f4109966 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts @@ -44,7 +44,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isSucceed ).to.be.true; }, @@ -60,7 +60,7 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRotated")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRotated")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts index b2da1bee80..b6b7533145 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts @@ -57,7 +57,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isSucceed ).to.be.true; }, @@ -73,7 +73,7 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRemoved")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRemoved")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts index f793cfd117..e241ff4bcf 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts @@ -38,7 +38,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isRevert ).to.be.true; }, @@ -54,8 +54,8 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRemoved")).to.not - .exist; + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRemoved")).to + .not.exist; }, }); }, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts index a13c6a9c21..6c96b92095 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts @@ -54,7 +54,7 @@ describeSuite({ // ethereum revert is still a successful substrate extrinsic expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isRevert ).to.be.true; }, @@ -70,7 +70,7 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping")).to.not.exist; + expect(events.find((e) => e.section === "authorMapping")).to.not.exist; }, }); @@ -128,7 +128,7 @@ describeSuite({ // expect(extrinsic).to.exist; // expect(resultEvent.method).to.equal("ExtrinsicSuccess"); // expect( -// (events.find((e) => e.section == "ethereum" && e.method == "Executed").data[3] as any) +// (events.find((e) => e.section === "ethereum" && e.method === "Executed").data[3] as any) // .isRevert // ).to.be.true; // }); @@ -147,7 +147,7 @@ describeSuite({ // expect(extrinsic).to.exist; // expect(resultEvent.method).to.equal("ExtrinsicSuccess"); // expect( -// (events.find((e) => e.section == "ethereum" && e.method == "Executed").data[3] as any) +// (events.find((e) => e.section === "ethereum" && e.method === "Executed").data[3] as any) // .isRevert // ).to.be.true; // }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts index 7f7ab07f5a..737b3e294b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts @@ -29,7 +29,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isRevert ).to.be.true; }, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts index f93a44a09e..eaf2046cf4 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts @@ -29,7 +29,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isRevert ).to.be.true; }, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts index 9d233afbf8..4bc9a83695 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts @@ -3,7 +3,7 @@ import { beforeAll, describeSuite, expect, fetchCompiledContract } from "@moonwa import { ALITH_ADDRESS, DEFAULT_GENESIS_MAPPING, - KeyringPair, + type KeyringPair, PRECOMPILE_AUTHOR_MAPPING_ADDRESS, createViemTransaction, generateKeyringPair, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts index c02d606e9a..9288f4a88b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts @@ -3,7 +3,7 @@ import { beforeAll, describeSuite, expect, fetchCompiledContract } from "@moonwa import { ALITH_ADDRESS, DEFAULT_GENESIS_MAPPING, - KeyringPair, + type KeyringPair, PRECOMPILE_AUTHOR_MAPPING_ADDRESS, createViemTransaction, generateKeyringPair, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts index 5800a2d149..917edc5f72 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts @@ -94,9 +94,9 @@ describeSuite({ const STORAGE_READ_GAS_COST = // One storage read gas cost ConstantStore(context).STORAGE_READ_COST / ConstantStore(context).WEIGHT_TO_GAS_RATIO; - expect(batchAllReceipt["gasUsed"]).to.equal(43932n + STORAGE_READ_GAS_COST); - expect(batchSomeReceipt["gasUsed"]).to.equal(43932n + STORAGE_READ_GAS_COST); - expect(batchSomeUntilFailureReceipt["gasUsed"]).to.equal(43932n + STORAGE_READ_GAS_COST); + expect(batchAllReceipt.gasUsed).to.equal(43932n + STORAGE_READ_GAS_COST); + expect(batchSomeReceipt.gasUsed).to.equal(43932n + STORAGE_READ_GAS_COST); + expect(batchSomeUntilFailureReceipt.gasUsed).to.equal(43932n + STORAGE_READ_GAS_COST); }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-call-permit-demo.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-call-permit-demo.ts index 46b69df4f9..30b5ec9d36 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-call-permit-demo.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-call-permit-demo.ts @@ -13,7 +13,7 @@ import { PRECOMPILE_CALL_PERMIT_ADDRESS, createViemTransaction, } from "@moonwall/util"; -import { Abi, encodeFunctionData, fromHex } from "viem"; +import { type Abi, encodeFunctionData, fromHex } from "viem"; import { expectEVMResult, getSignatureParameters } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts index cb0bcfdc73..9dead72e6d 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts @@ -6,9 +6,9 @@ import { beforeEach, } from "@moonwall/cli"; import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { expectEVMResult, expectOk, extractRevertReason } from "../../../../helpers"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "D012929", diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting.ts index 1a560fb5fd..3d87958e74 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, beforeEach, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; import { ALITH_ADDRESS, ETHAN_ADDRESS, ETHAN_PRIVATE_KEY } from "@moonwall/util"; -import { Abi, decodeEventLog } from "viem"; +import { type Abi, decodeEventLog } from "viem"; import { expectEVMResult, extractRevertReason, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting2.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting2.ts index 4d344a113a..d6c10c8bfb 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting2.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting2.ts @@ -33,7 +33,7 @@ describeSuite({ .polkadotJs() .query.referenda.referendumInfoFor(proposalIndex); expect(referendum.unwrap().asOngoing.tally.ayes.toBigInt()).to.equal( - 1n * 10n ** 17n * (conviction == 0n ? 1n : conviction * 10n) + 1n * 10n ** 17n * (conviction === 0n ? 1n : conviction * 10n) ); }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting3.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting3.ts index 5be67f81ba..79c14c08b9 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting3.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting3.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, beforeEach, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { Abi, decodeEventLog } from "viem"; +import { type Abi, decodeEventLog } from "viem"; import { ConvictionVoting, createProposal, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting4.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting4.ts index 1bd007e8f2..12e8627987 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting4.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting4.ts @@ -7,7 +7,7 @@ import { ETHAN_PRIVATE_KEY, GLMR, } from "@moonwall/util"; -import { Abi, decodeEventLog } from "viem"; +import { type Abi, decodeEventLog } from "viem"; import { ConvictionVoting, cancelProposal, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-democracy.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-democracy.ts index 0113142460..0fca6371ee 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-democracy.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-democracy.ts @@ -14,7 +14,7 @@ describeSuite({ test: async function () { const referendumCount = await context.polkadotJs().query.referenda.referendumCount(); const blockNum = (await context.polkadotJs().rpc.chain.getHeader()).number.toBigInt(); - if (blockNum == 0n) { + if (blockNum === 0n) { expect(referendumCount.toNumber()).to.equal(0); } else { log(`Skipping test T01 because block number is ${blockNum}`); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-erc20.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-erc20.ts index 6a2a8a7fa2..c4afcf1f78 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-erc20.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-erc20.ts @@ -8,7 +8,7 @@ import { PRECOMPILE_NATIVE_ERC20_ADDRESS, baltathar, } from "@moonwall/util"; -import { PrivateKeyAccount, keccak256, pad, parseEther, toBytes, toHex } from "viem"; +import { type PrivateKeyAccount, keccak256, pad, parseEther, toBytes, toHex } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { ALITH_GENESIS_TRANSFERABLE_BALANCE } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-identity.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-identity.ts index 13d0a3c3f0..46fb6034f6 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-identity.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-identity.ts @@ -29,7 +29,9 @@ describeSuite({ // ..the other variants // // See BitWise operator (<<) for more info. - context.polkadotJs().tx.identity.setFields(0, 0b111 as any) + context + .polkadotJs() + .tx.identity.setFields(0, 0b111 as any) ); await context.createBlock( diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-modexp.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-modexp.ts index a6e89913b9..d1cbb2b7c7 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-modexp.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-modexp.ts @@ -75,7 +75,7 @@ describeSuite({ "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"; // modulus const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -135,7 +135,7 @@ describeSuite({ "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"; // modulus const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -168,7 +168,7 @@ describeSuite({ testVectors["nagydani-1-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -203,7 +203,7 @@ describeSuite({ testVectors["nagydani-1-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -237,7 +237,7 @@ describeSuite({ testVectors["nagydani-1-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -271,7 +271,7 @@ describeSuite({ testVectors["nagydani-2-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -305,7 +305,7 @@ describeSuite({ testVectors["nagydani-2-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -339,7 +339,7 @@ describeSuite({ testVectors["nagydani-2-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -373,7 +373,7 @@ describeSuite({ testVectors["nagydani-3-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -407,7 +407,7 @@ describeSuite({ testVectors["nagydani-3-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -441,7 +441,7 @@ describeSuite({ testVectors["nagydani-3-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -475,7 +475,7 @@ describeSuite({ testVectors["nagydani-4-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -509,7 +509,7 @@ describeSuite({ testVectors["nagydani-4-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -543,7 +543,7 @@ describeSuite({ testVectors["nagydani-4-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -577,7 +577,7 @@ describeSuite({ testVectors["nagydani-5-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -611,7 +611,7 @@ describeSuite({ testVectors["nagydani-5-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -645,7 +645,7 @@ describeSuite({ testVectors["nagydani-5-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -697,7 +697,7 @@ describeSuite({ ]); const inputData = u8aToHex(byteArray); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm.ts index 2cd1fcb249..db4d93ddf5 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, fetchCompiledContract, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, alith, createEthersTransaction } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; +import type { u128 } from "@polkadot/types-codec"; import { numberToHex } from "@polkadot/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { encodeFunctionData } from "viem"; import { expectEVMResult, mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-preimage.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-preimage.ts index 6ec4c087ba..fbe55ad41b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-preimage.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-preimage.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, beforeEach, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; -import { Abi, decodeEventLog } from "viem"; +import { type Abi, decodeEventLog } from "viem"; import { Preimage, expectEVMResult, expectSubstrateEvent } from "../../../../helpers"; // Each test is instantiating a new proposal (Not ideal for isolation but easier to write) diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-referenda-demo.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-referenda-demo.ts index 551cf4734e..f29d92f32c 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-referenda-demo.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-referenda-demo.ts @@ -26,7 +26,7 @@ describeSuite({ const setStorageCallIndex = u8aToHex(context.polkadotJs().tx.system.setStorage.callIndex); const trackName = "root"; const tracksInfo = context.polkadotJs().consts.referenda.tracks; - const trackInfo = tracksInfo.find((track) => track[1].name.toString() == trackName); + const trackInfo = tracksInfo.find((track) => track[1].name.toString() === trackName); expect(trackInfo).to.not.be.empty; const { contractAddress: refUpgradeDemoV1Address, abi: refUpgradeDemoV1Abi } = diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-relay-verifier.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-relay-verifier.ts index 9ec20e74a3..a4293b09d3 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-relay-verifier.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-relay-verifier.ts @@ -78,24 +78,24 @@ describeSuite({ ]) ), ]); - }), - it({ - id: "T01", - title: "should successfully verify the Timestamp value in the proof", - test: async function () { - const readProof = context.polkadotJs().createType("ReadProof", proof); + }); + it({ + id: "T01", + title: "should successfully verify the Timestamp value in the proof", + test: async function () { + const readProof = context.polkadotJs().createType("ReadProof", proof); - expect( - await context.readContract!({ - contractAddress: PRECOMPILE_RELAY_DATA_VERIFIER_ADDRESS, - contractName: "RelayDataVerifier", - functionName: "verifyEntry", - args: [1000, readProof.toJSON(), keys[0]], - gas: 100_000n, - }) - ).toBe("0xc0e413b88d010000"); // 1_708_190_328_000 scale encoded - }, - }); + expect( + await context.readContract!({ + contractAddress: PRECOMPILE_RELAY_DATA_VERIFIER_ADDRESS, + contractName: "RelayDataVerifier", + functionName: "verifyEntry", + args: [1000, readProof.toJSON(), keys[0]], + gas: 100_000n, + }) + ).toBe("0xc0e413b88d010000"); // 1_708_190_328_000 scale encoded + }, + }); it({ id: "T02", title: "should successfully verify the values in the proof (order of values matters)", diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-wormhole.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-wormhole.ts index da36d5e40a..4149ad1998 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-wormhole.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-wormhole.ts @@ -5,8 +5,8 @@ import { Enum, Struct } from "@polkadot/types"; import type { Registry } from "@polkadot/types/types/registry"; import { u8aConcat, u8aToHex } from "@polkadot/util"; import { xxhashAsU8a } from "@polkadot/util-crypto"; -import { InterfaceAbi, ethers } from "ethers"; -import { Abi, encodeFunctionData } from "viem"; +import { type InterfaceAbi, ethers } from "ethers"; +import { type Abi, encodeFunctionData } from "viem"; import { expectEVMResult, expectSubstrateEvents, @@ -192,9 +192,8 @@ describeSuite({ const finality = 1; // Deploy bridge (based on wormhole) // wormhole-foundation/wormhole/blob/main/ethereum/migrations/3_deploy_bridge.js - const { contractAddress: tokenImplAddr } = await context.deployContract!( - "TokenImplementation" - ); + const { contractAddress: tokenImplAddr } = + await context.deployContract!("TokenImplementation"); log(`wormhole token impl deployed to ${tokenImplAddr}`); const { contractAddress: bridgeSetupAddr, abi: bridgeSetupAbi } = await context.deployContract!("BridgeSetup"); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor.ts index fd8b6f1baf..33fc61d09d 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor11.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor11.ts index 08e25c45dc..f13bc5ec76 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor11.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor11.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, ALITH_PRIVATE_KEY, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor12.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor12.ts index f3806d60e0..30875e450d 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor12.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor12.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith, ALITH_PRIVATE_KEY } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor2.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor2.ts index ec081ea74a..78bc2fce2b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor2.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor2.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor7.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor7.ts index 99f138a814..8668777926 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor7.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor7.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor8.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor8.ts index bd9f6dc11a..93e254783f 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor8.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor8.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-utils.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-utils.ts index 2060e17e19..881e36897b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-utils.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-utils.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, generateKeyringPair } from "@moonwall/util"; -import { XcmVersionedXcm } from "@polkadot/types/lookup"; +import type { XcmVersionedXcm } from "@polkadot/types/lookup"; import { u8aToHex } from "@polkadot/util"; import { expectEVMResult, descendOriginFromAddress20, ConstantStore } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-proxy/test-proxy-identity.ts b/test/suites/dev/moonbase/test-proxy/test-proxy-identity.ts index ddc377339c..0e687ab97c 100644 --- a/test/suites/dev/moonbase/test-proxy/test-proxy-identity.ts +++ b/test/suites/dev/moonbase/test-proxy/test-proxy-identity.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect } from "@moonwall/cli"; -import { GLMR, KeyringPair, alith, generateKeyringPair } from "@moonwall/util"; +import { GLMR, type KeyringPair, alith, generateKeyringPair } from "@moonwall/util"; describeSuite({ id: "D013005", diff --git a/test/suites/dev/moonbase/test-proxy/test-proxy.ts b/test/suites/dev/moonbase/test-proxy/test-proxy.ts index 3c75cc2a69..3422be352e 100644 --- a/test/suites/dev/moonbase/test-proxy/test-proxy.ts +++ b/test/suites/dev/moonbase/test-proxy/test-proxy.ts @@ -3,7 +3,7 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, CHARLETH_ADDRESS, - KeyringPair, + type KeyringPair, alith, generateKeyringPair, } from "@moonwall/util"; @@ -197,7 +197,7 @@ describeSuite({ const beforeCharlethBalance = await context .viem() .getBalance({ address: CHARLETH_ADDRESS }); - const { result: result } = await context.createBlock( + const { result } = await context.createBlock( context.polkadotJs().tx.proxy.addProxy(signer.address, "Any", 6), { signer: alith, allowFailures: false } ); diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery2.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery2.ts index 31ca88862b..7103d7820c 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery2.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery2.ts @@ -11,7 +11,7 @@ import { charleth, dorothy, } from "@moonwall/util"; -import { TransactionReceipt, decodeEventLog } from "viem"; +import { type TransactionReceipt, decodeEventLog } from "viem"; import { fakeBabeResultTransaction, setupLotteryWithParticipants, diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-request2.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-request2.ts index 9d82eb7eb1..5803b0a531 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-request2.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-request2.ts @@ -29,7 +29,7 @@ describeSuite({ id: "T01", title: "should store a request with id:0", test: async function () { - const requestId = parseInt( + const requestId = Number.parseInt( (await context.polkadotJs().query.randomness.requests.entries())[0][0].toHex().slice(-16), 16 ); diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-result.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-result.ts index f5e87ae860..8138ff9af0 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-result.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-result.ts @@ -8,8 +8,8 @@ import { GLMR, alith, } from "@moonwall/util"; -import { Option } from "@polkadot/types"; -import { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; +import type { Option } from "@polkadot/types"; +import type { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; import { SIMPLE_SALT } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-result2.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-result2.ts index e872f8acb6..6fa060ef99 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-result2.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-result2.ts @@ -7,8 +7,8 @@ import { GLMR, alith, } from "@moonwall/util"; -import { Option } from "@polkadot/types"; -import { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; +import type { Option } from "@polkadot/types"; +import type { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; import { jumpBlocks, SIMPLE_SALT } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-result4.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-result4.ts index 5f9ba7908f..669e1fc000 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-result4.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-result4.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment/moonbase"; import { describeSuite, expect } from "@moonwall/cli"; import { ALITH_PRIVATE_KEY, GLMR, alith } from "@moonwall/util"; -import { Option } from "@polkadot/types"; -import { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; +import type { Option } from "@polkadot/types"; +import type { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; import { jumpBlocks, SIMPLE_SALT } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery5.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery5.ts index 368480f16a..6a1c213b04 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery5.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery5.ts @@ -8,7 +8,7 @@ import { GLMR, MILLIGLMR, } from "@moonwall/util"; -import { TransactionReceipt, decodeEventLog } from "viem"; +import { type TransactionReceipt, decodeEventLog } from "viem"; import { setupLotteryWithParticipants } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery6.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery6.ts index b9d58543c1..8c7dafbfa1 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery6.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery6.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR } from "@moonwall/util"; -import { TransactionReceipt } from "viem"; +import type { TransactionReceipt } from "viem"; import { setupLotteryWithParticipants } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-request2.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-request2.ts index 3e6f38c063..29b7390f6a 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-request2.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-request2.ts @@ -22,7 +22,7 @@ describeSuite({ id: "T01", title: "should store a request with id:0", test: async function () { - const requestId = parseInt( + const requestId = Number.parseInt( ((await context.polkadotJs().query.randomness.requests.entries()) as any)[0][0] .toHex() .slice(-16), diff --git a/test/suites/dev/moonbase/test-receipt/test-receipt-root.ts b/test/suites/dev/moonbase/test-receipt/test-receipt-root.ts index 16c6dd9cf6..03d6425ef6 100644 --- a/test/suites/dev/moonbase/test-receipt/test-receipt-root.ts +++ b/test/suites/dev/moonbase/test-receipt/test-receipt-root.ts @@ -4,7 +4,7 @@ import { BALTATHAR_ADDRESS } from "@moonwall/util"; import { Receipt } from "eth-object"; import { BaseTrie as Trie } from "merkle-patricia-tree"; import * as RLP from "rlp"; -import { Log, encodeDeployData, toHex } from "viem"; +import { type Log, encodeDeployData, toHex } from "viem"; describeSuite({ id: "D013202", @@ -116,7 +116,7 @@ describeSuite({ return await tree.put(Buffer.from(siblingPath), serializedReceipt); }) ); - // Onchain receipt root == Offchain receipt root + // Onchain receipt root === Offchain receipt root expect(block.receiptsRoot).to.be.eq("0x" + tree.root.toString("hex")); }, }); diff --git a/test/suites/dev/moonbase/test-referenda/test-referenda-fast-general-admin.ts b/test/suites/dev/moonbase/test-referenda/test-referenda-fast-general-admin.ts index 04c82a48a1..d26adb3805 100644 --- a/test/suites/dev/moonbase/test-referenda/test-referenda-fast-general-admin.ts +++ b/test/suites/dev/moonbase/test-referenda/test-referenda-fast-general-admin.ts @@ -54,7 +54,7 @@ describeSuite({ const refInfo = await context.polkadotJs().query.referenda.referendumInfoFor(refIndex); const track = refInfo.unwrap().asOngoing.track.toString(); const tracks = context.polkadotJs().consts.referenda.tracks; - const trackName = tracks.find(([index, info]) => index.toString() == track)![1].name; + const trackName = tracks.find(([index, info]) => index.toString() === track)![1].name; expect(trackName.toString()).to.be.eq("fast_general_admin"); }, diff --git a/test/suites/dev/moonbase/test-referenda/test-referenda-general-admin.ts b/test/suites/dev/moonbase/test-referenda/test-referenda-general-admin.ts index fa7dbe2a48..467b17d316 100644 --- a/test/suites/dev/moonbase/test-referenda/test-referenda-general-admin.ts +++ b/test/suites/dev/moonbase/test-referenda/test-referenda-general-admin.ts @@ -54,7 +54,7 @@ describeSuite({ const refInfo = await context.polkadotJs().query.referenda.referendumInfoFor(refIndex); const track = refInfo.unwrap().asOngoing.track.toString(); const tracks = context.polkadotJs().consts.referenda.tracks; - const trackName = tracks.find(([index, info]) => index.toString() == track)![1].name; + const trackName = tracks.find(([index, info]) => index.toString() === track)![1].name; expect(trackName.toString()).to.be.eq("general_admin"); }, diff --git a/test/suites/dev/moonbase/test-referenda/test-referenda-submit.ts b/test/suites/dev/moonbase/test-referenda/test-referenda-submit.ts index a39452d713..b2d9876d3b 100644 --- a/test/suites/dev/moonbase/test-referenda/test-referenda-submit.ts +++ b/test/suites/dev/moonbase/test-referenda/test-referenda-submit.ts @@ -7,7 +7,7 @@ import { maximizeConvictionVotingOf, whiteListTrackNoSend, } from "@moonwall/cli"; -import { ALITH_ADDRESS, GLMR, KeyringPair, ethan, generateKeyringPair } from "@moonwall/util"; +import { ALITH_ADDRESS, GLMR, type KeyringPair, ethan, generateKeyringPair } from "@moonwall/util"; describeSuite({ id: "D013303", diff --git a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts index b7b979f99b..461f3d4119 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_DELEGATOR, MIN_GLMR_STAKING, alith, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound10.ts b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound10.ts index f8ccacac4a..96d5155985 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound10.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound10.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_DELEGATOR, MIN_GLMR_STAKING, alith, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards.ts b/test/suites/dev/moonbase/test-staking/test-rewards.ts index 8732d84fb1..4fe037ff3d 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards.ts @@ -46,7 +46,7 @@ describeSuite({ ); expect( - rewardedEvents.some(({ account }) => account == ethan.address), + rewardedEvents.some(({ account }) => account === ethan.address), "delegator was not rewarded" ).to.be.true; }, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards2.ts b/test/suites/dev/moonbase/test-staking/test-rewards2.ts index 81c185bf3f..96300a96e3 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards2.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards2.ts @@ -54,7 +54,7 @@ describeSuite({ ); expect( - rewardedEvents.some(({ account }) => account == ethan.address), + rewardedEvents.some(({ account }) => account === ethan.address), "delegator was incorrectly rewarded" ).to.be.false; }, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards3.ts b/test/suites/dev/moonbase/test-staking/test-rewards3.ts index 40fc3aa414..9ad56ec759 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards3.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards3.ts @@ -54,7 +54,7 @@ describeSuite({ ); expect( - rewardedEvents.some(({ account }) => account == ethan.address), + rewardedEvents.some(({ account }) => account === ethan.address), "delegator was incorrectly rewarded" ).to.be.false; }, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards4.ts b/test/suites/dev/moonbase/test-staking/test-rewards4.ts index cbf970ecc2..3c66bd4987 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards4.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards4.ts @@ -60,8 +60,10 @@ describeSuite({ [] ); - const rewardedEthan = rewardedEvents.find(({ account }) => account == ethan.address); - const rewardedBalathar = rewardedEvents.find(({ account }) => account == baltathar.address); + const rewardedEthan = rewardedEvents.find(({ account }) => account === ethan.address); + const rewardedBalathar = rewardedEvents.find( + ({ account }) => account === baltathar.address + ); expect(rewardedEthan).is.not.undefined; expect(rewardedBalathar).is.not.undefined; expect( diff --git a/test/suites/dev/moonbase/test-staking/test-rewards5.ts b/test/suites/dev/moonbase/test-staking/test-rewards5.ts index 4285e5e1f9..b999477987 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards5.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards5.ts @@ -79,9 +79,9 @@ describeSuite({ (await context.polkadotJs().query.system.events()).forEach((event) => { if (context.polkadotJs().events.parachainStaking.InflationDistributed.is(event.event)) { - if (event.event.data.account.toString() == dorothy.address) { + if (event.event.data.account.toString() === dorothy.address) { pbrReward = event.event.data.value.toBigInt(); - } else if (event.event.data.account.toString() == charleth.address) { + } else if (event.event.data.account.toString() === charleth.address) { treasuryReward = event.event.data.value.toBigInt(); } } diff --git a/test/suites/dev/moonbase/test-staking/test-staking-consts.ts b/test/suites/dev/moonbase/test-staking/test-staking-consts.ts index 302ab728ca..4d5840d212 100644 --- a/test/suites/dev/moonbase/test-staking/test-staking-consts.ts +++ b/test/suites/dev/moonbase/test-staking/test-staking-consts.ts @@ -3,7 +3,7 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_DELEGATOR, MIN_GLMR_STAKING, alith, diff --git a/test/suites/dev/moonbase/test-staking/test-staking-locks11.ts b/test/suites/dev/moonbase/test-staking/test-staking-locks11.ts index 8a5835ef02..9e2404aca1 100644 --- a/test/suites/dev/moonbase/test-staking/test-staking-locks11.ts +++ b/test/suites/dev/moonbase/test-staking/test-staking-locks11.ts @@ -1,6 +1,12 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { GLMR, KeyringPair, MIN_GLMR_DELEGATOR, alith, generateKeyringPair } from "@moonwall/util"; +import { + GLMR, + type KeyringPair, + MIN_GLMR_DELEGATOR, + alith, + generateKeyringPair, +} from "@moonwall/util"; import { chunk } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-staking/test-staking-locks12.ts b/test/suites/dev/moonbase/test-staking/test-staking-locks12.ts index 6741cb8c36..94e5a98a8d 100644 --- a/test/suites/dev/moonbase/test-staking/test-staking-locks12.ts +++ b/test/suites/dev/moonbase/test-staking/test-staking-locks12.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, - KeyringPair, + type KeyringPair, MILLIGLMR, MIN_GLMR_DELEGATOR, alith, @@ -86,7 +86,7 @@ describeSuite({ .polkadotJs() .query.balances.locks.multi(topDelegators.map((delegator) => delegator.address)); const numDelegatorLocks = topLocks.filter((lockSet) => - lockSet.find((lock) => fromBytes(lock.id.toU8a(), "string") == "stkngdel") + lockSet.find((lock) => fromBytes(lock.id.toU8a(), "string") === "stkngdel") ).length; if (numDelegatorLocks < topDelegators.length) { @@ -132,7 +132,7 @@ describeSuite({ .query.balances.locks.multi(bottomDelegators.map((delegator) => delegator.address)); expect( bottomLocks.filter((lockSet) => - lockSet.find((lock) => fromBytes(lock.id.toU8a(), "string") == "stkngdel") + lockSet.find((lock) => fromBytes(lock.id.toU8a(), "string") === "stkngdel") ).length ).to.equal( context.polkadotJs().consts.parachainStaking.maxBottomDelegationsPerCandidate.toNumber() diff --git a/test/suites/dev/moonbase/test-staking/test-staking-locks9.ts b/test/suites/dev/moonbase/test-staking/test-staking-locks9.ts index 659ef3c115..b9abf4edc0 100644 --- a/test/suites/dev/moonbase/test-staking/test-staking-locks9.ts +++ b/test/suites/dev/moonbase/test-staking/test-staking-locks9.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_DELEGATOR, MIN_GLMR_STAKING, alith, diff --git a/test/suites/dev/moonbase/test-storage-growth/test-evm-store-storage-growth.ts b/test/suites/dev/moonbase/test-storage-growth/test-evm-store-storage-growth.ts index f6c1ec61b0..98b67356c2 100644 --- a/test/suites/dev/moonbase/test-storage-growth/test-evm-store-storage-growth.ts +++ b/test/suites/dev/moonbase/test-storage-growth/test-evm-store-storage-growth.ts @@ -8,7 +8,7 @@ import { import { createEthersTransaction } from "@moonwall/util"; import { expectEVMResult } from "helpers/eth-transactions"; import { expectOk } from "helpers/expect"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "D013503", diff --git a/test/suites/dev/moonbase/test-subscription/test-subscription-logs2.ts b/test/suites/dev/moonbase/test-subscription/test-subscription-logs2.ts index dfe05d48ce..21e0a44d75 100644 --- a/test/suites/dev/moonbase/test-subscription/test-subscription-logs2.ts +++ b/test/suites/dev/moonbase/test-subscription/test-subscription-logs2.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_CONTRACT_ADDRESSES } from "@moonwall/util"; -import { Log } from "web3"; +import type { Log } from "web3"; describeSuite({ id: "D013602", diff --git a/test/suites/dev/moonbase/test-subscription/test-subscription-pending.ts b/test/suites/dev/moonbase/test-subscription/test-subscription-pending.ts index 8019e14f13..a3e95a7fea 100644 --- a/test/suites/dev/moonbase/test-subscription/test-subscription-pending.ts +++ b/test/suites/dev/moonbase/test-subscription/test-subscription-pending.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, expect } from "@moonwall/cli"; import { BALTATHAR_ADDRESS, GLMR, createRawTransfer, sendRawTransaction } from "@moonwall/util"; -import { setTimeout } from "timers/promises"; +import { setTimeout } from "node:timers/promises"; describeSuite({ id: "D013604", diff --git a/test/suites/dev/moonbase/test-subscription/test-subscription.ts b/test/suites/dev/moonbase/test-subscription/test-subscription.ts index 31f5560da2..1155f075c5 100644 --- a/test/suites/dev/moonbase/test-subscription/test-subscription.ts +++ b/test/suites/dev/moonbase/test-subscription/test-subscription.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, createRawTransfer } from "@moonwall/util"; -import { PublicClient, createPublicClient, webSocket } from "viem"; +import { type PublicClient, createPublicClient, webSocket } from "viem"; describeSuite({ id: "D013605", diff --git a/test/suites/dev/moonbase/test-treasury/test-treasury-pallet.ts b/test/suites/dev/moonbase/test-treasury/test-treasury-pallet.ts index 2c642e8eac..8cf3725692 100644 --- a/test/suites/dev/moonbase/test-treasury/test-treasury-pallet.ts +++ b/test/suites/dev/moonbase/test-treasury/test-treasury-pallet.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { alith, baltathar, ethan } from "@moonwall/util"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-txpool/test-txpool-fairness.ts b/test/suites/dev/moonbase/test-txpool/test-txpool-fairness.ts index cbe57a8a68..b1e5c2baca 100644 --- a/test/suites/dev/moonbase/test-txpool/test-txpool-fairness.ts +++ b/test/suites/dev/moonbase/test-txpool/test-txpool-fairness.ts @@ -136,8 +136,8 @@ describeSuite({ const { block } = await context.polkadotJs().rpc.chain.getBlock(hash); const transferExts = block.extrinsics.filter((ext) => { return ( - (ext.method.section == "balances" && ext.method.method == "transferAllowDeath") || - (ext.method.section == "ethereum" && ext.method.method == "transact") + (ext.method.section === "balances" && ext.method.method === "transferAllowDeath") || + (ext.method.section === "ethereum" && ext.method.method === "transact") ); }); diff --git a/test/suites/dev/moonbase/test-txpool/test-txpool-limits3.ts b/test/suites/dev/moonbase/test-txpool/test-txpool-limits3.ts index 94a396610e..ff807ccde0 100644 --- a/test/suites/dev/moonbase/test-txpool/test-txpool-limits3.ts +++ b/test/suites/dev/moonbase/test-txpool/test-txpool-limits3.ts @@ -82,7 +82,7 @@ describeSuite({ ).length; log(`Transactions left in pool: ${txPoolSize}`); - if ((await context.viem().getBlock()).transactions.length == 0) { + if ((await context.viem().getBlock()).transactions.length === 0) { break; } blocks++; diff --git a/test/suites/dev/moonbase/test-txpool/test-txpool-limits4.ts b/test/suites/dev/moonbase/test-txpool/test-txpool-limits4.ts index b6d11997e5..94537f28a7 100644 --- a/test/suites/dev/moonbase/test-txpool/test-txpool-limits4.ts +++ b/test/suites/dev/moonbase/test-txpool/test-txpool-limits4.ts @@ -54,7 +54,7 @@ describeSuite({ ).length; log(`Transactions left in pool: ${txPoolSize}`); - if ((await context.viem().getBlock()).transactions.length == 0) { + if ((await context.viem().getBlock()).transactions.length === 0) { break; } blocks++; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-2.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-2.ts index 1cecd5eca4..5d7671b1d4 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-2.ts @@ -3,7 +3,11 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { BN } from "@polkadot/util"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const palletId = "0x6D6f646c617373746d6E67720000000000000000"; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-3.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-3.ts index 9565be40eb..a1e0149c9c 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-3.ts @@ -2,7 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const FOREIGN_TOKEN = 1_000_000_000_000n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-4.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-4.ts index 535d3fa45a..4ed35bfa49 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -44,7 +44,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // We are charging 100_000_000 weight for every XCM instruction diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-5.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-5.ts index 6f601fa666..c8a5672a81 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-5.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-5.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, weightMessage, sovereignAccountOfSibling, @@ -46,7 +46,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // The rest should be going to the deposit account diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-6.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-6.ts index 78d67592de..39b8c4a1e7 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-6.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-6.ts @@ -3,7 +3,11 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const FOREIGN_TOKEN = 1_000_000_000_000n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-8.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-8.ts index dff1c29645..9237ccf4b0 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-8.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-8.ts @@ -2,7 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const palletId = "0x6D6f646c617373746d6E67720000000000000000"; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-1.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-1.ts index 3535547e79..5eaec6670e 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-2.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-2.ts index cb72164599..23441ca41b 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-2.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-3.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-3.ts index b9ea91155d..740d1ee392 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-3.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-4.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-4.ts index ac87273503..3475db3e79 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-1.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-1.ts index 15b97731f0..653e7db19d 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -51,7 +51,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-10.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-10.ts index 7ca5d0e55d..48fe776e13 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-10.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-10.ts @@ -2,10 +2,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GAS_LIMIT_POV_RATIO } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -50,11 +50,11 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // Matches the BoundedVec limit in the runtime. - const CALL_INPUT_SIZE_LIMIT = Math.pow(2, 16); + const CALL_INPUT_SIZE_LIMIT = 2 ** 16; const GAS_LIMIT = 1_100_000; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-11.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-11.ts index 912c37c04a..0e9d41e5c0 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-11.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-11.ts @@ -2,10 +2,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GAS_LIMIT_POV_RATIO } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -50,11 +50,11 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // Matches the BoundedVec limit in the runtime. - const CALL_INPUT_SIZE_LIMIT = Math.pow(2, 16); + const CALL_INPUT_SIZE_LIMIT = 2 ** 16; const GAS_LIMIT = 1000000; const xcmTransactions = [ diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-12.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-12.ts index ed610bdeb2..e63ff0e398 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-12.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-12.ts @@ -2,10 +2,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GAS_LIMIT_POV_RATIO, generateKeyringPair } from "@moonwall/util"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -51,7 +51,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-2.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-2.ts index 2179331d25..715f0be6d1 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-2.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -51,7 +51,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const GAS_LIMIT = 100_000; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-3.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-3.ts index 7dfe122534..a38d9af295 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-3.ts @@ -2,15 +2,15 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { BN } from "@polkadot/util"; -import { KeyringPair } from "@polkadot/keyring/types"; -import { Abi, encodeFunctionData } from "viem"; +import type { KeyringPair } from "@polkadot/keyring/types"; +import { type Abi, encodeFunctionData } from "viem"; import { generateKeyringPair, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, - MultiLocation, + type MultiLocation, weightMessage, } from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-4.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-4.ts index 7c96b2e987..189c9e5d18 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -48,7 +48,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-5.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-5.ts index 73c75197de..f0a5d931db 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-5.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-5.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -56,7 +56,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-6.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-6.ts index e3383798a0..6a6a4c9da0 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-6.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-6.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -59,7 +59,7 @@ describeSuite({ ).data.free.toBigInt(); // Charleth nonce - charlethNonce = parseInt( + charlethNonce = Number.parseInt( (await context.polkadotJs().query.system.account(sendingAddress)).nonce.toString() ); }); @@ -71,7 +71,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-7.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-7.ts index b38cd63599..35cd2b5b3c 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-7.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-7.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth, alith, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -55,7 +55,7 @@ describeSuite({ ).data.free.toBigInt(); // Charleth nonce - charlethNonce = parseInt( + charlethNonce = Number.parseInt( (await context.polkadotJs().query.system.account(sendingAddress)).nonce.toString() ); @@ -75,7 +75,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-8.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-8.ts index e73705aa32..ae505bef39 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-8.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-8.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, alith, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -56,7 +56,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-data-field-size.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-data-field-size.ts index 6261801365..1cda57c9cb 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-data-field-size.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-data-field-size.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { sovereignAccountOfSibling, injectEncodedHrmpMessageAndSeal, diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-excess-gas.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-excess-gas.ts index 4d5eb2f09c..d6a90f26ba 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-excess-gas.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-excess-gas.ts @@ -1,12 +1,12 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult, getTransactionFees } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -108,10 +108,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) @@ -196,10 +196,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-fees-and-trap.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-fees-and-trap.ts index bf734a363f..5a00530fe5 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-fees-and-trap.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-fees-and-trap.ts @@ -1,11 +1,11 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, weightMessage, @@ -42,7 +42,7 @@ describeSuite({ // Get pallet index const metadata = await polkadotJs.rpc.state.getMetadata(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some erc20 tokens to the sovereign account of paraId @@ -142,10 +142,10 @@ describeSuite({ // Get pallet index const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) @@ -270,7 +270,7 @@ describeSuite({ // Search for AssetsClaimed event const records = await polkadotJs.query.system.events(); const events = records.filter( - ({ event }) => event.section == "polkadotXcm" && event.method == "AssetsClaimed" + ({ event }) => event.section === "polkadotXcm" && event.method === "AssetsClaimed" ); expect(events).to.have.lengthOf(1); diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3-filter.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3-filter.ts index 910ef90f43..17211a89ff 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3-filter.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3-filter.ts @@ -1,11 +1,11 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -41,10 +41,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3.ts index c169c157b3..39f0c38ba4 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3.ts @@ -1,11 +1,11 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -41,10 +41,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-max-weight-instructions.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-max-weight-instructions.ts index bf62adbf2c..088d70a3b7 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-max-weight-instructions.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-max-weight-instructions.ts @@ -4,13 +4,13 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith, CHARLETH_ADDRESS } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, sovereignAccountOfSibling, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, } from "../../../../helpers/xcm.js"; import { parseEther } from "ethers"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "D014039", diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-new-instructions.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-new-instructions.ts index 89b018a2d5..353690a100 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-new-instructions.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-new-instructions.ts @@ -4,13 +4,13 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith, CHARLETH_ADDRESS } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, sovereignAccountOfSibling, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, } from "../../../../helpers/xcm.js"; import { parseEther } from "ethers"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Here we are testing each allowed instruction to be executed. Even if some of them throw an error, // the important thing (and what we are testing) is that they are diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-auto-pause-xcm.ts b/test/suites/dev/moonbase/test-xcm-v4/test-auto-pause-xcm.ts index 29c91c0b37..01f7e91dd5 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-auto-pause-xcm.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-auto-pause-xcm.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, customDevRpcRequest, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, sovereignAccountOfSibling, injectHrmpMessage, } from "../../../../helpers/xcm.js"; @@ -39,7 +39,7 @@ describeSuite({ const metadata = await context.polkadotJs().rpc.state.getMetadata(); balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); }); diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-1.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-1.ts index e0ecd5541f..9d517c416d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-1.ts @@ -3,7 +3,11 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { BN } from "@polkadot/util"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const palletId = "0x6D6f646c617373746d6E67720000000000000000"; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-2.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-2.ts index baa872080c..974b672de2 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-2.ts @@ -2,7 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const FOREIGN_TOKEN = 1_000_000_000_000n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-3.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-3.ts index 9cde85c50e..93cdb6d7b9 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-3.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -44,7 +44,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // We are charging 100_000_000 weight for every XCM instruction diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-4.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-4.ts index 8a0941e812..666dc42cb3 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, weightMessage, sovereignAccountOfSibling, @@ -47,7 +47,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // The rest should be going to the deposit account diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-5.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-5.ts index 932210d05c..c9de65529d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-5.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-5.ts @@ -3,7 +3,11 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const FOREIGN_TOKEN = 1_000_000_000_000n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-6.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-6.ts index d890717115..6746e4a1ce 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-6.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-6.ts @@ -2,7 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const palletId = "0x6D6f646c617373746d6E67720000000000000000"; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-1.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-1.ts index 1d589070b1..a40be86754 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-2.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-2.ts index 7499288e45..a61aaee83d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-2.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-3.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-3.ts index da4a89fb67..f15207a181 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-3.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-4.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-4.ts index 5559ca04e8..ce80fdf361 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-1.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-1.ts index 22f0bb2b9e..6ed587fb5d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -52,7 +52,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-10.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-10.ts index 69c55bd94e..d11d04aa7e 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-10.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-10.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -49,11 +49,11 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // Matches the BoundedVec limit in the runtime. - const CALL_INPUT_SIZE_LIMIT = Math.pow(2, 16); + const CALL_INPUT_SIZE_LIMIT = 2 ** 16; const GAS_LIMIT = 1_100_000; const xcmTransactions = [ diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-2.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-2.ts index dbed713670..8474ad7362 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-2.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -49,7 +49,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmTransactions = [ diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-4.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-4.ts index cc32ee325e..ba741dc205 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -48,7 +48,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-5.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-5.ts index eb0c86ed47..94a98c7e3a 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-5.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-5.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -56,7 +56,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-6.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-6.ts index ab1baf6c72..ad41a197cf 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-6.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-6.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -59,7 +59,7 @@ describeSuite({ ).data.free.toBigInt(); // Charleth nonce - charlethNonce = parseInt( + charlethNonce = Number.parseInt( (await context.polkadotJs().query.system.account(sendingAddress)).nonce.toString() ); }); @@ -71,7 +71,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-7.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-7.ts index cdbbb8ca11..2d8888559d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-7.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-7.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth, alith } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -55,7 +55,7 @@ describeSuite({ ).data.free.toBigInt(); // Charleth nonce - charlethNonce = parseInt( + charlethNonce = Number.parseInt( (await context.polkadotJs().query.system.account(sendingAddress)).nonce.toString() ); @@ -75,7 +75,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-8.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-8.ts index f4907f444e..7b74d98b9f 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-8.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-8.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, alith } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -56,7 +56,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-dry-run-api.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-dry-run-api.ts index 49d21e8d53..5454bc1b33 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-dry-run-api.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-dry-run-api.ts @@ -98,7 +98,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const randomReceiver = "0x1111111111111111111111111111111111111111111111111111111111111111"; @@ -167,7 +167,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const randomKeyPair = generateKeyringPair(); diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer-two-ERC20.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer-two-ERC20.ts index ab0b2a7a46..047bf9a9b0 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer-two-ERC20.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer-two-ERC20.ts @@ -1,11 +1,11 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult, getTransactionFees } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -123,10 +123,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer.ts index 01eacd6993..0f5c991adb 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer.ts @@ -1,12 +1,12 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult, getTransactionFees } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -101,10 +101,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-fee-with-origin-token.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-fee-with-origin-token.ts index 6c85da3d22..2cc0714451 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-fee-with-origin-token.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-fee-with-origin-token.ts @@ -2,20 +2,20 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ethan } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { - AssetMetadata, + type AssetMetadata, PARA_1000_SOURCE_LOCATION, PARA_1001_SOURCE_LOCATION, - TestAsset, + type TestAsset, foreignAssetBalance, registerAndFundAsset, verifyLatestBlockFees, } from "../../../../helpers/index.js"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, descendOriginFromAddress20, injectHrmpMessageAndSeal, diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-with-dot.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-with-dot.ts index a6a7ee9df0..eeb2e7fda1 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-with-dot.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-with-dot.ts @@ -2,11 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { u128 } from "@polkadot/types"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { ApiPromise } from "@polkadot/api"; +import type { u128 } from "@polkadot/types"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { hexToBigInt } from "@polkadot/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { RELAY_SOURCE_LOCATION, mockOldAssetBalance, @@ -15,9 +15,9 @@ import { verifyLatestBlockFees, } from "../../../../helpers/index.js"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, descendOriginFromAddress20, injectHrmpMessageAndSeal, } from "../../../../helpers/xcm.js"; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-foreign.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-foreign.ts index 08087a0cf8..46f2329c4d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-foreign.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-foreign.ts @@ -1,14 +1,14 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ApiPromise, WsProvider } from "@polkadot/api"; -import { KeyringPair } from "@polkadot/keyring/types"; -import { u128 } from "@polkadot/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; +import type { u128 } from "@polkadot/types"; import { hexToBigInt } from "@polkadot/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { generateKeyringPair, alith } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, relayAssetMetadata, diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-native.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-native.ts index 25b5a6e477..c1ec80e6ef 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-native.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-native.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ApiPromise, WsProvider } from "@polkadot/api"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -110,7 +110,7 @@ describeSuite({ // Get Pallet balances index const metadata = await polkadotJs.rpc.state.getMetadata(); balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // Fetch the exact amount of native fees that we will use given diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api.ts index 514ded241f..71d45a51b1 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api.ts @@ -107,7 +107,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const allowedAssets = await polkadotJs.call.xcmPaymentApi.queryAcceptablePaymentAssets(3); diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-1.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-1.ts index 36841d9883..a80f32418e 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, weightMessage, sovereignAccountOfSibling, @@ -44,7 +44,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmMessage = new XcmFragment({ diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-2.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-2.ts index 02017265ed..fb6e840d11 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-2.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, weightMessage, sovereignAccountOfSibling, @@ -44,7 +44,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmMessage = new XcmFragment({ diff --git a/test/suites/dev/moonbeam/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts b/test/suites/dev/moonbeam/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts index bc8815dda2..45054a7d07 100644 --- a/test/suites/dev/moonbeam/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts +++ b/test/suites/dev/moonbeam/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts @@ -1,6 +1,6 @@ import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { Abi } from "viem"; +import type { Abi } from "viem"; describeSuite({ id: "D020101", diff --git a/test/suites/lazy-loading/test-runtime-upgrade.ts b/test/suites/lazy-loading/test-runtime-upgrade.ts index d50be3c5b4..5ee5d6f965 100644 --- a/test/suites/lazy-loading/test-runtime-upgrade.ts +++ b/test/suites/lazy-loading/test-runtime-upgrade.ts @@ -1,10 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; -import fs from "fs/promises"; +import { RUNTIME_CONSTANTS } from "../../helpers"; +import type { ApiPromise } from "@polkadot/api"; +import fs from "node:fs/promises"; import { u8aToHex } from "@polkadot/util"; import assert from "node:assert"; -import { SpRuntimeDispatchError } from "@polkadot/types/lookup"; +import type { SpRuntimeDispatchError } from "@polkadot/types/lookup"; describeSuite({ id: "LD01", @@ -23,9 +24,13 @@ describeSuite({ beforeAll(async () => { api = context.polkadotJs(); - const runtime = api.consts.system.version.specName.toLowerCase(); - const wasmPath = `../target/release/wbuild/${runtime}-runtime/${runtime}_runtime.compact.compressed.wasm`; // editorconfig-checker-disable-line - + const runtimeChain = api.runtimeChain.toUpperCase(); + const runtime = runtimeChain + .split(" ") + .filter((v) => Object.keys(RUNTIME_CONSTANTS).includes(v)) + .join() + .toLowerCase(); + const wasmPath = `../target/release/wbuild/${runtime}-runtime/${runtime}_runtime.compact.compressed.wasm`; const runtimeWasmHex = u8aToHex(await fs.readFile(wasmPath)); const rtBefore = api.consts.system.version.specVersion.toNumber(); @@ -57,10 +62,9 @@ describeSuite({ const { docs, method, section } = decoded; return `${section}.${method}: ${docs.join(" ")}`; - } else { - // Other, CannotLookup, BadOrigin, no extra info - return error.toString(); } + // Other, CannotLookup, BadOrigin, no extra info + return error.toString(); } ); diff --git a/test/suites/smoke/test-author-filter-consistency.ts b/test/suites/smoke/test-author-filter-consistency.ts index e59c4fac54..e5499af52d 100644 --- a/test/suites/smoke/test-author-filter-consistency.ts +++ b/test/suites/smoke/test-author-filter-consistency.ts @@ -1,16 +1,16 @@ import "@moonbeam-network/api-augment"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; -import { ApiDecoration } from "@polkadot/api/types"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiDecoration } from "@polkadot/api/types"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S01", title: `Verify author filter consistency`, foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - let specVersion: number = 0; + let specVersion = 0; let paraApi: ApiPromise; beforeAll(async function () { diff --git a/test/suites/smoke/test-author-mapping-consistency.ts b/test/suites/smoke/test-author-mapping-consistency.ts index e861166a04..065e0cc03e 100644 --- a/test/suites/smoke/test-author-mapping-consistency.ts +++ b/test/suites/smoke/test-author-mapping-consistency.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { FIVE_MINS } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { ApiDecoration } from "@polkadot/api/types"; import chalk from "chalk"; describeSuite({ @@ -12,7 +12,7 @@ describeSuite({ testCases: ({ context, it, log }) => { const nimbusIdPerAccount: { [account: string]: string } = {}; - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; let paraApi: ApiPromise; @@ -26,7 +26,7 @@ describeSuite({ // (to avoid inconsistency querying over multiple block when the test takes a long time to // query data and blocks are being produced) atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); @@ -38,7 +38,7 @@ describeSuite({ startKey: last_key, }); - if (query.length == 0) { + if (query.length === 0) { break; } count += query.length; @@ -51,7 +51,7 @@ describeSuite({ } // Debug logs to make sure it keeps progressing - if (count % (10 * limit) == 0) { + if (count % (10 * limit) === 0) { log(`Retrieved ${count} nimbus ids`); } } @@ -87,7 +87,7 @@ describeSuite({ // ensure that keys exist and smell legitimate const keys_ = registrationInfo.unwrap().keys_; const zeroes = Array.from(keys_.toString()).reduce((prev, c) => { - return prev + (c == "0" ? 1 : 0); + return prev + (c === "0" ? 1 : 0); }, 0); if (zeroes > 32) { // this isn't an inconsistent state, so we will just warn. diff --git a/test/suites/smoke/test-balances-consistency.ts b/test/suites/smoke/test-balances-consistency.ts index 146618d4fe..fe61a490dc 100644 --- a/test/suites/smoke/test-balances-consistency.ts +++ b/test/suites/smoke/test-balances-consistency.ts @@ -1,19 +1,19 @@ import "@moonbeam-network/api-augment/moonbase"; import "@polkadot/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { xxhashAsU8a } from "@polkadot/util-crypto"; import { hexToBigInt, u8aConcat, u8aToHex } from "@polkadot/util"; -import { u16 } from "@polkadot/types"; -import { AccountId20 } from "@polkadot/types/interfaces"; +import type { u16 } from "@polkadot/types"; +import type { AccountId20 } from "@polkadot/types/interfaces"; import type { PalletReferendaDeposit, PalletConvictionVotingVoteVoting, } from "@polkadot/types/lookup"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { TWO_HOURS, printTokens } from "@moonwall/util"; -import { StorageKey } from "@polkadot/types"; +import type { StorageKey } from "@polkadot/types"; import { extractPreimageDeposit, AccountShortfalls } from "../../helpers"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { processAllStorage } from "../../helpers/storageQueries.js"; enum ReserveType { @@ -59,12 +59,12 @@ describeSuite({ const locksMap = new Map(); const failedLocks: any[] = []; const failedReserved: any[] = []; - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - let specVersion: number = 0; + let specVersion = 0; let runtimeName: string; - let totalAccounts: bigint = 0n; - let totalIssuance: bigint = 0n; + let totalAccounts = 0n; + let totalIssuance = 0n; let symbol: string; let paraApi: ApiPromise; @@ -145,7 +145,7 @@ describeSuite({ beforeAll(async function () { paraApi = context.polkadotJs("para"); const blockHash = process.env.BLOCK_NUMBER - ? (await paraApi.rpc.chain.getBlockHash(parseInt(process.env.BLOCK_NUMBER))).toHex() + ? (await paraApi.rpc.chain.getBlockHash(Number.parseInt(process.env.BLOCK_NUMBER))).toHex() : (await paraApi.rpc.chain.getFinalizedHead()).toHex(); atBlockNumber = (await paraApi.rpc.chain.getHeader(blockHash)).number.toNumber(); apiAt = await paraApi.at(blockHash); @@ -357,11 +357,10 @@ describeSuite({ .map((depositOf) => depositOf[1] .unwrap()[0] - .map((deposit) => ({ + .flatMap((deposit) => ({ accountId: deposit.toHex(), reserved: depositOf[1].unwrap()[1].toBigInt(), })) - .flat() .reduce( (p, deposit) => { // We merge multiple reserves together for same account @@ -393,13 +392,12 @@ describeSuite({ Object.values( democracyDeposits - .map((depositOf) => + .flatMap((depositOf) => depositOf[1].unwrap()[0].map((deposit) => ({ accountId: deposit.toHex(), reserved: depositOf[1].unwrap()[1].toBigInt(), })) ) - .flat() .reduce( (p, deposit) => { // We merge multiple reserves together for same account @@ -456,7 +454,7 @@ describeSuite({ }); await new Promise((resolve, reject) => { - if ((specVersion >= 1900 && runtimeName == "moonbase") || specVersion >= 2000) { + if ((specVersion >= 1900 && runtimeName === "moonbase") || specVersion >= 2000) { apiAt.query.preimage.statusFor .entries() .then((preimageStatuses) => { @@ -477,7 +475,7 @@ describeSuite({ .filter((value) => typeof value !== "undefined") .forEach(({ deposit, accountId }: any) => { updateReserveMap(accountId, { - [ReserveType.PreimageStatus]: deposit == 0n ? 0n : deposit.toBigInt(), + [ReserveType.PreimageStatus]: deposit === 0n ? 0n : deposit.toBigInt(), }); }); }) @@ -491,9 +489,9 @@ describeSuite({ await new Promise((resolve, reject) => { if ( - (specVersion >= 1900 && runtimeName == "moonbase") || - (specVersion >= 2100 && runtimeName == "moonriver") || - (specVersion >= 2300 && runtimeName == "moonbeam") + (specVersion >= 1900 && runtimeName === "moonbase") || + (specVersion >= 2100 && runtimeName === "moonriver") || + (specVersion >= 2300 && runtimeName === "moonbeam") ) { apiAt.query.referenda.referendumInfoFor .entries() @@ -506,26 +504,26 @@ describeSuite({ info[1].unwrap().asApproved[2].unwrapOr(null), ] : info[1].unwrap().isRejected - ? [ - info[1].unwrap().asRejected[1].unwrapOr(null), - info[1].unwrap().asRejected[2].unwrapOr(null), - ] - : info[1].unwrap().isCancelled - ? [ - info[1].unwrap().asCancelled[1].unwrapOr(null), - info[1].unwrap().asCancelled[2].unwrapOr(null), - ] - : info[1].unwrap().isTimedOut - ? [ - info[1].unwrap().asTimedOut[1].unwrapOr(null), - info[1].unwrap().asTimedOut[2].unwrapOr(null), - ] - : info[1].unwrap().isOngoing - ? [ - info[1].unwrap().asOngoing.submissionDeposit, - info[1].unwrap().asOngoing.decisionDeposit.unwrapOr(null), - ] - : ([] as PalletReferendaDeposit[]) + ? [ + info[1].unwrap().asRejected[1].unwrapOr(null), + info[1].unwrap().asRejected[2].unwrapOr(null), + ] + : info[1].unwrap().isCancelled + ? [ + info[1].unwrap().asCancelled[1].unwrapOr(null), + info[1].unwrap().asCancelled[2].unwrapOr(null), + ] + : info[1].unwrap().isTimedOut + ? [ + info[1].unwrap().asTimedOut[1].unwrapOr(null), + info[1].unwrap().asTimedOut[2].unwrapOr(null), + ] + : info[1].unwrap().isOngoing + ? [ + info[1].unwrap().asOngoing.submissionDeposit, + info[1].unwrap().asOngoing.decisionDeposit.unwrapOr(null), + ] + : ([] as PalletReferendaDeposit[]) ).filter((value) => !!value); deposits.forEach((deposit) => { @@ -565,7 +563,7 @@ describeSuite({ assets .find( (asset) => - asset[0].toHex().slice(-64) == assetMetadata[0].toHex().slice(-64) + asset[0].toHex().slice(-64) === assetMetadata[0].toHex().slice(-64) )![1] .unwrap() .owner.toHex() @@ -611,7 +609,7 @@ describeSuite({ localAssets .find( (localAsset) => - localAsset[0].toHex().slice(-64) == + localAsset[0].toHex().slice(-64) === localAssetMetadata[0].toHex().slice(-64) )![1] .unwrap() @@ -725,8 +723,8 @@ describeSuite({ log(`Retrieved ${expectedReserveMap.size} deposits`); expectedReserveMap.forEach(({ reserved }, key) => { const total = Object.values(reserved!).reduce((total, amount) => { - total += amount; - return total; + const subtotal = total + amount; + return subtotal; }, 0n); expectedReserveMap.set(key, { reserved, total }); }); @@ -754,9 +752,9 @@ describeSuite({ // Only applies to OpenGov if ( - (specVersion >= 1900 && runtimeName == "moonbase") || - (specVersion >= 2100 && runtimeName == "moonriver") || - (specVersion >= 2300 && runtimeName == "moonbeam") + (specVersion >= 1900 && runtimeName === "moonbase") || + (specVersion >= 2100 && runtimeName === "moonriver") || + (specVersion >= 2300 && runtimeName === "moonbeam") ) { await new Promise((resolve, reject) => { apiAt.query.convictionVoting.votingFor @@ -771,12 +769,12 @@ describeSuite({ const amount = curr[1].isStandard ? curr[1].asStandard.balance.toBigInt() : curr[1].isSplit - ? curr[1].asSplit.aye.toBigInt() + curr[1].asSplit.nay.toBigInt() - : curr[1].isSplitAbstain - ? curr[1].asSplitAbstain.aye.toBigInt() + - curr[1].asSplitAbstain.nay.toBigInt() + - curr[1].asSplitAbstain.abstain.toBigInt() - : 0n; + ? curr[1].asSplit.aye.toBigInt() + curr[1].asSplit.nay.toBigInt() + : curr[1].isSplitAbstain + ? curr[1].asSplitAbstain.aye.toBigInt() + + curr[1].asSplitAbstain.nay.toBigInt() + + curr[1].asSplitAbstain.abstain.toBigInt() + : 0n; return acc > amount ? acc : amount; }, 0n); @@ -829,8 +827,8 @@ describeSuite({ const subTotal = curr[1].isStandard ? curr[1].asStandard.balance.toBigInt() : curr[1].isSplit - ? curr[1].asSplit.aye.toBigInt() + curr[1].asSplit.nay.toBigInt() - : 0n; + ? curr[1].asSplit.aye.toBigInt() + curr[1].asSplit.nay.toBigInt() + : 0n; return acc > subTotal ? acc : subTotal; }, 0n); updateExpectedLocksMap(accountId, { democracy }); @@ -848,8 +846,8 @@ describeSuite({ expectedLocksMap.forEach(({ locks }, key) => { const total = Object.values(locks!).reduce((total, amount) => { - total += amount; - return total; + const subtotal = total + amount; + return subtotal; }, 0n); expectedLocksMap.set(key, { locks, total }); }); diff --git a/test/suites/smoke/test-block-finalized.ts b/test/suites/smoke/test-block-finalized.ts index 6b6ff153d7..2137a03bac 100644 --- a/test/suites/smoke/test-block-finalized.ts +++ b/test/suites/smoke/test-block-finalized.ts @@ -9,8 +9,8 @@ import { } from "@moonwall/util"; import semver from "semver"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; -import { Signer } from "ethers"; -import { ApiPromise } from "@polkadot/api"; +import type { Signer } from "ethers"; +import type { ApiPromise } from "@polkadot/api"; import { rateLimiter } from "../../helpers/common.js"; const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : TWO_HOURS; diff --git a/test/suites/smoke/test-block-weights.ts b/test/suites/smoke/test-block-weights.ts index 1544d55c45..643ef20648 100644 --- a/test/suites/smoke/test-block-weights.ts +++ b/test/suites/smoke/test-block-weights.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment/moonbase"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { THIRTY_MINS, WEIGHT_PER_GAS, extractWeight, getBlockArray } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import "@polkadot/api-augment"; -import { GenericExtrinsic } from "@polkadot/types"; -import { FrameSystemEventRecord } from "@polkadot/types/lookup"; -import { AnyTuple } from "@polkadot/types/types"; +import type { GenericExtrinsic } from "@polkadot/types"; +import type { FrameSystemEventRecord } from "@polkadot/types/lookup"; +import type { AnyTuple } from "@polkadot/types/types"; import { rateLimiter } from "../../helpers/common.js"; const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : THIRTY_MINS; @@ -166,9 +166,9 @@ describeSuite({ const ethBlock = (await apiAt.query.ethereum.currentBlock()).unwrap(); const balTxns = blockInfo.extrinsics .map((ext, index) => - ext.method.method == "transfer" && ext.method.section == "balances" ? index : -1 + ext.method.method === "transfer" && ext.method.section === "balances" ? index : -1 ) - .filter((a) => a != -1); + .filter((a) => a !== -1); const balTxnWeights = blockInfo.events .map((event) => paraApi.events.system.ExtrinsicSuccess.is(event.event) && @@ -237,7 +237,7 @@ describeSuite({ // Skip this block if substrate balance transfer ext, due to weight reporting if ( blockInfo.extrinsics.find( - (x) => x.method.method == "transfer" && x.method.section == "balances" + (x) => x.method.method === "transfer" && x.method.section === "balances" ) ) { return { @@ -250,9 +250,9 @@ describeSuite({ const signedExtTotal = blockInfo.events .filter( - (a) => a.event.method == "ExtrinsicSuccess" || a.event.method == "ExtrinsicFailed" + (a) => a.event.method === "ExtrinsicSuccess" || a.event.method === "ExtrinsicFailed" ) - .filter((a) => (a.event.data as any).dispatchInfo.class.toString() == "Normal") + .filter((a) => (a.event.data as any).dispatchInfo.class.toString() === "Normal") .reduce( (acc, curr) => acc + extractWeight((curr.event.data as any).dispatchInfo.weight).toNumber(), @@ -264,8 +264,8 @@ describeSuite({ log( `Block #${blockInfo.blockNum} signed extrinsic weight - reported: ${signedExtTotal}, accounted: ${normalWeights} (${difference > 0 ? "+" : "-"}${(difference * 100).toFixed( - 2 - )}%).` + 2 + )}%).` ); } return { blockNum: blockInfo.blockNum, signedExtTotal, normalWeights, difference }; @@ -311,20 +311,19 @@ describeSuite({ const gasWeight = gasUsed * Number(WEIGHT_PER_GAS); const ethTxnsWeight = signedBlock.block.extrinsics .map((item, index) => { - if (item.method.method == "transact" && item.method.section == "ethereum") { + if (item.method.method === "transact" && item.method.section === "ethereum") { return blockInfo.events .filter(({ phase }) => phase.isApplyExtrinsic && phase.asApplyExtrinsic.eq(index)) .filter( - ({ event }) => event.method == "ExtrinsicSuccess" && event.section == "system" + ({ event }) => event.method === "ExtrinsicSuccess" && event.section === "system" ) .reduce( (acc, curr) => acc + extractWeight((curr.event.data as any).dispatchInfo.weight).toNumber(), 0 ); - } else { - return 0; } + return 0; }) .reduce((acc, curr) => acc + curr, 0); const difference = ethTxnsWeight - gasWeight; diff --git a/test/suites/smoke/test-dynamic-fees.ts b/test/suites/smoke/test-dynamic-fees.ts index a604b8b426..36e54507be 100644 --- a/test/suites/smoke/test-dynamic-fees.ts +++ b/test/suites/smoke/test-dynamic-fees.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment/moonbase"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { WEIGHT_PER_GAS, getBlockArray } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { GenericExtrinsic } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { GenericExtrinsic } from "@polkadot/types"; import type { u128, u32 } from "@polkadot/types-codec"; -import { +import type { EthereumBlock, EthereumReceiptReceiptV3, FpRpcTransactionStatus, @@ -12,11 +12,11 @@ import { FrameSystemEventRecord, SpWeightsWeightV2Weight, } from "@polkadot/types/lookup"; -import { AnyTuple } from "@polkadot/types/types"; +import type { AnyTuple } from "@polkadot/types/types"; import { ethers } from "ethers"; import { checkTimeSliceForUpgrades, rateLimiter, RUNTIME_CONSTANTS } from "../../helpers"; import Debug from "debug"; -import { DispatchInfo } from "@polkadot/types/interfaces"; +import type { DispatchInfo } from "@polkadot/types/interfaces"; const debug = Debug("smoke:dynamic-fees"); const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : 2 * 60 * 60 * 1000; @@ -80,21 +80,21 @@ describeSuite({ const isChangeDirectionValid = (fillPermill: bigint, change: Change, feeMultiplier: bigint) => { switch (true) { - case fillPermill > targetFillPermill && change == Change.Increased: + case fillPermill > targetFillPermill && change === Change.Increased: return true; case fillPermill > targetFillPermill && - change == Change.Unchanged && + change === Change.Unchanged && feeMultiplier === RUNTIME_CONSTANTS[runtime].MAX_FEE_MULTIPLIER: return true; - case fillPermill < targetFillPermill && change == Change.Decreased: + case fillPermill < targetFillPermill && change === Change.Decreased: return true; case fillPermill < targetFillPermill && - change == Change.Unchanged && + change === Change.Unchanged && feeMultiplier === RUNTIME_CONSTANTS[runtime].MIN_FEE_MULTIPLIER: return true; - case fillPermill === targetFillPermill && change == Change.Unchanged: + case fillPermill === targetFillPermill && change === Change.Unchanged: return true; - case change == Change.Unknown: + case change === Change.Unknown: return true; default: return false; @@ -201,7 +201,7 @@ describeSuite({ } const enriched = blockData.map(({ blockNum, fillPermill, nextFeeMultiplier }) => { const change = checkMultiplier( - allBlocks.find((blockDatum) => blockDatum.blockNum == blockNum - 1)!, + allBlocks.find((blockDatum) => blockDatum.blockNum === blockNum - 1)!, nextFeeMultiplier ); @@ -240,7 +240,7 @@ describeSuite({ } const enriched = blockData.map(({ blockNum, nextFeeMultiplier, fillPermill }) => { const change = checkMultiplier( - allBlocks.find((blockDatum) => blockDatum.blockNum == blockNum - 1)!, + allBlocks.find((blockDatum) => blockDatum.blockNum === blockNum - 1)!, nextFeeMultiplier ); const valid = isChangeDirectionValid(fillPermill, change, nextFeeMultiplier.toBigInt()); @@ -309,7 +309,7 @@ describeSuite({ const expectedBaseFeePerGasInWei = (nextFeeMultiplier.toBigInt() * weightFee * WEIGHT_PER_GAS) / ethers.parseEther("1"); - const valid = baseFeePerGasInWei == expectedBaseFeePerGasInWei; + const valid = baseFeePerGasInWei === expectedBaseFeePerGasInWei; return { blockNum, baseFeePerGasInGwei, valid, expectedBaseFeePerGasInWei }; }) .filter(({ valid }) => !valid); @@ -390,27 +390,24 @@ describeSuite({ return fee.refTime; }); - const gasUsed = filteredTxnEvents - .map((txnEvent) => { - if ( - txnEvent.phase.isApplyExtrinsic && // Exclude XCM => EVM calls - isEthereumTxn(blockNum, txnEvent.phase.asApplyExtrinsic.toNumber()) - ) { - const txnHash = (txnEvent.event.data as any).transactionHash; - const index = transactionStatuses.findIndex((status) => - status.transactionHash.eq(txnHash) - ); - // Gas used is cumulative measure, so we have to derive individuals - const gasUsed = - index === 0 - ? extractGasAmount(receipts[index]) - : extractGasAmount(receipts[index]) - extractGasAmount(receipts[index - 1]); - return gasUsed; - } else { - return []; - } - }) - .flatMap((item) => item); + const gasUsed = filteredTxnEvents.flatMap((txnEvent) => { + if ( + txnEvent.phase.isApplyExtrinsic && // Exclude XCM => EVM calls + isEthereumTxn(blockNum, txnEvent.phase.asApplyExtrinsic.toNumber()) + ) { + const txnHash = (txnEvent.event.data as any).transactionHash; + const index = transactionStatuses.findIndex((status) => + status.transactionHash.eq(txnHash) + ); + // Gas used is cumulative measure, so we have to derive individuals + const gasUsed = + index === 0 + ? extractGasAmount(receipts[index]) + : extractGasAmount(receipts[index]) - extractGasAmount(receipts[index - 1]); + return gasUsed; + } + return []; + }); expect(fees.length, "More eth reciepts than expected, this test needs fixing").to.equal( gasUsed.length diff --git a/test/suites/smoke/test-eth-parent-hash-bad-block-fix.ts b/test/suites/smoke/test-eth-parent-hash-bad-block-fix.ts index d7ffc3c866..58a92f8ba1 100644 --- a/test/suites/smoke/test-eth-parent-hash-bad-block-fix.ts +++ b/test/suites/smoke/test-eth-parent-hash-bad-block-fix.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; import { THIRTY_MINS } from "@moonwall/util"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; describeSuite({ id: "S07", diff --git a/test/suites/smoke/test-ethereum-contract-code.ts b/test/suites/smoke/test-ethereum-contract-code.ts index 4c30b0f6c2..fd33c861c4 100644 --- a/test/suites/smoke/test-ethereum-contract-code.ts +++ b/test/suites/smoke/test-ethereum-contract-code.ts @@ -12,13 +12,13 @@ describeSuite({ foundationMethods: "read_only", testCases: ({ context, it, log }) => { let atBlockNumber: number; - let totalContracts: bigint = 0n; + let totalContracts = 0n; const failedContractCodes: { accountId: string; codesize: number }[] = []; beforeAll(async function () { const paraApi = context.polkadotJs("para"); const blockHash = process.env.BLOCK_NUMBER - ? (await paraApi.rpc.chain.getBlockHash(parseInt(process.env.BLOCK_NUMBER))).toHex() + ? (await paraApi.rpc.chain.getBlockHash(Number.parseInt(process.env.BLOCK_NUMBER))).toHex() : (await paraApi.rpc.chain.getFinalizedHead()).toHex(); atBlockNumber = (await paraApi.rpc.chain.getHeader(blockHash)).number.toNumber(); diff --git a/test/suites/smoke/test-ethereum-current-consistency.ts b/test/suites/smoke/test-ethereum-current-consistency.ts index 8b972c02e4..20c5a56d97 100644 --- a/test/suites/smoke/test-ethereum-current-consistency.ts +++ b/test/suites/smoke/test-ethereum-current-consistency.ts @@ -46,10 +46,10 @@ describeSuite({ const roundLength = (await paraApi.query.parachainStaking.round()).length.toNumber(); const blocksToWait = process.env.BATCH_OF - ? parseInt(process.env.BATCH_OF) + ? Number.parseInt(process.env.BATCH_OF) : process.env.ROUNDS_TO_WAIT - ? Math.floor(Number(process.env.ROUNDS_TO_WAIT) * roundLength) - : 200; + ? Math.floor(Number(process.env.ROUNDS_TO_WAIT) * roundLength) + : 200; const firstBlockNumber = Math.max(lastBlockNumber - blocksToWait + 1, 1); for (const blockNumber of range(firstBlockNumber, lastBlockNumber)) { @@ -68,7 +68,7 @@ describeSuite({ ); // No transactions - if (block.transactions.length == 0) { + if (block.transactions.length === 0) { // Receipt trie expect(block.header.receiptsRoot.toString()).to.be.equal( EMPTY_TRIE_ROOT, diff --git a/test/suites/smoke/test-ethereum-failures.ts b/test/suites/smoke/test-ethereum-failures.ts index ea06ca9a77..d2a6385548 100644 --- a/test/suites/smoke/test-ethereum-failures.ts +++ b/test/suites/smoke/test-ethereum-failures.ts @@ -1,16 +1,16 @@ import "@moonbeam-network/api-augment/moonbase"; import { TWO_MINS, getBlockArray } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import type { DispatchInfo } from "@polkadot/types/interfaces"; import { rateLimiter, checkTimeSliceForUpgrades } from "../../helpers/common.js"; -import { +import type { EthereumReceiptReceiptV3, FpRpcTransactionStatus, FrameSystemEventRecord, } from "@polkadot/types/lookup"; -import { GenericExtrinsic } from "@polkadot/types"; -import { AnyTuple } from "@polkadot/types/types"; +import type { GenericExtrinsic } from "@polkadot/types"; +import type { AnyTuple } from "@polkadot/types/types"; const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : 2 * 60 * 60 * 1000; const timeout = Math.max(Math.floor(timePeriod / 12), 5000); @@ -168,9 +168,8 @@ describeSuite({ if (success) { return true; - } else { - return false; } + return false; } return undefined; }) diff --git a/test/suites/smoke/test-foreign-asset-consistency.ts b/test/suites/smoke/test-foreign-asset-consistency.ts index 7b890a5d7e..d8f57bda4d 100644 --- a/test/suites/smoke/test-foreign-asset-consistency.ts +++ b/test/suites/smoke/test-foreign-asset-consistency.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { patchLocationV4recursively } from "../../helpers"; describeSuite({ @@ -9,7 +9,7 @@ describeSuite({ title: `Verifying foreign asset count, mapping, assetIds and deposits`, foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; const foreignAssetIdType: { [assetId: string]: string } = {}; const foreignAssetTypeId: { [assetType: string]: string } = {}; @@ -24,7 +24,7 @@ describeSuite({ // (to avoid inconsistency querying over multiple block when the test takes a long time to // query data and blocks are being produced) atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); @@ -89,7 +89,7 @@ describeSuite({ for (const assetId of Object.keys(foreignAssetIdType)) { const assetType = foreignAssetIdType[assetId]; - if (foreignAssetTypeId[assetType] != assetId) { + if (foreignAssetTypeId[assetType] !== assetId) { failedAssetReserveMappings.push({ assetId: assetId }); } } diff --git a/test/suites/smoke/test-foreign-xcm-failures.ts b/test/suites/smoke/test-foreign-xcm-failures.ts index 3f6efcfa17..6d78c57ca4 100644 --- a/test/suites/smoke/test-foreign-xcm-failures.ts +++ b/test/suites/smoke/test-foreign-xcm-failures.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment/moonbase"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { getBlockArray, TEN_MINS } from "@moonwall/util"; -import { FrameSystemEventRecord } from "@polkadot/types/lookup"; +import type { FrameSystemEventRecord } from "@polkadot/types/lookup"; import { ApiPromise, WsProvider } from "@polkadot/api"; import { rateLimiter, checkTimeSliceForUpgrades } from "../../helpers/common.js"; import { ForeignChainsEndpoints, getEndpoints } from "../../helpers/foreign-chains.js"; @@ -49,8 +49,8 @@ describeSuite({ networkName === "Moonbeam" ? "Polkadot" : networkName === "Moonriver" - ? "Kusama" - : "Unsupported"; + ? "Kusama" + : "Unsupported"; const chainsWithRpcs = foreignChainInfos.foreignChains.map((chain) => { const endpoints = getEndpoints(relayName, chain.paraId); return { ...chain, endpoints }; @@ -159,7 +159,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected UnsupportedVersion XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -199,7 +199,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected BadVersion XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -241,7 +241,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected Barrier XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -283,7 +283,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected Overflow XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -332,7 +332,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected MultiLocationFull XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -376,7 +376,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected AssetNotFound XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -425,7 +425,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected DestinationUnsupported XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -467,7 +467,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected Transport XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -512,7 +512,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected FailedToDecode XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -561,7 +561,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected UnhandledXcmVersion XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -610,7 +610,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected WeightNotComputable XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` diff --git a/test/suites/smoke/test-historic-compatibility.ts b/test/suites/smoke/test-historic-compatibility.ts index fb19951979..a82ab7d520 100644 --- a/test/suites/smoke/test-historic-compatibility.ts +++ b/test/suites/smoke/test-historic-compatibility.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { numberToHex } from "@polkadot/util"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; -import { NetworkTestArtifact, tracingTxns } from "../../helpers/tracing-txns.js"; -import { ApiPromise } from "@polkadot/api"; +import { type NetworkTestArtifact, tracingTxns } from "../../helpers/tracing-txns.js"; +import type { ApiPromise } from "@polkadot/api"; import { rateLimiter } from "../../helpers/common.js"; -import { ethers } from "ethers"; +import type { ethers } from "ethers"; const limiter = rateLimiter(); @@ -72,7 +72,7 @@ describeSuite({ } }); - const results = await Promise.all(promises.flatMap((a) => a)); + const results = await Promise.all(promises.flat()); const failures = results.filter((a) => { if (a.error === true) { log( @@ -116,7 +116,7 @@ describeSuite({ } }); - const results = await Promise.all(promises.flatMap((a) => a)); + const results = await Promise.all(promises.flat()); const failures = results.filter((a) => { if (a.error === true) { log( @@ -150,7 +150,7 @@ describeSuite({ "eth_syncing", [] ); - expect(result).to.satisfy((s: any) => typeof s == "number" || typeof s == "boolean"); + expect(result).to.satisfy((s: any) => typeof s === "number" || typeof s === "boolean"); }, }); @@ -250,7 +250,7 @@ describeSuite({ "eth_getBalance", [treasuryAddress, "latest"] ); - expect(BigInt(result) == 0n).to.be.false; + expect(BigInt(result) === 0n).to.be.false; }, }); @@ -270,7 +270,7 @@ describeSuite({ "eth_getStorageAt", [traceStatic.WETH, "0x0", "latest"] ); - expect(BigInt(result) == 0n).to.be.false; + expect(BigInt(result) === 0n).to.be.false; }, }); @@ -509,9 +509,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); @@ -530,9 +529,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); @@ -555,9 +553,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); @@ -580,9 +577,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); @@ -605,9 +601,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); diff --git a/test/suites/smoke/test-old-regressions.ts b/test/suites/smoke/test-old-regressions.ts index 91da46d861..65f21cbd74 100644 --- a/test/suites/smoke/test-old-regressions.ts +++ b/test/suites/smoke/test-old-regressions.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; -import { encodeFunctionData, Hash } from "viem"; +import type { ApiPromise } from "@polkadot/api"; +import { encodeFunctionData, type Hash } from "viem"; import moonbaseSamples from "../../helpers/moonbase-tracing-samples.json"; import moonbeamSamples from "../../helpers/moonbeam-tracing-samples.json"; import moonriverSamples from "../../helpers/moonriver-tracing-samples.json"; @@ -251,7 +251,7 @@ type TraceTransactionSchema = { withLog?: boolean; }; } - | undefined + | undefined, ]; ReturnType: { from: string; diff --git a/test/suites/smoke/test-orbiter-consistency.ts b/test/suites/smoke/test-orbiter-consistency.ts index 9dbdb1c152..aa7da7bcc8 100644 --- a/test/suites/smoke/test-orbiter-consistency.ts +++ b/test/suites/smoke/test-orbiter-consistency.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; -import { bool, Option, u32 } from "@polkadot/types-codec"; +import type { ApiDecoration } from "@polkadot/api/types"; +import type { bool, Option, u32 } from "@polkadot/types-codec"; import type { FrameSystemEventRecord, PalletMoonbeamOrbitersCollatorPoolInfo, @@ -8,33 +8,33 @@ import type { import type { AccountId20 } from "@polkadot/types/interfaces"; import { sortObjectByKeys } from "../../helpers/common.js"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { StorageKey } from "@polkadot/types"; -import { ApiPromise } from "@polkadot/api"; +import type { StorageKey } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S15", title: "Verify orbiters", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; let collatorsPools: [ StorageKey<[AccountId20]>, - Option + Option, ][]; let registeredOrbiters: [StorageKey<[AccountId20]>, Option][]; let counterForCollatorsPool: u32; let currentRound: number; let orbiterPerRound: [StorageKey<[u32, AccountId20]>, Option][]; let events: FrameSystemEventRecord[]; - let specVersion: number = 0; + let specVersion = 0; let paraApi: ApiPromise; beforeAll(async function () { paraApi = context.polkadotJs("para"); const runtimeVersion = paraApi.runtimeVersion.specVersion.toNumber(); atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); collatorsPools = await apiAt.query.moonbeamOrbiters.collatorsPool.entries(); @@ -56,7 +56,7 @@ describeSuite({ const reserves = await apiAt.query.balances.reserves.entries(); const orbiterReserves = reserves .map((reserveSet) => - reserveSet[1].find((r) => r.id.toUtf8() == "orbi") + reserveSet[1].find((r) => r.id.toUtf8() === "orbi") ? `0x${reserveSet[0].toHex().slice(-40)}` : null ) @@ -152,8 +152,8 @@ describeSuite({ for (const { event, phase } of events) { if ( phase.isInitialization && - event.section == "parachainStaking" && - event.method == "Rewarded" + event.section === "parachainStaking" && + event.method === "Rewarded" ) { const data = event.data as any; const account = data.account.toHex(); @@ -174,7 +174,7 @@ describeSuite({ const [round, collator] = o[0].args; const orbiter = o[1]; - if (round.toNumber() == lastRotateRound && collatorRewards[collator.toHex()]) { + if (round.toNumber() === lastRotateRound && collatorRewards[collator.toHex()]) { expectedOrbiterRewards[orbiter.unwrap().toHex()] = collatorRewards[collator.toHex()]; } @@ -186,8 +186,8 @@ describeSuite({ for (const { event, phase } of events) { if ( phase.isInitialization && - event.section == "MoonbeamOrbiters" && - event.method == "OrbiterRewarded" + event.section === "MoonbeamOrbiters" && + event.method === "OrbiterRewarded" ) { const data = event.data as any; const orbiter = data.account.toHex(); diff --git a/test/suites/smoke/test-polkadot-decoding.ts b/test/suites/smoke/test-polkadot-decoding.ts index 12d3ac1a0b..392a022298 100644 --- a/test/suites/smoke/test-polkadot-decoding.ts +++ b/test/suites/smoke/test-polkadot-decoding.ts @@ -1,16 +1,16 @@ -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import chalk from "chalk"; import { describeSuite, beforeAll } from "@moonwall/cli"; import { ONE_HOURS } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { fail } from "assert"; +import type { ApiPromise } from "@polkadot/api"; +import { fail } from "node:assert"; // Change the following line to reproduce a particular case const STARTING_KEY_OVERRIDE = ""; const MODULE_NAME = ""; const FN_NAME = ""; -const pageSize = (process.env.PAGE_SIZE && parseInt(process.env.PAGE_SIZE)) || 500; +const pageSize = (process.env.PAGE_SIZE && Number.parseInt(process.env.PAGE_SIZE)) || 500; const extractStorageKeyComponents = (storageKey: string) => { // The full storage key is composed of @@ -44,9 +44,9 @@ describeSuite({ title: "Polkadot API - Storage items", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - let specVersion: number = 0; + let specVersion = 0; let paraApi: ApiPromise; beforeAll(async function () { @@ -160,7 +160,7 @@ describeSuite({ // Log first entry storage key const firstRandomEntryKey = randomEntries[0][0].toString(); log(` - ${fn}: ${chalk.green(`🔎`)} (random key: ${firstRandomEntryKey})`); - } else if (fn != "code") { + } else if (fn !== "code") { await module[fn](); } diff --git a/test/suites/smoke/test-proxy-consistency.ts b/test/suites/smoke/test-proxy-consistency.ts index 92ec2ee427..8890ba41c1 100644 --- a/test/suites/smoke/test-proxy-consistency.ts +++ b/test/suites/smoke/test-proxy-consistency.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import chalk from "chalk"; import { expect, beforeAll, describeSuite } from "@moonwall/cli"; import type { PalletProxyProxyDefinition } from "@polkadot/types/lookup"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { rateLimiter } from "../../helpers/common.js"; describeSuite({ @@ -14,7 +14,7 @@ describeSuite({ const proxiesPerAccount: { [account: string]: PalletProxyProxyDefinition[] } = {}; const proxyAccList: string[] = []; const limiter = rateLimiter(); - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; let paraApi: ApiPromise; @@ -28,7 +28,7 @@ describeSuite({ // (to avoid inconsistency querying over multiple block when the test takes a long time to // query data and blocks are being produced) atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); @@ -40,7 +40,7 @@ describeSuite({ startKey: last_key, }); - if (query.length == 0) { + if (query.length === 0) { break; } count += query.length; @@ -55,7 +55,7 @@ describeSuite({ // log logs to make sure it keeps progressing // TEMPLATE: Adapt log line - if (count % (10 * limit) == 0) { + if (count % (10 * limit) === 0) { log(`Retrieved ${count} proxies`); } } @@ -148,7 +148,7 @@ describeSuite({ // For each account with a registered proxy, check whether it is a non-SC address const promises = proxyAccList.map(async (address) => { const resp = await limiter.schedule(() => apiAt.query.evm.accountCodes(address)); - const contract = resp.toJSON() == "0x" ? false : true; + const contract = resp.toJSON() !== "0x"; return { address, contract }; }); @@ -157,7 +157,7 @@ describeSuite({ if (item.contract) log(`Proxy account for non-external address detected: ${item.address} `); }); - expect(results.every((item) => item.contract == false)).to.be.true; + expect(results.every((item) => item.contract === false)).to.be.true; }, }); }, diff --git a/test/suites/smoke/test-randomness-consistency.ts b/test/suites/smoke/test-randomness-consistency.ts index 77c37e1784..8d481ba5ab 100644 --- a/test/suites/smoke/test-randomness-consistency.ts +++ b/test/suites/smoke/test-randomness-consistency.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { BN, hexToBigInt } from "@polkadot/util"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import randomLib from "randomness"; -import { Bit } from "randomness/lib/types"; +import type { Bit } from "randomness/lib/types"; import chalk from "chalk"; const RANDOMNESS_ACCOUNT_ID = "0x6d6f646c6d6f6f6e72616e640000000000000000"; @@ -14,11 +14,11 @@ describeSuite({ title: "Verify randomness consistency", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; const requestStates: { id: number; state: any }[] = []; - let numRequests: number = 0; // our own count - let requestCount: number = 0; // from pallet storage + let numRequests = 0; // our own count + let requestCount = 0; // from pallet storage let isRandomnessAvailable = true; let paraApi: ApiPromise; @@ -27,7 +27,7 @@ describeSuite({ const runtimeVersion = paraApi.runtimeVersion.specVersion.toNumber(); const runtimeName = paraApi.runtimeVersion.specName.toString(); isRandomnessAvailable = - (runtimeVersion >= 1700 && runtimeName == "moonbase") || runtimeVersion >= 1900; + (runtimeVersion >= 1700 && runtimeName === "moonbase") || runtimeVersion >= 1900; if (!isRandomnessAvailable) { log(`Skipping test [RT${runtimeVersion} ${runtimeName}]`); @@ -39,7 +39,7 @@ describeSuite({ let count = 0; atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); @@ -50,7 +50,7 @@ describeSuite({ startKey: last_key, }); - if (query.length == 0) { + if (query.length === 0) { break; } count += query.length; @@ -67,7 +67,7 @@ describeSuite({ last_key = key; } - if (count % (10 * limit) == 0) { + if (count % (10 * limit) === 0) { log(`Retrieved ${count} requests`); log(`Requests: ${requestStates.map((r) => r.id).join(",")}`); } @@ -481,10 +481,13 @@ describeSuite({ // Tests uniform distribution of outputs bytes by checking if any repeated bytes function outputWithinExpectedRepetition(bytes: Uint8Array, maxRepeats: number) { - const counts = bytes.reduce((acc, byte) => { - acc[byte] = (acc[byte] || 0) + 1; - return acc; - }, {} as { [byte: string]: number }); + const counts = bytes.reduce( + (acc, byte) => { + acc[byte] = (acc[byte] || 0) + 1; + return acc; + }, + {} as { [byte: string]: number } + ); const exceededRepeats = Object.values(counts).some((count) => count > maxRepeats); diff --git a/test/suites/smoke/test-relay-indices.ts b/test/suites/smoke/test-relay-indices.ts index 67d8d263e6..d8cf91e468 100644 --- a/test/suites/smoke/test-relay-indices.ts +++ b/test/suites/smoke/test-relay-indices.ts @@ -1,10 +1,10 @@ // import "@moonbeam-network/api-augment"; import "@polkadot/api-augment"; import { describeSuite, expect, beforeAll, fetchCompiledContract } from "@moonwall/cli"; -import { Contract, ethers, InterfaceAbi, WebSocketProvider } from "ethers"; +import { type Contract, ethers, type InterfaceAbi, type WebSocketProvider } from "ethers"; import { ALITH_SESSION_ADDRESS, PRECOMPILES } from "@moonwall/util"; import { hexToU8a } from "@polkadot/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S19", diff --git a/test/suites/smoke/test-relay-xcm-fees.ts b/test/suites/smoke/test-relay-xcm-fees.ts index 0551e93dfa..84dd1561b2 100644 --- a/test/suites/smoke/test-relay-xcm-fees.ts +++ b/test/suites/smoke/test-relay-xcm-fees.ts @@ -1,16 +1,16 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { extractWeight } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S20", title: "Verify XCM weight fees for relay", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; - let relayAtBlockNumber: number = 0; + let atBlockNumber = 0; + let relayAtBlockNumber = 0; let paraApiAt: ApiDecoration<"promise">; let relayApiAt: ApiDecoration<"promise">; let paraApi: ApiPromise; @@ -37,12 +37,11 @@ describeSuite({ // skip test if runtime inconsistency. The storage is set for // specific runtimes, so does not make sense to compare non-matching runtimes - const skipTestRuntimeInconsistency = + const skipTestRuntimeInconsistency = !( (relayRuntime.startsWith("polkadot") && paraRuntime.startsWith("moonbeam")) || (relayRuntime.startsWith("kusama") && paraRuntime.startsWith("moonriver")) || (relayRuntime.startsWith("westend") && paraRuntime.startsWith("moonbase")) - ? false - : true; + ); if (skipTestRuntimeInconsistency) { log(`Relay and Para runtimes dont match, skipping test`); @@ -52,10 +51,10 @@ describeSuite({ const units = relayRuntime.startsWith("polkadot") ? 10_000_000_000n : relayRuntime.startsWith("kusama") || - relayRuntime.startsWith("rococo") || - relayRuntime.startsWith("westend") - ? 1_000_000_000_000n - : 1_000_000_000_000n; + relayRuntime.startsWith("rococo") || + relayRuntime.startsWith("westend") + ? 1_000_000_000_000n + : 1_000_000_000_000n; const seconds = 1_000_000_000_000n; @@ -65,8 +64,8 @@ describeSuite({ relayRuntime.startsWith("westend") ? units / 100n : relayRuntime.startsWith("kusama") - ? units / 3_000n - : units / 100n; + ? units / 3_000n + : units / 100n; const coef = cent / 10n; const relayBaseWeight = extractWeight( diff --git a/test/suites/smoke/test-staking-consistency.ts b/test/suites/smoke/test-staking-consistency.ts index cf3ca63f3a..47775981a6 100644 --- a/test/suites/smoke/test-staking-consistency.ts +++ b/test/suites/smoke/test-staking-consistency.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; -import { AccountId20 } from "@polkadot/types/interfaces/runtime"; -import { StorageKey, Option } from "@polkadot/types"; +import type { ApiDecoration } from "@polkadot/api/types"; +import type { AccountId20 } from "@polkadot/types/interfaces/runtime"; +import type { StorageKey, Option } from "@polkadot/types"; import type { PalletParachainStakingDelegator, PalletParachainStakingDelegations, @@ -10,20 +10,20 @@ import type { PalletParachainStakingSetOrderedSet, } from "@polkadot/types/lookup"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S21", title: "Verify staking consistency", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - let specVersion: number = 0; - let maxTopDelegationsPerCandidate: number = 0; + let specVersion = 0; + let maxTopDelegationsPerCandidate = 0; let allCandidateInfo: [ StorageKey<[AccountId20]>, - Option + Option, ][]; let candidatePool: PalletParachainStakingSetOrderedSet; let allDelegatorState: [StorageKey<[AccountId20]>, Option][]; @@ -132,7 +132,7 @@ describeSuite({ for (const candidate of allCandidateInfo) { const accountId = `0x${candidate[0].toHex().slice(-40)}`; const topDelegation = allTopDelegations - .find((t) => `0x${t[0].toHex().slice(-40)}` == accountId)![1] + .find((t) => `0x${t[0].toHex().slice(-40)}` === accountId)![1] .unwrap(); expect(topDelegation.total.toBigInt()).to.equal( candidate[1].unwrap().totalCounted.toBigInt() - candidate[1].unwrap().bond.toBigInt() @@ -154,13 +154,13 @@ describeSuite({ a.delegation.amount.toBigInt() < b.delegation.amount.toBigInt() ? 1 : a.delegation.amount.toBigInt() > b.delegation.amount.toBigInt() - ? -1 - : 0 + ? -1 + : 0 ) .filter((_, i) => i < maxTopDelegationsPerCandidate); const topDelegations = allTopDelegations - .find((t) => `0x${t[0].toHex().slice(-40)}` == accountId)![1] + .find((t) => `0x${t[0].toHex().slice(-40)}` === accountId)![1] .unwrap(); expect(topDelegations.total.toBigInt()).to.equal( @@ -199,16 +199,19 @@ describeSuite({ if (specVersion >= 1500) { const delegationScheduledRequests = await apiAt.query.parachainStaking.delegationScheduledRequests.entries(); - const delegatorRequests = delegationScheduledRequests.reduce((p, requests: any) => { - for (const request of requests[1]) { - const delegator = request.delegator.toHex(); - if (!p[delegator]) { - p[delegator] = []; + const delegatorRequests = delegationScheduledRequests.reduce( + (p, requests: any) => { + for (const request of requests[1]) { + const delegator = request.delegator.toHex(); + if (!p[delegator]) { + p[delegator] = []; + } + p[delegator].push(request); } - p[delegator].push(request); - } - return p; - }, {} as { [delegator: string]: { delegator: any; whenExecutable: any; action: any }[] }); + return p; + }, + {} as { [delegator: string]: { delegator: any; whenExecutable: any; action: any }[] } + ); for (const state of allDelegatorState) { const delegator = `0x${state[0].toHex().slice(-40)}`; @@ -259,12 +262,12 @@ describeSuite({ if (candidateData.status.isLeaving || candidateData.status.isIdle) { expect( - candidatePool.find((c) => c.owner.toHex() == candidateId), + candidatePool.find((c) => c.owner.toHex() === candidateId), `Candidate ${candidateId} is leaving and should not be in the candidate pool` ).to.be.undefined; } else { expect( - candidatePool.find((c) => c.owner.toHex() == candidateId), + candidatePool.find((c) => c.owner.toHex() === candidateId), `Candidate ${candidateId} is active and should be in the candidate pool` ).to.not.be.undefined; foundCandidateInPool++; diff --git a/test/suites/smoke/test-staking-rewards.ts b/test/suites/smoke/test-staking-rewards.ts index 5eab18c0d0..5cf6b850ad 100644 --- a/test/suites/smoke/test-staking-rewards.ts +++ b/test/suites/smoke/test-staking-rewards.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { BN, BN_BILLION } from "@polkadot/util"; -import { u128, u32, StorageKey, u64 } from "@polkadot/types"; -import { ApiPromise } from "@polkadot/api"; -import { HexString } from "@polkadot/util/types"; -import { +import type { u128, u32, StorageKey, u64 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { HexString } from "@polkadot/util/types"; +import type { PalletParachainStakingDelegationRequestsScheduledRequest, PalletParachainStakingDelegator, PalletParachainStakingCollatorSnapshot, @@ -11,11 +11,11 @@ import { PalletParachainStakingBondWithAutoCompound, PalletParachainStakingRoundInfo, } from "@polkadot/types/lookup"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { FIVE_MINS, ONE_HOURS, Perbill, Percent, TEN_MINS } from "@moonwall/util"; import { rateLimiter, getPreviousRound, getNextRound } from "../../helpers"; -import { AccountId20, Block } from "@polkadot/types/interfaces"; +import type { AccountId20, Block } from "@polkadot/types/interfaces"; const limiter = rateLimiter(); @@ -50,7 +50,7 @@ describeSuite({ paraApi = context.polkadotJs("para"); const atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); const queriedBlockHash = await paraApi.rpc.chain.getBlockHash(atBlockNumber); const queryApi = await paraApi.at(queriedBlockHash); @@ -88,7 +88,7 @@ describeSuite({ const totalSelected = (await apiAt.query.parachainStaking.totalSelected()).toNumber(); expect(atStakeSnapshot.length).to.be.lessThanOrEqual(totalSelected); const extras = atStakeSnapshot.filter((item) => - selectedCandidates.some((a) => item[0].args[1] == a) + selectedCandidates.some((a) => item[0].args[1] === a) ); expect(atStakeSnapshot.length).to.be.equal(selectedCandidates.length); expect(extras, `Non-selected candidates in snapshot: ${extras.map((a) => a[0]).join(", ")}`) @@ -120,7 +120,7 @@ describeSuite({ const bondsMatch: boolean = bond.eq(candidateInfo.bond); const delegationsTotalMatch: boolean = - delegations.length == + delegations.length === Math.min( candidateInfo.delegationCount.toNumber(), predecessorApiAt.consts.parachainStaking.maxTopDelegationsPerCandidate.toNumber() @@ -151,7 +151,7 @@ describeSuite({ timeout: ONE_HOURS, test: async () => { // This test is slow due to rate limiting, and should be run ad-hoc only - if (process.env.RUN_ATSTAKE_CONSISTENCY_TESTS != "true") { + if (process.env.RUN_ATSTAKE_CONSISTENCY_TESTS !== "true") { log("Explicit RUN_ATSTAKE_CONSISTENCY_TESTS flag not set to 'true', skipping test"); return; // Replace this with skip() when added to vitest } @@ -169,22 +169,22 @@ describeSuite({ ).unwrap(); const delegationAmount = delegatorDelegations.find( - (candidate) => candidate.owner.toString() == accountId.toString() + (candidate) => candidate.owner.toString() === accountId.toString() )!.amount; // Querying for pending withdrawals which affect the total const scheduledRequest = scheduledRequests.find((a) => { - return a.delegator.toString() == delegatorSnapshot.owner.toString(); + return a.delegator.toString() === delegatorSnapshot.owner.toString(); }); const expected = scheduledRequest === undefined ? delegationAmount : scheduledRequest.action.isDecrease - ? delegationAmount.sub(scheduledRequest.action.asDecrease) - : scheduledRequest.action.isRevoke - ? delegationAmount.sub(scheduledRequest.action.asRevoke) - : delegationAmount; + ? delegationAmount.sub(scheduledRequest.action.asDecrease) + : scheduledRequest.action.isRevoke + ? delegationAmount.sub(scheduledRequest.action.asRevoke) + : delegationAmount; const match = expected.eq(delegatorSnapshot.amount); if (!match) { @@ -240,7 +240,7 @@ describeSuite({ ); const results = await Promise.all(promises); - const mismatches = results.flatMap((a) => a).filter((item) => item.match == false); + const mismatches = results.flat().filter((item) => item.match === false); expect( mismatches, `Mismatched amounts for ${mismatches @@ -258,7 +258,7 @@ describeSuite({ title: "should snapshot delegate autocompound preferences correctly", timeout: ONE_HOURS, test: async () => { - if (process.env.RUN_ATSTAKE_CONSISTENCY_TESTS != "true") { + if (process.env.RUN_ATSTAKE_CONSISTENCY_TESTS !== "true") { log("Explicit RUN_ATSTAKE_CONSISTENCY_TESTS flag not set to 'true', skipping test"); return; // Replace this with skip() when added to vitest } @@ -275,10 +275,10 @@ describeSuite({ autoCompoundPrefs: any[] ) => { const autoCompoundQuery = autoCompoundPrefs.find( - (a) => a.delegator.toString() == delegatorSnapshot.owner.toString() + (a) => a.delegator.toString() === delegatorSnapshot.owner.toString() ); const autoCompoundAmount = - autoCompoundQuery == undefined ? new BN(0) : autoCompoundQuery.value; + autoCompoundQuery === undefined ? new BN(0) : autoCompoundQuery.value; const match = autoCompoundAmount.eq(delegatorSnapshot.autoCompound); if (!match) { log( @@ -300,31 +300,29 @@ describeSuite({ }; log(`Gathering snapshot query requests for ${atStakeSnapshot.length} collators.`); - const promises = atStakeSnapshot - .map( - async ([ - { - args: [_, accountId], - }, - { delegations }, - ]) => { - const autoCompoundPrefs = (await limiter.schedule(() => - predecessorApiAt.query.parachainStaking.autoCompoundingDelegations(accountId) - )) as any; - - return delegations.map((delegation) => - checkDelegatorAutocompound(accountId, delegation, autoCompoundPrefs) - ); - } - ) - .flatMap((a) => a); + const promises = atStakeSnapshot.flatMap( + async ([ + { + args: [_, accountId], + }, + { delegations }, + ]) => { + const autoCompoundPrefs = (await limiter.schedule(() => + predecessorApiAt.query.parachainStaking.autoCompoundingDelegations(accountId) + )) as any; + + return delegations.map((delegation) => + checkDelegatorAutocompound(accountId, delegation, autoCompoundPrefs) + ); + } + ); // RPC endpoints roughly rate limit to 10 queries a second const estimatedTime = (promises.length / 600).toFixed(2); log("Verifying autoCompound preferences, estimated time " + estimatedTime + " mins."); const results: any = await Promise.all(promises); - const mismatches = results.filter((item: any) => item.match == false); + const mismatches = results.filter((item: any) => item.match === false); expect( mismatches, `Mismatched autoCompound for ${mismatches @@ -343,7 +341,7 @@ describeSuite({ timeout: TEN_MINS, test: async () => { const atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); await assertRewardsAtRoundBefore(paraApi, atBlockNumber); @@ -962,7 +960,7 @@ describeSuite({ ); const collator = `0x${collators - .find((orbit) => orbit[1].toHex() == event.data[0].toHex())![0] + .find((orbit) => orbit[1].toHex() === event.data[0].toHex())![0] .toHex() .slice(-40)}`; rewards[collator as HexString] = { diff --git a/test/suites/smoke/test-staking-round-cleanup.ts b/test/suites/smoke/test-staking-round-cleanup.ts index 5a3e37ed5e..6f62ca697d 100644 --- a/test/suites/smoke/test-staking-round-cleanup.ts +++ b/test/suites/smoke/test-staking-round-cleanup.ts @@ -1,11 +1,11 @@ import "@polkadot/api-augment"; import "@moonbeam-network/api-augment"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { BN } from "@polkadot/util"; -import { QueryableStorageEntry } from "@polkadot/api/types"; -import { u32 } from "@polkadot/types"; +import type { BN } from "@polkadot/util"; +import type { QueryableStorageEntry } from "@polkadot/api/types"; +import type { u32 } from "@polkadot/types"; import type { AccountId20 } from "@polkadot/types/interfaces"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { TEN_MINS } from "@moonwall/util"; import { rateLimiter } from "../../helpers/common.js"; @@ -14,7 +14,7 @@ const limiter = rateLimiter(); type InvalidRounds = { [round: number]: number }; async function getKeysBeforeRound< - T extends QueryableStorageEntry<"promise", [u32] | [u32, AccountId20]> + T extends QueryableStorageEntry<"promise", [u32] | [u32, AccountId20]>, >(lastUnpaidRound: BN, storage: T): Promise { const invalidRounds: InvalidRounds = {}; let startKey = ""; @@ -74,13 +74,13 @@ describeSuite({ } // TODO: Remove once moonsama first 129667 blocks are cleaned - if (chainName == "Moonsama") { + if (chainName === "Moonsama") { log(`Moonsama is broken, skipping it`); return; } const atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : currentBlock; const atBlockHash = await paraApi.rpc.chain.getBlockHash(atBlockNumber); @@ -112,16 +112,16 @@ describeSuite({ ); // TODO: remove this once the storage has been cleaned (root vote or upgrade) - if (specName == "moonriver") { + if (specName === "moonriver") { delete awardedPtsInvalidRounds[12440]; delete pointsInvalidRounds[12440]; delete atStakeInvalidRounds[12440]; - } else if (specName == "moonbeam") { + } else if (specName === "moonbeam") { // Only used for Moonlama delete awardedPtsInvalidRounds[3107]; delete pointsInvalidRounds[3107]; delete atStakeInvalidRounds[3107]; - } else if (specName == "moonbase") { + } else if (specName === "moonbase") { // alphanet delete awardedPtsInvalidRounds[10349]; delete pointsInvalidRounds[10349]; diff --git a/test/suites/smoke/test-state-v1-migration.ts b/test/suites/smoke/test-state-v1-migration.ts index c0bb08004f..d53c23bf55 100644 --- a/test/suites/smoke/test-state-v1-migration.ts +++ b/test/suites/smoke/test-state-v1-migration.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment/moonbase"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; describeSuite({ diff --git a/test/suites/smoke/test-treasury-consistency.ts b/test/suites/smoke/test-treasury-consistency.ts index 60940611a5..486145db72 100644 --- a/test/suites/smoke/test-treasury-consistency.ts +++ b/test/suites/smoke/test-treasury-consistency.ts @@ -1,14 +1,14 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S24", title: "Verify treasury consistency", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; let paraApi: ApiPromise; diff --git a/test/suites/smoke/test-xcm-autopause.ts b/test/suites/smoke/test-xcm-autopause.ts index fc36fe4e88..a1a641cd0a 100644 --- a/test/suites/smoke/test-xcm-autopause.ts +++ b/test/suites/smoke/test-xcm-autopause.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment/moonbase"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; describeSuite({ diff --git a/test/suites/smoke/test-xcm-failures.ts b/test/suites/smoke/test-xcm-failures.ts index 800ba52cd7..bb38caf783 100644 --- a/test/suites/smoke/test-xcm-failures.ts +++ b/test/suites/smoke/test-xcm-failures.ts @@ -1,15 +1,15 @@ import "@moonbeam-network/api-augment/moonbase"; import { rateLimiter, checkTimeSliceForUpgrades } from "../../helpers/common.js"; -import { FrameSystemEventRecord, XcmV3MultiLocation } from "@polkadot/types/lookup"; +import type { FrameSystemEventRecord, XcmV3MultiLocation } from "@polkadot/types/lookup"; import { - MoonbeamNetworkName, - ParaId, + type MoonbeamNetworkName, + type ParaId, isMuted, ForeignChainsEndpoints, } from "../../helpers/foreign-chains.js"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { getBlockArray, FIVE_MINS, ONE_HOURS } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : ONE_HOURS; const atBlock = process.env.AT_BLOCK ? Number(process.env.AT_BLOCK) : -1; @@ -61,7 +61,7 @@ describeSuite({ ); // PolkadotSDK 1.7.2 removes XCM errors, so we can skip these tests - aboveRt2900 = onChainRt.toNumber() >= 2900 ? true : false; + aboveRt2900 = onChainRt.toNumber() >= 2900; if (result) { log( diff --git a/test/suites/tracing-tests/test-trace-1.ts b/test/suites/tracing-tests/test-trace-1.ts index f0c305ed76..9ce49e8bb6 100644 --- a/test/suites/tracing-tests/test-trace-1.ts +++ b/test/suites/tracing-tests/test-trace-1.ts @@ -59,7 +59,7 @@ describeSuite({ const { abi: abiIncrementor, hash: hash1 } = await context.deployContract!("Incrementor"); const receipt = await context.viem().getTransactionReceipt({ hash: hash1 }); - // In our case, the total number of transactions == the max value of the incrementer. + // In our case, the total number of transactions === the max value of the incrementer. // If we trace the last transaction of the block, should return the total number of // transactions we executed (10). // If we trace the 5th transaction, should return 5 and so on. @@ -116,10 +116,10 @@ describeSuite({ const traceTx = await customDevRpcRequest("debug_traceTransaction", [send]); const logs: any[] = []; for (const log of traceTx.structLogs) { - if (logs.length == 1) { + if (logs.length === 1) { logs.push(log); } - if (log.op == "RETURN") { + if (log.op === "RETURN") { logs.push(log); } } diff --git a/test/suites/tracing-tests/test-trace-2.ts b/test/suites/tracing-tests/test-trace-2.ts index 952cd1a501..5af522a245 100644 --- a/test/suites/tracing-tests/test-trace-2.ts +++ b/test/suites/tracing-tests/test-trace-2.ts @@ -1,5 +1,7 @@ import { customDevRpcRequest, describeSuite, expect, TransactionTypes } from "@moonwall/cli"; -import BS_TRACER_V2 from "../../helpers/tracer/blockscout_tracer_v2.min.json" assert { type: "json" }; // editorconfig-checker-disable-line +import BS_TRACER_V2 from "../../helpers/tracer/blockscout_tracer_v2.min.json" assert { + type: "json", +}; import { nestedSingle } from "../../helpers"; describeSuite({ diff --git a/test/suites/tracing-tests/test-trace-3.ts b/test/suites/tracing-tests/test-trace-3.ts index d989603ec4..2cfde89110 100644 --- a/test/suites/tracing-tests/test-trace-3.ts +++ b/test/suites/tracing-tests/test-trace-3.ts @@ -5,7 +5,9 @@ import { createEthersTransaction, PRECOMPILE_CROWDLOAN_REWARDS_ADDRESS, } from "@moonwall/util"; -import BS_TRACER_V2 from "../../helpers/tracer/blockscout_tracer_v2.min.json" assert { type: "json" }; // editorconfig-checker-disable-line +import BS_TRACER_V2 from "../../helpers/tracer/blockscout_tracer_v2.min.json" assert { + type: "json", +}; describeSuite({ id: "T03", diff --git a/test/suites/tracing-tests/test-trace-6.ts b/test/suites/tracing-tests/test-trace-6.ts index 4dddfde249..137109041f 100644 --- a/test/suites/tracing-tests/test-trace-6.ts +++ b/test/suites/tracing-tests/test-trace-6.ts @@ -18,13 +18,11 @@ describeSuite({ id: "T01", title: "should correctly trace subcall", test: async function () { - const { contractAddress: contractProxy, abi: abiProxy } = await context.deployContract!( - "CallForwarder" - ); + const { contractAddress: contractProxy, abi: abiProxy } = + await context.deployContract!("CallForwarder"); - const { contractAddress: contractDummy, abi: abiDummy } = await context.deployContract!( - "MultiplyBy7" - ); + const { contractAddress: contractDummy, abi: abiDummy } = + await context.deployContract!("MultiplyBy7"); const callTx = await createEthersTransaction(context, { from: alith.address, @@ -66,13 +64,11 @@ describeSuite({ id: "T02", title: "should correctly trace delegatecall subcall", test: async function () { - const { contractAddress: contractProxy, abi: abiProxy } = await context.deployContract!( - "CallForwarder" - ); + const { contractAddress: contractProxy, abi: abiProxy } = + await context.deployContract!("CallForwarder"); - const { contractAddress: contractDummy, abi: abiDummy } = await context.deployContract!( - "MultiplyBy7" - ); + const { contractAddress: contractDummy, abi: abiDummy } = + await context.deployContract!("MultiplyBy7"); const callTx = await createEthersTransaction(context, { from: alith.address, @@ -115,13 +111,11 @@ describeSuite({ title: "should correctly trace precompile subcall (call list)", timeout: 10000, test: async function () { - const { contractAddress: contractProxy, abi: abiProxy } = await context.deployContract!( - "CallForwarder" - ); + const { contractAddress: contractProxy, abi: abiProxy } = + await context.deployContract!("CallForwarder"); - const { contractAddress: contractDummy, abi: abiDummy } = await context.deployContract!( - "MultiplyBy7" - ); + const { contractAddress: contractDummy, abi: abiDummy } = + await context.deployContract!("MultiplyBy7"); const abiBatch = fetchCompiledContract("Batch").abi; diff --git a/test/suites/tracing-tests/test-trace-call.ts b/test/suites/tracing-tests/test-trace-call.ts index 8f38f14deb..c43662175c 100644 --- a/test/suites/tracing-tests/test-trace-call.ts +++ b/test/suites/tracing-tests/test-trace-call.ts @@ -23,10 +23,10 @@ describeSuite({ const traceTx = await customDevRpcRequest("debug_traceCall", [callParams, "latest"]); const logs: any[] = []; for (const log of traceTx.structLogs) { - if (logs.length == 1) { + if (logs.length === 1) { logs.push(log); } - if (log.op == "RETURN") { + if (log.op === "RETURN") { logs.push(log); } } diff --git a/test/suites/tracing-tests/test-trace-concurrency.ts b/test/suites/tracing-tests/test-trace-concurrency.ts index 09e5756cd8..b73aa22ed7 100644 --- a/test/suites/tracing-tests/test-trace-concurrency.ts +++ b/test/suites/tracing-tests/test-trace-concurrency.ts @@ -7,7 +7,7 @@ import { customDevRpcRequest, } from "@moonwall/cli"; import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "T08", diff --git a/test/suites/tracing-tests/test-trace-erc20-xcm.ts b/test/suites/tracing-tests/test-trace-erc20-xcm.ts index 2125434ec4..c6873ef55e 100644 --- a/test/suites/tracing-tests/test-trace-erc20-xcm.ts +++ b/test/suites/tracing-tests/test-trace-erc20-xcm.ts @@ -4,7 +4,7 @@ import { hexToNumber, parseEther } from "viem"; import { ERC20_TOTAL_SUPPLY, XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, expectEVMResult, injectHrmpMessageAndSeal, sovereignAccountOfSibling, @@ -32,10 +32,10 @@ describeSuite({ // Get pallet indices const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/tracing-tests/test-trace-ethereum-xcm-1.ts b/test/suites/tracing-tests/test-trace-ethereum-xcm-1.ts index c04dcffb71..8b64ed6e6b 100644 --- a/test/suites/tracing-tests/test-trace-ethereum-xcm-1.ts +++ b/test/suites/tracing-tests/test-trace-ethereum-xcm-1.ts @@ -3,9 +3,9 @@ import { XcmFragment, injectHrmpMessageAndSeal, descendOriginFromAddress20, - RawXcmMessage, + type RawXcmMessage, } from "../../helpers"; -import { hexToNumber, Abi, encodeFunctionData } from "viem"; +import { hexToNumber, type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "T10", @@ -36,7 +36,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmTransactions = [ diff --git a/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts b/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts index 0c650f9469..04ade7f28d 100644 --- a/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts +++ b/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts @@ -1,8 +1,8 @@ import { beforeAll, customDevRpcRequest, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, descendOriginFromAddress20, injectHrmpMessage, @@ -40,7 +40,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmTransaction = { diff --git a/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts b/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts index 3e9ad0bdee..79e4020648 100644 --- a/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts +++ b/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts @@ -3,9 +3,9 @@ import { XcmFragment, injectHrmpMessage, descendOriginFromAddress20, - RawXcmMessage, + type RawXcmMessage, } from "../../helpers"; -import { hexToNumber, Abi, encodeFunctionData } from "viem"; +import { hexToNumber, type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "T12", @@ -46,7 +46,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmTransaction = { diff --git a/test/suites/tracing-tests/test-trace-filter.ts b/test/suites/tracing-tests/test-trace-filter.ts index f37f62f9fd..06aec7837f 100644 --- a/test/suites/tracing-tests/test-trace-filter.ts +++ b/test/suites/tracing-tests/test-trace-filter.ts @@ -266,7 +266,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const erc20XcmBridgePalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); const dest = { diff --git a/test/suites/tracing-tests/test-trace-gas.ts b/test/suites/tracing-tests/test-trace-gas.ts index 61c0450d60..b2044542bf 100644 --- a/test/suites/tracing-tests/test-trace-gas.ts +++ b/test/suites/tracing-tests/test-trace-gas.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, customDevRpcRequest, beforeAll, expect } from "@moonwall/cli"; import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { numberToHex } from "@polkadot/util"; describeSuite({ diff --git a/test/suites/zombie/test_para.ts b/test/suites/zombie/test_para.ts index ccc1a42071..1f43e34e84 100644 --- a/test/suites/zombie/test_para.ts +++ b/test/suites/zombie/test_para.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { MoonwallContext, beforeAll, describeSuite, expect } from "@moonwall/cli"; import { BALTATHAR_ADDRESS, alith, charleth } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { ethers } from "ethers"; import fs from "node:fs"; diff --git a/tools/extract-migration-logs.ts b/tools/extract-migration-logs.ts index 163416b247..98e5a41f42 100644 --- a/tools/extract-migration-logs.ts +++ b/tools/extract-migration-logs.ts @@ -1,6 +1,6 @@ import yargs from "yargs"; import chalk from "chalk"; -import fs from "fs"; +import fs from "node:fs"; const argv = yargs(process.argv.slice(2)) .usage("Usage: $0") diff --git a/tools/get-binary.ts b/tools/get-binary.ts index 73b490b428..fe47381c0e 100644 --- a/tools/get-binary.ts +++ b/tools/get-binary.ts @@ -11,9 +11,9 @@ */ import yargs from "yargs"; -import * as fs from "fs"; +import * as fs from "node:fs"; import * as path from "path"; -import * as child_process from "child_process"; +import * as child_process from "node:child_process"; import { killAll, run } from "polkadot-launch"; export async function getDockerBuildBinary( diff --git a/tools/github/generate-runtimes-body.ts b/tools/github/generate-runtimes-body.ts index 80938e83ea..1d4a5b17cc 100644 --- a/tools/github/generate-runtimes-body.ts +++ b/tools/github/generate-runtimes-body.ts @@ -1,6 +1,6 @@ -import { execSync } from "child_process"; +import { execSync } from "node:child_process"; import { Octokit } from "octokit"; -import { readFileSync } from "fs"; +import { readFileSync } from "node:fs"; import yargs from "yargs"; import path from "path"; import { getCommitAndLabels, getCompareLink } from "./github-utils"; @@ -36,12 +36,12 @@ function getRuntimeInfo(srtoolReportFolder: string, runtimeName: string) { // the pallet parachain_system is at index 6, so we have to recalculate the hash of the // authorizeUpgrade call in the case of moonbase by hand. function authorizeUpgradeHash(runtimeName: string, srtool: any): string { - if (runtimeName == "moonbase") { + if (runtimeName === "moonbase") { return blake2AsHex( MOONBASE_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE + srtool.runtimes.compressed.blake2_256.substr(2) // remove "0x" prefix ); - } else if (runtimeName == "moonriver") { + } else if (runtimeName === "moonriver") { return blake2AsHex( MOONRIVER_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE + srtool.runtimes.compressed.blake2_256.substr(2) // remove "0x" prefix diff --git a/tools/github/github-utils.ts b/tools/github/github-utils.ts index 5bd9ffc184..1be3e149bf 100644 --- a/tools/github/github-utils.ts +++ b/tools/github/github-utils.ts @@ -1,5 +1,5 @@ import { Octokit } from "octokit"; -import { execSync } from "child_process"; +import { execSync } from "node:child_process"; // Typescript 4 will support it natively, but not yet :( type Await = T extends PromiseLike ? U : T; @@ -46,7 +46,7 @@ export async function getCommitAndLabels( page, }); commits = commits.concat(compare.data.commits); - more = compare.data.commits.length == 200; + more = compare.data.commits.length === 200; page++; } diff --git a/tools/load-testing/load-gas-loop.ts b/tools/load-testing/load-gas-loop.ts index 7948fe7fef..b145ea9241 100644 --- a/tools/load-testing/load-gas-loop.ts +++ b/tools/load-testing/load-gas-loop.ts @@ -24,13 +24,13 @@ contract Loop { }`; init( - argv["net"] == "stagenet" + argv["net"] === "stagenet" ? "https://rpc.stagenet.moonbeam.gcp.purestake.run" - : argv["net"] == "localhost" + : argv["net"] === "localhost" ? "http://127.0.0.1:9944" - : argv["net"] == "alan" + : argv["net"] === "alan" ? "http://127.0.0.1:56053" - : argv["net"] == "alan-standalone" + : argv["net"] === "alan-standalone" ? "http://127.0.0.1:55543" : argv["net"] ); diff --git a/tools/pov/index.ts b/tools/pov/index.ts index 264533c06f..517c2860da 100755 --- a/tools/pov/index.ts +++ b/tools/pov/index.ts @@ -1,9 +1,9 @@ #!/usr/bin/env ts-node -import { exec as execProcess } from "child_process"; +import { exec as execProcess } from "node:child_process"; import yargs from "yargs"; import util from "node:util"; -import fs from "fs"; +import fs from "node:fs"; import os from "os"; import path from "path"; import { strict as assert } from "node:assert"; @@ -256,7 +256,6 @@ async function view(input: string, output: string, open: boolean) { const totalWrites = data.map((x: any) => x["totalWrites"]); const extrinsicTime = data.map((x: any) => x["extrinsicTime"]); - // editorconfig-checker-disable fs.writeFileSync( output, ` @@ -446,7 +445,6 @@ async function view(input: string, output: string, open: boolean) { ` ); - // editorconfig-checker-enable if (open) { await exec(`${openCmd} ${output}`); @@ -474,7 +472,6 @@ async function analyze(inputs: string[], output: string) { } const colors = new Array(inputs.length).fill(0).map((x) => random_rgb()); - // editorconfig-checker-disable fs.writeFileSync( output, ` @@ -675,7 +672,6 @@ async function analyze(inputs: string[], output: string) { ` ); - // editorconfig-checker-enable await exec(`${openCmd} ${output}`); } diff --git a/typescript-api/.gitignore b/typescript-api/.gitignore index 15b9b743a8..48c9162242 100644 --- a/typescript-api/.gitignore +++ b/typescript-api/.gitignore @@ -28,6 +28,3 @@ node_modules/ # Optional npm cache directory .npm - -# Optional eslint cache -.eslintcache \ No newline at end of file diff --git a/typescript-api/.npmignore b/typescript-api/.npmignore index 243e950690..57fd826393 100644 --- a/typescript-api/.npmignore +++ b/typescript-api/.npmignore @@ -28,7 +28,4 @@ node_modules/ *.tsbuildinfo # Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache +.npm \ No newline at end of file diff --git a/typescript-api/biome.json b/typescript-api/biome.json new file mode 100644 index 0000000000..4a8b0d71e2 --- /dev/null +++ b/typescript-api/biome.json @@ -0,0 +1,22 @@ +{ + "extends": [ + "../biome.json" + ], + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "javascript": { + "formatter": { + "trailingCommas": "none", + "semicolons": "always", + "indentStyle": "space", + "lineWidth": 100, + "quoteStyle": "double" + } + }, + "linter": { + "rules": { + "suspicious": { + "noShadowRestrictedNames": "off" + } + } + } +} \ No newline at end of file diff --git a/typescript-api/package.json b/typescript-api/package.json index ec802a289d..b0cf73c8b8 100644 --- a/typescript-api/package.json +++ b/typescript-api/package.json @@ -34,7 +34,10 @@ "generate:meta:moonbeam": "pnpm tsx node_modules/@polkadot/typegen/scripts/polkadot-types-from-chain.mjs --endpoint ./metadata-moonbeam.json --package @moonbeam/api-augment/moonbeam/interfaces --output ./src/moonbeam/interfaces", "build": "tsup", "deploy": "pnpm generate && pnpm build && pnpm publish", - "fmt:fix": "prettier --write --ignore-unknown --plugin prettier-plugin-jsdoc 'src/**/*' 'scripts/**/*'" + "fmt": "biome format .", + "fmt:fix": "biome format . --write", + "check":"biome check .", + "check:fix": "biome check . --write" }, "main": "./dist/moonbeam/index.cjs", "module": "./dist/moonbeam/index.js", @@ -82,6 +85,7 @@ "api" ], "dependencies": { + "@biomejs/biome": "*", "@polkadot/api": "*", "@polkadot/api-base": "*", "@polkadot/rpc-core": "*", @@ -90,8 +94,6 @@ "@polkadot/types-codec": "*", "@types/node": "*", "moonbeam-types-bundle": "workspace:*", - "prettier": "*", - "prettier-plugin-jsdoc": "^0.3.38", "tsup": "*", "tsx": "*", "typescript": "*" diff --git a/typescript-api/scripts/scrapeMetadata.ts b/typescript-api/scripts/scrapeMetadata.ts index f34df5a5df..d43b34ebe9 100644 --- a/typescript-api/scripts/scrapeMetadata.ts +++ b/typescript-api/scripts/scrapeMetadata.ts @@ -1,10 +1,11 @@ import fs from "node:fs"; -import { ChildProcessWithoutNullStreams, execSync, spawn } from "node:child_process"; +import { execSync, spawn } from "node:child_process"; +import type { ChildProcessWithoutNullStreams } from "node:child_process"; import path from "node:path"; const CHAINS = ["moonbase", "moonriver", "moonbeam"]; -const fetchMetadata = async (port: number = 9933) => { +const fetchMetadata = async (port = 9933) => { const maxRetries = 60; const sleepTime = 500; const url = `http://localhost:${port}`; @@ -12,7 +13,7 @@ const fetchMetadata = async (port: number = 9933) => { id: "1", jsonrpc: "2.0", method: "state_getMetadata", - params: [], + params: [] }; for (let i = 0; i < maxRetries; i++) { @@ -20,9 +21,9 @@ const fetchMetadata = async (port: number = 9933) => { const response = await fetch(url, { method: "POST", headers: { - "Content-Type": "application/json", + "Content-Type": "application/json" }, - body: JSON.stringify(payload), + body: JSON.stringify(payload) }); if (!response.ok) { @@ -40,7 +41,7 @@ const fetchMetadata = async (port: number = 9933) => { throw new Error("Error fetching metadata"); }; -let nodes: { [key: string]: ChildProcessWithoutNullStreams } = {}; +const nodes: { [key: string]: ChildProcessWithoutNullStreams } = {}; async function main() { const runtimeChainSpec = process.argv[2]; @@ -67,7 +68,7 @@ async function main() { "--tmp", `--chain=${chain}-dev`, "--wasm-execution=interpreted-i-know-what-i-do", - "--rpc-port=9933", + "--rpc-port=9933" ]); console.log(`Getting ${chain} metadata`); diff --git a/typescript-api/src/moonbase/interfaces/augment-api-consts.ts b/typescript-api/src/moonbase/interfaces/augment-api-consts.ts index 7f2154f1da..4406481db6 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-consts.ts @@ -17,7 +17,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, - StagingXcmV4Location, + StagingXcmV4Location } from "@polkadot/types/lookup"; export type __AugmentedConst = AugmentedConst; @@ -25,125 +25,168 @@ export type __AugmentedConst = AugmentedConst declare module "@polkadot/api-base/types/consts" { interface AugmentedConsts { assets: { - /** The amount of funds that must be reserved when creating a new approval. */ + /** + * The amount of funds that must be reserved when creating a new approval. + **/ approvalDeposit: u128 & AugmentedConst; - /** The amount of funds that must be reserved for a non-provider asset account to be maintained. */ + /** + * The amount of funds that must be reserved for a non-provider asset account to be + * maintained. + **/ assetAccountDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved for an asset. */ + /** + * The basic amount of funds that must be reserved for an asset. + **/ assetDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved when adding metadata to your asset. */ + /** + * The basic amount of funds that must be reserved when adding metadata to your asset. + **/ metadataDepositBase: u128 & AugmentedConst; - /** The additional funds that must be reserved for the number of bytes you store in your metadata. */ + /** + * The additional funds that must be reserved for the number of bytes you store in your + * metadata. + **/ metadataDepositPerByte: u128 & AugmentedConst; /** * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call. * * Must be configured to result in a weight that makes each call fit in a block. - */ + **/ removeItemsLimit: u32 & AugmentedConst; - /** The maximum length of a name or symbol stored on-chain. */ + /** + * The maximum length of a name or symbol stored on-chain. + **/ stringLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; asyncBacking: { - /** Purely informative, but used by mocking tools like chospticks to allow knowing how to mock blocks */ + /** + * Purely informative, but used by mocking tools like chospticks to allow knowing how to mock + * blocks + **/ expectedBlockTime: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; balances: { /** * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! * - * If you _really_ need it to be zero, you can enable the feature `insecure_zero_ed` for this - * pallet. However, you do so at your own risk: this will open up a major DoS vector. In case - * you have multiple sources of provider references, you may also get unexpected behaviour if - * you set this to zero. + * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for + * this pallet. However, you do so at your own risk: this will open up a major DoS vector. + * In case you have multiple sources of provider references, you may also get unexpected + * behaviour if you set this to zero. * * Bottom line: Do yourself a favour and make it at least one! - */ + **/ existentialDeposit: u128 & AugmentedConst; - /** The maximum number of individual freeze locks that can exist on an account at any time. */ + /** + * The maximum number of individual freeze locks that can exist on an account at any time. + **/ maxFreezes: u32 & AugmentedConst; /** - * The maximum number of locks that should exist on an account. Not strictly enforced, but - * used for weight estimation. + * The maximum number of locks that should exist on an account. + * Not strictly enforced, but used for weight estimation. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxLocks: u32 & AugmentedConst; /** * The maximum number of named reserves that can exist on an account. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxReserves: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; convictionVoting: { /** * The maximum number of concurrent votes an account may have. * - * Also used to compute weight, an overly large value can lead to extrinsics with large weight - * estimation: see `delegate` for instance. - */ + * Also used to compute weight, an overly large value can lead to extrinsics with large + * weight estimation: see `delegate` for instance. + **/ maxVotes: u32 & AugmentedConst; /** * The minimum period of vote locking. * * It should be no shorter than enactment period to ensure that in the case of an approval, * those successful voters are locked into the consequences that their votes entail. - */ + **/ voteLockingPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; crowdloanRewards: { - /** Percentage to be payed at initialization */ + /** + * Percentage to be payed at initialization + **/ initializationPayment: Perbill & AugmentedConst; maxInitContributors: u32 & AugmentedConst; /** - * A fraction representing the percentage of proofs that need to be presented to change a - * reward address through the relay keys - */ + * A fraction representing the percentage of proofs + * that need to be presented to change a reward address through the relay keys + **/ rewardAddressRelayVoteThreshold: Perbill & AugmentedConst; /** * Network Identifier to be appended into the signatures for reward address change/association * Prevents replay attacks from one network to the other - */ + **/ signatureNetworkIdentifier: Bytes & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; identity: { - /** The amount held on deposit for a registered identity. */ + /** + * The amount held on deposit for a registered identity. + **/ basicDeposit: u128 & AugmentedConst; - /** The amount held on deposit per encoded byte for a registered identity. */ + /** + * The amount held on deposit per encoded byte for a registered identity. + **/ byteDeposit: u128 & AugmentedConst; /** - * Maximum number of registrars allowed in the system. Needed to bound the complexity of, - * e.g., updating judgements. - */ + * Maximum number of registrars allowed in the system. Needed to bound the complexity + * of, e.g., updating judgements. + **/ maxRegistrars: u32 & AugmentedConst; - /** The maximum number of sub-accounts allowed per identified account. */ + /** + * The maximum number of sub-accounts allowed per identified account. + **/ maxSubAccounts: u32 & AugmentedConst; - /** The maximum length of a suffix. */ + /** + * The maximum length of a suffix. + **/ maxSuffixLength: u32 & AugmentedConst; - /** The maximum length of a username, including its suffix and any system-added delimiters. */ + /** + * The maximum length of a username, including its suffix and any system-added delimiters. + **/ maxUsernameLength: u32 & AugmentedConst; - /** The number of blocks within which a username grant must be accepted. */ + /** + * The number of blocks within which a username grant must be accepted. + **/ pendingUsernameExpiration: u32 & AugmentedConst; /** * The amount held on deposit for a registered subaccount. This should account for the fact - * that one storage item's value will increase by the size of an account ID, and there will be - * another trie item whose value is the size of an account ID plus 32 bytes. - */ + * that one storage item's value will increase by the size of an account ID, and there will + * be another trie item whose value is the size of an account ID plus 32 bytes. + **/ subAccountDeposit: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; messageQueue: { @@ -151,179 +194,251 @@ declare module "@polkadot/api-base/types/consts" { * The size of the page; this implies the maximum message size which can be sent. * * A good value depends on the expected message sizes, their weights, the weight that is - * available for processing them and the maximal needed message size. The maximal message size - * is slightly lower than this as defined by [`MaxMessageLenOf`]. - */ + * available for processing them and the maximal needed message size. The maximal message + * size is slightly lower than this as defined by [`MaxMessageLenOf`]. + **/ heapSize: u32 & AugmentedConst; /** * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which - * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for - * parachains to process messages at the same block they are received. + * should be provided to the message queue for servicing enqueued items `on_idle`. + * Useful for parachains to process messages at the same block they are received. * * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. - */ + **/ idleMaxServiceWeight: Option & AugmentedConst; /** - * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can - * happen. Once there are more stale pages than this, then historical pages may be dropped, - * even if they contain unprocessed overweight messages. - */ + * The maximum number of stale pages (i.e. of overweight messages) allowed before culling + * can happen. Once there are more stale pages than this, then historical pages may be + * dropped, even if they contain unprocessed overweight messages. + **/ maxStale: u32 & AugmentedConst; /** - * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items `on_initialize`. + * The amount of weight (if any) which should be provided to the message queue for + * servicing enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it - * run in `on_idle`. - */ + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have + * it run in `on_idle`. + **/ serviceWeight: Option & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; moonbeamOrbiters: { - /** Maximum number of orbiters per collator. */ + /** + * Maximum number of orbiters per collator. + **/ maxPoolSize: u32 & AugmentedConst; - /** Maximum number of round to keep on storage. */ + /** + * Maximum number of round to keep on storage. + **/ maxRoundArchive: u32 & AugmentedConst; /** - * Number of rounds before changing the selected orbiter. WARNING: when changing - * `RotatePeriod`, you need a migration code that sets `ForceRotation` to true to avoid holes - * in `OrbiterPerRound`. - */ + * Number of rounds before changing the selected orbiter. + * WARNING: when changing `RotatePeriod`, you need a migration code that sets + * `ForceRotation` to true to avoid holes in `OrbiterPerRound`. + **/ rotatePeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; multisig: { /** - * The base amount of currency needed to reserve for creating a multisig execution or to store - * a dispatch call for later. + * The base amount of currency needed to reserve for creating a multisig execution or to + * store a dispatch call for later. * - * This is held for an additional storage item whose value size is `4 + sizeof((BlockNumber, - * Balance, AccountId))` bytes and whose key size is `32 + sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + * `32 + sizeof(AccountId)` bytes. + **/ depositBase: u128 & AugmentedConst; /** * The amount of currency needed per unit threshold when creating a multisig execution. * * This is held for adding 32 bytes more into a pre-existing storage value. - */ + **/ depositFactor: u128 & AugmentedConst; - /** The maximum amount of signatories allowed in the multisig. */ + /** + * The maximum amount of signatories allowed in the multisig. + **/ maxSignatories: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; openTechCommitteeCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainStaking: { - /** Get the average time beetween 2 blocks in milliseconds */ + /** + * Get the average time beetween 2 blocks in milliseconds + **/ blockTime: u64 & AugmentedConst; - /** Number of rounds candidate requests to decrease self-bond must wait to be executable */ + /** + * Number of rounds candidate requests to decrease self-bond must wait to be executable + **/ candidateBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that delegation less requests must wait before executable */ + /** + * Number of rounds that delegation less requests must wait before executable + **/ delegationBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that candidates remain bonded before exit request is executable */ + /** + * Number of rounds that candidates remain bonded before exit request is executable + **/ leaveCandidatesDelay: u32 & AugmentedConst; - /** Number of rounds that delegators remain bonded before exit request is executable */ + /** + * Number of rounds that delegators remain bonded before exit request is executable + **/ leaveDelegatorsDelay: u32 & AugmentedConst; - /** Maximum bottom delegations (not counted) per candidate */ + /** + * Maximum bottom delegations (not counted) per candidate + **/ maxBottomDelegationsPerCandidate: u32 & AugmentedConst; - /** Maximum candidates */ + /** + * Maximum candidates + **/ maxCandidates: u32 & AugmentedConst; - /** Maximum delegations per delegator */ + /** + * Maximum delegations per delegator + **/ maxDelegationsPerDelegator: u32 & AugmentedConst; /** - * If a collator doesn't produce any block on this number of rounds, it is notified as - * inactive. This value must be less than or equal to RewardPaymentDelay. - */ + * If a collator doesn't produce any block on this number of rounds, it is notified as inactive. + * This value must be less than or equal to RewardPaymentDelay. + **/ maxOfflineRounds: u32 & AugmentedConst; - /** Maximum top delegations counted per candidate */ + /** + * Maximum top delegations counted per candidate + **/ maxTopDelegationsPerCandidate: u32 & AugmentedConst; - /** Minimum number of blocks per round */ + /** + * Minimum number of blocks per round + **/ minBlocksPerRound: u32 & AugmentedConst; - /** Minimum stake required for any account to be a collator candidate */ + /** + * Minimum stake required for any account to be a collator candidate + **/ minCandidateStk: u128 & AugmentedConst; - /** Minimum stake for any registered on-chain account to delegate */ + /** + * Minimum stake for any registered on-chain account to delegate + **/ minDelegation: u128 & AugmentedConst; - /** Minimum number of selected candidates every round */ + /** + * Minimum number of selected candidates every round + **/ minSelectedCandidates: u32 & AugmentedConst; - /** Number of rounds that delegations remain bonded before revocation request is executable */ + /** + * Number of rounds that delegations remain bonded before revocation request is executable + **/ revokeDelegationDelay: u32 & AugmentedConst; - /** Number of rounds after which block authors are rewarded */ + /** + * Number of rounds after which block authors are rewarded + **/ rewardPaymentDelay: u32 & AugmentedConst; - /** Get the slot duration in milliseconds */ + /** + * Get the slot duration in milliseconds + **/ slotDuration: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainSystem: { - /** Returns the parachain ID we are running with. */ + /** + * Returns the parachain ID we are running with. + **/ selfParaId: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. * - * This is held when a new storage item holding a `Balance` is created (typically 16 bytes). - */ + * This is held when a new storage item holding a `Balance` is created (typically 16 + * bytes). + **/ announcementDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per announcement made. * - * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) into - * a pre-existing storage value. - */ + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. + **/ announcementDepositFactor: u128 & AugmentedConst; - /** The maximum amount of time-delayed announcements that are allowed to be pending. */ + /** + * The maximum amount of time-delayed announcements that are allowed to be pending. + **/ maxPending: u32 & AugmentedConst; - /** The maximum amount of proxies allowed for a single account. */ + /** + * The maximum amount of proxies allowed for a single account. + **/ maxProxies: u32 & AugmentedConst; /** * The base amount of currency needed to reserve for creating a proxy. * - * This is held for an additional storage item whose value size is `sizeof(Balance)` bytes and - * whose key size is `sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + **/ proxyDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per proxy added. * - * This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing - * storage value. Thus, when configuring `ProxyDepositFactor` one should take into account `32 - * + proxy_type.encode().len()` bytes of data. - */ + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a + * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + * into account `32 + proxy_type.encode().len()` bytes of data. + **/ proxyDepositFactor: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; randomness: { - /** Local requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Local requests expire and can be purged from storage after this many blocks/epochs + **/ blockExpirationDelay: u32 & AugmentedConst; - /** The amount that should be taken as a security deposit when requesting randomness. */ + /** + * The amount that should be taken as a security deposit when requesting randomness. + **/ deposit: u128 & AugmentedConst; - /** Babe requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Babe requests expire and can be purged from storage after this many blocks/epochs + **/ epochExpirationDelay: u64 & AugmentedConst; /** - * Local per-block VRF requests must be at most this many blocks after the block in which they - * were requested - */ + * Local per-block VRF requests must be at most this many blocks after the block in which + * they were requested + **/ maxBlockDelay: u32 & AugmentedConst; - /** Maximum number of random words that can be requested per request */ + /** + * Maximum number of random words that can be requested per request + **/ maxRandomWords: u8 & AugmentedConst; /** * Local per-block VRF requests must be at least this many blocks after the block in which * they were requested - */ + **/ minBlockDelay: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; referenda: { @@ -331,89 +446,119 @@ declare module "@polkadot/api-base/types/consts" { * Quantization level for the referendum wakeup scheduler. A higher number will result in * fewer storage reads/writes needed for smaller voters, but also result in delays to the * automatic referendum status changes. Explicit servicing instructions are unaffected. - */ + **/ alarmInterval: u32 & AugmentedConst; - /** Maximum size of the referendum queue for a single track. */ + /** + * Maximum size of the referendum queue for a single track. + **/ maxQueued: u32 & AugmentedConst; - /** The minimum amount to be used as a deposit for a public referendum proposal. */ + /** + * The minimum amount to be used as a deposit for a public referendum proposal. + **/ submissionDeposit: u128 & AugmentedConst; - /** Information concerning the different referendum tracks. */ + /** + * Information concerning the different referendum tracks. + **/ tracks: Vec> & AugmentedConst; /** - * The number of blocks after submission that a referendum must begin being decided by. Once - * this passes, then anyone may cancel the referendum. - */ + * The number of blocks after submission that a referendum must begin being decided by. + * Once this passes, then anyone may cancel the referendum. + **/ undecidingTimeout: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; relayStorageRoots: { /** - * Limit the number of relay storage roots that will be stored. This limit applies to the - * number of items, not to their age. Decreasing the value of `MaxStorageRoots` is a breaking - * change and needs a migration to clean the `RelayStorageRoots` mapping. - */ + * Limit the number of relay storage roots that will be stored. + * This limit applies to the number of items, not to their age. Decreasing the value of + * `MaxStorageRoots` is a breaking change and needs a migration to clean the + * `RelayStorageRoots` mapping. + **/ maxStorageRoots: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; scheduler: { - /** The maximum weight that may be scheduled per block for any dispatchables. */ + /** + * The maximum weight that may be scheduled per block for any dispatchables. + **/ maximumWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * The maximum number of scheduled calls in the queue for a single block. * * NOTE: - * - * - Dependent pallets' benchmarks might require a higher limit for the setting. Set a higher - * limit under `runtime-benchmarks` feature. - */ + * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a + * higher limit under `runtime-benchmarks` feature. + **/ maxScheduledPerBlock: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; system: { - /** Maximum number of block number to block hash mappings to keep (oldest pruned first). */ + /** + * Maximum number of block number to block hash mappings to keep (oldest pruned first). + **/ blockHashCount: u32 & AugmentedConst; - /** The maximum length of a block (in bytes). */ + /** + * The maximum length of a block (in bytes). + **/ blockLength: FrameSystemLimitsBlockLength & AugmentedConst; - /** Block & extrinsics weights: base values and limits. */ + /** + * Block & extrinsics weights: base values and limits. + **/ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; - /** The weight of runtime database operations the runtime can invoke. */ + /** + * The weight of runtime database operations the runtime can invoke. + **/ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst; /** * The designated SS58 prefix of this chain. * - * This replaces the "ss58Format" property declared in the chain spec. Reason is that the - * runtime should know about the prefix in order to make use of it as an identifier of the chain. - */ + * This replaces the "ss58Format" property declared in the chain spec. Reason is + * that the runtime should know about the prefix in order to make use of it as + * an identifier of the chain. + **/ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's in-code version. */ + /** + * Get the chain's in-code version. + **/ version: SpVersionRuntimeVersion & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; timestamp: { /** * The minimum period between blocks. * - * Be aware that this is different to the _expected_ period that the block production - * apparatus provides. Your chosen consensus system will generally work with this to determine - * a sensible block time. For example, in the Aura pallet it will be double this period on - * default settings. - */ + * Be aware that this is different to the *expected* period that the block production + * apparatus provides. Your chosen consensus system will generally work with this to + * determine a sensible block time. For example, in the Aura pallet it will be double this + * period on default settings. + **/ minimumPeriod: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; transactionPayment: { /** - * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their `priority` + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their + * `priority` * - * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later added - * to a tip component in regular `priority` calculations. It means that a `Normal` transaction - * can front-run a similarly-sized `Operational` extrinsic (with no tip), by including a tip - * value greater than the virtual tip. + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later + * added to a tip component in regular `priority` calculations. + * It means that a `Normal` transaction can front-run a similarly-sized `Operational` + * extrinsic (with no tip), by including a tip value greater than the virtual tip. * * ```rust,ignore * // For `Normal` @@ -424,55 +569,76 @@ declare module "@polkadot/api-base/types/consts" { * let priority = priority_calc(tip + virtual_tip); * ``` * - * Note that since we use `final_fee` the multiplier applies also to the regular `tip` sent - * with the transaction. So, not only does the transaction get a priority bump based on the - * `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` transactions. - */ + * Note that since we use `final_fee` the multiplier applies also to the regular `tip` + * sent with the transaction. So, not only does the transaction get a priority bump based + * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + * transactions. + **/ operationalFeeMultiplier: u8 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasury: { - /** Percentage of spare funds (if any) that are burnt per spend period. */ + /** + * Percentage of spare funds (if any) that are burnt per spend period. + **/ burn: Permill & AugmentedConst; /** * The maximum number of approvals that can wait in the spending queue. * * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. - */ + **/ maxApprovals: u32 & AugmentedConst; - /** The treasury's pallet id, used for deriving its sovereign account ID. */ + /** + * The treasury's pallet id, used for deriving its sovereign account ID. + **/ palletId: FrameSupportPalletId & AugmentedConst; - /** The period during which an approved treasury spend has to be claimed. */ + /** + * The period during which an approved treasury spend has to be claimed. + **/ payoutPeriod: u32 & AugmentedConst; - /** Period between successive spends. */ + /** + * Period between successive spends. + **/ spendPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasuryCouncilCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; utility: { - /** The limit on the number of batched calls. */ + /** + * The limit on the number of batched calls. + **/ batchedCallsLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmpQueue: { /** * Maximal number of outbound XCMP channels that can have messages queued at the same time. * - * If this is reached, then no further messages can be sent to channels that do not yet have a - * message queued. This should be set to the expected maximum of outbound channels which is - * determined by [`Self::ChannelInfo`]. It is important to set this large enough, since - * otherwise the congestion control protocol will not work as intended and messages may be - * dropped. This value increases the PoV and should therefore not be picked too high. - * Governance needs to pay attention to not open more channels than this value. - */ + * If this is reached, then no further messages can be sent to channels that do not yet + * have a message queued. This should be set to the expected maximum of outbound channels + * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough, + * since otherwise the congestion control protocol will not work as intended and messages + * may be dropped. This value increases the PoV and should therefore not be picked too + * high. Governance needs to pay attention to not open more channels than this value. + **/ maxActiveOutboundChannels: u32 & AugmentedConst; /** * The maximum number of inbound XCMP channels that can be suspended simultaneously. @@ -480,7 +646,7 @@ declare module "@polkadot/api-base/types/consts" { * Any further channel suspensions will fail and messages may get dropped without further * notice. Choosing a high value (1000) is okay; the trade-off that is described in * [`InboundXcmpSuspended`] still applies at that scale. - */ + **/ maxInboundSuspended: u32 & AugmentedConst; /** * The maximal page size for HRMP message pages. @@ -488,17 +654,27 @@ declare module "@polkadot/api-base/types/consts" { * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case * benchmarking. The limit for the size of a message is slightly below this, since some * overhead is incurred for encoding the format. - */ + **/ maxPageSize: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmTransactor: { - /** The actual weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ + /** + * + * The actual weight for an XCM message is `T::BaseXcmWeight + + * T::Weigher::weight(&msg)`. + **/ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Self chain location. */ + /** + * Self chain location. + **/ selfLocation: StagingXcmV4Location & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; } // AugmentedConsts diff --git a/typescript-api/src/moonbase/interfaces/augment-api-errors.ts b/typescript-api/src/moonbase/interfaces/augment-api-errors.ts index b6b9ab7106..e535858507 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-errors.ts @@ -20,246 +20,430 @@ declare module "@polkadot/api-base/types/errors" { NonExistentLocalAsset: AugmentedError; NotSufficientDeposit: AugmentedError; TooLowNumAssetsWeightHint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; assets: { - /** The asset-account already exists. */ + /** + * The asset-account already exists. + **/ AlreadyExists: AugmentedError; - /** The asset is not live, and likely being destroyed. */ + /** + * The asset is not live, and likely being destroyed. + **/ AssetNotLive: AugmentedError; - /** The asset ID must be equal to the [`NextAssetId`]. */ + /** + * The asset ID must be equal to the [`NextAssetId`]. + **/ BadAssetId: AugmentedError; - /** Invalid metadata given. */ + /** + * Invalid metadata given. + **/ BadMetadata: AugmentedError; - /** Invalid witness data given. */ + /** + * Invalid witness data given. + **/ BadWitness: AugmentedError; - /** Account balance must be greater than or equal to the transfer amount. */ + /** + * Account balance must be greater than or equal to the transfer amount. + **/ BalanceLow: AugmentedError; - /** Callback action resulted in error */ + /** + * Callback action resulted in error + **/ CallbackFailed: AugmentedError; - /** The origin account is frozen. */ + /** + * The origin account is frozen. + **/ Frozen: AugmentedError; - /** The asset status is not the expected status. */ + /** + * The asset status is not the expected status. + **/ IncorrectStatus: AugmentedError; - /** The asset ID is already taken. */ + /** + * The asset ID is already taken. + **/ InUse: AugmentedError; /** - * The asset is a live asset and is actively being used. Usually emit for operations such as - * `start_destroy` which require the asset to be in a destroying state. - */ + * The asset is a live asset and is actively being used. Usually emit for operations such + * as `start_destroy` which require the asset to be in a destroying state. + **/ LiveAsset: AugmentedError; - /** Minimum balance should be non-zero. */ + /** + * Minimum balance should be non-zero. + **/ MinBalanceZero: AugmentedError; - /** The account to alter does not exist. */ + /** + * The account to alter does not exist. + **/ NoAccount: AugmentedError; - /** The asset-account doesn't have an associated deposit. */ + /** + * The asset-account doesn't have an associated deposit. + **/ NoDeposit: AugmentedError; - /** The signing account has no permission to do the operation. */ + /** + * The signing account has no permission to do the operation. + **/ NoPermission: AugmentedError; - /** The asset should be frozen before the given operation. */ + /** + * The asset should be frozen before the given operation. + **/ NotFrozen: AugmentedError; - /** No approval exists that would allow the transfer. */ + /** + * No approval exists that would allow the transfer. + **/ Unapproved: AugmentedError; /** * Unable to increment the consumer reference counters on the account. Either no provider - * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer - * then the maximum number of consumers has been reached. - */ + * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one + * fewer then the maximum number of consumers has been reached. + **/ UnavailableConsumer: AugmentedError; - /** The given asset ID is unknown. */ + /** + * The given asset ID is unknown. + **/ Unknown: AugmentedError; - /** The operation would result in funds being burned. */ + /** + * The operation would result in funds being burned. + **/ WouldBurn: AugmentedError; - /** The source account would not survive the transfer and it needs to stay alive. */ + /** + * The source account would not survive the transfer and it needs to stay alive. + **/ WouldDie: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorInherent: { - /** Author already set in block. */ + /** + * Author already set in block. + **/ AuthorAlreadySet: AugmentedError; - /** The author in the inherent is not an eligible author. */ + /** + * The author in the inherent is not an eligible author. + **/ CannotBeAuthor: AugmentedError; - /** No AccountId was found to be associated with this author */ + /** + * No AccountId was found to be associated with this author + **/ NoAccountId: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorMapping: { - /** The NimbusId in question is already associated and cannot be overwritten */ + /** + * The NimbusId in question is already associated and cannot be overwritten + **/ AlreadyAssociated: AugmentedError; - /** The association can't be cleared because it is not found. */ + /** + * The association can't be cleared because it is not found. + **/ AssociationNotFound: AugmentedError; - /** This account cannot set an author because it cannon afford the security deposit */ + /** + * This account cannot set an author because it cannon afford the security deposit + **/ CannotAffordSecurityDeposit: AugmentedError; - /** Failed to decode T::Keys for `set_keys` */ + /** + * Failed to decode T::Keys for `set_keys` + **/ DecodeKeysFailed: AugmentedError; - /** Failed to decode NimbusId for `set_keys` */ + /** + * Failed to decode NimbusId for `set_keys` + **/ DecodeNimbusFailed: AugmentedError; - /** The association can't be cleared because it belongs to another account. */ + /** + * The association can't be cleared because it belongs to another account. + **/ NotYourAssociation: AugmentedError; - /** No existing NimbusId can be found for the account */ + /** + * No existing NimbusId can be found for the account + **/ OldAuthorIdNotFound: AugmentedError; - /** Keys have wrong size */ + /** + * Keys have wrong size + **/ WrongKeySize: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; balances: { - /** Beneficiary account must pre-exist. */ + /** + * Beneficiary account must pre-exist. + **/ DeadAccount: AugmentedError; - /** The delta cannot be zero. */ + /** + * The delta cannot be zero. + **/ DeltaZero: AugmentedError; - /** Value too low to create account due to existential deposit. */ + /** + * Value too low to create account due to existential deposit. + **/ ExistentialDeposit: AugmentedError; - /** A vesting schedule already exists for this account. */ + /** + * A vesting schedule already exists for this account. + **/ ExistingVestingSchedule: AugmentedError; - /** Transfer/payment would kill account. */ + /** + * Transfer/payment would kill account. + **/ Expendability: AugmentedError; - /** Balance too low to send value. */ + /** + * Balance too low to send value. + **/ InsufficientBalance: AugmentedError; - /** The issuance cannot be modified since it is already deactivated. */ + /** + * The issuance cannot be modified since it is already deactivated. + **/ IssuanceDeactivated: AugmentedError; - /** Account liquidity restrictions prevent withdrawal. */ + /** + * Account liquidity restrictions prevent withdrawal. + **/ LiquidityRestrictions: AugmentedError; - /** Number of freezes exceed `MaxFreezes`. */ + /** + * Number of freezes exceed `MaxFreezes`. + **/ TooManyFreezes: AugmentedError; - /** Number of holds exceed `VariantCountOf`. */ + /** + * Number of holds exceed `VariantCountOf`. + **/ TooManyHolds: AugmentedError; - /** Number of named reserves exceed `MaxReserves`. */ + /** + * Number of named reserves exceed `MaxReserves`. + **/ TooManyReserves: AugmentedError; - /** Vesting balance too high to send value. */ + /** + * Vesting balance too high to send value. + **/ VestingBalance: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; convictionVoting: { - /** The account is already delegating. */ + /** + * The account is already delegating. + **/ AlreadyDelegating: AugmentedError; /** - * The account currently has votes attached to it and the operation cannot succeed until these - * are removed through `remove_vote`. - */ + * The account currently has votes attached to it and the operation cannot succeed until + * these are removed through `remove_vote`. + **/ AlreadyVoting: AugmentedError; - /** The class ID supplied is invalid. */ + /** + * The class ID supplied is invalid. + **/ BadClass: AugmentedError; - /** The class must be supplied since it is not easily determinable from the state. */ + /** + * The class must be supplied since it is not easily determinable from the state. + **/ ClassNeeded: AugmentedError; - /** Too high a balance was provided that the account cannot afford. */ + /** + * Too high a balance was provided that the account cannot afford. + **/ InsufficientFunds: AugmentedError; - /** Maximum number of votes reached. */ + /** + * Maximum number of votes reached. + **/ MaxVotesReached: AugmentedError; - /** Delegation to oneself makes no sense. */ + /** + * Delegation to oneself makes no sense. + **/ Nonsense: AugmentedError; - /** The actor has no permission to conduct the action. */ + /** + * The actor has no permission to conduct the action. + **/ NoPermission: AugmentedError; - /** The actor has no permission to conduct the action right now but will do in the future. */ + /** + * The actor has no permission to conduct the action right now but will do in the future. + **/ NoPermissionYet: AugmentedError; - /** The account is not currently delegating. */ + /** + * The account is not currently delegating. + **/ NotDelegating: AugmentedError; - /** Poll is not ongoing. */ + /** + * Poll is not ongoing. + **/ NotOngoing: AugmentedError; - /** The given account did not vote on the poll. */ + /** + * The given account did not vote on the poll. + **/ NotVoter: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; crowdloanRewards: { /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided an already associated relay chain identity - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided an already associated relay chain identity + **/ AlreadyAssociated: AugmentedError; - /** Trying to introduce a batch that goes beyond the limits of the funds */ + /** + * Trying to introduce a batch that goes beyond the limits of the funds + **/ BatchBeyondFundPot: AugmentedError; - /** First claim already done */ + /** + * First claim already done + **/ FirstClaimAlreadyDone: AugmentedError; - /** User submitted an unsifficient number of proofs to change the reward address */ + /** + * User submitted an unsifficient number of proofs to change the reward address + **/ InsufficientNumberOfValidProofs: AugmentedError; /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided a wrong signature - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided a wrong signature + **/ InvalidClaimSignature: AugmentedError; - /** User trying to claim the first free reward provided the wrong signature */ + /** + * User trying to claim the first free reward provided the wrong signature + **/ InvalidFreeClaimSignature: AugmentedError; /** - * User trying to claim an award did not have an claim associated with it. This may mean they - * did not contribute to the crowdloan, or they have not yet associated a native id with their - * contribution - */ + * User trying to claim an award did not have an claim associated with it. This may mean + * they did not contribute to the crowdloan, or they have not yet associated a native id + * with their contribution + **/ NoAssociatedClaim: AugmentedError; - /** User provided a signature from a non-contributor relay account */ + /** + * User provided a signature from a non-contributor relay account + **/ NonContributedAddressProvided: AugmentedError; - /** The contribution is not high enough to be eligible for rewards */ + /** + * The contribution is not high enough to be eligible for rewards + **/ RewardNotHighEnough: AugmentedError; /** - * User trying to claim rewards has already claimed all rewards associated with its identity - * and contribution - */ + * User trying to claim rewards has already claimed all rewards associated with its + * identity and contribution + **/ RewardsAlreadyClaimed: AugmentedError; - /** Rewards should match funds of the pallet */ + /** + * Rewards should match funds of the pallet + **/ RewardsDoNotMatchFund: AugmentedError; - /** Reward vec has already been initialized */ + /** + * Reward vec has already been initialized + **/ RewardVecAlreadyInitialized: AugmentedError; - /** Reward vec has not yet been fully initialized */ + /** + * Reward vec has not yet been fully initialized + **/ RewardVecNotFullyInitializedYet: AugmentedError; - /** Initialize_reward_vec received too many contributors */ + /** + * Initialize_reward_vec received too many contributors + **/ TooManyContributors: AugmentedError; - /** Provided vesting period is not valid */ + /** + * Provided vesting period is not valid + **/ VestingPeriodNonValid: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; emergencyParaXcm: { - /** The current XCM Mode is not Paused */ + /** + * The current XCM Mode is not Paused + **/ NotInPausedMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereum: { - /** Signature is invalid. */ + /** + * Signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Pre-log is present, therefore transact is not allowed. */ + /** + * Pre-log is present, therefore transact is not allowed. + **/ PreLogExists: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereumXcm: { - /** Xcm to Ethereum execution is suspended */ + /** + * Xcm to Ethereum execution is suspended + **/ EthereumXcmExecutionSuspended: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evm: { - /** Not enough balance to perform action */ + /** + * Not enough balance to perform action + **/ BalanceLow: AugmentedError; - /** Calculating total fee overflowed */ + /** + * Calculating total fee overflowed + **/ FeeOverflow: AugmentedError; - /** Gas limit is too high. */ + /** + * Gas limit is too high. + **/ GasLimitTooHigh: AugmentedError; - /** Gas limit is too low. */ + /** + * Gas limit is too low. + **/ GasLimitTooLow: AugmentedError; - /** Gas price is too low. */ + /** + * Gas price is too low. + **/ GasPriceTooLow: AugmentedError; - /** The chain id is invalid. */ + /** + * The chain id is invalid. + **/ InvalidChainId: AugmentedError; - /** Nonce is invalid */ + /** + * Nonce is invalid + **/ InvalidNonce: AugmentedError; - /** The signature is invalid. */ + /** + * the signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Calculating total payment overflowed */ + /** + * Calculating total payment overflowed + **/ PaymentOverflow: AugmentedError; - /** EVM reentrancy */ + /** + * EVM reentrancy + **/ Reentrancy: AugmentedError; - /** EIP-3607, */ + /** + * EIP-3607, + **/ TransactionMustComeFromEOA: AugmentedError; - /** Undefined error. */ + /** + * Undefined error. + **/ Undefined: AugmentedError; - /** Withdraw fee failed */ + /** + * Withdraw fee failed + **/ WithdrawFailed: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evmForeignAssets: { @@ -277,226 +461,416 @@ declare module "@polkadot/api-base/types/errors" { InvalidTokenName: AugmentedError; LocationAlreadyExists: AugmentedError; TooManyForeignAssets: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; identity: { - /** Account ID is already named. */ + /** + * Account ID is already named. + **/ AlreadyClaimed: AugmentedError; - /** Empty index. */ + /** + * Empty index. + **/ EmptyIndex: AugmentedError; - /** Fee is changed. */ + /** + * Fee is changed. + **/ FeeChanged: AugmentedError; - /** The index is invalid. */ + /** + * The index is invalid. + **/ InvalidIndex: AugmentedError; - /** Invalid judgement. */ + /** + * Invalid judgement. + **/ InvalidJudgement: AugmentedError; - /** The signature on a username was not valid. */ + /** + * The signature on a username was not valid. + **/ InvalidSignature: AugmentedError; - /** The provided suffix is too long. */ + /** + * The provided suffix is too long. + **/ InvalidSuffix: AugmentedError; - /** The target is invalid. */ + /** + * The target is invalid. + **/ InvalidTarget: AugmentedError; - /** The username does not meet the requirements. */ + /** + * The username does not meet the requirements. + **/ InvalidUsername: AugmentedError; - /** The provided judgement was for a different identity. */ + /** + * The provided judgement was for a different identity. + **/ JudgementForDifferentIdentity: AugmentedError; - /** Judgement given. */ + /** + * Judgement given. + **/ JudgementGiven: AugmentedError; - /** Error that occurs when there is an issue paying for judgement. */ + /** + * Error that occurs when there is an issue paying for judgement. + **/ JudgementPaymentFailed: AugmentedError; - /** The authority cannot allocate any more usernames. */ + /** + * The authority cannot allocate any more usernames. + **/ NoAllocation: AugmentedError; - /** No identity found. */ + /** + * No identity found. + **/ NoIdentity: AugmentedError; - /** The username cannot be forcefully removed because it can still be accepted. */ + /** + * The username cannot be forcefully removed because it can still be accepted. + **/ NotExpired: AugmentedError; - /** Account isn't found. */ + /** + * Account isn't found. + **/ NotFound: AugmentedError; - /** Account isn't named. */ + /** + * Account isn't named. + **/ NotNamed: AugmentedError; - /** Sub-account isn't owned by sender. */ + /** + * Sub-account isn't owned by sender. + **/ NotOwned: AugmentedError; - /** Sender is not a sub-account. */ + /** + * Sender is not a sub-account. + **/ NotSub: AugmentedError; - /** The sender does not have permission to issue a username. */ + /** + * The sender does not have permission to issue a username. + **/ NotUsernameAuthority: AugmentedError; - /** The requested username does not exist. */ + /** + * The requested username does not exist. + **/ NoUsername: AugmentedError; - /** Setting this username requires a signature, but none was provided. */ + /** + * Setting this username requires a signature, but none was provided. + **/ RequiresSignature: AugmentedError; - /** Sticky judgement. */ + /** + * Sticky judgement. + **/ StickyJudgement: AugmentedError; - /** Maximum amount of registrars reached. Cannot add any more. */ + /** + * Maximum amount of registrars reached. Cannot add any more. + **/ TooManyRegistrars: AugmentedError; - /** Too many subs-accounts. */ + /** + * Too many subs-accounts. + **/ TooManySubAccounts: AugmentedError; - /** The username is already taken. */ + /** + * The username is already taken. + **/ UsernameTaken: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; maintenanceMode: { - /** The chain cannot enter maintenance mode because it is already in maintenance mode */ + /** + * The chain cannot enter maintenance mode because it is already in maintenance mode + **/ AlreadyInMaintenanceMode: AugmentedError; - /** The chain cannot resume normal operation because it is not in maintenance mode */ + /** + * The chain cannot resume normal operation because it is not in maintenance mode + **/ NotInMaintenanceMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; messageQueue: { - /** The message was already processed and cannot be processed again. */ + /** + * The message was already processed and cannot be processed again. + **/ AlreadyProcessed: AugmentedError; - /** There is temporarily not enough weight to continue servicing messages. */ + /** + * There is temporarily not enough weight to continue servicing messages. + **/ InsufficientWeight: AugmentedError; - /** The referenced message could not be found. */ + /** + * The referenced message could not be found. + **/ NoMessage: AugmentedError; - /** Page to be reaped does not exist. */ + /** + * Page to be reaped does not exist. + **/ NoPage: AugmentedError; - /** Page is not reapable because it has items remaining to be processed and is not old enough. */ + /** + * Page is not reapable because it has items remaining to be processed and is not old + * enough. + **/ NotReapable: AugmentedError; - /** The message is queued for future execution. */ + /** + * The message is queued for future execution. + **/ Queued: AugmentedError; /** * The queue is paused and no message can be executed from it. * * This can change at any time and may resolve in the future by re-trying. - */ + **/ QueuePaused: AugmentedError; - /** Another call is in progress and needs to finish before this call can happen. */ + /** + * Another call is in progress and needs to finish before this call can happen. + **/ RecursiveDisallowed: AugmentedError; /** * This message is temporarily unprocessable. * - * Such errors are expected, but not guaranteed, to resolve themselves eventually through retrying. - */ + * Such errors are expected, but not guaranteed, to resolve themselves eventually through + * retrying. + **/ TemporarilyUnprocessable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; migrations: { - /** Preimage already exists in the new storage. */ + /** + * Preimage already exists in the new storage. + **/ PreimageAlreadyExists: AugmentedError; - /** Preimage is larger than the new max size. */ + /** + * Preimage is larger than the new max size. + **/ PreimageIsTooBig: AugmentedError; - /** Missing preimage in original democracy storage */ + /** + * Missing preimage in original democracy storage + **/ PreimageMissing: AugmentedError; - /** Provided upper bound is too low. */ + /** + * Provided upper bound is too low. + **/ WrongUpperBound: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamLazyMigrations: { - /** Fail to add an approval */ + /** + * Fail to add an approval + **/ ApprovalFailed: AugmentedError; - /** Asset not found */ + /** + * Asset not found + **/ AssetNotFound: AugmentedError; - /** The asset type was not found */ + /** + * The asset type was not found + **/ AssetTypeNotFound: AugmentedError; - /** The contract already have metadata */ + /** + * The contract already have metadata + **/ ContractMetadataAlreadySet: AugmentedError; - /** Contract not exist */ + /** + * Contract not exist + **/ ContractNotExist: AugmentedError; - /** The key lengths exceeds the maximum allowed */ + /** + * The key lengths exceeds the maximum allowed + **/ KeyTooLong: AugmentedError; - /** The limit cannot be zero */ + /** + * The limit cannot be zero + **/ LimitCannotBeZero: AugmentedError; - /** The location of the asset was not found */ + /** + * The location of the asset was not found + **/ LocationNotFound: AugmentedError; - /** Migration is not finished yet */ + /** + * Migration is not finished yet + **/ MigrationNotFinished: AugmentedError; - /** Fail to mint the foreign asset */ + /** + * Fail to mint the foreign asset + **/ MintFailed: AugmentedError; - /** The name length exceeds the maximum allowed */ + /** + * The name length exceeds the maximum allowed + **/ NameTooLong: AugmentedError; - /** No migration in progress */ + /** + * No migration in progress + **/ NoMigrationInProgress: AugmentedError; - /** The symbol length exceeds the maximum allowed */ + /** + * The symbol length exceeds the maximum allowed + **/ SymbolTooLong: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamOrbiters: { - /** The collator is already added in orbiters program. */ + /** + * The collator is already added in orbiters program. + **/ CollatorAlreadyAdded: AugmentedError; - /** This collator is not in orbiters program. */ + /** + * This collator is not in orbiters program. + **/ CollatorNotFound: AugmentedError; - /** There are already too many orbiters associated with this collator. */ + /** + * There are already too many orbiters associated with this collator. + **/ CollatorPoolTooLarge: AugmentedError; - /** There are more collator pools than the number specified in the parameter. */ + /** + * There are more collator pools than the number specified in the parameter. + **/ CollatorsPoolCountTooLow: AugmentedError; /** * The minimum deposit required to register as an orbiter has not yet been included in the * onchain storage - */ + **/ MinOrbiterDepositNotSet: AugmentedError; - /** This orbiter is already associated with this collator. */ + /** + * This orbiter is already associated with this collator. + **/ OrbiterAlreadyInPool: AugmentedError; - /** This orbiter has not made a deposit */ + /** + * This orbiter has not made a deposit + **/ OrbiterDepositNotFound: AugmentedError; - /** This orbiter is not found */ + /** + * This orbiter is not found + **/ OrbiterNotFound: AugmentedError; - /** The orbiter is still at least in one pool */ + /** + * The orbiter is still at least in one pool + **/ OrbiterStillInAPool: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; multisig: { - /** Call is already approved by this signatory. */ + /** + * Call is already approved by this signatory. + **/ AlreadyApproved: AugmentedError; - /** The data to be stored is already stored. */ + /** + * The data to be stored is already stored. + **/ AlreadyStored: AugmentedError; - /** The maximum weight information provided was too low. */ + /** + * The maximum weight information provided was too low. + **/ MaxWeightTooLow: AugmentedError; - /** Threshold must be 2 or greater. */ + /** + * Threshold must be 2 or greater. + **/ MinimumThreshold: AugmentedError; - /** Call doesn't need any (more) approvals. */ + /** + * Call doesn't need any (more) approvals. + **/ NoApprovalsNeeded: AugmentedError; - /** Multisig operation not found when attempting to cancel. */ + /** + * Multisig operation not found when attempting to cancel. + **/ NotFound: AugmentedError; - /** No timepoint was given, yet the multisig operation is already underway. */ + /** + * No timepoint was given, yet the multisig operation is already underway. + **/ NoTimepoint: AugmentedError; - /** Only the account that originally created the multisig is able to cancel it. */ + /** + * Only the account that originally created the multisig is able to cancel it. + **/ NotOwner: AugmentedError; - /** The sender was contained in the other signatories; it shouldn't be. */ + /** + * The sender was contained in the other signatories; it shouldn't be. + **/ SenderInSignatories: AugmentedError; - /** The signatories were provided out of order; they should be ordered. */ + /** + * The signatories were provided out of order; they should be ordered. + **/ SignatoriesOutOfOrder: AugmentedError; - /** There are too few signatories in the list. */ + /** + * There are too few signatories in the list. + **/ TooFewSignatories: AugmentedError; - /** There are too many signatories in the list. */ + /** + * There are too many signatories in the list. + **/ TooManySignatories: AugmentedError; - /** A timepoint was given, yet no multisig operation is underway. */ + /** + * A timepoint was given, yet no multisig operation is underway. + **/ UnexpectedTimepoint: AugmentedError; - /** A different timepoint was given to the multisig operation that is underway. */ + /** + * A different timepoint was given to the multisig operation that is underway. + **/ WrongTimepoint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; openTechCommitteeCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainStaking: { @@ -556,132 +930,240 @@ declare module "@polkadot/api-base/types/errors" { TooLowDelegationCountToDelegate: AugmentedError; TooLowDelegationCountToLeaveDelegators: AugmentedError; TotalInflationDistributionPercentExceeds100: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainSystem: { - /** The inherent which supplies the host configuration did not run this block. */ + /** + * The inherent which supplies the host configuration did not run this block. + **/ HostConfigurationNotAvailable: AugmentedError; - /** No code upgrade has been authorized. */ + /** + * No code upgrade has been authorized. + **/ NothingAuthorized: AugmentedError; - /** No validation function upgrade is currently scheduled. */ + /** + * No validation function upgrade is currently scheduled. + **/ NotScheduled: AugmentedError; - /** Attempt to upgrade validation function while existing upgrade pending. */ + /** + * Attempt to upgrade validation function while existing upgrade pending. + **/ OverlappingUpgrades: AugmentedError; - /** Polkadot currently prohibits this parachain from upgrading its validation function. */ + /** + * Polkadot currently prohibits this parachain from upgrading its validation function. + **/ ProhibitedByPolkadot: AugmentedError; - /** The supplied validation function has compiled into a blob larger than Polkadot is willing to run. */ + /** + * The supplied validation function has compiled into a blob larger than Polkadot is + * willing to run. + **/ TooBig: AugmentedError; - /** The given code upgrade has not been authorized. */ + /** + * The given code upgrade has not been authorized. + **/ Unauthorized: AugmentedError; - /** The inherent which supplies the validation data did not run this block. */ + /** + * The inherent which supplies the validation data did not run this block. + **/ ValidationDataNotAvailable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; polkadotXcm: { - /** The given account is not an identifiable sovereign account for any location. */ + /** + * The given account is not an identifiable sovereign account for any location. + **/ AccountNotSovereign: AugmentedError; - /** The location is invalid since it already has a subscription from us. */ + /** + * The location is invalid since it already has a subscription from us. + **/ AlreadySubscribed: AugmentedError; /** - * The given location could not be used (e.g. because it cannot be expressed in the desired - * version of XCM). - */ + * The given location could not be used (e.g. because it cannot be expressed in the + * desired version of XCM). + **/ BadLocation: AugmentedError; - /** The version of the `Versioned` value used is not able to be interpreted. */ + /** + * The version of the `Versioned` value used is not able to be interpreted. + **/ BadVersion: AugmentedError; - /** Could not check-out the assets for teleportation to the destination chain. */ + /** + * Could not check-out the assets for teleportation to the destination chain. + **/ CannotCheckOutTeleport: AugmentedError; - /** Could not re-anchor the assets to declare the fees for the destination chain. */ + /** + * Could not re-anchor the assets to declare the fees for the destination chain. + **/ CannotReanchor: AugmentedError; - /** The destination `Location` provided cannot be inverted. */ + /** + * The destination `Location` provided cannot be inverted. + **/ DestinationNotInvertible: AugmentedError; - /** The assets to be sent are empty. */ + /** + * The assets to be sent are empty. + **/ Empty: AugmentedError; - /** The operation required fees to be paid which the initiator could not meet. */ + /** + * The operation required fees to be paid which the initiator could not meet. + **/ FeesNotMet: AugmentedError; - /** The message execution fails the filter. */ + /** + * The message execution fails the filter. + **/ Filtered: AugmentedError; - /** The unlock operation cannot succeed because there are still consumers of the lock. */ + /** + * The unlock operation cannot succeed because there are still consumers of the lock. + **/ InUse: AugmentedError; - /** Invalid asset, reserve chain could not be determined for it. */ + /** + * Invalid asset, reserve chain could not be determined for it. + **/ InvalidAssetUnknownReserve: AugmentedError; - /** Invalid asset, do not support remote asset reserves with different fees reserves. */ + /** + * Invalid asset, do not support remote asset reserves with different fees reserves. + **/ InvalidAssetUnsupportedReserve: AugmentedError; - /** Origin is invalid for sending. */ + /** + * Origin is invalid for sending. + **/ InvalidOrigin: AugmentedError; - /** Local XCM execution incomplete. */ + /** + * Local XCM execution incomplete. + **/ LocalExecutionIncomplete: AugmentedError; - /** A remote lock with the corresponding data could not be found. */ + /** + * A remote lock with the corresponding data could not be found. + **/ LockNotFound: AugmentedError; - /** The owner does not own (all) of the asset that they wish to do the operation on. */ + /** + * The owner does not own (all) of the asset that they wish to do the operation on. + **/ LowBalance: AugmentedError; - /** The referenced subscription could not be found. */ + /** + * The referenced subscription could not be found. + **/ 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; - /** Too many assets have been attempted for transfer. */ + /** + * Too many assets have been attempted for transfer. + **/ TooManyAssets: AugmentedError; - /** The asset owner has too many locks on the asset. */ + /** + * The asset owner has too many locks on the asset. + **/ TooManyLocks: AugmentedError; - /** Too many assets with different reserve locations have been attempted for transfer. */ + /** + * Too many assets with different reserve locations have been attempted for transfer. + **/ TooManyReserves: AugmentedError; - /** The desired destination was unreachable, generally because there is a no way of routing to it. */ + /** + * The desired destination was unreachable, generally because there is a no way of routing + * to it. + **/ Unreachable: AugmentedError; - /** The message's weight could not be determined. */ + /** + * The message's weight could not be determined. + **/ UnweighableMessage: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; precompileBenchmarks: { BenchmarkError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; preimage: { - /** Preimage has already been noted on-chain. */ + /** + * Preimage has already been noted on-chain. + **/ AlreadyNoted: AugmentedError; - /** No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. */ + /** + * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. + **/ NoCost: AugmentedError; - /** The user is not authorized to perform this action. */ + /** + * The user is not authorized to perform this action. + **/ NotAuthorized: AugmentedError; - /** The preimage cannot be removed since it has not yet been noted. */ + /** + * The preimage cannot be removed since it has not yet been noted. + **/ NotNoted: AugmentedError; - /** The preimage request cannot be removed since no outstanding requests exist. */ + /** + * The preimage request cannot be removed since no outstanding requests exist. + **/ NotRequested: AugmentedError; - /** A preimage may not be removed when there are outstanding requests. */ + /** + * A preimage may not be removed when there are outstanding requests. + **/ Requested: AugmentedError; - /** Preimage is too large to store on-chain. */ + /** + * Preimage is too large to store on-chain. + **/ TooBig: AugmentedError; - /** Too few hashes were requested to be upgraded (i.e. zero). */ + /** + * Too few hashes were requested to be upgraded (i.e. zero). + **/ TooFew: AugmentedError; - /** More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. */ + /** + * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + **/ TooMany: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; proxy: { - /** Account is already a proxy. */ + /** + * Account is already a proxy. + **/ Duplicate: AugmentedError; - /** Call may not be made by proxy because it may escalate its privileges. */ + /** + * Call may not be made by proxy because it may escalate its privileges. + **/ NoPermission: AugmentedError; - /** Cannot add self as proxy. */ + /** + * Cannot add self as proxy. + **/ NoSelfProxy: AugmentedError; - /** Proxy registration not found. */ + /** + * Proxy registration not found. + **/ NotFound: AugmentedError; - /** Sender is not a proxy of the account to be proxied. */ + /** + * Sender is not a proxy of the account to be proxied. + **/ NotProxy: AugmentedError; - /** There are too many proxies registered or too many announcements pending. */ + /** + * There are too many proxies registered or too many announcements pending. + **/ TooMany: AugmentedError; - /** Announcement, if made at all, was made too recently. */ + /** + * Announcement, if made at all, was made too recently. + **/ Unannounced: AugmentedError; - /** A call which is incompatible with the proxy type's filter was attempted. */ + /** + * A call which is incompatible with the proxy type's filter was attempted. + **/ Unproxyable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; randomness: { @@ -697,171 +1179,316 @@ declare module "@polkadot/api-base/types/errors" { RequestDNE: AugmentedError; RequestFeeOverflowed: AugmentedError; RequestHasNotExpired: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; referenda: { - /** The referendum index provided is invalid in this context. */ + /** + * The referendum index provided is invalid in this context. + **/ BadReferendum: AugmentedError; - /** The referendum status is invalid for this operation. */ + /** + * The referendum status is invalid for this operation. + **/ BadStatus: AugmentedError; - /** The track identifier given was invalid. */ + /** + * The track identifier given was invalid. + **/ BadTrack: AugmentedError; - /** There are already a full complement of referenda in progress for this track. */ + /** + * There are already a full complement of referenda in progress for this track. + **/ Full: AugmentedError; - /** Referendum's decision deposit is already paid. */ + /** + * Referendum's decision deposit is already paid. + **/ HasDeposit: AugmentedError; - /** The deposit cannot be refunded since none was made. */ + /** + * The deposit cannot be refunded since none was made. + **/ NoDeposit: AugmentedError; - /** The deposit refunder is not the depositor. */ + /** + * The deposit refunder is not the depositor. + **/ NoPermission: AugmentedError; - /** There was nothing to do in the advancement. */ + /** + * There was nothing to do in the advancement. + **/ NothingToDo: AugmentedError; - /** Referendum is not ongoing. */ + /** + * Referendum is not ongoing. + **/ NotOngoing: AugmentedError; - /** No track exists for the proposal origin. */ + /** + * No track exists for the proposal origin. + **/ NoTrack: AugmentedError; - /** The preimage does not exist. */ + /** + * The preimage does not exist. + **/ PreimageNotExist: AugmentedError; - /** The preimage is stored with a different length than the one provided. */ + /** + * The preimage is stored with a different length than the one provided. + **/ PreimageStoredWithDifferentLength: AugmentedError; - /** The queue of the track is empty. */ + /** + * The queue of the track is empty. + **/ QueueEmpty: AugmentedError; - /** Any deposit cannot be refunded until after the decision is over. */ + /** + * Any deposit cannot be refunded until after the decision is over. + **/ Unfinished: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; scheduler: { - /** Failed to schedule a call */ + /** + * Failed to schedule a call + **/ FailedToSchedule: AugmentedError; - /** Attempt to use a non-named function on a named task. */ + /** + * Attempt to use a non-named function on a named task. + **/ Named: AugmentedError; - /** Cannot find the scheduled call. */ + /** + * Cannot find the scheduled call. + **/ NotFound: AugmentedError; - /** Reschedule failed because it does not change scheduled time. */ + /** + * Reschedule failed because it does not change scheduled time. + **/ RescheduleNoChange: AugmentedError; - /** Given target block number is in the past. */ + /** + * Given target block number is in the past. + **/ TargetBlockNumberInPast: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; sudo: { - /** Sender must be the Sudo account. */ + /** + * Sender must be the Sudo account. + **/ RequireSudo: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; system: { - /** The origin filter prevent the call to be dispatched. */ + /** + * The origin filter prevent the call to be dispatched. + **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. - */ + **/ FailedToExtractRuntimeVersion: AugmentedError; - /** The name of specification does not match between the current runtime and the new runtime. */ + /** + * The name of specification does not match between the current runtime + * and the new runtime. + **/ InvalidSpecName: AugmentedError; - /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + /** + * A multi-block migration is ongoing and prevents the current code from being replaced. + **/ MultiBlockMigrationsOngoing: AugmentedError; - /** Suicide called when the account has non-default composite data. */ + /** + * Suicide called when the account has non-default composite data. + **/ NonDefaultComposite: AugmentedError; - /** There is a non-zero reference count preventing the account from being purged. */ + /** + * There is a non-zero reference count preventing the account from being purged. + **/ NonZeroRefCount: AugmentedError; - /** No upgrade authorized. */ + /** + * No upgrade authorized. + **/ NothingAuthorized: AugmentedError; - /** The specification version is not allowed to decrease between the current runtime and the new runtime. */ + /** + * The specification version is not allowed to decrease between the current runtime + * and the new runtime. + **/ SpecVersionNeedsToIncrease: AugmentedError; - /** The submitted code is not authorized. */ + /** + * The submitted code is not authorized. + **/ Unauthorized: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasury: { - /** The payment has already been attempted. */ + /** + * The payment has already been attempted. + **/ AlreadyAttempted: AugmentedError; - /** The spend is not yet eligible for payout. */ + /** + * The spend is not yet eligible for payout. + **/ EarlyPayout: AugmentedError; - /** The balance of the asset kind is not convertible to the balance of the native asset. */ + /** + * The balance of the asset kind is not convertible to the balance of the native asset. + **/ FailedToConvertBalance: AugmentedError; - /** The payment has neither failed nor succeeded yet. */ + /** + * The payment has neither failed nor succeeded yet. + **/ Inconclusive: AugmentedError; - /** The spend origin is valid but the amount it is allowed to spend is lower than the amount to be spent. */ + /** + * The spend origin is valid but the amount it is allowed to spend is lower than the + * amount to be spent. + **/ InsufficientPermission: AugmentedError; - /** No proposal, bounty or spend at that index. */ + /** + * No proposal, bounty or spend at that index. + **/ InvalidIndex: AugmentedError; - /** The payout was not yet attempted/claimed. */ + /** + * The payout was not yet attempted/claimed. + **/ NotAttempted: AugmentedError; - /** There was some issue with the mechanism of payment. */ + /** + * There was some issue with the mechanism of payment. + **/ PayoutError: AugmentedError; - /** Proposal has not been approved. */ + /** + * Proposal has not been approved. + **/ ProposalNotApproved: AugmentedError; - /** The spend has expired and cannot be claimed. */ + /** + * The spend has expired and cannot be claimed. + **/ SpendExpired: AugmentedError; - /** Too many approvals in the queue. */ + /** + * Too many approvals in the queue. + **/ TooManyApprovals: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasuryCouncilCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; utility: { - /** Too many calls batched. */ + /** + * Too many calls batched. + **/ TooManyCalls: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; whitelist: { - /** The call was already whitelisted; No-Op. */ + /** + * The call was already whitelisted; No-Op. + **/ CallAlreadyWhitelisted: AugmentedError; - /** The call was not whitelisted. */ + /** + * The call was not whitelisted. + **/ CallIsNotWhitelisted: AugmentedError; - /** The weight of the decoded call was higher than the witness. */ + /** + * The weight of the decoded call was higher than the witness. + **/ InvalidCallWeightWitness: AugmentedError; - /** The preimage of the call hash could not be loaded. */ + /** + * The preimage of the call hash could not be loaded. + **/ UnavailablePreImage: AugmentedError; - /** The call could not be decoded. */ + /** + * The call could not be decoded. + **/ UndecodableCall: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmpQueue: { - /** The execution is already resumed. */ + /** + * The execution is already resumed. + **/ AlreadyResumed: AugmentedError; - /** The execution is already suspended. */ + /** + * The execution is already suspended. + **/ AlreadySuspended: AugmentedError; - /** Setting the queue config failed since one of its values was invalid. */ + /** + * Setting the queue config failed since one of its values was invalid. + **/ BadQueueConfig: AugmentedError; - /** The message is too big. */ + /** + * The message is too big. + **/ TooBig: AugmentedError; - /** There are too many active outbound channels. */ + /** + * There are too many active outbound channels. + **/ TooManyActiveOutboundChannels: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmTransactor: { @@ -892,23 +1519,39 @@ declare module "@polkadot/api-base/types/errors" { UnweighableMessage: AugmentedError; WeightOverflow: AugmentedError; XcmExecuteError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmWeightTrader: { - /** The given asset was already added */ + /** + * The given asset was already added + **/ AssetAlreadyAdded: AugmentedError; - /** The given asset was already paused */ + /** + * The given asset was already paused + **/ AssetAlreadyPaused: AugmentedError; - /** The given asset was not found */ + /** + * The given asset was not found + **/ AssetNotFound: AugmentedError; - /** The given asset is not paused */ + /** + * The given asset is not paused + **/ AssetNotPaused: AugmentedError; - /** The relative price cannot be zero */ + /** + * The relative price cannot be zero + **/ PriceCannotBeZero: AugmentedError; - /** XCM location filtered */ + /** + * XCM location filtered + **/ XcmLocationFiltered: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; } // AugmentedErrors diff --git a/typescript-api/src/moonbase/interfaces/augment-api-events.ts b/typescript-api/src/moonbase/interfaces/augment-api-events.ts index c4aacc4940..57b8d0b861 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-events.ts @@ -17,7 +17,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { AccountId20, H160, H256, Perbill, Percent } from "@polkadot/types/interfaces/runtime"; @@ -54,7 +54,7 @@ import type { StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; export type __AugmentedEvent = AugmentedEvent; @@ -62,13 +62,17 @@ export type __AugmentedEvent = AugmentedEvent declare module "@polkadot/api-base/types/events" { interface AugmentedEvents { assetManager: { - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ ForeignAssetDestroyed: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonbaseRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonbaseRuntimeXcmConfigAssetType } >; - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetRegistered: AugmentedEvent< ApiType, [ @@ -82,153 +86,216 @@ declare module "@polkadot/api-base/types/events" { metadata: MoonbaseRuntimeAssetConfigAssetRegistrarMetadata; } >; - /** Removed all information related to an assetId */ + /** + * Removed all information related to an assetId + **/ ForeignAssetRemoved: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonbaseRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonbaseRuntimeXcmConfigAssetType } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newAssetType: MoonbaseRuntimeXcmConfigAssetType], { assetId: u128; newAssetType: MoonbaseRuntimeXcmConfigAssetType } >; - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ LocalAssetDestroyed: AugmentedEvent; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [assetType: MoonbaseRuntimeXcmConfigAssetType], { assetType: MoonbaseRuntimeXcmConfigAssetType } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ UnitsPerSecondChanged: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; assets: { - /** Accounts were destroyed for given asset. */ + /** + * Accounts were destroyed for given asset. + **/ AccountsDestroyed: AugmentedEvent< ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u128; accountsDestroyed: u32; accountsRemaining: u32 } >; - /** An approval for account `delegate` was cancelled by `owner`. */ + /** + * An approval for account `delegate` was cancelled by `owner`. + **/ ApprovalCancelled: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, delegate: AccountId20], { assetId: u128; owner: AccountId20; delegate: AccountId20 } >; - /** Approvals were destroyed for given asset. */ + /** + * Approvals were destroyed for given asset. + **/ ApprovalsDestroyed: AugmentedEvent< ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u128; approvalsDestroyed: u32; approvalsRemaining: u32 } >; - /** (Additional) funds have been approved for transfer to a destination account. */ + /** + * (Additional) funds have been approved for transfer to a destination account. + **/ ApprovedTransfer: AugmentedEvent< ApiType, [assetId: u128, source: AccountId20, delegate: AccountId20, amount: u128], { assetId: u128; source: AccountId20; delegate: AccountId20; amount: u128 } >; - /** Some asset `asset_id` was frozen. */ + /** + * Some asset `asset_id` was frozen. + **/ AssetFrozen: AugmentedEvent; - /** The min_balance of an asset has been updated by the asset owner. */ + /** + * The min_balance of an asset has been updated by the asset owner. + **/ AssetMinBalanceChanged: AugmentedEvent< ApiType, [assetId: u128, newMinBalance: u128], { assetId: u128; newMinBalance: u128 } >; - /** An asset has had its attributes changed by the `Force` origin. */ + /** + * An asset has had its attributes changed by the `Force` origin. + **/ AssetStatusChanged: AugmentedEvent; - /** Some asset `asset_id` was thawed. */ + /** + * Some asset `asset_id` was thawed. + **/ AssetThawed: AugmentedEvent; - /** Some account `who` was blocked. */ + /** + * Some account `who` was blocked. + **/ Blocked: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were destroyed. */ + /** + * Some assets were destroyed. + **/ Burned: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, balance: u128], { assetId: u128; owner: AccountId20; balance: u128 } >; - /** Some asset class was created. */ + /** + * Some asset class was created. + **/ Created: AugmentedEvent< ApiType, [assetId: u128, creator: AccountId20, owner: AccountId20], { assetId: u128; creator: AccountId20; owner: AccountId20 } >; - /** Some assets were deposited (e.g. for transaction fees). */ + /** + * Some assets were deposited (e.g. for transaction fees). + **/ Deposited: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** An asset class was destroyed. */ + /** + * An asset class was destroyed. + **/ Destroyed: AugmentedEvent; - /** An asset class is in the process of being destroyed. */ + /** + * An asset class is in the process of being destroyed. + **/ DestructionStarted: AugmentedEvent; - /** Some asset class was force-created. */ + /** + * Some asset class was force-created. + **/ ForceCreated: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** Some account `who` was frozen. */ + /** + * Some account `who` was frozen. + **/ Frozen: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were issued. */ + /** + * Some assets were issued. + **/ Issued: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, amount: u128], { assetId: u128; owner: AccountId20; amount: u128 } >; - /** Metadata has been cleared for an asset. */ + /** + * Metadata has been cleared for an asset. + **/ MetadataCleared: AugmentedEvent; - /** New metadata has been set for an asset. */ + /** + * New metadata has been set for an asset. + **/ MetadataSet: AugmentedEvent< ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u128; name: Bytes; symbol: Bytes; decimals: u8; isFrozen: bool } >; - /** The owner changed. */ + /** + * The owner changed. + **/ OwnerChanged: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** The management team changed. */ + /** + * The management team changed. + **/ TeamChanged: AugmentedEvent< ApiType, [assetId: u128, issuer: AccountId20, admin: AccountId20, freezer: AccountId20], { assetId: u128; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 } >; - /** Some account `who` was thawed. */ + /** + * Some account `who` was thawed. + **/ Thawed: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some account `who` was created with a deposit from `depositor`. */ + /** + * Some account `who` was created with a deposit from `depositor`. + **/ Touched: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, depositor: AccountId20], { assetId: u128; who: AccountId20; depositor: AccountId20 } >; - /** Some assets were transferred. */ + /** + * Some assets were transferred. + **/ Transferred: AugmentedEvent< ApiType, [assetId: u128, from: AccountId20, to: AccountId20, amount: u128], { assetId: u128; from: AccountId20; to: AccountId20; amount: u128 } >; - /** An `amount` was transferred in its entirety from `owner` to `destination` by the approved `delegate`. */ + /** + * An `amount` was transferred in its entirety from `owner` to `destination` by + * the approved `delegate`. + **/ TransferredApproved: AugmentedEvent< ApiType, [ @@ -246,23 +313,33 @@ declare module "@polkadot/api-base/types/events" { amount: u128; } >; - /** Some assets were withdrawn from the account (e.g. for transaction fees). */ + /** + * Some assets were withdrawn from the account (e.g. for transaction fees). + **/ Withdrawn: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorFilter: { - /** The amount of eligible authors for the filter to select has been changed. */ + /** + * The amount of eligible authors for the filter to select has been changed. + **/ EligibleUpdated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorMapping: { - /** A NimbusId has been registered and mapped to an AccountId. */ + /** + * A NimbusId has been registered and mapped to an AccountId. + **/ KeysRegistered: AugmentedEvent< ApiType, [ @@ -276,7 +353,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been de-registered, and its AccountId mapping removed. */ + /** + * An NimbusId has been de-registered, and its AccountId mapping removed. + **/ KeysRemoved: AugmentedEvent< ApiType, [ @@ -290,7 +369,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been registered, replacing a previous registration and its mapping. */ + /** + * An NimbusId has been registered, replacing a previous registration and its mapping. + **/ KeysRotated: AugmentedEvent< ApiType, [ @@ -304,75 +385,97 @@ declare module "@polkadot/api-base/types/events" { newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; balances: { - /** A balance was set by root. */ + /** + * A balance was set by root. + **/ BalanceSet: AugmentedEvent< ApiType, [who: AccountId20, free: u128], { who: AccountId20; free: u128 } >; - /** Some amount was burned from an account. */ + /** + * Some amount was burned from an account. + **/ Burned: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was deposited (e.g. for transaction fees). */ + /** + * Some amount was deposited (e.g. for transaction fees). + **/ Deposit: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * An account was removed whose balance was non-zero but below ExistentialDeposit, resulting - * in an outright loss. - */ + * An account was removed whose balance was non-zero but below ExistentialDeposit, + * resulting in an outright loss. + **/ DustLost: AugmentedEvent< ApiType, [account: AccountId20, amount: u128], { account: AccountId20; amount: u128 } >; - /** An account was created with some free balance. */ + /** + * An account was created with some free balance. + **/ Endowed: AugmentedEvent< ApiType, [account: AccountId20, freeBalance: u128], { account: AccountId20; freeBalance: u128 } >; - /** Some balance was frozen. */ + /** + * Some balance was frozen. + **/ Frozen: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was increased by `amount`, creating a credit to be balanced. */ + /** + * Total issuance was increased by `amount`, creating a credit to be balanced. + **/ Issued: AugmentedEvent; - /** Some balance was locked. */ + /** + * Some balance was locked. + **/ Locked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was minted into an account. */ + /** + * Some amount was minted into an account. + **/ Minted: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was decreased by `amount`, creating a debt to be balanced. */ + /** + * Total issuance was decreased by `amount`, creating a debt to be balanced. + **/ Rescinded: AugmentedEvent; - /** Some balance was reserved (moved from free to reserved). */ + /** + * Some balance was reserved (moved from free to reserved). + **/ Reserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * Some balance was moved from the reserve of the first account to the second account. Final - * argument indicates the destination balance type. - */ + * Some balance was moved from the reserve of the first account to the second account. + * Final argument indicates the destination balance type. + **/ ReserveRepatriated: AugmentedEvent< ApiType, [ @@ -388,121 +491,178 @@ declare module "@polkadot/api-base/types/events" { destinationStatus: FrameSupportTokensMiscBalanceStatus; } >; - /** Some amount was restored into an account. */ + /** + * Some amount was restored into an account. + **/ Restored: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was removed from the account (e.g. for misbehavior). */ + /** + * Some amount was removed from the account (e.g. for misbehavior). + **/ Slashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was suspended from an account (it can be restored later). */ + /** + * Some amount was suspended from an account (it can be restored later). + **/ Suspended: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was thawed. */ + /** + * Some balance was thawed. + **/ Thawed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** The `TotalIssuance` was forcefully changed. */ + /** + * The `TotalIssuance` was forcefully changed. + **/ TotalIssuanceForced: AugmentedEvent< ApiType, [old: u128, new_: u128], { old: u128; new_: u128 } >; - /** Transfer succeeded. */ + /** + * Transfer succeeded. + **/ Transfer: AugmentedEvent< ApiType, [from: AccountId20, to: AccountId20, amount: u128], { from: AccountId20; to: AccountId20; amount: u128 } >; - /** Some balance was unlocked. */ + /** + * Some balance was unlocked. + **/ Unlocked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was unreserved (moved from reserved to free). */ + /** + * Some balance was unreserved (moved from reserved to free). + **/ Unreserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** An account was upgraded. */ + /** + * An account was upgraded. + **/ Upgraded: AugmentedEvent; - /** Some amount was withdrawn from the account (e.g. for transaction fees). */ + /** + * Some amount was withdrawn from the account (e.g. for transaction fees). + **/ Withdraw: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; convictionVoting: { - /** An account has delegated their vote to another account. [who, target] */ + /** + * An account has delegated their vote to another account. \[who, target\] + **/ Delegated: AugmentedEvent; - /** An [account] has cancelled a previous delegation operation. */ + /** + * An \[account\] has cancelled a previous delegation operation. + **/ Undelegated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; crowdloanRewards: { - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAccountWithNotEnoughContribution: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAlreadyInitializedAccount: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** The initial payment of InitializationPayment % was paid */ + /** + * The initial payment of InitializationPayment % was paid + **/ InitialPaymentMade: AugmentedEvent; /** - * Someone has proven they made a contribution and associated a native identity with it. Data - * is the relay account, native account and the total amount of _rewards_ that will be paid - */ + * Someone has proven they made a contribution and associated a native identity with it. + * Data is the relay account, native account and the total amount of _rewards_ that will be paid + **/ NativeIdentityAssociated: AugmentedEvent; - /** A contributor has updated the reward address. */ + /** + * A contributor has updated the reward address. + **/ RewardAddressUpdated: AugmentedEvent; /** - * A contributor has claimed some rewards. Data is the account getting paid and the amount of - * rewards paid. - */ + * A contributor has claimed some rewards. + * Data is the account getting paid and the amount of rewards paid. + **/ RewardsPaid: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; cumulusXcm: { - /** Downward message executed with the given outcome. [ id, outcome ] */ + /** + * Downward message executed with the given outcome. + * \[ id, outcome \] + **/ ExecutedDownward: AugmentedEvent; - /** Downward message is invalid XCM. [ id ] */ + /** + * Downward message is invalid XCM. + * \[ id \] + **/ InvalidFormat: AugmentedEvent; - /** Downward message is unsupported version of XCM. [ id ] */ + /** + * Downward message is unsupported version of XCM. + * \[ id \] + **/ UnsupportedVersion: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; emergencyParaXcm: { - /** The XCM incoming execution was Paused */ + /** + * The XCM incoming execution was Paused + **/ EnteredPausedXcmMode: AugmentedEvent; - /** The XCM incoming execution returned to normal operation */ + /** + * The XCM incoming execution returned to normal operation + **/ NormalXcmOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereum: { - /** An ethereum transaction was successfully executed. */ + /** + * An ethereum transaction was successfully executed. + **/ Executed: AugmentedEvent< ApiType, [ @@ -520,35 +680,55 @@ declare module "@polkadot/api-base/types/events" { extraData: Bytes; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereumXcm: { - /** Ethereum transaction executed from XCM */ + /** + * Ethereum transaction executed from XCM + **/ ExecutedFromXcm: AugmentedEvent< ApiType, [xcmMsgHash: H256, ethTxHash: H256], { xcmMsgHash: H256; ethTxHash: H256 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evm: { - /** A contract has been created at given address. */ + /** + * A contract has been created at given address. + **/ Created: AugmentedEvent; - /** A contract was attempted to be created, but the execution failed. */ + /** + * A contract was attempted to be created, but the execution failed. + **/ CreatedFailed: AugmentedEvent; - /** A contract has been executed successfully with states applied. */ + /** + * A contract has been executed successfully with states applied. + **/ Executed: AugmentedEvent; - /** A contract has been executed with errors. States are reverted with only gas fees applied. */ + /** + * A contract has been executed with errors. States are reverted with only gas fees applied. + **/ ExecutedFailed: AugmentedEvent; - /** Ethereum events from contracts. */ + /** + * Ethereum events from contracts. + **/ Log: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evmForeignAssets: { - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetCreated: AugmentedEvent< ApiType, [contractAddress: H160, assetId: u128, xcmLocation: StagingXcmV4Location], @@ -564,19 +744,27 @@ declare module "@polkadot/api-base/types/events" { [assetId: u128, xcmLocation: StagingXcmV4Location], { assetId: u128; xcmLocation: StagingXcmV4Location } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newXcmLocation: StagingXcmV4Location], { assetId: u128; newXcmLocation: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; identity: { - /** A username authority was added. */ + /** + * A username authority was added. + **/ AuthorityAdded: AugmentedEvent; - /** A username authority was removed. */ + /** + * A username authority was removed. + **/ AuthorityRemoved: AugmentedEvent< ApiType, [authority: AccountId20], @@ -585,112 +773,152 @@ declare module "@polkadot/api-base/types/events" { /** * A dangling username (as in, a username corresponding to an account that has removed its * identity) has been removed. - */ + **/ DanglingUsernameRemoved: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A name was cleared, and the given balance returned. */ + /** + * A name was cleared, and the given balance returned. + **/ IdentityCleared: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was removed and the given balance slashed. */ + /** + * A name was removed and the given balance slashed. + **/ IdentityKilled: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was set or reset (which will remove all judgements). */ + /** + * A name was set or reset (which will remove all judgements). + **/ IdentitySet: AugmentedEvent; - /** A judgement was given by a registrar. */ + /** + * A judgement was given by a registrar. + **/ JudgementGiven: AugmentedEvent< ApiType, [target: AccountId20, registrarIndex: u32], { target: AccountId20; registrarIndex: u32 } >; - /** A judgement was asked from a registrar. */ + /** + * A judgement was asked from a registrar. + **/ JudgementRequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A judgement request was retracted. */ + /** + * A judgement request was retracted. + **/ JudgementUnrequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A queued username passed its expiration without being claimed and was removed. */ + /** + * A queued username passed its expiration without being claimed and was removed. + **/ PreapprovalExpired: AugmentedEvent; - /** A username was set as a primary and can be looked up from `who`. */ + /** + * A username was set as a primary and can be looked up from `who`. + **/ PrimaryUsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A registrar was added. */ + /** + * A registrar was added. + **/ RegistrarAdded: AugmentedEvent; - /** A sub-identity was added to an identity and the deposit paid. */ + /** + * A sub-identity was added to an identity and the deposit paid. + **/ SubIdentityAdded: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A sub-identity was removed from an identity and the deposit freed. */ + /** + * A sub-identity was removed from an identity and the deposit freed. + **/ SubIdentityRemoved: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; /** - * A sub-identity was cleared, and the given deposit repatriated from the main identity - * account to the sub-identity account. - */ + * A sub-identity was cleared, and the given deposit repatriated from the + * main identity account to the sub-identity account. + **/ SubIdentityRevoked: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A username was queued, but `who` must accept it prior to `expiration`. */ + /** + * A username was queued, but `who` must accept it prior to `expiration`. + **/ UsernameQueued: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes, expiration: u32], { who: AccountId20; username: Bytes; expiration: u32 } >; - /** A username was set for `who`. */ + /** + * A username was set for `who`. + **/ UsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; maintenanceMode: { - /** The chain was put into Maintenance Mode */ + /** + * The chain was put into Maintenance Mode + **/ EnteredMaintenanceMode: AugmentedEvent; - /** The call to resume on_idle XCM execution failed with inner error */ + /** + * The call to resume on_idle XCM execution failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The call to suspend on_idle XCM execution failed with inner error */ + /** + * The call to suspend on_idle XCM execution failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The chain returned to its normal operating state */ + /** + * The chain returned to its normal operating state + **/ NormalOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; messageQueue: { - /** Message placed in overweight queue. */ + /** + * Message placed in overweight queue. + **/ OverweightEnqueued: AugmentedEvent< ApiType, [ @@ -706,13 +934,17 @@ declare module "@polkadot/api-base/types/events" { messageIndex: u32; } >; - /** This page was reaped. */ + /** + * This page was reaped. + **/ PageReaped: AugmentedEvent< ApiType, [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32], { origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 } >; - /** Message is processed. */ + /** + * Message is processed. + **/ Processed: AugmentedEvent< ApiType, [ @@ -728,7 +960,9 @@ declare module "@polkadot/api-base/types/events" { success: bool; } >; - /** Message discarded due to an error in the `MessageProcessor` (usually a format error). */ + /** + * Message discarded due to an error in the `MessageProcessor` (usually a format error). + **/ ProcessingFailed: AugmentedEvent< ApiType, [ @@ -742,61 +976,85 @@ declare module "@polkadot/api-base/types/events" { error: FrameSupportMessagesProcessMessageError; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; migrations: { - /** XCM execution resume failed with inner error */ + /** + * XCM execution resume failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** XCM execution suspension failed with inner error */ + /** + * XCM execution suspension failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Migration completed */ + /** + * Migration completed + **/ MigrationCompleted: AugmentedEvent< ApiType, [migrationName: Bytes, consumedWeight: SpWeightsWeightV2Weight], { migrationName: Bytes; consumedWeight: SpWeightsWeightV2Weight } >; - /** Migration started */ + /** + * Migration started + **/ MigrationStarted: AugmentedEvent; - /** Runtime upgrade completed */ + /** + * Runtime upgrade completed + **/ RuntimeUpgradeCompleted: AugmentedEvent< ApiType, [weight: SpWeightsWeightV2Weight], { weight: SpWeightsWeightV2Weight } >; - /** Runtime upgrade started */ + /** + * Runtime upgrade started + **/ RuntimeUpgradeStarted: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; moonbeamOrbiters: { - /** An orbiter join a collator pool */ + /** + * An orbiter join a collator pool + **/ OrbiterJoinCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter leave a collator pool */ + /** + * An orbiter leave a collator pool + **/ OrbiterLeaveCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter has registered */ + /** + * An orbiter has registered + **/ OrbiterRegistered: AugmentedEvent< ApiType, [account: AccountId20, deposit: u128], { account: AccountId20; deposit: u128 } >; - /** Paid the orbiter account the balance as liquid rewards. */ + /** + * Paid the orbiter account the balance as liquid rewards. + **/ OrbiterRewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], @@ -807,17 +1065,23 @@ declare module "@polkadot/api-base/types/events" { [collator: AccountId20, oldOrbiter: Option, newOrbiter: Option], { collator: AccountId20; oldOrbiter: Option; newOrbiter: Option } >; - /** An orbiter has unregistered */ + /** + * An orbiter has unregistered + **/ OrbiterUnregistered: AugmentedEvent< ApiType, [account: AccountId20], { account: AccountId20 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; multisig: { - /** A multisig operation has been approved by someone. */ + /** + * A multisig operation has been approved by someone. + **/ MultisigApproval: AugmentedEvent< ApiType, [ @@ -833,7 +1097,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been cancelled. */ + /** + * A multisig operation has been cancelled. + **/ MultisigCancelled: AugmentedEvent< ApiType, [ @@ -849,7 +1115,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been executed. */ + /** + * A multisig operation has been executed. + **/ MultisigExecuted: AugmentedEvent< ApiType, [ @@ -867,64 +1135,87 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** A new multisig operation has begun. */ + /** + * A new multisig operation has begun. + **/ NewMultisig: AugmentedEvent< ApiType, [approving: AccountId20, multisig: AccountId20, callHash: U8aFixed], { approving: AccountId20; multisig: AccountId20; callHash: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; openTechCommitteeCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainStaking: { - /** Auto-compounding reward percent was set for a delegation. */ + /** + * Auto-compounding reward percent was set for a delegation. + **/ AutoCompoundSet: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, value: Percent], { candidate: AccountId20; delegator: AccountId20; value: Percent } >; - /** Set blocks per round */ + /** + * Set blocks per round + **/ BlocksPerRoundSet: AugmentedEvent< ApiType, [ @@ -946,19 +1237,25 @@ declare module "@polkadot/api-base/types/events" { newPerRoundInflationMax: Perbill; } >; - /** Cancelled request to decrease candidate's bond. */ + /** + * Cancelled request to decrease candidate's bond. + **/ CancelledCandidateBondLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, executeRound: u32], { candidate: AccountId20; amount: u128; executeRound: u32 } >; - /** Cancelled request to leave the set of candidates. */ + /** + * Cancelled request to leave the set of candidates. + **/ CancelledCandidateExit: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Cancelled request to change an existing delegation. */ + /** + * Cancelled request to change an existing delegation. + **/ CancelledDelegationRequest: AugmentedEvent< ApiType, [ @@ -972,67 +1269,89 @@ declare module "@polkadot/api-base/types/events" { collator: AccountId20; } >; - /** Candidate rejoins the set of collator candidates. */ + /** + * Candidate rejoins the set of collator candidates. + **/ CandidateBackOnline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate has decreased a self bond. */ + /** + * Candidate has decreased a self bond. + **/ CandidateBondedLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newBond: u128], { candidate: AccountId20; amount: u128; newBond: u128 } >; - /** Candidate has increased a self bond. */ + /** + * Candidate has increased a self bond. + **/ CandidateBondedMore: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newTotalBond: u128], { candidate: AccountId20; amount: u128; newTotalBond: u128 } >; - /** Candidate requested to decrease a self bond. */ + /** + * Candidate requested to decrease a self bond. + **/ CandidateBondLessRequested: AugmentedEvent< ApiType, [candidate: AccountId20, amountToDecrease: u128, executeRound: u32], { candidate: AccountId20; amountToDecrease: u128; executeRound: u32 } >; - /** Candidate has left the set of candidates. */ + /** + * Candidate has left the set of candidates. + **/ CandidateLeft: AugmentedEvent< ApiType, [exCandidate: AccountId20, unlockedAmount: u128, newTotalAmtLocked: u128], { exCandidate: AccountId20; unlockedAmount: u128; newTotalAmtLocked: u128 } >; - /** Candidate has requested to leave the set of candidates. */ + /** + * Candidate has requested to leave the set of candidates. + **/ CandidateScheduledExit: AugmentedEvent< ApiType, [exitAllowedRound: u32, candidate: AccountId20, scheduledExit: u32], { exitAllowedRound: u32; candidate: AccountId20; scheduledExit: u32 } >; - /** Candidate temporarily leave the set of collator candidates without unbonding. */ + /** + * Candidate temporarily leave the set of collator candidates without unbonding. + **/ CandidateWentOffline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate selected for collators. Total Exposed Amount includes all delegations. */ + /** + * Candidate selected for collators. Total Exposed Amount includes all delegations. + **/ CollatorChosen: AugmentedEvent< ApiType, [round: u32, collatorAccount: AccountId20, totalExposedAmount: u128], { round: u32; collatorAccount: AccountId20; totalExposedAmount: u128 } >; - /** Set collator commission to this value. */ + /** + * Set collator commission to this value. + **/ CollatorCommissionSet: AugmentedEvent< ApiType, [old: Perbill, new_: Perbill], { old: Perbill; new_: Perbill } >; - /** Compounded a portion of rewards towards the delegation. */ + /** + * Compounded a portion of rewards towards the delegation. + **/ Compounded: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, amount: u128], { candidate: AccountId20; delegator: AccountId20; amount: u128 } >; - /** New delegation (increase of the existing one). */ + /** + * New delegation (increase of the existing one). + **/ Delegation: AugmentedEvent< ApiType, [ @@ -1055,7 +1374,9 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegator requested to decrease a bond for the collator candidate. */ + /** + * Delegator requested to decrease a bond for the collator candidate. + **/ DelegationDecreaseScheduled: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, amountToDecrease: u128, executeRound: u32], @@ -1071,43 +1392,57 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegation kicked. */ + /** + * Delegation kicked. + **/ DelegationKicked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Delegator requested to revoke delegation. */ + /** + * Delegator requested to revoke delegation. + **/ DelegationRevocationScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, candidate: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; candidate: AccountId20; scheduledExit: u32 } >; - /** Delegation revoked. */ + /** + * Delegation revoked. + **/ DelegationRevoked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Cancelled a pending request to exit the set of delegators. */ + /** + * Cancelled a pending request to exit the set of delegators. + **/ DelegatorExitCancelled: AugmentedEvent< ApiType, [delegator: AccountId20], { delegator: AccountId20 } >; - /** Delegator requested to leave the set of delegators. */ + /** + * Delegator requested to leave the set of delegators. + **/ DelegatorExitScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; scheduledExit: u32 } >; - /** Delegator has left the set of delegators. */ + /** + * Delegator has left the set of delegators. + **/ DelegatorLeft: AugmentedEvent< ApiType, [delegator: AccountId20, unstakedAmount: u128], { delegator: AccountId20; unstakedAmount: u128 } >; - /** Delegation from candidate state has been remove. */ + /** + * Delegation from candidate state has been remove. + **/ DelegatorLeftCandidate: AugmentedEvent< ApiType, [ @@ -1123,7 +1458,9 @@ declare module "@polkadot/api-base/types/events" { totalCandidateStaked: u128; } >; - /** Transferred to account which holds funds reserved for parachain bond. */ + /** + * Transferred to account which holds funds reserved for parachain bond. + **/ InflationDistributed: AugmentedEvent< ApiType, [index: u32, account: AccountId20, value: u128], @@ -1140,7 +1477,9 @@ declare module "@polkadot/api-base/types/events" { new_: PalletParachainStakingInflationDistributionConfig; } >; - /** Annual inflation input (first 3) was used to derive new per-round inflation (last 3) */ + /** + * Annual inflation input (first 3) was used to derive new per-round inflation (last 3) + **/ InflationSet: AugmentedEvent< ApiType, [ @@ -1160,61 +1499,87 @@ declare module "@polkadot/api-base/types/events" { roundMax: Perbill; } >; - /** Account joined the set of collator candidates. */ + /** + * Account joined the set of collator candidates. + **/ JoinedCollatorCandidates: AugmentedEvent< ApiType, [account: AccountId20, amountLocked: u128, newTotalAmtLocked: u128], { account: AccountId20; amountLocked: u128; newTotalAmtLocked: u128 } >; - /** Started new round. */ + /** + * Started new round. + **/ NewRound: AugmentedEvent< ApiType, [startingBlock: u32, round: u32, selectedCollatorsNumber: u32, totalBalance: u128], { startingBlock: u32; round: u32; selectedCollatorsNumber: u32; totalBalance: u128 } >; - /** Paid the account (delegator or collator) the balance as liquid rewards. */ + /** + * Paid the account (delegator or collator) the balance as liquid rewards. + **/ Rewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], { account: AccountId20; rewards: u128 } >; - /** Staking expectations set. */ + /** + * Staking expectations set. + **/ StakeExpectationsSet: AugmentedEvent< ApiType, [expectMin: u128, expectIdeal: u128, expectMax: u128], { expectMin: u128; expectIdeal: u128; expectMax: u128 } >; - /** Set total selected candidates to this value. */ + /** + * Set total selected candidates to this value. + **/ TotalSelectedSet: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainSystem: { - /** Downward messages were processed using the given weight. */ + /** + * Downward messages were processed using the given weight. + **/ DownwardMessagesProcessed: AugmentedEvent< ApiType, [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256], { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 } >; - /** Some downward messages have been received and will be processed. */ + /** + * Some downward messages have been received and will be processed. + **/ DownwardMessagesReceived: AugmentedEvent; - /** An upward message was sent to the relay chain. */ + /** + * An upward message was sent to the relay chain. + **/ UpwardMessageSent: AugmentedEvent< ApiType, [messageHash: Option], { messageHash: Option } >; - /** The validation function was applied as of the contained relay chain block number. */ + /** + * The validation function was applied as of the contained relay chain block number. + **/ ValidationFunctionApplied: AugmentedEvent< ApiType, [relayChainBlockNum: u32], { relayChainBlockNum: u32 } >; - /** The relay-chain aborted the upgrade process. */ + /** + * The relay-chain aborted the upgrade process. + **/ ValidationFunctionDiscarded: AugmentedEvent; - /** The validation function has been scheduled to apply. */ + /** + * The validation function has been scheduled to apply. + **/ ValidationFunctionStored: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parameters: { @@ -1222,7 +1587,7 @@ declare module "@polkadot/api-base/types/events" { * A Parameter was set. * * Is also emitted when the value was not changed. - */ + **/ Updated: AugmentedEvent< ApiType, [ @@ -1236,39 +1601,49 @@ declare module "@polkadot/api-base/types/events" { newValue: Option; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; polkadotXcm: { - /** Some assets have been claimed from an asset trap */ + /** + * Some assets have been claimed from an asset trap + **/ AssetsClaimed: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Some assets have been placed in an asset trap. */ + /** + * Some assets have been placed in an asset trap. + **/ AssetsTrapped: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Execution of an XCM message was attempted. */ + /** + * Execution of an XCM message was attempted. + **/ Attempted: AugmentedEvent< ApiType, [outcome: StagingXcmV4TraitsOutcome], { outcome: StagingXcmV4TraitsOutcome } >; - /** Fees were paid from a location for an operation (often for using `SendXcm`). */ + /** + * Fees were paid from a location for an operation (often for using `SendXcm`). + **/ FeesPaid: AugmentedEvent< ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } >; /** - * 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. - */ + * 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. + **/ InvalidQuerier: AugmentedEvent< ApiType, [ @@ -1288,20 +1663,21 @@ declare module "@polkadot/api-base/types/events" { * 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. * - * This is unexpected (since a location placed in storage in a previously executing 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. - */ + * This is unexpected (since a location placed in storage in a previously executing + * 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. + **/ InvalidQuerierVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * 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. - */ + * 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. + **/ InvalidResponder: AugmentedEvent< ApiType, [ @@ -1319,19 +1695,20 @@ declare module "@polkadot/api-base/types/events" { * 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. * - * This is unexpected (since a location placed in storage in a previously executing 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. - */ + * This is unexpected (since a location placed in storage in a previously executing + * 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. + **/ InvalidResponderVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Query response has been received and query is removed. The registered notification has been - * dispatched and executed successfully. - */ + * Query response has been received and query is removed. The registered notification has + * been dispatched and executed successfully. + **/ Notified: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1339,9 +1716,9 @@ declare module "@polkadot/api-base/types/events" { >; /** * 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)`. - */ + * decoded into a `Call`; this might be due to dispatch function having a signature which + * is not `(origin, QueryId, Response)`. + **/ NotifyDecodeFailed: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1350,17 +1727,17 @@ declare module "@polkadot/api-base/types/events" { /** * Query response has been received and query is removed. There was a general error with * dispatching the notification call. - */ + **/ NotifyDispatchError: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], { queryId: u64; palletIndex: u8; callIndex: u8 } >; /** - * 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. - */ + * 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. + **/ NotifyOverweight: AugmentedEvent< ApiType, [ @@ -1381,7 +1758,7 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. - */ + **/ NotifyTargetMigrationFail: AugmentedEvent< ApiType, [location: XcmVersionedLocation, queryId: u64], @@ -1390,24 +1767,28 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. - */ + **/ NotifyTargetSendFail: AugmentedEvent< ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], { location: StagingXcmV4Location; queryId: u64; error: XcmV3TraitsError } >; /** - * Query response has been received and is ready for taking with `take_response`. There is no - * registered notification call. - */ + * Query response has been received and is ready for taking with `take_response`. There is + * no registered notification call. + **/ ResponseReady: AugmentedEvent< ApiType, [queryId: u64, response: StagingXcmV4Response], { queryId: u64; response: StagingXcmV4Response } >; - /** Received query response has been read and removed. */ + /** + * Received query response has been read and removed. + **/ ResponseTaken: AugmentedEvent; - /** A XCM message was sent. */ + /** + * A XCM message was sent. + **/ Sent: AugmentedEvent< ApiType, [ @@ -1424,9 +1805,9 @@ declare module "@polkadot/api-base/types/events" { } >; /** - * The supported version of a location has been changed. This might be through an automatic - * notification or a manual intervention. - */ + * The supported version of a location has been changed. This might be through an + * automatic notification or a manual intervention. + **/ SupportedVersionChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, version: u32], @@ -1436,7 +1817,7 @@ declare module "@polkadot/api-base/types/events" { * 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. - */ + **/ UnexpectedResponse: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], @@ -1446,7 +1827,7 @@ declare module "@polkadot/api-base/types/events" { * An XCM version change notification message has been attempted to be sent. * * The cost of sending it (borne by the chain) is included. - */ + **/ VersionChangeNotified: AugmentedEvent< ApiType, [ @@ -1462,50 +1843,71 @@ declare module "@polkadot/api-base/types/events" { messageId: U8aFixed; } >; - /** A XCM version migration finished. */ + /** + * A XCM version migration finished. + **/ VersionMigrationFinished: AugmentedEvent; - /** We have requested that a remote chain send us XCM version change notifications. */ + /** + * We have requested that a remote chain send us XCM version change notifications. + **/ VersionNotifyRequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; /** - * 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. - */ + * 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. + **/ VersionNotifyStarted: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** We have requested that a remote chain stops sending us XCM version change notifications. */ + /** + * We have requested that a remote chain stops sending us XCM version change + * notifications. + **/ VersionNotifyUnrequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; preimage: { - /** A preimage has ben cleared. */ + /** + * A preimage has ben cleared. + **/ Cleared: AugmentedEvent; - /** A preimage has been noted. */ + /** + * A preimage has been noted. + **/ Noted: AugmentedEvent; - /** A preimage has been requested. */ + /** + * A preimage has been requested. + **/ Requested: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; proxy: { - /** An announcement was placed to make a call in the future. */ + /** + * An announcement was placed to make a call in the future. + **/ Announced: AugmentedEvent< ApiType, [real: AccountId20, proxy: AccountId20, callHash: H256], { real: AccountId20; proxy: AccountId20; callHash: H256 } >; - /** A proxy was added. */ + /** + * A proxy was added. + **/ ProxyAdded: AugmentedEvent< ApiType, [ @@ -1521,13 +1923,17 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A proxy was executed correctly, with the given. */ + /** + * A proxy was executed correctly, with the given. + **/ ProxyExecuted: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A proxy was removed. */ + /** + * A proxy was removed. + **/ ProxyRemoved: AugmentedEvent< ApiType, [ @@ -1543,7 +1949,10 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A pure account has been created by new proxy with given disambiguation index and proxy type. */ + /** + * A pure account has been created by new proxy with given + * disambiguation index and proxy type. + **/ PureCreated: AugmentedEvent< ApiType, [ @@ -1559,7 +1968,9 @@ declare module "@polkadot/api-base/types/events" { disambiguationIndex: u16; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; randomness: { @@ -1616,39 +2027,53 @@ declare module "@polkadot/api-base/types/events" { { id: u64; newFee: u128 } >; RequestFulfilled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; referenda: { - /** A referendum has been approved and its proposal has been scheduled. */ + /** + * A referendum has been approved and its proposal has been scheduled. + **/ Approved: AugmentedEvent; - /** A referendum has been cancelled. */ + /** + * A referendum has been cancelled. + **/ Cancelled: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmAborted: AugmentedEvent; - /** A referendum has ended its confirmation phase and is ready for approval. */ + /** + * A referendum has ended its confirmation phase and is ready for approval. + **/ Confirmed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmStarted: AugmentedEvent; - /** The decision deposit has been placed. */ + /** + * The decision deposit has been placed. + **/ DecisionDepositPlaced: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** The decision deposit has been refunded. */ + /** + * The decision deposit has been refunded. + **/ DecisionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has moved into the deciding phase. */ + /** + * A referendum has moved into the deciding phase. + **/ DecisionStarted: AugmentedEvent< ApiType, [ @@ -1664,69 +2089,97 @@ declare module "@polkadot/api-base/types/events" { tally: PalletConvictionVotingTally; } >; - /** A deposit has been slashed. */ + /** + * A deposit has been slashed. + **/ DepositSlashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** A referendum has been killed. */ + /** + * A referendum has been killed. + **/ Killed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Metadata for a referendum has been cleared. */ + /** + * Metadata for a referendum has been cleared. + **/ MetadataCleared: AugmentedEvent< ApiType, [index: u32, hash_: H256], { index: u32; hash_: H256 } >; - /** Metadata for a referendum has been set. */ + /** + * Metadata for a referendum has been set. + **/ MetadataSet: AugmentedEvent; - /** A proposal has been rejected by referendum. */ + /** + * A proposal has been rejected by referendum. + **/ Rejected: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** The submission deposit has been refunded. */ + /** + * The submission deposit has been refunded. + **/ SubmissionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has been submitted. */ + /** + * A referendum has been submitted. + **/ Submitted: AugmentedEvent< ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32; track: u16; proposal: FrameSupportPreimagesBounded } >; - /** A referendum has been timed out without being decided. */ + /** + * A referendum has been timed out without being decided. + **/ TimedOut: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; rootTesting: { - /** Event dispatched when the trigger_defensive extrinsic is called. */ + /** + * Event dispatched when the trigger_defensive extrinsic is called. + **/ DefensiveTestCall: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; scheduler: { - /** The call for the provided hash was not found so the task has been aborted. */ + /** + * The call for the provided hash was not found so the task has been aborted. + **/ CallUnavailable: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Canceled some task. */ + /** + * Canceled some task. + **/ Canceled: AugmentedEvent; - /** Dispatched some task. */ + /** + * Dispatched some task. + **/ Dispatched: AugmentedEvent< ApiType, [ @@ -1740,117 +2193,159 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** The given task was unable to be renewed since the agenda is full at that block. */ + /** + * The given task was unable to be renewed since the agenda is full at that block. + **/ PeriodicFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** The given task can never be executed since it is overweight. */ + /** + * The given task can never be executed since it is overweight. + **/ PermanentlyOverweight: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Cancel a retry configuration for some task. */ + /** + * Cancel a retry configuration for some task. + **/ RetryCancelled: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; /** - * The given task was unable to be retried since the agenda is full at that block or there was - * not enough weight to reschedule it. - */ + * The given task was unable to be retried since the agenda is full at that block or there + * was not enough weight to reschedule it. + **/ RetryFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Set a retry configuration for some task. */ + /** + * Set a retry configuration for some task. + **/ RetrySet: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } >; - /** Scheduled some task. */ + /** + * Scheduled some task. + **/ Scheduled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; sudo: { - /** The sudo key has been updated. */ + /** + * The sudo key has been updated. + **/ KeyChanged: AugmentedEvent< ApiType, [old: Option, new_: AccountId20], { old: Option; new_: AccountId20 } >; - /** The key was permanently removed. */ + /** + * The key was permanently removed. + **/ KeyRemoved: AugmentedEvent; - /** A sudo call just took place. */ + /** + * A sudo call just took place. + **/ Sudid: AugmentedEvent< ApiType, [sudoResult: Result], { sudoResult: Result } >; - /** A [sudo_as](Pallet::sudo_as) call just took place. */ + /** + * A [sudo_as](Pallet::sudo_as) call just took place. + **/ SudoAsDone: AugmentedEvent< ApiType, [sudoResult: Result], { sudoResult: Result } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; system: { - /** `:code` was updated. */ + /** + * `:code` was updated. + **/ CodeUpdated: AugmentedEvent; - /** An extrinsic failed. */ + /** + * An extrinsic failed. + **/ ExtrinsicFailed: AugmentedEvent< ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An extrinsic completed successfully. */ + /** + * An extrinsic completed successfully. + **/ ExtrinsicSuccess: AugmentedEvent< ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An account was reaped. */ + /** + * An account was reaped. + **/ KilledAccount: AugmentedEvent; - /** A new account was created. */ + /** + * A new account was created. + **/ NewAccount: AugmentedEvent; - /** On on-chain remark happened. */ + /** + * On on-chain remark happened. + **/ Remarked: AugmentedEvent< ApiType, [sender: AccountId20, hash_: H256], { sender: AccountId20; hash_: H256 } >; - /** An upgrade was authorized. */ + /** + * An upgrade was authorized. + **/ UpgradeAuthorized: AugmentedEvent< ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256; checkVersion: bool } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; transactionPayment: { /** - * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, has - * been paid by `who`. - */ + * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + * has been paid by `who`. + **/ TransactionFeePaid: AugmentedEvent< ApiType, [who: AccountId20, actualFee: u128, tip: u128], { who: AccountId20; actualFee: u128; tip: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasury: { - /** A new asset spend proposal has been approved. */ + /** + * A new asset spend proposal has been approved. + **/ AssetSpendApproved: AugmentedEvent< ApiType, [ @@ -1870,120 +2365,169 @@ declare module "@polkadot/api-base/types/events" { expireAt: u32; } >; - /** An approved spend was voided. */ + /** + * An approved spend was voided. + **/ AssetSpendVoided: AugmentedEvent; - /** Some funds have been allocated. */ + /** + * Some funds have been allocated. + **/ Awarded: AugmentedEvent< ApiType, [proposalIndex: u32, award: u128, account: AccountId20], { proposalIndex: u32; award: u128; account: AccountId20 } >; - /** Some of our funds have been burnt. */ + /** + * Some of our funds have been burnt. + **/ Burnt: AugmentedEvent; - /** Some funds have been deposited. */ + /** + * Some funds have been deposited. + **/ Deposit: AugmentedEvent; - /** A payment happened. */ + /** + * A payment happened. + **/ Paid: AugmentedEvent; - /** A payment failed and can be retried. */ + /** + * A payment failed and can be retried. + **/ PaymentFailed: AugmentedEvent< ApiType, [index: u32, paymentId: Null], { index: u32; paymentId: Null } >; - /** Spending has finished; this is the amount that rolls over until next spend. */ + /** + * Spending has finished; this is the amount that rolls over until next spend. + **/ Rollover: AugmentedEvent; - /** A new spend proposal has been approved. */ + /** + * A new spend proposal has been approved. + **/ SpendApproved: AugmentedEvent< ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId20], { proposalIndex: u32; amount: u128; beneficiary: AccountId20 } >; - /** We have ended a spend period and will now allocate funds. */ + /** + * We have ended a spend period and will now allocate funds. + **/ Spending: AugmentedEvent; /** - * A spend was processed and removed from the storage. It might have been successfully paid or - * it may have expired. - */ + * A spend was processed and removed from the storage. It might have been successfully + * paid or it may have expired. + **/ SpendProcessed: AugmentedEvent; - /** The inactive funds of the pallet have been updated. */ + /** + * The inactive funds of the pallet have been updated. + **/ UpdatedInactive: AugmentedEvent< ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128; deactivated: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasuryCouncilCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; utility: { - /** Batch of dispatches completed fully with no error. */ + /** + * Batch of dispatches completed fully with no error. + **/ BatchCompleted: AugmentedEvent; - /** Batch of dispatches completed but has errors. */ + /** + * 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. - */ + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ BatchInterrupted: AugmentedEvent< ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32; error: SpRuntimeDispatchError } >; - /** A call was dispatched. */ + /** + * A call was dispatched. + **/ DispatchedAs: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A single item within a Batch of dispatches has completed with no error. */ + /** + * 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. */ + /** + * A single item within a Batch of dispatches has completed with error. + **/ ItemFailed: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; whitelist: { @@ -2000,66 +2544,90 @@ declare module "@polkadot/api-base/types/events" { } >; WhitelistedCallRemoved: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmpQueue: { - /** An HRMP message was sent to a sibling parachain. */ + /** + * An HRMP message was sent to a sibling parachain. + **/ XcmpMessageSent: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmTransactor: { DeRegisteredDerivative: AugmentedEvent; - /** Set dest fee per second */ + /** + * Set dest fee per second + **/ DestFeePerSecondChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, feePerSecond: u128], { location: StagingXcmV4Location; feePerSecond: u128 } >; - /** Remove dest fee per second */ + /** + * Remove dest fee per second + **/ DestFeePerSecondRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** HRMP manage action succesfully sent */ + /** + * HRMP manage action succesfully sent + **/ HrmpManagementSent: AugmentedEvent< ApiType, [action: PalletXcmTransactorHrmpOperation], { action: PalletXcmTransactorHrmpOperation } >; - /** Registered a derivative index for an account id. */ + /** + * Registered a derivative index for an account id. + **/ RegisteredDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, index: u16], { accountId: AccountId20; index: u16 } >; - /** Transacted the inner call through a derivative account in a destination chain. */ + /** + * Transacted the inner call through a derivative account in a destination chain. + **/ TransactedDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, dest: StagingXcmV4Location, call: Bytes, index: u16], { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: u16 } >; - /** Transacted the call through a signed account in a destination chain. */ + /** + * Transacted the call through a signed account in a destination chain. + **/ TransactedSigned: AugmentedEvent< ApiType, [feePayer: AccountId20, dest: StagingXcmV4Location, call: Bytes], { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes } >; - /** Transacted the call through the sovereign account in a destination chain. */ + /** + * Transacted the call through the sovereign account in a destination chain. + **/ TransactedSovereign: AugmentedEvent< ApiType, [feePayer: Option, dest: StagingXcmV4Location, call: Bytes], { feePayer: Option; dest: StagingXcmV4Location; call: Bytes } >; - /** Transact failed */ + /** + * Transact failed + **/ TransactFailed: AugmentedEvent< ApiType, [error: XcmV3TraitsError], { error: XcmV3TraitsError } >; - /** Changed the transact info of a location */ + /** + * Changed the transact info of a location + **/ TransactInfoChanged: AugmentedEvent< ApiType, [ @@ -2071,47 +2639,63 @@ declare module "@polkadot/api-base/types/events" { remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight; } >; - /** Removed the transact info of a location */ + /** + * Removed the transact info of a location + **/ TransactInfoRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmWeightTrader: { - /** Pause support for a given asset */ + /** + * Pause support for a given asset + **/ PauseAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Resume support for a given asset */ + /** + * Resume support for a given asset + **/ ResumeAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** New supported asset is registered */ + /** + * New supported asset is registered + **/ SupportedAssetAdded: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ SupportedAssetEdited: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; } // AugmentedEvents diff --git a/typescript-api/src/moonbase/interfaces/augment-api-query.ts b/typescript-api/src/moonbase/interfaces/augment-api-query.ts index 512687becb..9d7cf20d01 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-query.ts @@ -21,7 +21,7 @@ import type { u128, u16, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, ITuple } from "@polkadot/types-codec/types"; import type { @@ -30,7 +30,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, @@ -121,7 +121,7 @@ import type { StagingXcmV4Location, StagingXcmV4Xcm, XcmVersionedAssetId, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; import type { Observable } from "@polkadot/types/types"; @@ -132,9 +132,10 @@ declare module "@polkadot/api-base/types/storage" { interface AugmentedQueries { assetManager: { /** - * Mapping from an asset id to asset type. This is mostly used when receiving transaction - * specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetIdType: AugmentedQuery< ApiType, ( @@ -144,10 +145,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetTypeId: AugmentedQuery< ApiType, ( @@ -156,11 +157,15 @@ declare module "@polkadot/api-base/types/storage" { [MoonbaseRuntimeXcmConfigAssetType] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; assets: { - /** The holdings of a specific account for a specific asset. */ + /** + * The holdings of a specific account for a specific asset. + **/ account: AugmentedQuery< ApiType, ( @@ -171,10 +176,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Approved balance transfers. First balance is the amount approved for transfer. Second is - * the amount of `T::Currency` reserved for storing this. First key is the asset ID, second - * key is the owner and third key is the delegate. - */ + * Approved balance transfers. First balance is the amount approved for transfer. Second + * is the amount of `T::Currency` reserved for storing this. + * First key is the asset ID, second key is the owner and third key is the delegate. + **/ approvals: AugmentedQuery< ApiType, ( @@ -185,14 +190,18 @@ declare module "@polkadot/api-base/types/storage" { [u128, AccountId20, AccountId20] > & QueryableStorageEntry; - /** Details of an asset. */ + /** + * Details of an asset. + **/ asset: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, [u128] > & QueryableStorageEntry; - /** Metadata of an asset. */ + /** + * Metadata of an asset. + **/ metadata: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable, @@ -209,44 +218,61 @@ declare module "@polkadot/api-base/types/storage" { * * The initial next asset ID can be set using the [`GenesisConfig`] or the * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration. - */ + **/ nextAssetId: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; asyncBacking: { /** * First tuple element is the highest slot that has been seen in the history of this chain. - * Second tuple element is the number of authored blocks so far. This is a strictly-increasing - * value if T::AllowMultipleBlocksPerSlot = false. - */ + * Second tuple element is the number of authored blocks so far. + * This is a strictly-increasing value if T::AllowMultipleBlocksPerSlot = false. + **/ slotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorFilter: { - /** The number of active authors that will be eligible at each height. */ + /** + * The number of active authors that will be eligible at each height. + **/ eligibleCount: AugmentedQuery Observable, []> & QueryableStorageEntry; eligibleRatio: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorInherent: { - /** Author of current block. */ + /** + * Author of current block. + **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Check if the inherent was included */ + /** + * Check if the inherent was included + **/ inherentIncluded: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorMapping: { - /** We maintain a mapping from the NimbusIds used in the consensus layer to the AccountIds runtime. */ + /** + * We maintain a mapping from the NimbusIds used in the consensus layer + * to the AccountIds runtime. + **/ mappingWithDeposit: AugmentedQuery< ApiType, ( @@ -255,7 +281,9 @@ declare module "@polkadot/api-base/types/storage" { [NimbusPrimitivesNimbusCryptoPublic] > & QueryableStorageEntry; - /** We maintain a reverse mapping from AccountIds to NimbusIDS */ + /** + * We maintain a reverse mapping from AccountIds to NimbusIDS + **/ nimbusLookup: AugmentedQuery< ApiType, ( @@ -264,7 +292,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; balances: { @@ -291,23 +321,27 @@ declare module "@polkadot/api-base/types/storage" { * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the - * `Balances` pallet, which uses a `StorageMap` to store balances data only. NOTE: This is - * only used in the case that this pallet is used to store balances. - */ + * `Balances` pallet, which uses a `StorageMap` to store balances data only. + * NOTE: This is only used in the case that this pallet is used to store balances. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Freeze locks on account balances. */ + /** + * Freeze locks on account balances. + **/ freezes: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Holds on account balances. */ + /** + * Holds on account balances. + **/ holds: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable< @@ -321,16 +355,17 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The total units of outstanding deactivated balance in the system. */ + /** + * The total units of outstanding deactivated balance in the system. + **/ inactiveIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, - * changing and freeing a lock. + * Any liquidity locks on some account balances. + * NOTE: Should only be accessed when setting, changing and freeing a lock. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ locks: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -340,19 +375,22 @@ declare module "@polkadot/api-base/types/storage" { /** * Named reserves on some account balances. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** The total units issued in the system. */ + /** + * The total units issued in the system. + **/ totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; convictionVoting: { @@ -360,7 +398,7 @@ declare module "@polkadot/api-base/types/storage" { * The voting classes which have a non-zero lock requirement and the lock amounts which they * require. The actual amount locked on behalf of this pallet should always be the maximum of * this list. - */ + **/ classLocksFor: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, @@ -368,9 +406,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * All voting for a particular voter in a particular voting class. We store the balance for - * the number of votes that we have recorded. - */ + * All voting for a particular voter in a particular voting class. We store the balance for the + * number of votes that we have recorded. + **/ votingFor: AugmentedQuery< ApiType, ( @@ -380,7 +418,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; crowdloanRewards: { @@ -398,7 +438,9 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ endRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; initialized: AugmentedQuery Observable, []> & @@ -406,13 +448,17 @@ declare module "@polkadot/api-base/types/storage" { /** * Total initialized amount so far. We store this to make pallet funds == contributors reward * check easier and more efficient - */ + **/ initializedRewardAmount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ initRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Total number of contributors to aid hinting benchmarking */ + /** + * Total number of contributors to aid hinting benchmarking + **/ totalContributors: AugmentedQuery Observable, []> & QueryableStorageEntry; unassociatedContributions: AugmentedQuery< @@ -423,14 +469,20 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; emergencyParaXcm: { - /** Whether incoming XCM is enabled or paused */ + /** + * Whether incoming XCM is enabled or paused + **/ mode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereum: { @@ -440,24 +492,32 @@ declare module "@polkadot/api-base/types/storage" { [U256] > & QueryableStorageEntry; - /** The current Ethereum block. */ + /** + * The current Ethereum block. + **/ currentBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The current Ethereum receipts. */ + /** + * The current Ethereum receipts. + **/ currentReceipts: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** The current transaction statuses. */ + /** + * The current transaction statuses. + **/ currentTransactionStatuses: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Current building block's transactions and receipts. */ + /** + * Current building block's transactions and receipts. + **/ pending: AugmentedQuery< ApiType, () => Observable< @@ -470,24 +530,36 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumChainId: { - /** The EVM chain ID. */ + /** + * The EVM chain ID. + **/ chainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumXcm: { - /** Whether or not Ethereum-XCM is suspended from executing */ + /** + * Whether or not Ethereum-XCM is suspended from executing + **/ ethereumXcmSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Global nonce used for building Ethereum transaction payload. */ + /** + * Global nonce used for building Ethereum transaction payload. + **/ nonce: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evm: { @@ -515,14 +587,17 @@ declare module "@polkadot/api-base/types/storage" { [H160] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evmForeignAssets: { /** - * Mapping from an asset id to a Foreign asset type. This is mostly used when receiving - * transaction specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to a Foreign asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetsById: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, @@ -530,10 +605,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetsByLocation: AugmentedQuery< ApiType, ( @@ -542,10 +617,14 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForAssetsById: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; identity: { @@ -555,7 +634,7 @@ declare module "@polkadot/api-base/types/storage" { * * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one * primary username. - */ + **/ accountOfUsername: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>, @@ -567,7 +646,7 @@ declare module "@polkadot/api-base/types/storage" { * registration, second is the account's primary username. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ identityOf: AugmentedQuery< ApiType, ( @@ -583,7 +662,7 @@ declare module "@polkadot/api-base/types/storage" { * [`Call::accept_username`]. * * First tuple item is the account and second is the acceptance deadline. - */ + **/ pendingUsernames: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>>, @@ -591,11 +670,11 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of registrars. Not expected to get very big as can only be added through a special - * origin (likely a council motion). + * The set of registrars. Not expected to get very big as can only be added through a + * special origin (likely a council motion). * * The index into this can be cast to `RegistrarIndex` to get a valid value. - */ + **/ registrars: AugmentedQuery< ApiType, () => Observable>>, @@ -608,7 +687,7 @@ declare module "@polkadot/api-base/types/storage" { * The first item is the deposit, the second is a vector of the accounts. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ subsOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable]>>, @@ -618,14 +697,16 @@ declare module "@polkadot/api-base/types/storage" { /** * The super-identity of an alternative "sub" identity together with its name, within that * context. If the account is not some other account's sub-identity, then just `None`. - */ + **/ superOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** A map of the accounts who are authorized to grant usernames. */ + /** + * A map of the accounts who are authorized to grant usernames. + **/ usernameAuthorities: AugmentedQuery< ApiType, ( @@ -634,18 +715,26 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; maintenanceMode: { - /** Whether the site is in maintenance mode */ + /** + * Whether the site is in maintenance mode + **/ maintenanceMode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; messageQueue: { - /** The index of the first and last (non-empty) pages. */ + /** + * The index of the first and last (non-empty) pages. + **/ bookStateFor: AugmentedQuery< ApiType, ( @@ -660,7 +749,9 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin] > & QueryableStorageEntry; - /** The map of page indices to pages. */ + /** + * The map of page indices to pages. + **/ pages: AugmentedQuery< ApiType, ( @@ -676,24 +767,30 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin, u32] > & QueryableStorageEntry; - /** The origin at which we should begin servicing. */ + /** + * The origin at which we should begin servicing. + **/ serviceHead: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; migrations: { - /** True if all required migrations have completed */ + /** + * True if all required migrations have completed + **/ fullyUpgraded: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * MigrationState tracks the progress of a migration. Maps name (Vec) -> whether or not - * migration has been completed (bool) - */ + * MigrationState tracks the progress of a migration. + * Maps name (Vec) -> whether or not migration has been completed (bool) + **/ migrationState: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable, @@ -701,12 +798,14 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Temporary value that is set to true at the beginning of the block during which the - * execution of xcm messages must be paused. - */ + * Temporary value that is set to true at the beginning of the block during which the execution + * of xcm messages must be paused. + **/ shouldPauseXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamLazyMigrations: { @@ -728,18 +827,24 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamOrbiters: { - /** Account lookup override */ + /** + * Account lookup override + **/ accountLookupOverride: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** Current orbiters, with their "parent" collator */ + /** + * Current orbiters, with their "parent" collator + **/ collatorsPool: AugmentedQuery< ApiType, ( @@ -748,22 +853,31 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForCollatorsPool: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Current round index */ + /** + * Current round index + **/ currentRound: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If true, it forces the rotation at the next round. A use case: when changing RotatePeriod, - * you need a migration code that sets this value to true to avoid holes in OrbiterPerRound. - */ + * If true, it forces the rotation at the next round. + * A use case: when changing RotatePeriod, you need a migration code that sets this value to + * true to avoid holes in OrbiterPerRound. + **/ forceRotation: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Minimum deposit required to be registered as an orbiter */ + /** + * Minimum deposit required to be registered as an orbiter + **/ minOrbiterDeposit: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Store active orbiter per round and per parent collator */ + /** + * Store active orbiter per round and per parent collator + **/ orbiterPerRound: AugmentedQuery< ApiType, ( @@ -773,18 +887,24 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Check if account is an orbiter */ + /** + * Check if account is an orbiter + **/ registeredOrbiter: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; multisig: { - /** The set of open multisig operations. */ + /** + * The set of open multisig operations. + **/ multisigs: AugmentedQuery< ApiType, ( @@ -794,47 +914,67 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; openTechCommitteeCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainInfo: { parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainStaking: { - /** Snapshot of collator delegation stake at the start of the round */ + /** + * Snapshot of collator delegation stake at the start of the round + **/ atStake: AugmentedQuery< ApiType, ( @@ -844,7 +984,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Stores auto-compounding configuration per collator. */ + /** + * Stores auto-compounding configuration per collator. + **/ autoCompoundingDelegations: AugmentedQuery< ApiType, ( @@ -853,7 +995,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Points for each collator per round */ + /** + * Points for each collator per round + **/ awardedPts: AugmentedQuery< ApiType, ( @@ -863,7 +1007,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Bottom delegations for collator candidate */ + /** + * Bottom delegations for collator candidate + **/ bottomDelegations: AugmentedQuery< ApiType, ( @@ -872,7 +1018,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get collator candidate info associated with an account if account is candidate else None */ + /** + * Get collator candidate info associated with an account if account is candidate else None + **/ candidateInfo: AugmentedQuery< ApiType, ( @@ -881,17 +1029,23 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The pool of collator candidates, each with their total backing stake */ + /** + * The pool of collator candidates, each with their total backing stake + **/ candidatePool: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Commission percent taken off of rewards for all collators */ + /** + * Commission percent taken off of rewards for all collators + **/ collatorCommission: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Delayed payouts */ + /** + * Delayed payouts + **/ delayedPayouts: AugmentedQuery< ApiType, ( @@ -900,7 +1054,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; - /** Stores outstanding delegation requests per collator. */ + /** + * Stores outstanding delegation requests per collator. + **/ delegationScheduledRequests: AugmentedQuery< ApiType, ( @@ -909,7 +1065,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get delegator state associated with an account if account is delegating else None */ + /** + * Get delegator state associated with an account if account is delegating else None + **/ delegatorState: AugmentedQuery< ApiType, ( @@ -918,10 +1076,14 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Killswitch to enable/disable marking offline feature. */ + /** + * Killswitch to enable/disable marking offline feature. + **/ enableMarkingOffline: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Inflation configuration */ + /** + * Inflation configuration + **/ inflationConfig: AugmentedQuery< ApiType, () => Observable, @@ -933,27 +1095,35 @@ declare module "@polkadot/api-base/types/storage" { * before it is distributed to collators and delegators. * * The sum of the distribution percents must be less than or equal to 100. - */ + **/ inflationDistributionInfo: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Total points awarded to collators for block production in the round */ + /** + * Total points awarded to collators for block production in the round + **/ points: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Current round index and next round scheduled transition */ + /** + * Current round index and next round scheduled transition + **/ round: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The collator candidates selected for the current round */ + /** + * The collator candidates selected for the current round + **/ selectedCandidates: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Top delegations for collator candidate */ + /** + * Top delegations for collator candidate + **/ topDelegations: AugmentedQuery< ApiType, ( @@ -962,21 +1132,27 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Total capital locked by this staking pallet */ + /** + * Total capital locked by this staking pallet + **/ total: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The total candidates selected every round */ + /** + * The total candidates selected every round + **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainSystem: { /** * Storage field that keeps track of bandwidth used by the unincluded segment along with the - * latest HRMP watermark. Used for limiting the acceptance of new blocks with respect to relay - * chain constraints. - */ + * latest HRMP watermark. Used for limiting the acceptance of new blocks with + * respect to relay chain constraints. + **/ aggregatedUnincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -986,17 +1162,19 @@ declare module "@polkadot/api-base/types/storage" { /** * 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`. - */ + **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * * See `Pallet::set_custom_validation_head_data` for more information. - */ + **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Were the validation data set to notify the relay chain? */ + /** + * Were the validation data set to notify the relay chain? + **/ didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1006,7 +1184,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ hostConfiguration: AugmentedQuery< ApiType, () => Observable>, @@ -1017,7 +1195,7 @@ declare module "@polkadot/api-base/types/storage" { * HRMP messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpOutboundMessages: AugmentedQuery< ApiType, () => Observable>, @@ -1028,57 +1206,61 @@ declare module "@polkadot/api-base/types/storage" { * HRMP watermark that was set in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The last downward message queue chain head we have observed. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The message queue chain heads we have observed per each channel incoming channel. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The relay chain block number associated with the last parachain block. * * This is updated in `on_finalize`. - */ + **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Validation code that is set by the parachain and is to be communicated to collator and * consequently the relay-chain. * - * This will be cleared in `on_initialize` of each new block if no other pallet already set the value. - */ + * This will be cleared in `on_initialize` of each new block if no other pallet already set + * the value. + **/ newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Upward messages that are still pending and not yet send to the relay chain. */ + /** + * Upward messages that are still pending and not yet send to the relay chain. + **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * In case of a scheduled upgrade, this storage field contains the validation code to be applied. + * 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`][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; /** * Number of downward messages processed in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1088,7 +1270,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -1099,7 +1281,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relevantMessagingState: AugmentedQuery< ApiType, () => Observable< @@ -1111,7 +1293,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing DMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedDmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1121,7 +1303,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing XCMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedXcmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1129,12 +1311,13 @@ declare module "@polkadot/api-base/types/storage" { > & 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. + * 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. - */ + * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured + * in the pallet. + **/ unincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -1147,7 +1330,7 @@ declare module "@polkadot/api-base/types/storage" { * 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< ApiType, () => Observable>, @@ -1155,45 +1338,52 @@ declare module "@polkadot/api-base/types/storage" { > & 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 candidate will be invalid. + * 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 + * candidate will be invalid. * * 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. - */ + **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The factor to multiply the base delivery fee by for UMP. */ + /** + * The factor to multiply the base delivery fee by for UMP. + **/ upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The [`PersistedValidationData`] set for this block. This value is expected to be set only - * once per block and it's never stored in the trie. - */ + * The [`PersistedValidationData`] set for this block. + * This value is expected to be set only once per block and it's never stored + * in the trie. + **/ validationData: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parameters: { - /** Stored parameters. */ + /** + * Stored parameters. + **/ parameters: AugmentedQuery< ApiType, ( @@ -1207,7 +1397,9 @@ declare module "@polkadot/api-base/types/storage" { [MoonbaseRuntimeRuntimeParamsRuntimeParametersKey] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; polkadotXcm: { @@ -1216,21 +1408,25 @@ declare module "@polkadot/api-base/types/storage" { * * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of * times this pair has been trapped (usually just 1 if it exists at all). - */ + **/ assetTraps: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable, [H256] > & QueryableStorageEntry; - /** The current migration's stage, if any. */ + /** + * The current migration's stage, if any. + **/ currentMigration: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on this chain. */ + /** + * Fungible assets which we know are locked on this chain. + **/ lockedFungibles: AugmentedQuery< ApiType, ( @@ -1239,30 +1435,37 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The ongoing queries. */ + /** + * The ongoing queries. + **/ queries: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** The latest available query index. */ + /** + * The latest available query index. + **/ queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally will be - * stored here. Runtime APIs can fetch the XCM that was executed by accessing this value. + * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally + * will be stored here. + * Runtime APIs can fetch the XCM that was executed by accessing this value. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ recordedXcm: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on a remote chain. */ + /** + * Fungible assets which we know are locked on a remote chain. + **/ remoteLockedFungibles: AugmentedQuery< ApiType, ( @@ -1276,20 +1479,23 @@ declare module "@polkadot/api-base/types/storage" { /** * 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. - */ + **/ safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Whether or not incoming XCMs (both executed locally and received) should be recorded. Only - * one XCM program will be recorded at a time. This is meant to be used in runtime APIs, and - * it's advised it stays false for all other use cases, so as to not degrade regular performance. + * Whether or not incoming XCMs (both executed locally and received) should be recorded. + * Only one XCM program will be recorded at a time. + * This is meant to be used in runtime APIs, and it's advised it stays false + * for all other use cases, so as to not degrade regular performance. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ shouldRecordXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The Latest versions that we know various locations support. */ + /** + * The Latest versions that we know various locations support. + **/ supportedVersion: AugmentedQuery< ApiType, ( @@ -1303,14 +1509,16 @@ declare module "@polkadot/api-base/types/storage" { * 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< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** All locations that we have requested version notifications from. */ + /** + * All locations that we have requested version notifications from. + **/ versionNotifiers: AugmentedQuery< ApiType, ( @@ -1323,7 +1531,7 @@ declare module "@polkadot/api-base/types/storage" { /** * 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< ApiType, ( @@ -1333,10 +1541,14 @@ declare module "@polkadot/api-base/types/storage" { [u32, XcmVersionedLocation] > & QueryableStorageEntry; - /** Global suspension state of the XCM executor. */ + /** + * Global suspension state of the XCM executor. + **/ xcmExecutionSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; preimage: { @@ -1348,25 +1560,33 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[H256, u32]>] > & QueryableStorageEntry]>; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ requestStatusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ statusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; proxy: { - /** The announcements made by the proxy (key). */ + /** + * The announcements made by the proxy (key). + **/ announcements: AugmentedQuery< ApiType, ( @@ -1376,9 +1596,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of account proxies. Maps the account which has delegated to the accounts which are - * being delegated to, together with the amount held on deposit. - */ + * The set of account proxies. Maps the account which has delegated to the accounts + * which are being delegated to, together with the amount held on deposit. + **/ proxies: AugmentedQuery< ApiType, ( @@ -1387,26 +1607,38 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; randomness: { - /** Ensures the mandatory inherent was included in the block */ + /** + * Ensures the mandatory inherent was included in the block + **/ inherentIncluded: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Current local per-block VRF randomness Set in `on_initialize` */ + /** + * Current local per-block VRF randomness + * Set in `on_initialize` + **/ localVrfOutput: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Records whether this is the first block (genesis or runtime upgrade) */ + /** + * Records whether this is the first block (genesis or runtime upgrade) + **/ notFirstBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Previous local per-block VRF randomness Set in `on_finalize` of last block */ + /** + * Previous local per-block VRF randomness + * Set in `on_finalize` of last block + **/ previousLocalVrfOutput: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Snapshot of randomness to fulfill all requests that are for the same raw randomness Removed - * once $value.request_count == 0 - */ + * Snapshot of randomness to fulfill all requests that are for the same raw randomness + * Removed once $value.request_count == 0 + **/ randomnessResults: AugmentedQuery< ApiType, ( @@ -1420,24 +1652,34 @@ declare module "@polkadot/api-base/types/storage" { [PalletRandomnessRequestType] > & QueryableStorageEntry; - /** Relay epoch */ + /** + * Relay epoch + **/ relayEpoch: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of randomness requests made so far, used to generate the next request's uid */ + /** + * Number of randomness requests made so far, used to generate the next request's uid + **/ requestCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Randomness requests not yet fulfilled or purged */ + /** + * Randomness requests not yet fulfilled or purged + **/ requests: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; referenda: { - /** The number of referenda being decided currently. */ + /** + * The number of referenda being decided currently. + **/ decidingCount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable, @@ -1445,22 +1687,27 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The metadata is a general information concerning the referendum. The `Hash` refers to the - * preimage of the `Preimages` provider which can be a JSON dump or IPFS hash of a JSON file. + * The metadata is a general information concerning the referendum. + * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + * dump or IPFS hash of a JSON file. * - * Consider a garbage collection for a metadata of finished referendums to `unrequest` - * (remove) large preimages. - */ + * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + * large preimages. + **/ metadataOf: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The next free referendum index, aka the number of referenda started so far. */ + /** + * The next free referendum index, aka the number of referenda started so far. + **/ referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Information concerning any given referendum. */ + /** + * Information concerning any given referendum. + **/ referendumInfoFor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1472,18 +1719,22 @@ declare module "@polkadot/api-base/types/storage" { * conviction-weighted approvals. * * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. - */ + **/ trackQueue: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>>, [u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; relayStorageRoots: { - /** Map of relay block number to relay storage root */ + /** + * Map of relay block number to relay storage root + **/ relayStorageRoot: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1491,20 +1742,26 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * List of all the keys in `RelayStorageRoot`. Used to remove the oldest key without having to - * iterate over all of them. - */ + * List of all the keys in `RelayStorageRoot`. + * Used to remove the oldest key without having to iterate over all of them. + **/ relayStorageRootKeys: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; rootTesting: { - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; scheduler: { - /** Items to be executed, indexed by the block number that they should be executed on. */ + /** + * Items to be executed, indexed by the block number that they should be executed on. + **/ agenda: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>>, @@ -1516,15 +1773,18 @@ declare module "@polkadot/api-base/types/storage" { /** * Lookup from a name to the block number and index of the task. * - * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 identities. - */ + * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 + * identities. + **/ lookup: AugmentedQuery< ApiType, (arg: U8aFixed | string | Uint8Array) => Observable>>, [U8aFixed] > & QueryableStorageEntry; - /** Retry configurations for items to be executed, indexed by task address. */ + /** + * Retry configurations for items to be executed, indexed by task address. + **/ retries: AugmentedQuery< ApiType, ( @@ -1533,136 +1793,178 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[u32, u32]>] > & QueryableStorageEntry]>; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; sudo: { - /** The `AccountId` of the sudo key. */ + /** + * The `AccountId` of the sudo key. + **/ key: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; system: { - /** The full account information for a particular account ID. */ + /** + * The full account information for a particular account ID. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Total length (in bytes) for all extrinsics put together, for the current block. */ + /** + * Total length (in bytes) for all extrinsics put together, for the current block. + **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** `Some` if a code upgrade has been authorized. */ + /** + * `Some` if a code upgrade has been authorized. + **/ authorizedUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Map of block numbers to block hashes. */ + /** + * Map of block numbers to block hashes. + **/ blockHash: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** The current weight for the block. */ + /** + * The current weight for the block. + **/ blockWeight: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Digest of the current block, also part of the block header. */ + /** + * Digest of the current block, also part of the block header. + **/ digest: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The number of events in the `Events` list. */ + /** + * The number of events in the `Events` list. + **/ eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Events deposited for the current block. * - * NOTE: The item is unbound and should therefore never be read on chain. It could otherwise - * inflate the PoV size of a block. + * NOTE: The item is unbound and should therefore never be read on chain. + * It could otherwise inflate the PoV size of a block. * - * Events have a large in-memory size. Box the events to not go out-of-memory just in case - * someone still reads them from within the runtime. - */ + * Events have a large in-memory size. Box the events to not go out-of-memory + * just in case someone still reads them from within the runtime. + **/ events: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Mapping between a topic (represented by T::Hash) and a vector of indexes of events in the - * `>` list. + * Mapping between a topic (represented by T::Hash) and a vector of indexes + * of events in the `>` list. * - * All topic vectors have deterministic storage locations depending on the topic. This allows - * light-clients to leverage the changes trie storage tracking mechanism and in case of - * changes fetch the list of events of interest. + * All topic vectors have deterministic storage locations depending on the topic. This + * 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 `(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. - */ + * 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. + **/ eventTopics: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>>, [H256] > & QueryableStorageEntry; - /** The execution phase of the block. */ + /** + * The execution phase of the block. + **/ executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Total extrinsics count for the current block. */ + /** + * Total extrinsics count for the current block. + **/ extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Extrinsics data for the current block (maps an extrinsic's index to its data). */ + /** + * Extrinsics data for the current block (maps an extrinsic's index to its data). + **/ extrinsicData: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Whether all inherents have been applied. */ + /** + * Whether all inherents have been applied. + **/ inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ + /** + * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + **/ lastRuntimeUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The current block number being processed. Set by `execute_block`. */ + /** + * The current block number being processed. Set by `execute_block`. + **/ number: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Hash of the previous block. */ + /** + * Hash of the previous block. + **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. - */ + **/ upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. */ + /** + * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + **/ upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; timestamp: { /** * Whether the timestamp has been updated in this block. * - * This value is updated to `true` upon successful submission of a timestamp by a node. It is - * then checked at the end of each block execution in the `on_finalize` hook. - */ + * This value is updated to `true` upon successful submission of a timestamp by a node. + * It is then checked at the end of each block execution in the `on_finalize` hook. + **/ didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The current time for the current block. */ + /** + * The current time for the current block. + **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; transactionPayment: { @@ -1674,67 +1976,97 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasury: { - /** Proposal indices that have been approved but not yet awarded. */ + /** + * Proposal indices that have been approved but not yet awarded. + **/ approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The amount which has been reported as inactive to Currency. */ + /** + * The amount which has been reported as inactive to Currency. + **/ deactivated: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of proposals that have been made. */ + /** + * Number of proposals that have been made. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Proposals that have been made. */ + /** + * Proposals that have been made. + **/ proposals: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The count of spends that have been made. */ + /** + * The count of spends that have been made. + **/ spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Spends that have been approved and being processed. */ + /** + * Spends that have been approved and being processed. + **/ spends: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasuryCouncilCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; whitelist: { @@ -1744,11 +2076,15 @@ declare module "@polkadot/api-base/types/storage" { [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmpQueue: { - /** The factor to multiply the base delivery fee by. */ + /** + * The factor to multiply the base delivery fee by. + **/ deliveryFeeFactor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, @@ -1764,10 +2100,12 @@ declare module "@polkadot/api-base/types/storage" { * * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof * will be smaller. - */ + **/ inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The messages outbound in a given XCMP channel. */ + /** + * The messages outbound in a given XCMP channel. + **/ outboundXcmpMessages: AugmentedQuery< ApiType, ( @@ -1778,44 +2116,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The non-empty XCMP channels in order of becoming non-empty, and the index of the first and - * last outbound message. If the two indices are equal, then it indicates an empty queue and - * there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater than 65535 - * items. Queue indices for normal messages begin at one; zero is reserved in case of the need - * to send a high-priority signal message this block. The bool is true if there is a signal - * message waiting to be sent. - */ + * The non-empty XCMP channels in order of becoming non-empty, and the index of the first + * and last outbound message. If the two indices are equal, then it indicates an empty + * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater + * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in + * case of the need to send a high-priority signal message this block. + * The bool is true if there is a signal message waiting to be sent. + **/ outboundXcmpStatus: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The configuration which controls the dynamics of the outbound queue. */ + /** + * The configuration which controls the dynamics of the outbound queue. + **/ queueConfig: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Whether or not the XCMP queue is suspended from executing incoming XCMs or not. */ + /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Any signal messages waiting to be sent. */ + /** + * Any signal messages waiting to be sent. + **/ signalMessages: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmTransactor: { /** - * Stores the fee per second for an asset in its reserve chain. This allows us to convert from - * weight to fee - */ + * Stores the fee per second for an asset in its reserve chain. This allows us to convert + * from weight to fee + **/ destinationAssetFeePerSecond: AugmentedQuery< ApiType, ( @@ -1825,17 +2171,19 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Since we are using pallet-utility for account derivation (through AsDerivative), we need to - * provide an index for the account derivation. This storage item stores the index assigned - * for a given local account. These indices are usable as derivative in the relay chain - */ + * Since we are using pallet-utility for account derivation (through AsDerivative), + * we need to provide an index for the account derivation. This storage item stores the index + * assigned for a given local account. These indices are usable as derivative in the relay chain + **/ indexToAccount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>, [u16] > & QueryableStorageEntry; - /** Stores the indices of relay chain pallets */ + /** + * Stores the indices of relay chain pallets + **/ relayIndices: AugmentedQuery< ApiType, () => Observable, @@ -1843,10 +2191,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Stores the transact info of a Location. This defines how much extra weight we need to add - * when we want to transact in the destination chain and maximum amount of weight allowed by - * the destination chain - */ + * Stores the transact info of a Location. This defines how much extra weight we need to + * add when we want to transact in the destination chain and maximum amount of weight allowed + * by the destination chain + **/ transactInfoWithWeightLimit: AugmentedQuery< ApiType, ( @@ -1855,14 +2203,17 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmWeightTrader: { /** - * Stores all supported assets per XCM Location. The u128 is the asset price relative to - * native asset with 18 decimals The boolean specify if the support for this asset is active - */ + * Stores all supported assets per XCM Location. + * The u128 is the asset price relative to native asset with 18 decimals + * The boolean specify if the support for this asset is active + **/ supportedAssets: AugmentedQuery< ApiType, ( @@ -1871,7 +2222,9 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; } // AugmentedQueries diff --git a/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts b/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts index a71564cc61..7752ea2d20 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts @@ -20,7 +20,7 @@ import type { bool, f64, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, Codec } from "@polkadot/types-codec/types"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -35,7 +35,7 @@ import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, - InstantiateRequestV1, + InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; @@ -53,13 +53,13 @@ import type { EthSyncStatus, EthTransaction, EthTransactionRequest, - EthWork, + EthWork } from "@polkadot/types/interfaces/eth"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; import type { EncodedFinalityProofs, JustificationNotification, - ReportedRoundStates, + ReportedRoundStates } from "@polkadot/types/interfaces/grandpa"; import type { MmrHash, MmrLeafBatchProof } from "@polkadot/types/interfaces/mmr"; import type { StorageKind } from "@polkadot/types/interfaces/offchain"; @@ -77,13 +77,13 @@ import type { Justification, KeyValue, SignedBlock, - StorageData, + StorageData } from "@polkadot/types/interfaces/runtime"; import type { MigrationStatusResult, ReadProof, RuntimeVersion, - TraceBlockResponse, + TraceBlockResponse } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, @@ -93,7 +93,7 @@ import type { NetworkState, NodeRole, PeerInfo, - SyncState, + SyncState } from "@polkadot/types/interfaces/system"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -102,13 +102,19 @@ export type __AugmentedRpc = AugmentedRpc<() => unknown>; declare module "@polkadot/rpc-core/types/jsonrpc" { interface RpcInterface { author: { - /** Returns true if the keystore has private keys for the given public key and key type. */ + /** + * Returns true if the keystore has private keys for the given public key and key type. + **/ hasKey: AugmentedRpc< (publicKey: Bytes | string | Uint8Array, keyType: Text | string) => Observable >; - /** Returns true if the keystore has private keys for the given session public keys. */ + /** + * Returns true if the keystore has private keys for the given session public keys. + **/ hasSessionKeys: AugmentedRpc<(sessionKeys: Bytes | string | Uint8Array) => Observable>; - /** Insert a key into the keystore. */ + /** + * Insert a key into the keystore. + **/ insertKey: AugmentedRpc< ( keyType: Text | string, @@ -116,9 +122,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { publicKey: Bytes | string | Uint8Array ) => Observable >; - /** Returns all pending extrinsics, potentially grouped by sender */ + /** + * Returns all pending extrinsics, potentially grouped by sender + **/ pendingExtrinsics: AugmentedRpc<() => Observable>>; - /** Remove given extrinsic from the pool and temporarily ban it to prevent reimporting */ + /** + * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting + **/ removeExtrinsic: AugmentedRpc< ( bytesOrHash: @@ -126,50 +136,75 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[] ) => Observable> >; - /** Generate new session keys and returns the corresponding public keys */ + /** + * Generate new session keys and returns the corresponding public keys + **/ rotateKeys: AugmentedRpc<() => Observable>; - /** Submit and subscribe to watch an extrinsic until unsubscribed */ + /** + * Submit and subscribe to watch an extrinsic until unsubscribed + **/ submitAndWatchExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; - /** Submit a fully formatted extrinsic for block inclusion */ + /** + * Submit a fully formatted extrinsic for block inclusion + **/ submitExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; }; babe: { /** - * Returns data about which slots (primary or secondary) can be claimed in the current epoch - * with the keys in the keystore - */ + * Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore + **/ epochAuthorship: AugmentedRpc<() => Observable>>; }; beefy: { - /** Returns hash of the latest BEEFY finalized block as seen by this client. */ + /** + * Returns hash of the latest BEEFY finalized block as seen by this client. + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Returns the block most recently finalized by BEEFY, alongside its justification. */ + /** + * Returns the block most recently finalized by BEEFY, alongside its justification. + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; chain: { - /** Get header and body of a relay chain block */ + /** + * Get header and body of a relay chain block + **/ getBlock: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable>; - /** Get the block hash for a specific block */ + /** + * Get the block hash for a specific block + **/ getBlockHash: AugmentedRpc< (blockNumber?: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Get hash of the last finalized block in the canon chain */ + /** + * Get hash of the last finalized block in the canon chain + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Retrieves the header for a specific block */ + /** + * Retrieves the header for a specific block + **/ getHeader: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable

>; - /** Retrieves the newest header via subscription */ + /** + * Retrieves the newest header via subscription + **/ subscribeAllHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best finalized header via subscription */ + /** + * Retrieves the best finalized header via subscription + **/ subscribeFinalizedHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best header via subscription */ + /** + * Retrieves the best header via subscription + **/ subscribeNewHeads: AugmentedRpc<() => Observable
>; }; childstate: { - /** Returns the keys with prefix from a child storage, leave empty to get all the keys */ + /** + * Returns the keys with prefix from a child storage, leave empty to get all the keys + **/ getKeys: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -177,7 +212,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix from a child storage with pagination support */ + /** + * Returns the keys with prefix from a child storage with pagination support + **/ getKeysPaged: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -187,7 +224,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns a child storage entry at a specific block state */ + /** + * Returns a child storage entry at a specific block state + **/ getStorage: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -195,7 +234,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns child storage entries for multiple keys at a specific block state */ + /** + * Returns child storage entries for multiple keys at a specific block state + **/ getStorageEntries: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -203,7 +244,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable>> >; - /** Returns the hash of a child storage entry at a block state */ + /** + * Returns the hash of a child storage entry at a block state + **/ getStorageHash: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -211,7 +254,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the size of a child storage entry at a block state */ + /** + * Returns the size of a child storage entry at a block state + **/ getStorageSize: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -222,9 +267,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; contracts: { /** - * @deprecated Use the runtime interface `api.call.contractsApi.call` instead Executes a call - * to a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead + * Executes a call to a contract + **/ call: AugmentedRpc< ( callRequest: @@ -243,9 +288,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead Returns - * the value under a specified storage key in a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead + * Returns the value under a specified storage key in a contract + **/ getStorage: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -255,8 +300,8 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; /** * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead - * Instantiate a new contract - */ + * Instantiate a new contract + **/ instantiate: AugmentedRpc< ( request: @@ -268,9 +313,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Not available in newer versions of the contracts interfaces Returns the - * projected time a given contract will be able to sustain paying its rent - */ + * @deprecated Not available in newer versions of the contracts interfaces + * Returns the projected time a given contract will be able to sustain paying its rent + **/ rentProjection: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -278,9 +323,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable> >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead Upload new - * code without instantiating a contract from it - */ + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead + * Upload new code without instantiating a contract from it + **/ uploadCode: AugmentedRpc< ( uploadRequest: @@ -293,13 +338,17 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; dev: { - /** Reexecute the specified `block_hash` and gather statistics while doing so */ + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ getBlockStats: AugmentedRpc< (at: Hash | string | Uint8Array) => Observable> >; }; engine: { - /** Instructs the manual-seal authorship task to create a new block */ + /** + * Instructs the manual-seal authorship task to create a new block + **/ createBlock: AugmentedRpc< ( createEmpty: bool | boolean | Uint8Array, @@ -307,17 +356,25 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { parentHash?: BlockHash | string | Uint8Array ) => Observable >; - /** Instructs the manual-seal authorship task to finalize a block */ + /** + * Instructs the manual-seal authorship task to finalize a block + **/ finalizeBlock: AugmentedRpc< (hash: BlockHash | string | Uint8Array, justification?: Justification) => Observable >; }; eth: { - /** Returns accounts list. */ + /** + * Returns accounts list. + **/ accounts: AugmentedRpc<() => Observable>>; - /** Returns the blockNumber */ + /** + * Returns the blockNumber + **/ blockNumber: AugmentedRpc<() => Observable>; - /** Call contract, returning the output data. */ + /** + * Call contract, returning the output data. + **/ call: AugmentedRpc< ( request: @@ -337,13 +394,16 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * Returns the chain ID used for transaction signing at the current best block. None is - * returned if not available. - */ + * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. + **/ chainId: AugmentedRpc<() => Observable>; - /** Returns block author. */ + /** + * Returns block author. + **/ coinbase: AugmentedRpc<() => Observable>; - /** Estimate gas needed for execution of given contract. */ + /** + * Estimate gas needed for execution of given contract. + **/ estimateGas: AugmentedRpc< ( request: @@ -362,7 +422,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns fee history for given block count & reward percentiles */ + /** + * Returns fee history for given block count & reward percentiles + **/ feeHistory: AugmentedRpc< ( blockCount: U256 | AnyNumber | Uint8Array, @@ -370,53 +432,73 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { rewardPercentiles: Option> | null | Uint8Array | Vec | f64[] ) => Observable >; - /** Returns current gas price. */ + /** + * Returns current gas price. + **/ gasPrice: AugmentedRpc<() => Observable>; - /** Returns balance of the given account. */ + /** + * Returns balance of the given account. + **/ getBalance: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns block with given hash. */ + /** + * Returns block with given hash. + **/ getBlockByHash: AugmentedRpc< ( hash: H256 | string | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns block with given number. */ + /** + * Returns block with given number. + **/ getBlockByNumber: AugmentedRpc< ( block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns the number of transactions in a block with given hash. */ + /** + * Returns the number of transactions in a block with given hash. + **/ getBlockTransactionCountByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions in a block with given block number. */ + /** + * Returns the number of transactions in a block with given block number. + **/ getBlockTransactionCountByNumber: AugmentedRpc< (block: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the code at given address at given time (block number). */ + /** + * Returns the code at given address at given time (block number). + **/ getCode: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns filter changes since last poll. */ + /** + * Returns filter changes since last poll. + **/ getFilterChanges: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable >; - /** Returns all logs matching given filter (in a range 'from' - 'to'). */ + /** + * Returns all logs matching given filter (in a range 'from' - 'to'). + **/ getFilterLogs: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable> >; - /** Returns logs matching given filter object. */ + /** + * Returns logs matching given filter object. + **/ getLogs: AugmentedRpc< ( filter: @@ -426,7 +508,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable> >; - /** Returns proof for account and storage. */ + /** + * Returns proof for account and storage. + **/ getProof: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -434,7 +518,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns content of the storage at given address. */ + /** + * Returns content of the storage at given address. + **/ getStorageAt: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -442,68 +528,98 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction at given block hash and index. */ + /** + * Returns transaction at given block hash and index. + **/ getTransactionByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction by given block number and index. */ + /** + * Returns transaction by given block number and index. + **/ getTransactionByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Get transaction by its hash. */ + /** + * Get transaction by its hash. + **/ getTransactionByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions sent from given address at given time (block number). */ + /** + * Returns the number of transactions sent from given address at given time (block number). + **/ getTransactionCount: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction receipt by transaction hash. */ + /** + * Returns transaction receipt by transaction hash. + **/ getTransactionReceipt: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns the number of uncles in a block with given hash. */ + /** + * Returns the number of uncles in a block with given hash. + **/ getUncleCountByBlockHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of uncles in a block with given block number. */ + /** + * Returns the number of uncles in a block with given block number. + **/ getUncleCountByBlockNumber: AugmentedRpc< (number: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the hash of the current block, the seedHash, and the boundary condition to be met. */ + /** + * Returns the hash of the current block, the seedHash, and the boundary condition to be met. + **/ getWork: AugmentedRpc<() => Observable>; - /** Returns the number of hashes per second that the node is mining with. */ + /** + * Returns the number of hashes per second that the node is mining with. + **/ hashrate: AugmentedRpc<() => Observable>; - /** Returns max priority fee per gas */ + /** + * Returns max priority fee per gas + **/ maxPriorityFeePerGas: AugmentedRpc<() => Observable>; - /** Returns true if client is actively mining new blocks. */ + /** + * Returns true if client is actively mining new blocks. + **/ mining: AugmentedRpc<() => Observable>; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newBlockFilter: AugmentedRpc<() => Observable>; - /** Returns id of new filter. */ + /** + * Returns id of new filter. + **/ newFilter: AugmentedRpc< ( filter: @@ -513,13 +629,21 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newPendingTransactionFilter: AugmentedRpc<() => Observable>; - /** Returns protocol version encoded as a string (quotes are necessary). */ + /** + * Returns protocol version encoded as a string (quotes are necessary). + **/ protocolVersion: AugmentedRpc<() => Observable>; - /** Sends signed transaction, returning its hash. */ + /** + * Sends signed transaction, returning its hash. + **/ sendRawTransaction: AugmentedRpc<(bytes: Bytes | string | Uint8Array) => Observable>; - /** Sends transaction; will block waiting for signer to return the transaction hash */ + /** + * Sends transaction; will block waiting for signer to return the transaction hash + **/ sendTransaction: AugmentedRpc< ( tx: @@ -537,11 +661,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Used for submitting mining hashrate. */ + /** + * Used for submitting mining hashrate. + **/ submitHashrate: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => Observable >; - /** Used for submitting a proof-of-work solution. */ + /** + * Used for submitting a proof-of-work solution. + **/ submitWork: AugmentedRpc< ( nonce: H64 | string | Uint8Array, @@ -549,7 +677,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { mixDigest: H256 | string | Uint8Array ) => Observable >; - /** Subscribe to Eth subscription. */ + /** + * Subscribe to Eth subscription. + **/ subscribe: AugmentedRpc< ( kind: @@ -563,25 +693,37 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array ) => Observable >; - /** Returns an object with data about the sync status or false. */ + /** + * Returns an object with data about the sync status or false. + **/ syncing: AugmentedRpc<() => Observable>; - /** Uninstalls filter. */ + /** + * Uninstalls filter. + **/ uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; }; grandpa: { - /** Prove finality for the given block number, returning the Justification for the last block in the set. */ + /** + * Prove finality for the given block number, returning the Justification for the last block in the set. + **/ proveFinality: AugmentedRpc< ( blockNumber: BlockNumber | AnyNumber | Uint8Array ) => Observable> >; - /** Returns the state of the current best round state as well as the ongoing background rounds */ + /** + * Returns the state of the current best round state as well as the ongoing background rounds + **/ roundState: AugmentedRpc<() => Observable>; - /** Subscribes to grandpa justifications */ + /** + * Subscribes to grandpa justifications + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; mmr: { - /** Generate MMR proof for the given block numbers. */ + /** + * Generate MMR proof for the given block numbers. + **/ generateProof: AugmentedRpc< ( blockNumbers: Vec | (u64 | AnyNumber | Uint8Array)[], @@ -589,9 +731,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the MMR root hash for the current best block. */ + /** + * Get the MMR root hash for the current best block. + **/ root: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; - /** Verify an MMR proof */ + /** + * Verify an MMR proof + **/ verifyProof: AugmentedRpc< ( proof: @@ -601,7 +747,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Verify an MMR proof statelessly given an mmr_root */ + /** + * Verify an MMR proof statelessly given an mmr_root + **/ verifyProofStateless: AugmentedRpc< ( root: MmrHash | string | Uint8Array, @@ -614,30 +762,46 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from frontier's backend */ + /** + * Returns the latest synced block from frontier's backend + **/ getLatestSyncedBlock: AugmentedRpc<() => Observable>; - /** Returns whether an Ethereum block is finalized */ + /** + * Returns whether an Ethereum block is finalized + **/ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; - /** Returns whether an Ethereum transaction is finalized */ + /** + * Returns whether an Ethereum transaction is finalized + **/ isTxFinalized: AugmentedRpc<(txHash: Hash | string | Uint8Array) => Observable>; }; net: { - /** Returns true if client is actively listening for network connections. Otherwise false. */ + /** + * Returns true if client is actively listening for network connections. Otherwise false. + **/ listening: AugmentedRpc<() => Observable>; - /** Returns number of peers connected to node. */ + /** + * Returns number of peers connected to node. + **/ peerCount: AugmentedRpc<() => Observable>; - /** Returns protocol version. */ + /** + * Returns protocol version. + **/ version: AugmentedRpc<() => Observable>; }; offchain: { - /** Get offchain local storage under given key and prefix */ + /** + * Get offchain local storage under given key and prefix + **/ localStorageGet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array ) => Observable> >; - /** Set offchain local storage under given key and prefix */ + /** + * Set offchain local storage under given key and prefix + **/ localStorageSet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, @@ -648,9 +812,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; payment: { /** - * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead Query the detailed - * fee of a given encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead + * Query the detailed fee of a given encoded extrinsic + **/ queryFeeDetails: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -658,9 +822,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead Retrieves the fee - * information for an encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead + * Retrieves the fee information for an encoded extrinsic + **/ queryInfo: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -669,11 +833,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; rpc: { - /** Retrieves the list of RPC methods that are exposed by the node */ + /** + * Retrieves the list of RPC methods that are exposed by the node + **/ methods: AugmentedRpc<() => Observable>; }; state: { - /** Perform a call to a builtin on the chain */ + /** + * Perform a call to a builtin on the chain + **/ call: AugmentedRpc< ( method: Text | string, @@ -681,7 +849,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the keys with prefix of a specific child storage */ + /** + * Retrieves the keys with prefix of a specific child storage + **/ getChildKeys: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -691,7 +861,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage for child key entries at a specific block state. */ + /** + * Returns proof of storage for child key entries at a specific block state. + **/ getChildReadProof: AugmentedRpc< ( childStorageKey: PrefixedStorageKey | string | Uint8Array, @@ -699,7 +871,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage for a key */ + /** + * Retrieves the child storage for a key + **/ getChildStorage: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -709,7 +883,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage hash */ + /** + * Retrieves the child storage hash + **/ getChildStorageHash: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -719,7 +895,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage size */ + /** + * Retrieves the child storage size + **/ getChildStorageSize: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -730,16 +908,18 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Retrieves the keys with a - * certain prefix - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Retrieves the keys with a certain prefix + **/ getKeys: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix with pagination support. */ + /** + * Returns the keys with prefix with pagination support. + **/ getKeysPaged: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, @@ -748,51 +928,65 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the runtime metadata */ + /** + * Returns the runtime metadata + **/ getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Returns the keys with prefix, - * leave empty to get all the keys (deprecated: Use getKeysPaged) - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged) + **/ getPairs: AugmentedRpc< ( prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage entries at a specific block state */ + /** + * Returns proof of storage entries at a specific block state + **/ getReadProof: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the runtime version */ + /** + * Get the runtime version + **/ getRuntimeVersion: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; - /** Retrieves the storage for a key */ + /** + * Retrieves the storage for a key + **/ getStorage: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, block?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the storage hash */ + /** + * Retrieves the storage hash + **/ getStorageHash: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the storage size */ + /** + * Retrieves the storage size + **/ getStorageSize: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Query historical storage entries (by key) starting from a start block */ + /** + * Query historical storage entries (by key) starting from a start block + **/ queryStorage: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], @@ -800,22 +994,30 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { toBlock?: Hash | Uint8Array | string ) => Observable<[Hash, T][]> >; - /** Query storage entries (by key) starting at block hash given as the second parameter */ + /** + * Query storage entries (by key) starting at block hash given as the second parameter + **/ queryStorageAt: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the runtime version via subscription */ + /** + * Retrieves the runtime version via subscription + **/ subscribeRuntimeVersion: AugmentedRpc<() => Observable>; - /** Subscribes to storage changes for the provided keys */ + /** + * Subscribes to storage changes for the provided keys + **/ subscribeStorage: AugmentedRpc< ( keys?: Vec | (StorageKey | string | Uint8Array | any)[] ) => Observable >; - /** Provides a way to trace the re-execution of a single block */ + /** + * Provides a way to trace the re-execution of a single block + **/ traceBlock: AugmentedRpc< ( block: Hash | string | Uint8Array, @@ -824,69 +1026,112 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { methods: Option | null | Uint8Array | Text | string ) => Observable >; - /** Check current migration state */ + /** + * Check current migration state + **/ trieMigrationStatus: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; }; syncstate: { - /** Returns the json-serialized chainspec running the node, with a sync state. */ + /** + * Returns the json-serialized chainspec running the node, with a sync state. + **/ genSyncSpec: AugmentedRpc<(raw: bool | boolean | Uint8Array) => Observable>; }; system: { - /** Retrieves the next accountIndex as available on the node */ + /** + * Retrieves the next accountIndex as available on the node + **/ accountNextIndex: AugmentedRpc< (accountId: AccountId | string | Uint8Array) => Observable >; - /** Adds the supplied directives to the current log filter */ + /** + * Adds the supplied directives to the current log filter + **/ addLogFilter: AugmentedRpc<(directives: Text | string) => Observable>; - /** Adds a reserved peer */ + /** + * Adds a reserved peer + **/ addReservedPeer: AugmentedRpc<(peer: Text | string) => Observable>; - /** Retrieves the chain */ + /** + * Retrieves the chain + **/ chain: AugmentedRpc<() => Observable>; - /** Retrieves the chain type */ + /** + * Retrieves the chain type + **/ chainType: AugmentedRpc<() => Observable>; - /** Dry run an extrinsic at a given block */ + /** + * Dry run an extrinsic at a given block + **/ dryRun: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Return health status of the node */ + /** + * Return health status of the node + **/ health: AugmentedRpc<() => Observable>; /** - * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be - * passed to addReservedPeer or as a bootnode address for example - */ + * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example + **/ localListenAddresses: AugmentedRpc<() => Observable>>; - /** Returns the base58-encoded PeerId of the node */ + /** + * Returns the base58-encoded PeerId of the node + **/ localPeerId: AugmentedRpc<() => Observable>; - /** Retrieves the node name */ + /** + * Retrieves the node name + **/ name: AugmentedRpc<() => Observable>; - /** Returns current state of the network */ + /** + * Returns current state of the network + **/ networkState: AugmentedRpc<() => Observable>; - /** Returns the roles the node is running as */ + /** + * Returns the roles the node is running as + **/ nodeRoles: AugmentedRpc<() => Observable>>; - /** Returns the currently connected peers */ + /** + * Returns the currently connected peers + **/ peers: AugmentedRpc<() => Observable>>; - /** Get a custom set of properties as a JSON object, defined in the chain spec */ + /** + * Get a custom set of properties as a JSON object, defined in the chain spec + **/ properties: AugmentedRpc<() => Observable>; - /** Remove a reserved peer */ + /** + * Remove a reserved peer + **/ removeReservedPeer: AugmentedRpc<(peerId: Text | string) => Observable>; - /** Returns the list of reserved peers */ + /** + * Returns the list of reserved peers + **/ reservedPeers: AugmentedRpc<() => Observable>>; - /** Resets the log filter to Substrate defaults */ + /** + * Resets the log filter to Substrate defaults + **/ resetLogFilter: AugmentedRpc<() => Observable>; - /** Returns the state of the syncing of the node */ + /** + * Returns the state of the syncing of the node + **/ syncState: AugmentedRpc<() => Observable>; - /** Retrieves the version of the node */ + /** + * Retrieves the version of the node + **/ version: AugmentedRpc<() => Observable>; }; web3: { - /** Returns current client version. */ + /** + * Returns current client version. + **/ clientVersion: AugmentedRpc<() => Observable>; - /** Returns sha3 of the given data */ + /** + * Returns sha3 of the given data + **/ sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable>; }; } // RpcInterface diff --git a/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts b/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts index 798d1db8cc..aacce6b598 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts @@ -17,7 +17,7 @@ import type { u128, u256, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder"; @@ -26,13 +26,13 @@ import type { CollationInfo } from "@polkadot/types/interfaces/cumulus"; import type { CallDryRunEffects, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { BlockV2, EthReceiptV3, EthTransactionStatus, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from "@polkadot/types/interfaces/evm"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; @@ -53,7 +53,7 @@ import type { Permill, RuntimeCall, Weight, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { RuntimeVersion } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, DispatchError } from "@polkadot/types/interfaces/system"; @@ -64,7 +64,7 @@ import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; import type { XcmVersionedAssetId, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -75,24 +75,32 @@ declare module "@polkadot/api-base/types/calls" { interface AugmentedCalls { /** 0xbc9d89904f5b923f/1 */ accountNonceApi: { - /** The API to query account nonce (aka transaction index) */ + /** + * The API to query account nonce (aka transaction index) + **/ accountNonce: AugmentedCall< ApiType, (accountId: AccountId | string | Uint8Array) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x40fe3ad401f8959a/6 */ blockBuilder: { - /** Apply the given extrinsic. */ + /** + * Apply the given extrinsic. + **/ applyExtrinsic: AugmentedCall< ApiType, ( extrinsic: Extrinsic | IExtrinsic | string | Uint8Array ) => Observable >; - /** Check that the inherents are valid. */ + /** + * Check that the inherents are valid. + **/ checkInherents: AugmentedCall< ApiType, ( @@ -100,21 +108,29 @@ declare module "@polkadot/api-base/types/calls" { data: InherentData | { data?: any } | string | Uint8Array ) => Observable >; - /** Finish the current block. */ + /** + * Finish the current block. + **/ finalizeBlock: AugmentedCall Observable
>; - /** Generate inherent extrinsics. */ + /** + * Generate inherent extrinsics. + **/ inherentExtrinsics: AugmentedCall< ApiType, ( inherent: InherentData | { data?: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xea93e3f16f3d6962/2 */ collectCollationInfo: { - /** Collect information about a collation. */ + /** + * Collect information about a collation. + **/ collectCollationInfo: AugmentedCall< ApiType, ( @@ -131,12 +147,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xe65b00e46cedd0aa/2 */ convertTransactionRuntimeApi: { - /** Converts an Ethereum-style transaction to Extrinsic */ + /** + * Converts an Ethereum-style transaction to Extrinsic + **/ convertTransaction: AugmentedCall< ApiType, ( @@ -149,19 +169,25 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xdf6acb689907609b/5 */ core: { - /** Execute the given block. */ + /** + * Execute the given block. + **/ executeBlock: AugmentedCall< ApiType, ( block: Block | { header?: any; extrinsics?: any } | string | Uint8Array ) => Observable >; - /** Initialize a block with the given header. */ + /** + * Initialize a block with the given header. + **/ initializeBlock: AugmentedCall< ApiType, ( @@ -178,14 +204,20 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Returns the version of the runtime. */ + /** + * Returns the version of the runtime. + **/ version: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x91b1c8b16328eb92/1 */ dryRunApi: { - /** Dry run call */ + /** + * Dry run call + **/ dryRunCall: AugmentedCall< ApiType, ( @@ -193,7 +225,9 @@ declare module "@polkadot/api-base/types/calls" { call: RuntimeCall | IMethod | string | Uint8Array ) => Observable> >; - /** Dry run XCM program */ + /** + * Dry run XCM program + **/ dryRunXcm: AugmentedCall< ApiType, ( @@ -217,24 +251,34 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x582211f65bb14b89/5 */ ethereumRuntimeRPCApi: { - /** Returns pallet_evm::Accounts by address. */ + /** + * Returns pallet_evm::Accounts by address. + **/ accountBasic: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** For a given account address, returns pallet_evm::AccountCodes. */ + /** + * For a given account address, returns pallet_evm::AccountCodes. + **/ accountCodeAt: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** Returns the converted FindAuthor::find_author authority id. */ + /** + * Returns the converted FindAuthor::find_author authority id. + **/ author: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ call: AugmentedCall< ApiType, ( @@ -255,9 +299,13 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Returns runtime defined pallet_evm::ChainId. */ + /** + * Returns runtime defined pallet_evm::ChainId. + **/ chainId: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ create: AugmentedCall< ApiType, ( @@ -277,34 +325,50 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Return all the current data for a block in a single runtime call. */ + /** + * Return all the current data for a block in a single runtime call. + **/ currentAll: AugmentedCall< ApiType, () => Observable< ITuple<[Option, Option>, Option>]> > >; - /** Return the current block. */ + /** + * Return the current block. + **/ currentBlock: AugmentedCall Observable>; - /** Return the current receipt. */ + /** + * Return the current receipt. + **/ currentReceipts: AugmentedCall Observable>>>; - /** Return the current transaction status. */ + /** + * Return the current transaction status. + **/ currentTransactionStatuses: AugmentedCall< ApiType, () => Observable>> >; - /** Return the elasticity multiplier. */ + /** + * Return the elasticity multiplier. + **/ elasticity: AugmentedCall Observable>>; - /** Receives a `Vec` and filters all the ethereum transactions. */ + /** + * Receives a `Vec` and filters all the ethereum transactions. + **/ extrinsicFilter: AugmentedCall< ApiType, ( xts: Vec | (Extrinsic | IExtrinsic | string | Uint8Array)[] ) => Observable> >; - /** Returns FixedGasPrice::min_gas_price */ + /** + * Returns FixedGasPrice::min_gas_price + **/ gasPrice: AugmentedCall Observable>; - /** For a given account address and index, returns pallet_evm::AccountStorages. */ + /** + * For a given account address and index, returns pallet_evm::AccountStorages. + **/ storageAt: AugmentedCall< ApiType, ( @@ -312,24 +376,34 @@ declare module "@polkadot/api-base/types/calls" { index: u256 | AnyNumber | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xfbc577b9d747efd6/1 */ genesisBuilder: { - /** Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. */ + /** + * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. + **/ buildConfig: AugmentedCall< ApiType, (json: Bytes | string | Uint8Array) => Observable, GenesisBuildErr>> >; - /** Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. */ + /** + * Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. + **/ createDefaultConfig: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x9ffb505aa738d69c/1 */ locationToAccountApi: { - /** Converts `Location` to `AccountId` */ + /** + * Converts `Location` to `AccountId` + **/ convertLocation: AugmentedCall< ApiType, ( @@ -342,26 +416,38 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37e397fc7c91f5e4/2 */ metadata: { - /** Returns the metadata of a runtime */ + /** + * Returns the metadata of a runtime + **/ metadata: AugmentedCall Observable>; - /** Returns the metadata at a given version. */ + /** + * Returns the metadata at a given version. + **/ metadataAtVersion: AugmentedCall< ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable> >; - /** Returns the supported metadata versions. */ + /** + * Returns the supported metadata versions. + **/ metadataVersions: AugmentedCall Observable>>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x2aa62120049dd2d2/1 */ nimbusApi: { - /** The runtime api used to predict whether a Nimbus author will be eligible in the given slot */ + /** + * The runtime api used to predict whether a Nimbus author will be eligible in the given slot + **/ canAuthor: AugmentedCall< ApiType, ( @@ -380,12 +466,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { - /** Starts the off-chain task for given block header. */ + /** + * Starts the off-chain task for given block header. + **/ offchainWorker: AugmentedCall< ApiType, ( @@ -402,29 +492,39 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xab3c0572291feb8b/1 */ sessionKeys: { - /** Decode the given public session keys. */ + /** + * Decode the given public session keys. + **/ decodeSessionKeys: AugmentedCall< ApiType, ( encoded: Bytes | string | Uint8Array ) => Observable>>> >; - /** Generate a set of session keys with optionally using the given seed. */ + /** + * Generate a set of session keys with optionally using the given seed. + **/ generateSessionKeys: AugmentedCall< ApiType, (seed: Option | null | Uint8Array | Bytes | string) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { - /** Validate the transaction. */ + /** + * Validate the transaction. + **/ validateTransaction: AugmentedCall< ApiType, ( @@ -433,12 +533,16 @@ declare module "@polkadot/api-base/types/calls" { blockHash: BlockHash | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37c8bb1350a9a2a8/4 */ transactionPaymentApi: { - /** The transaction fee details */ + /** + * The transaction fee details + **/ queryFeeDetails: AugmentedCall< ApiType, ( @@ -446,7 +550,9 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** The transaction info */ + /** + * The transaction info + **/ queryInfo: AugmentedCall< ApiType, ( @@ -454,30 +560,41 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** Query the output of the current LengthToFee given some input */ + /** + * Query the output of the current LengthToFee given some input + **/ queryLengthToFee: AugmentedCall< ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable >; - /** Query the output of the current WeightToFee given some input */ + /** + * Query the output of the current WeightToFee given some input + **/ queryWeightToFee: AugmentedCall< ApiType, ( weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x6ff52ee858e6c5bd/1 */ xcmPaymentApi: { - /** The API to query acceptable payment assets */ + /** + * The API to query acceptable payment assets + **/ queryAcceptablePaymentAssets: AugmentedCall< ApiType, ( version: u32 | AnyNumber | Uint8Array ) => Observable, XcmPaymentApiError>> >; + /** + * + **/ queryWeightToAssetFee: AugmentedCall< ApiType, ( @@ -485,13 +602,18 @@ declare module "@polkadot/api-base/types/calls" { asset: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; + /** + * + **/ queryXcmWeight: AugmentedCall< ApiType, ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; } // AugmentedCalls diff --git a/typescript-api/src/moonbase/interfaces/augment-api-tx.ts b/typescript-api/src/moonbase/interfaces/augment-api-tx.ts index fbf30b3840..23684897dd 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-tx.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, - SubmittableExtrinsicFunction, + SubmittableExtrinsicFunction } from "@polkadot/api-base/types"; import type { Data } from "@polkadot/types"; import type { @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { @@ -35,7 +35,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { AccountEthereumSignature, @@ -71,7 +71,7 @@ import type { XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; @@ -83,9 +83,10 @@ declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -95,9 +96,11 @@ declare module "@polkadot/api-base/types/submittable" { [u128, MoonbaseRuntimeXcmConfigAssetType, u32] >; /** - * Destroy a given foreign assetId The weight in this case is the one returned by the trait - * plus the db writes and reads from removing all the associated data - */ + * Destroy a given foreign assetId + * The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated + * data + **/ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -105,7 +108,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Register new asset with the asset manager */ + /** + * Register new asset with the asset manager + **/ registerForeignAsset: AugmentedSubmittable< ( asset: MoonbaseRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -124,7 +129,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Remove a given assetId -> assetType association */ + /** + * Remove a given assetId -> assetType association + **/ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -132,7 +139,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; assets: { @@ -141,21 +150,23 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed. * - * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the - * purpose of holding the approval. If some non-zero amount of assets is already approved from - * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account + * for the purpose of holding the approval. If some non-zero amount of assets is already + * approved from signing account to `delegate`, then it is topped up or unreserved to + * meet the right value. * - * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * NOTE: The signing account does not need to own `amount` of assets at the point of + * making this call. * * - `id`: The identifier of the asset. * - `delegate`: The account to delegate permission to transfer asset. - * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an - * approval in place, then this acts additively. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is + * already an approval in place, then this acts additively. * * Emits `ApprovedTransfer` on success. * * Weight: `O(1)` - */ + **/ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -175,7 +186,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Blocked`. * * Weight: `O(1)` - */ + **/ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -197,8 +208,9 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Burned` with the actual amount burned. If this takes the balance to below the * minimum for the asset, then the amount burned is increased to take it to zero. * - * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. - */ + * Weight: `O(1)` + * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + **/ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -210,7 +222,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * Origin must be Signed and there must be an approval in place between signer and + * `delegate`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -220,7 +233,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,7 +253,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -255,18 +268,17 @@ declare module "@polkadot/api-base/types/submittable" { * Funds of sender are reserved by `AssetDeposit`. * * Parameters: - * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `admin`: The admin of this class of assets. The admin is the initial address of each member - * of the asset class's admin team. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `admin`: The admin of this class of assets. The admin is the initial address of each + * member of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `Created` event when successful. * * Weight: `O(1)` - */ + **/ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,10 +296,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedAccounts` event. - */ + **/ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -301,10 +314,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedApprovals` event. - */ + **/ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -312,13 +326,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Complete destroying asset and unreserve currency. * - * `finish_destroy` should only be called after `start_destroy` has been called, and the asset - * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * `finish_destroy` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. All accounts or approvals should be destroyed before + * hand. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each successful call emits the `Event::Destroyed` event. - */ + **/ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -333,18 +349,20 @@ declare module "@polkadot/api-base/types/submittable" { * - `issuer`: The new Issuer of this asset. * - `admin`: The new Admin of this asset. * - `freezer`: The new Freezer of this asset. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. - * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to - * account for the state bloat associated with its balance storage. If set to `true`, then - * non-zero balances may be stored without a `consumer` reference (and thus an ED in the - * Balances pallet or whatever else is used to control user-account state growth). - * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient + * value to account for the state bloat associated with its balance storage. If set to + * `true`, then non-zero balances may be stored without a `consumer` reference (and thus + * an ED in the Balances pallet or whatever else is used to control user-account state + * growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin + * instructions. * * Emits `AssetStatusChanged` with the identity of the asset. * * Weight: `O(1)` - */ + **/ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -370,8 +388,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account - * of the asset `id`. + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin + * account of the asset `id`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -381,7 +399,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -402,7 +420,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -416,18 +434,18 @@ declare module "@polkadot/api-base/types/submittable" { * * Unlike `create`, no funds are reserved. * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `owner`: The owner of this class of assets. The owner has full superuser permissions over - * this asset, but may later change and configure the permissions using `transfer_ownership` - * and `set_team`. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions + * over this asset, but may later change and configure the permissions using + * `transfer_ownership` and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `ForceCreated` event when successful. * * Weight: `O(1)` - */ + **/ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -452,7 +470,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. - */ + **/ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -472,16 +490,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `source`: The account to be debited. * - `dest`: The account to be credited. * - `amount`: The amount by which the `source`'s balance of assets should be reduced and - * `dest`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the `source` balance above zero but below - * the minimum balance. Must be greater than zero. + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but + * below the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account - * pre-existence of `dest`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of + * `dest`. + **/ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -492,9 +512,9 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, AccountId20, Compact] >; /** - * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must - * already exist as an entry in `Account`s of the asset. If you want to freeze an account that - * does not have an entry, use `touch_other` first. + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` + * must already exist as an entry in `Account`s of the asset. If you want to freeze an + * account that does not have an entry, use `touch_other` first. * * Origin must be Signed and the sender should be the Freezer of the asset `id`. * @@ -504,7 +524,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -522,7 +542,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -538,8 +558,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Emits `Issued` event when successful. * - * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. - */ + * Weight: `O(1)` + * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + **/ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -549,15 +570,17 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an + * account. * * The origin must be Signed. * - * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `id`: The identifier of the asset for which the caller would like the deposit + * refunded. * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. * * Emits `Refunded` event when successful. - */ + **/ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -576,7 +599,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `who`: The account to refund. * * Emits `Refunded` event when successful. - */ + **/ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -589,8 +612,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed and the sender should be the Owner of the asset `id`. * - * Funds of sender are reserved according to the formula: `MetadataDepositBase + - * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * Funds of sender are reserved according to the formula: + * `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into + * account any already reserved funds. * * - `id`: The identifier of the asset to update. * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. @@ -600,7 +624,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(1)` - */ + **/ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -613,16 +637,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Sets the minimum balance of an asset. * - * Only works if there aren't any accounts that are holding the asset or if the new value of - * `min_balance` is less than the old one. + * Only works if there aren't any accounts that are holding the asset or if + * the new value of `min_balance` is less than the old one. * - * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * Origin must be Signed and the sender has to be the Owner of the + * asset `id`. * * - `id`: The identifier of the asset. * - `min_balance`: The new value of `min_balance`. * * Emits `AssetMinBalanceChanged` event when successful. - */ + **/ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -643,7 +668,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `TeamChanged`. * * Weight: `O(1)` - */ + **/ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -661,10 +686,11 @@ declare module "@polkadot/api-base/types/submittable" { * * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * The asset class must be frozen before calling `start_destroy`. - */ + **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -680,7 +706,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -698,7 +724,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -708,11 +734,12 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit + * to be taken. * - `id`: The identifier of the asset for the account to be created. * * Emits `Touched` event when successful. - */ + **/ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -722,13 +749,13 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must - * have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account + * must have sufficient funds for a deposit to be taken. * - `id`: The identifier of the asset for the account to be created. * - `who`: The account to be created. * * Emits `Touched` event when successful. - */ + **/ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -744,16 +771,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -763,23 +792,25 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Transfer some asset balance from a previously delegated account to some third-party account. + * Transfer some asset balance from a previously delegated account to some third-party + * account. * - * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * Origin must be Signed and there must be an approval in place by the `owner` to the + * signer. * * If the entire amount approved for transfer is transferred, then any deposit previously * reserved by `approve_transfer` is unreserved. * * - `id`: The identifier of the asset. - * - `owner`: The account which previously approved for a transfer of at least `amount` and from - * which the asset balance will be withdrawn. + * - `owner`: The account which previously approved for a transfer of at least `amount` and + * from which the asset balance will be withdrawn. * - `destination`: The account to which the asset balance of `amount` will be transferred. * - `amount`: The amount of assets to transfer. * * Emits `TransferredApproved` on success. * * Weight: `O(1)` - */ + **/ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -797,16 +828,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -826,7 +859,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `OwnerChanged`. * * Weight: `O(1)` - */ + **/ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -834,34 +867,42 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** Update the eligible count. Intended to be called by governance. */ + /** + * Update the eligible count. Intended to be called by governance. + **/ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { /** - * This inherent is a workaround to run code after the "real" inherents have executed, but - * before transactions are executed. - */ + * This inherent is a workaround to run code after the "real" inherents have executed, + * but before transactions are executed. + **/ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { /** * Register your NimbusId onchain so blocks you author are associated with your account. * - * Users who have been (or will soon be) elected active collators in staking, should submit - * this extrinsic to have their blocks accepted and earn rewards. - */ + * Users who have been (or will soon be) elected active collators in staking, + * should submit this extrinsic to have their blocks accepted and earn rewards. + **/ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -871,8 +912,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Clear your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -882,16 +924,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Set association and session keys at once. * - * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security - * deposit is required. Will replace `update_association` which is kept now for backwards - * compatibility reasons. - */ + * This is useful for key rotation to update Nimbus and VRF keys in one call. + * No new security deposit is required. Will replace `update_association` which is kept + * now for backwards compatibility reasons. + **/ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -900,9 +943,9 @@ declare module "@polkadot/api-base/types/submittable" { * Change your Mapping. * * This is useful for normal key rotation or for when switching from one physical collator - * machine to another. No new security deposit is required. This sets keys to - * new_nimbus_id.into() by default. - */ + * machine to another. No new security deposit is required. + * This sets keys to new_nimbus_id.into() by default. + **/ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -910,19 +953,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic, NimbusPrimitivesNimbusCryptoPublic] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; balances: { /** * Burn the specified liquid free balance from the origin account. * - * If the origin's account ends up below the existential deposit as a result of the burn and - * `keep_alive` is false, the account will be reaped. + * If the origin's account ends up below the existential deposit as a result + * of the burn and `keep_alive` is false, the account will be reaped. * - * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, this - * `burn` operation will reduce total issuance by the amount _burned_. - */ + * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, + * this `burn` operation will reduce total issuance by the amount _burned_. + **/ burn: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -936,7 +981,7 @@ declare module "@polkadot/api-base/types/submittable" { * Can only be called by root and always needs a positive `delta`. * * # Example - */ + **/ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -953,7 +998,7 @@ declare module "@polkadot/api-base/types/submittable" { * Set the regular balance of a given account. * * The dispatch origin for this call is `root`. - */ + **/ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -964,7 +1009,7 @@ declare module "@polkadot/api-base/types/submittable" { /** * Exactly as `transfer_allow_death`, except the origin must be root and the source account * may be specified. - */ + **/ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -977,7 +1022,7 @@ declare module "@polkadot/api-base/types/submittable" { * Unreserve some balance from a user by force. * * Can only be called by ROOT. - */ + **/ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -988,19 +1033,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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... + * 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). - */ + * - `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: AccountId20 | string | Uint8Array, @@ -1011,12 +1057,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * `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. - */ + **/ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1025,13 +1071,13 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Compact] >; /** - * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that - * the transfer will not kill the origin account. + * 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`][`transfer_allow_death`] instead. + * 99% of the time you want [`transfer_allow_death`] instead. * * [`transfer_allow_death`]: struct.Pallet.html#method.transfer - */ + **/ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1045,16 +1091,19 @@ declare module "@polkadot/api-base/types/submittable" { * - `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 possibility of churn). - */ + * 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 + * possibility of churn). + **/ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { @@ -1062,26 +1111,27 @@ declare module "@polkadot/api-base/types/submittable" { * Delegate the voting power (with some given conviction) of the sending account for a * particular class of polls. * - * 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 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 through + * `remove_vote`). * - * - Be delegating already; or - * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). * - `to`: The account whose voting the `target` account's voting power will follow. - * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to - * this function are required. - * - `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. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls + * to this function are required. + * - `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 polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1105,18 +1155,20 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * 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 poll was cancelled, because the voter lost the poll or because the conviction period is over. + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the poll was cancelled, because the voter lost the poll 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 poll `index`. + * - `target`: The account of the vote to be removed; this account must have voted for poll + * `index`. * - `index`: The index of poll of the vote to be removed. * - `class`: The class of the poll. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -1129,33 +1181,33 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If: - * - * - The poll was cancelled, or - * - The poll is ongoing, or - * - The poll 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. + * - the poll was cancelled, or + * - the poll is ongoing, or + * - the poll 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 poll 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). + * - 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 poll `index`. * * - `index`: The index of poll of the vote to be removed. - * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which - * have finished or are cancelled, this must be `Some`. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls + * which have finished or are cancelled, this must be `Some`. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -1166,25 +1218,26 @@ declare module "@polkadot/api-base/types/submittable" { /** * Undelegate the voting power of the sending account for a particular class of polls. * - * Tokens may be unlocked following once an amount of time consistent with the lock period of - * the conviction with which the delegation was issued has passed. + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued has passed. * - * The dispatch origin of this call must be _Signed_ and the signing account must be currently - * delegating. + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. * * - `class`: The class of polls to remove the delegation from. * * Emits `Undelegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; /** - * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * Remove the lock caused by prior voting/delegating which has expired within a particular + * class. * * The dispatch origin of this call must be _Signed_. * @@ -1192,7 +1245,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `target`: The account to remove the lock on. * * Weight: `O(R)` with R number of vote of target. - */ + **/ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1201,8 +1254,8 @@ declare module "@polkadot/api-base/types/submittable" { [u16, AccountId20] >; /** - * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a - * vote to keep the status quo. + * Vote in a poll. 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_. * @@ -1210,7 +1263,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `vote`: The vote configuration. * * Weight: `O(R)` where R is the number of polls the voter has voted on. - */ + **/ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -1224,16 +1277,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, PalletConvictionVotingVoteAccountVote] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { /** * Associate a native rewards_destination identity with a crowdloan contribution. * - * The caller needs to provide the unassociated relay account and a proof to succeed with the - * association The proof is nothing but a signature over the reward_address using the relay keys - */ + * The caller needs to provide the unassociated relay account and a proof to succeed + * with the association + * The proof is nothing but a signature over the reward_address using the relay keys + **/ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1251,10 +1307,10 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change reward account by submitting proofs from relay accounts * - * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The - * account to be changed needs to be submitted as 'previous_account' Origin must be - * RewardAddressChangeOrigin - */ + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' + * The account to be changed needs to be submitted as 'previous_account' + * Origin must be RewardAddressChangeOrigin + **/ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1275,22 +1331,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** Collect whatever portion of your reward are currently vested. */ + /** + * Collect whatever portion of your reward are currently vested. + **/ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * This extrinsic completes the initialization if some checks are fullfiled. These checks are: - * -The reward contribution money matches the crowdloan pot -The end vesting block is higher - * than the init vesting block -The initialization has not complete yet - */ + * -The reward contribution money matches the crowdloan pot + * -The end vesting block is higher than the init vesting block + * -The initialization has not complete yet + **/ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Initialize the reward distribution storage. It shortcuts whenever an error is found This - * does not enforce any checks other than making sure we dont go over funds + * Initialize the reward distribution storage. It shortcuts whenever an error is found + * This does not enforce any checks other than making sure we dont go over funds * complete_initialization should perform any additional - */ + **/ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -1303,27 +1362,39 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** Update reward address, proving that the caller owns the current native key */ + /** + * Update reward address, proving that the caller owns the current native key + **/ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; emergencyParaXcm: { - /** Authorize a runtime upgrade. Only callable in `Paused` mode */ + /** + * Authorize a runtime upgrade. Only callable in `Paused` mode + **/ fastAuthorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Resume `Normal` mode */ + /** + * Resume `Normal` mode + **/ pausedToNormal: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** Transact an Ethereum transaction. */ + /** + * Transact an Ethereum transaction. + **/ transact: AugmentedSubmittable< ( transaction: @@ -1336,15 +1407,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [EthereumTransactionTransactionV2] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { /** * Xcm Transact an Ethereum transaction, but allow to force the caller and create address. - * This call should be restricted (callable only by the runtime or governance). Weight: Gas - * limit plus the db reads involving the suspension and proxy checks - */ + * This call should be restricted (callable only by the runtime or governance). + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ forceTransactAs: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1362,18 +1435,18 @@ declare module "@polkadot/api-base/types/submittable" { * Resumes all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the - * suspension check - */ + * Xcm Transact an Ethereum transaction. + * Weight: Gas limit plus the db read involving the suspension check + **/ transact: AugmentedSubmittable< ( xcmTransaction: @@ -1386,9 +1459,9 @@ declare module "@polkadot/api-base/types/submittable" { [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; /** - * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads - * involving the suspension and proxy checks - */ + * Xcm Transact an Ethereum transaction through proxy. + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1401,11 +1474,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ + /** + * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. + **/ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1432,7 +1509,10 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ + /** + * Issue an EVM create operation. This is similar to a contract creation transaction in + * Ethereum. + **/ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1448,7 +1528,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** Issue an EVM create2 operation. */ + /** + * Issue an EVM create2 operation. + **/ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1475,7 +1557,9 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Withdraw balance from EVM into currency/balances pallet. */ + /** + * Withdraw balance from EVM into currency/balances pallet. + **/ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -1483,14 +1567,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evmForeignAssets: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeXcmLocation: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1502,7 +1589,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location] >; - /** Create new asset with the ForeignAssetCreator */ + /** + * Create new asset with the ForeignAssetCreator + **/ createForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1517,7 +1606,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location, u8, Bytes, Bytes] >; - /** Freeze a given foreign assetId */ + /** + * Freeze a given foreign assetId + **/ freezeForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1525,19 +1616,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, bool] >; - /** Unfreeze a given foreign assetId */ + /** + * Unfreeze a given foreign assetId + **/ unfreezeForeignAsset: AugmentedSubmittable< (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; identity: { /** * Accept a given username that an `authority` granted. The call must include the full * username, as in `username.suffix`. - */ + **/ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1550,7 +1645,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `account`: the account of the registrar. * * Emits `RegistrarAdded` if successful. - */ + **/ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1558,12 +1653,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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`. - */ + **/ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1585,7 +1680,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The authority can grant up to `allocation` usernames. To top up their allocation, they * should just issue (or request via governance) a new `add_username_authority` call. - */ + **/ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -1599,12 +1694,13 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. + * 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. - */ + **/ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1614,25 +1710,26 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * Emits `IdentityCleared` if successful. - */ + **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * 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`. + * `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. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * * Emits `IdentityKilled` if successful. - */ + **/ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1640,19 +1737,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. + * - `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 [`IdentityInformationProvider`] for that the judgement is provided. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is + * provided. * * Note: Judgements do not apply to a username. * * Emits `JudgementGiven` if successful. - */ + **/ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1675,29 +1773,29 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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). + * 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. - */ + **/ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a username that corresponds to an account with no identity. Exists when a user gets - * a username but then calls `clear_identity`. - */ + * Remove a username that corresponds to an account with no identity. Exists when a user + * gets a username but then calls `clear_identity`. + **/ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** * Remove an expired username approval. The username was approved by an authority but never - * accepted by the user and must now be beyond its expiration. The call must include the full - * username, as in `username.suffix`. - */ + * accepted by the user and must now be beyond its expiration. The call must include the + * full username, as in `username.suffix`. + **/ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1705,17 +1803,19 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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`. - */ + **/ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove `authority` from the username authorities. */ + /** + * Remove `authority` from the username authorities. + **/ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1725,7 +1825,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1745,19 +1845,21 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a judgement from a registrar. * - * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * 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. + * 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; + * Self::registrars().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. - */ + **/ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1768,12 +1870,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1784,12 +1886,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1800,12 +1902,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1816,15 +1918,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + **/ setIdentity: AugmentedSubmittable< ( info: @@ -1845,7 +1947,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** Set a given username as the primary. The username should include the suffix. */ + /** + * Set a given username as the primary. The username should include the suffix. + **/ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1853,13 +1957,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * - `subs`: The identity's (new) sub-accounts. - */ + **/ setSubs: AugmentedSubmittable< ( subs: @@ -1888,10 +1993,10 @@ declare module "@polkadot/api-base/types/submittable" { * accept them later. * * Usernames must: - * * - Only contain lowercase ASCII characters or digits. - * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. - */ + * - When combined with the suffix of the issuing authority be _less than_ the + * `MaxUsernameLength`. + **/ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1905,7 +2010,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, Option] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { @@ -1913,38 +2020,39 @@ declare module "@polkadot/api-base/types/submittable" { * Place the chain in maintenance mode * * Weight cost is: - * - * - One DB read to ensure we're not already in maintenance mode - * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event - */ + * * One DB read to ensure we're not already in maintenance mode + * * Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + **/ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Return the chain to normal operating mode * * Weight cost is: - * - * - One DB read to ensure we're in maintenance mode - * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event - */ + * * One DB read to ensure we're in maintenance mode + * * Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + **/ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { /** * Execute an overweight message. * - * Temporary processing errors will be propagated whereas permanent errors are treated as - * success condition. + * Temporary processing errors will be propagated whereas permanent errors are treated + * as success condition. * * - `origin`: Must be `Signed`. * - `message_origin`: The origin from which the message to be executed arrived. * - `page`: The page in the queue in which the message to be executed is sitting. * - `index`: The index into the queue of the message to be executed. - * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution + * of the message. * * Benchmark complexity considerations: O(index + weight_limit). - */ + **/ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1964,7 +2072,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** Remove a page which has no more messages remaining to be processed or is stale. */ + /** + * Remove a page which has no more messages remaining to be processed or is stale. + **/ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1978,7 +2088,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { @@ -2003,43 +2115,61 @@ declare module "@polkadot/api-base/types/submittable" { (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** Add a collator to orbiters program. */ + /** + * Add a collator to orbiters program. + **/ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Add an orbiter in a collator pool */ + /** + * Add an orbiter in a collator pool + **/ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove an orbiter from the caller collator pool */ + /** + * Remove an orbiter from the caller collator pool + **/ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove the caller from the specified collator pool */ + /** + * Remove the caller from the specified collator pool + **/ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Registering as an orbiter */ + /** + * Registering as an orbiter + **/ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Deregistering from orbiters */ + /** + * Deregistering from orbiters + **/ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Remove a collator from orbiters program. */ + /** + * Remove a collator from orbiters program. + **/ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; multisig: { @@ -2047,34 +2177,34 @@ declare module "@polkadot/api-base/types/submittable" { * Register approval for a dispatch to be made from a deterministic composite account if * approved by a total of `threshold - 1` of `other_signatories`. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call_hash`: The hash of the call to be executed. * * NOTE: If this is the final approval, you will want to use `as_multi` instead. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2101,41 +2231,41 @@ declare module "@polkadot/api-base/types/submittable" { * * If there are enough, then dispatch the call. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call`: The call to be executed. * - * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` - * instead, since it only requires a hash of the call. + * NOTE: Unless this is the final approval, you will generally want to use + * `approve_as_multi` instead, since it only requires a hash of the call. * - * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on - * success, result is `Ok` and the result from the interior call, if it was executed, may be - * found in the deposited `MultisigExecuted` event. + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise + * on success, result is `Ok` and the result from the interior call, if it was executed, + * may be found in the deposited `MultisigExecuted` event. * * ## Complexity - * * - `O(S + Z + Call)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. * - The weight of the `call`. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2162,15 +2292,14 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * - `other_signatories`: The accounts (other than the sender) who are part of the - * multi-signature, but do not participate in the approval process. + * multi-signature, but do not participate in the approval process. * - `call`: The call to be executed. * * Result is equivalent to the dispatched result. * * ## Complexity - * * O(Z + C) where Z is the length of the call and C its execution weight. - */ + **/ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -2179,29 +2308,28 @@ declare module "@polkadot/api-base/types/submittable" { [Vec, Call] >; /** - * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for - * this operation will be unreserved on success. + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously + * for this operation will be unreserved on success. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. * - `timepoint`: The timepoint (block number and transaction index) of the first approval - * transaction for this dispatch. + * transaction for this dispatch. * - `call_hash`: The hash of the call to be executed. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - One event. * - I/O: 1 read `O(S)`, one remove. * - Storage: removes one item. - */ + **/ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2211,7 +2339,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, PalletMultisigTimepoint, U8aFixed] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { @@ -2220,27 +2350,27 @@ declare module "@polkadot/api-base/types/submittable" { * * 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 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 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. + * 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. + * + `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) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2255,18 +2385,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * 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. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2277,12 +2406,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2295,18 +2423,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `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: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2320,27 +2447,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `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. + * - `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. + * 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. + * 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) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2354,13 +2481,12 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. - * + * 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) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2369,37 +2495,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** Cancel pending request to adjust the collator candidate self bond */ + /** + * Cancel pending request to adjust the collator candidate self bond + **/ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Cancel request to change an existing delegation. */ + /** + * Cancel request to change an existing delegation. + **/ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; /** * Cancel open request to leave candidates - * - * - Only callable by collator account - * - Result upon successful call is the candidate is active in the candidate pool - */ + * - only callable by collator account + * - result upon successful call is the candidate is active in the candidate pool + **/ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Increase collator candidate self bond by `more` */ + /** + * Increase collator candidate self bond by `more` + **/ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** - * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, - * then join the set of delegators If caller is a delegator, then makes delegation to change - * their delegation state - */ + * DEPRECATED use delegateWithAutoCompound + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + **/ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2410,10 +2543,10 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128, u32, u32] >; /** - * If caller is not a delegator and not a collator, then join the set of delegators If caller - * is a delegator, then makes delegation to change their delegation state Sets the - * auto-compound config for the delegation - */ + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + * Sets the auto-compound config for the delegation + **/ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2425,7 +2558,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** Bond more for delegators wrt a specific collator candidate. */ + /** + * Bond more for delegators wrt a specific collator candidate. + **/ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2433,17 +2568,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** Enable/Disable marking offline feature */ + /** + * Enable/Disable marking offline feature + **/ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** Execute pending request to adjust the collator candidate self bond */ + /** + * Execute pending request to adjust the collator candidate self bond + **/ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Execute pending request to change an existing delegation */ + /** + * Execute pending request to change an existing delegation + **/ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -2451,7 +2592,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** Execute leave candidates request */ + /** + * Execute leave candidates request + **/ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2459,7 +2602,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** Force join the set of collator candidates. It will skip the minimum required bond check. */ + /** + * Force join the set of collator candidates. + * It will skip the minimum required bond check. + **/ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -2468,18 +2614,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** Temporarily leave the set of collator candidates without unbonding */ + /** + * Temporarily leave the set of collator candidates without unbonding + **/ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Rejoin the set of collator candidates if previously had called `go_offline` */ + /** + * Rejoin the set of collator candidates if previously had called `go_offline` + **/ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Hotfix to remove existing empty entries for candidates that have left. */ + /** + * Hotfix to remove existing empty entries for candidates that have left. + **/ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Join the set of collator candidates */ + /** + * Join the set of collator candidates + **/ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -2487,27 +2641,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Notify a collator is inactive during MaxOfflineRounds */ + /** + * Notify a collator is inactive during MaxOfflineRounds + **/ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** REMOVED, was schedule_leave_delegators */ + /** + * REMOVED, was schedule_leave_delegators + **/ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was execute_leave_delegators */ + /** + * REMOVED, was execute_leave_delegators + **/ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was cancel_leave_delegators */ + /** + * REMOVED, was cancel_leave_delegators + **/ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Request by collator candidate to decrease self bond by `less` */ + /** + * Request by collator candidate to decrease self bond by `less` + **/ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** * Request bond less for delegators wrt a specific collator candidate. The delegation's - * rewards for rounds while the request is pending use the reduced bonded amount. A bond less - * may not be performed if any other scheduled request is pending. - */ + * rewards for rounds while the request is pending use the reduced bonded amount. + * A bond less may not be performed if any other scheduled request is pending. + **/ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2516,24 +2680,26 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128] >; /** - * Request to leave the set of candidates. If successful, the account is immediately removed - * from the candidate pool to prevent selection as a collator. - */ + * Request to leave the set of candidates. If successful, the account is immediately + * removed from the candidate pool to prevent selection as a collator. + **/ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Request to revoke an existing delegation. If successful, the delegation is scheduled to be - * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation - * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed - * if any other scheduled request is pending. - */ + * Request to revoke an existing delegation. If successful, the delegation is scheduled + * to be allowed to be revoked via the `execute_delegation_request` extrinsic. + * The delegation receives no rewards for the rounds while a revoke is pending. + * A revoke may not be performed if any other scheduled request is pending. + **/ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Sets the auto-compounding reward percentage for a delegation. */ + /** + * Sets the auto-compounding reward percentage for a delegation. + **/ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2545,20 +2711,24 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set blocks per round - * - * - If called with `new` less than length of current round, will transition immediately in the next block - * - Also updates per-round inflation config - */ + * - if called with `new` less than length of current round, will transition immediately + * in the next block + * - also updates per-round inflation config + **/ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Set the commission for all collators */ + /** + * Set the commission for all collators + **/ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** Set the annual inflation rate to derive per-round inflation */ + /** + * Set the annual inflation rate to derive per-round inflation + **/ setInflation: AugmentedSubmittable< ( schedule: @@ -2579,7 +2749,9 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** Set the inflation distribution configuration. */ + /** + * Set the inflation distribution configuration. + **/ setInflationDistributionConfig: AugmentedSubmittable< ( updated: PalletParachainStakingInflationDistributionConfig @@ -2590,7 +2762,7 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the account that will hold funds set aside for parachain bond - */ + **/ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -2599,15 +2771,15 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the percent of inflation set aside for parachain bond - */ + **/ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; /** - * Set the expectations for total staked. These expectations determine the issuance for the - * round according to logic in `fn compute_issuance` - */ + * Set the expectations for total staked. These expectations determine the issuance for + * the round according to logic in `fn compute_issuance` + **/ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -2630,26 +2802,28 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set the total number of collator candidates selected per round - * - * - Changes are not applied until the start of the next round - */ + * - changes are not applied until the start of the next round + **/ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * 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. + * 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. - */ + **/ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -2660,14 +2834,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + **/ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -2675,14 +2849,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. + **/ setValidationData: AugmentedSubmittable< ( data: @@ -2702,7 +2876,9 @@ declare module "@polkadot/api-base/types/submittable" { (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parameters: { @@ -2711,7 +2887,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be * deleted by setting them to `None`. - */ + **/ setParameter: AugmentedSubmittable< ( keyValue: @@ -2723,7 +2899,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbaseRuntimeRuntimeParamsRuntimeParameters] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { @@ -2731,10 +2909,10 @@ declare module "@polkadot/api-base/types/submittable" { * Claims assets trapped on this pallet because of leftover assets during XCM execution. * * - `origin`: Anyone can call this extrinsic. - * - `assets`: The exact assets that were trapped. Use the version to specify what version was - * the latest when they were trapped. + * - `assets`: The exact assets that were trapped. Use the version to specify what version + * was the latest when they were trapped. * - `beneficiary`: The location/account where the claimed assets will be deposited. - */ + **/ claimAssets: AugmentedSubmittable< ( assets: @@ -2757,12 +2935,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Execute an XCM message from a local, signed, origin. * - * An event is deposited indicating whether `msg` could be executed completely or only partially. + * 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. - */ + * 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. + **/ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2780,7 +2959,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. - */ + **/ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber @@ -2792,7 +2971,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we should subscribe for XCM version notifications. - */ + **/ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2810,18 +2989,19 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `suspended`: `true` to suspend, `false` to resume. - */ + **/ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; /** - * Require that a particular destination should no longer notify us regarding any XCM version changes. + * 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. - */ + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2835,12 +3015,13 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation] >; /** - * Extoll that a particular destination can be communicated with through a particular version of XCM. + * 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: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -2853,30 +3034,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * - * 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 sent assets may be at risk. + * 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 sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `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: @@ -2913,20 +3097,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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 sent assets may be at risk. + * 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 sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `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: @@ -2965,31 +3152,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** * - * 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. + * 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 `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -3035,19 +3224,21 @@ declare module "@polkadot/api-base/types/submittable" { * * **This function is deprecated: Use `limited_teleport_assets` instead.** * - * 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. + * 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 `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ teleportAssets: AugmentedSubmittable< ( dest: @@ -3079,33 +3270,37 @@ declare module "@polkadot/api-base/types/submittable" { * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve, or through teleports. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item` (hence referred to as `fees`), 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 - * sent assets may be at risk. - * - * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to - * `dest`, no limitations imposed on `fees`. - * - * - For local reserve: transfer assets to sovereign account of destination chain and forward a - * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - For destination reserve: burn local assets and forward a notification to `dest` chain to - * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. - * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from - * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and - * deposit reserve-based assets to `beneficiary`. - * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets - * and deposit them to `beneficiary`. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item` (hence referred to as `fees`), 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 sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable + * to `dest`, no limitations imposed on `fees`. + * - for local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to + * `beneficiary`. + * - for destination reserve: burn local assets and forward a notification to `dest` chain + * to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves + * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint + * and deposit reserve-based assets to `beneficiary`. + * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport + * assets and deposit them to `beneficiary`. + * * - `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. + * - `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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `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. - */ + **/ transferAssets: AugmentedSubmittable< ( dest: @@ -3140,53 +3335,55 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; /** - * Transfer assets from the local chain to the destination chain using explicit transfer types - * for assets and fees. + * Transfer assets from the local chain to the destination chain using explicit transfer + * types for assets and fees. * * `assets` must have same reserve location or may be teleportable to `dest`. Caller must * provide the `assets_transfer_type` to be used for `assets`: - * - * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. - * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain - * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to - * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote - * `reserve` is Asset Hub. + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` + * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another + * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically + * the remote `reserve` is Asset Hub. * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to - * mint/teleport assets and deposit them to `beneficiary`. + * mint/teleport assets and deposit them to `beneficiary`. * - * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy - * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of - * the specified `remote_fees_id` asset is included in the given list of `assets`. - * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than - * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to + * buy execution using transferred `assets` identified by `remote_fees_id`. + * Make sure enough of the specified `remote_fees_id` asset is included in the given list + * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * - * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified - * through `fees_transfer_type`. + * `remote_fees_id` may use different transfer type than rest of `assets` and can be + * specified through `fees_transfer_type`. * * The caller needs to specify what should happen to the transferred assets once they reach - * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains - * the instructions to execute on `dest` as a final step. This is usually as simple as: - * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but - * could be something more exotic like sending the `assets` even further. + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which + * contains the instructions to execute on `dest` as a final step. + * This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, + * but could be something more exotic like sending the `assets` even further. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, - * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to - * another ecosystem destination. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from + * parachain across a bridge to another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. * - `remote_fees_id`: One of the included `assets` to be used to pay fees. * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the - * transfer, which also determines what happens to the assets on the destination chain. + * transfer, which also determines what happens to the assets on the destination chain. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssetsUsingTypeAndThen: AugmentedSubmittable< ( dest: @@ -3244,7 +3441,9 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; preimage: { @@ -3252,7 +3451,7 @@ declare module "@polkadot/api-base/types/submittable" { * Ensure that the a bulk of pre-images is upgraded. * * The caller pays no fee if at least 90% of pre-images were successfully updated. - */ + **/ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3260,9 +3459,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * 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. + **/ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3270,9 +3469,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * 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. + **/ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3284,7 +3483,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `hash`: The hash of the preimage to be removed from the store. * - `len`: The length of the preimage of `hash`. - */ + **/ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3293,12 +3492,14 @@ declare module "@polkadot/api-base/types/submittable" { * Clear a previously made request for a preimage. * * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. - */ + **/ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; proxy: { @@ -3308,11 +3509,11 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to make a proxy. * - `proxy_type`: The permissions allowed for this proxy account. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. - */ + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + **/ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3335,8 +3536,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Publish the hash of a proxy-call that will be made in the future. * - * This must be called some number of blocks before the corresponding `proxy` is attempted if - * the delay associated with the proxy relationship is greater than zero. + * This must be called some number of blocks before the corresponding `proxy` is attempted + * if the delay associated with the proxy relationship is greater than zero. * * No more than `MaxPending` announcements may be made at any one time. * @@ -3346,10 +3547,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_ and a proxy of `real`. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3358,24 +3558,25 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, H256] >; /** - * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize - * it with a proxy of `proxy_type` for `origin` sender. + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and + * initialize it with a proxy of `proxy_type` for `origin` sender. * * Requires a `Signed` origin. * - * - `proxy_type`: The type of the proxy that the sender will be registered as over the new - * account. This will almost always be the most permissive `ProxyType` possible to allow for - * maximum flexibility. + * - `proxy_type`: The type of the proxy that the sender will be registered as over the + * new account. This will almost always be the most permissive `ProxyType` possible to + * allow for maximum flexibility. * - `index`: A disambiguation index, in case this is called multiple times in the same - * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just - * want to use `0`. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. * - * Fails with `Duplicate` if this has already been called in this transaction, from the same - * sender, with the same parameters. + * Fails with `Duplicate` if this has already been called in this transaction, from the + * same sender, with the same parameters. * * Fails if there are insufficient funds to pay for deposit. - */ + **/ createPure: AugmentedSubmittable< ( proxyType: @@ -3398,7 +3599,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Removes a previously spawned pure proxy. * - * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * WARNING: **All access to this account will be lost.** Any funds held in it will be + * inaccessible. * * Requires a `Signed` origin, and the sender account must have been created by a call to * `pure` with corresponding parameters. @@ -3409,9 +3611,9 @@ declare module "@polkadot/api-base/types/submittable" { * - `height`: The height of the chain when the call to `pure` was processed. * - `ext_index`: The extrinsic index in which the call to `pure` was processed. * - * Fails with `NoPermission` in case the caller is not a previously created pure account whose - * `pure` call has corresponding parameters. - */ + * Fails with `NoPermission` in case the caller is not a previously created pure + * account whose `pure` call has corresponding parameters. + **/ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -3434,16 +3636,16 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, MoonbaseRuntimeProxyType, u16, Compact, Compact] >; /** - * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorised for through + * `add_proxy`. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3466,18 +3668,18 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Option, Call] >; /** - * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. * * Removes any corresponding announcement(s). * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3509,10 +3711,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `delegate`: The account that previously announced the call. * - `call_hash`: The hash of the call to be made. - */ + **/ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3523,15 +3724,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove a given announcement. * - * May be called by a proxy account to remove a call they previously announced and return the deposit. + * May be called by a proxy account to remove a call they previously announced and return + * the deposit. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3544,9 +3745,9 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_. * - * WARNING: This may be called on accounts created by `pure`, however if done, then the - * unreserved fees will be inaccessible. **All access to this account will be lost.** - */ + * WARNING: This may be called on accounts created by `pure`, however if done, then + * the unreserved fees will be inaccessible. **All access to this account will be lost.** + **/ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Unregister a proxy account for the sender. @@ -3554,10 +3755,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to remove as a proxy. * - `proxy_type`: The permissions currently enabled for the removed proxy account. - */ + **/ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3577,13 +3777,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonbaseRuntimeProxyType, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ + /** + * Populates `RandomnessResults` due this epoch with BABE epoch randomness + **/ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; referenda: { @@ -3594,7 +3800,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Cancelled`. - */ + **/ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3606,7 +3812,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Killed` and `DepositSlashed`. - */ + **/ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3616,7 +3822,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: must be `Root`. * - `index`: the referendum to be advanced. - */ + **/ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3629,10 +3835,9 @@ declare module "@polkadot/api-base/types/submittable" { * * 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`. - */ + * - begin deciding another referendum (and leave `DecidingCount` alone); or + * - decrement `DecidingCount`. + **/ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] @@ -3640,12 +3845,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * - `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`. - */ + **/ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3654,10 +3860,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been + * refunded. * * Emits `DecisionDepositRefunded`. - */ + **/ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3666,10 +3873,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been + * refunded. * * Emits `SubmissionDepositRefunded`. - */ + **/ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3678,12 +3886,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `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. - */ + **/ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -3694,13 +3901,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Propose a referendum on a privileged action. * - * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `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`. - */ + **/ submit: AugmentedSubmittable< ( proposalOrigin: @@ -3736,21 +3944,29 @@ declare module "@polkadot/api-base/types/submittable" { FrameSupportScheduleDispatchTime ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** A dispatch that will fill the block weight up to the given ratio. */ + /** + * A dispatch that will fill the block weight up to the given ratio. + **/ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** Cancel an anonymously scheduled task. */ + /** + * Cancel an anonymously scheduled task. + **/ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3758,24 +3974,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** Cancel a named scheduled task. */ + /** + * Cancel a named scheduled task. + **/ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Removes the retry configuration of a task. */ + /** + * Removes the retry configuration of a task. + **/ cancelRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] ) => SubmittableExtrinsic, [ITuple<[u32, u32]>] >; - /** Cancel the retry configuration of a named task. */ + /** + * Cancel the retry configuration of a named task. + **/ cancelRetryNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Anonymously schedule a task. */ + /** + * Anonymously schedule a task. + **/ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3790,7 +4014,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Anonymously schedule a task after a delay. */ + /** + * Anonymously schedule a task after a delay. + **/ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -3805,7 +4031,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Schedule a named task. */ + /** + * Schedule a named task. + **/ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3821,7 +4049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** Schedule a named task after a delay. */ + /** + * Schedule a named task after a delay. + **/ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3838,17 +4068,19 @@ declare module "@polkadot/api-base/types/submittable" { [U8aFixed, u32, Option>, u8, Call] >; /** - * Set a retry configuration for a task so that, in case its scheduled run fails, it will be - * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * Set a retry configuration for a task so that, in case its scheduled run fails, it will + * be retried after `period` blocks, for a total amount of `retries` retries or until it + * succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], @@ -3859,16 +4091,18 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set a retry configuration for a named task so that, in case its scheduled run fails, it - * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * will be retried after `period` blocks, for a total amount of `retries` retries or until + * it succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetryNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3877,7 +4111,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u8, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; sudo: { @@ -3885,23 +4121,29 @@ declare module "@polkadot/api-base/types/submittable" { * Permanently removes the sudo key. * * **This cannot be un-done.** - */ + **/ removeKey: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo key. */ + /** + * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo + * key. + **/ setKey: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Authenticates the sudo key and dispatches a function call with `Root` origin. */ + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. + **/ 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. + * 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_. - */ + **/ sudoAs: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -3910,12 +4152,12 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, 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. + * 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_. - */ + **/ sudoUncheckedWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -3923,43 +4165,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; system: { /** * 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. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * - * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the - * new `code` in the same block or attempt to schedule the upgrade. + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply + * the new `code` in the same block or attempt to schedule the upgrade. * * All origins are allowed. - */ + **/ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * WARNING: This authorizes an upgrade that will take place without any safety checks, for * example that the spec name remains the same and that the version number increases. Not * recommended for normal use. Use `authorize_upgrade` instead. * * This call requires Root origin. - */ + **/ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3967,9 +4213,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * **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. + **/ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -3977,7 +4223,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** Kill some items from storage. */ + /** + * Kill some items from storage. + **/ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3986,17 +4234,21 @@ declare module "@polkadot/api-base/types/submittable" { * Make some on-chain remark. * * Can be executed by every `origin`. - */ + **/ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Make some on-chain remark and emit event. */ + /** + * Make some on-chain remark and emit event. + **/ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the new runtime code. */ + /** + * Set the new runtime code. + **/ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -4004,18 +4256,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the new runtime code without doing any checks of the given `code`. * - * Note that runtime upgrades will not run if this is called with a not-increasing spec version! - */ + * Note that runtime upgrades will not run if this is called with a not-increasing spec + * version! + **/ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the number of pages in the WebAssembly environment's heap. */ + /** + * Set the number of pages in the WebAssembly environment's heap. + **/ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** Set some items of storage. */ + /** + * Set some items of storage. + **/ setStorage: AugmentedSubmittable< ( items: @@ -4024,7 +4281,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; timestamp: { @@ -4039,21 +4298,23 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _None_. * - * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that - * changing the complexity of this call could result exhausting the resources in a block to - * execute any other calls. + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware + * that changing the complexity of this call could result exhausting the resources in a + * block to execute any other calls. * * ## 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 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)`. - */ + **/ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasury: { @@ -4066,19 +4327,18 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Details * - * The status check is a prerequisite for retrying a failed payout. If a spend has either - * succeeded or expired, it is removed from the storage by this function. In such instances, - * transaction fees are refunded. + * The status check is a prerequisite for retrying a failed payout. + * If a spend has either succeeded or expired, it is removed from the storage by this + * function. In such instances, transaction fees are refunded. * * ### Parameters - * * - `index`: The spend index. * * ## Events * - * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits - * [`Event::SpendProcessed`] if the spend payout has succeed. - */ + * Emits [`Event::PaymentFailed`] if the spend payout has failed. + * Emits [`Event::SpendProcessed`] if the spend payout has succeed. + **/ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4093,18 +4353,17 @@ declare module "@polkadot/api-base/types/submittable" { * ## Details * * Spends must be claimed within some temporal bounds. A spend may be claimed within one - * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the - * spend status must be updated with the `check_status` dispatchable before retrying with the - * current function. + * [`Config::PayoutPeriod`] from the `valid_from` block. + * In case of a payout failure, the spend status must be updated with the `check_status` + * dispatchable before retrying with the current function. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::Paid`] if successful. - */ + **/ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4121,19 +4380,17 @@ declare module "@polkadot/api-base/types/submittable" { * The original deposit will no longer be returned. * * ### Parameters - * * - `proposal_id`: The index of a proposal * * ### Complexity - * * - O(A) where `A` is the number of approvals * * ### Errors - * - * - [`Error::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. - */ + * - [`Error::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. + **/ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -4143,9 +4400,9 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Dispatch Origin * - * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of - * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion - * using the [`Config::BalanceConverter`]. + * Must be [`Config::SpendOrigin`] with the `Success` value being at least + * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted + * for assertion using the [`Config::BalanceConverter`]. * * ## Details * @@ -4154,18 +4411,18 @@ declare module "@polkadot/api-base/types/submittable" { * the [`Config::PayoutPeriod`]. * * ### Parameters - * * - `asset_kind`: An indicator of the specific asset class to be spent. * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The beneficiary of the spend. - * - `valid_from`: The block number from which the spend can be claimed. It can refer to the - * past if the resulting spend has not yet expired according to the - * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to + * the past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after + * approval. * * ## Events * * Emits [`Event::AssetSpendApproved`] if successful. - */ + **/ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -4183,18 +4440,17 @@ declare module "@polkadot/api-base/types/submittable" { * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. * * ### Details - * - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. * * ### Parameters - * * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The destination account for the transfer. * * ## Events * * Emits [`Event::SpendApproved`] if successful. - */ + **/ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -4214,18 +4470,19 @@ declare module "@polkadot/api-base/types/submittable" { * A spend void is only possible if the payout has not been attempted yet. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::AssetSpendVoided`] if successful. - */ + **/ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { @@ -4234,27 +4491,27 @@ declare module "@polkadot/api-base/types/submittable" { * * 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 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 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. + * 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. + * + `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) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -4269,18 +4526,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * 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. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -4291,12 +4547,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -4309,18 +4564,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `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: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -4334,27 +4588,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `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. + * - `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. + * 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. + * 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) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -4368,13 +4622,12 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. - * + * 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) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -4383,25 +4636,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; utility: { /** * Send a call through an indexed pseudonym of the sender. * - * Filter from origin are passed along. The call will be dispatched with an origin which use - * the same filter as the origin of this call. + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. * - * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because - * you expect `proxy` to have been used prior in the call stack and you do not want the call - * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig - * pallet instead. + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. * * NOTE: Prior to version *12, this was called `as_limited_sub`. * * The dispatch origin for this call must be _Signed_. - */ + **/ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -4415,20 +4670,20 @@ declare module "@polkadot/api-base/types/submittable" { * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. * - * This will return `Ok` in all circumstances. To determine the success of the batch, an event - * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` - * event is deposited, along with the number of successful calls made and the error of the - * failed call. If all were successful, then the `BatchCompleted` event is deposited. - */ + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. + **/ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4436,21 +4691,20 @@ declare module "@polkadot/api-base/types/submittable" { [Vec] >; /** - * Send a batch of dispatch calls and atomically execute them. The whole transaction will - * rollback and fail if any of the calls failed. + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4463,9 +4717,8 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Root_. * * ## Complexity - * * - O(1). - */ + **/ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -4486,20 +4739,20 @@ declare module "@polkadot/api-base/types/submittable" { [MoonbaseRuntimeOriginCaller, Call] >; /** - * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatch without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4509,11 +4762,11 @@ declare module "@polkadot/api-base/types/submittable" { /** * Dispatch a function call with a specified weight. * - * This function does not check the weight of the call, and instead allows the Root origin to - * specify the weight of the call. + * This function does not check the weight of the call, and instead allows the + * Root origin to specify the weight of the call. * * The dispatch origin for this call must be _Root_. - */ + **/ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -4521,7 +4774,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; whitelist: { @@ -4549,7 +4804,9 @@ declare module "@polkadot/api-base/types/submittable" { (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmpQueue: { @@ -4559,60 +4816,64 @@ declare module "@polkadot/api-base/types/submittable" { * Note that this function doesn't change the status of the in/out bound channels. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Overwrites the number of pages which must be in the queue after which we drop any further - * messages from the channel. + * Overwrites the number of pages 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` - */ + **/ updateDropThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Overwrites the number of pages which the queue must be reduced to before it signals that - * message sending may recommence after it has been suspended. + * Overwrites the number of pages 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` - */ + **/ updateResumeThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Overwrites the number of pages which must be in the queue for the other side to be told to - * suspend their sending. + * Overwrites the number of pages 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` - */ + **/ updateSuspendThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { /** * De-Register a derivative index. This prevents an account to use a derivative address * (represented by an index) from our of our sovereign accounts anymore - */ + **/ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** Manage HRMP operations */ + /** + * Manage HRMP operations + **/ hrmpManage: AugmentedSubmittable< ( action: @@ -4641,14 +4902,15 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * Register a derivative index for an account id. Dispatchable by + * DerivativeAddressRegistrationOrigin * - * We do not store the derivative address, but only the index. We do not need to store the - * derivative address to issue calls, only the index is enough + * We do not store the derivative address, but only the index. We do not need to store + * the derivative address to issue calls, only the index is enough * - * For now an index is registered for all possible destinations and not per-destination. We - * can change this in the future although it would just make things more complicated - */ + * For now an index is registered for all possible destinations and not per-destination. + * We can change this in the future although it would just make things more complicated + **/ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -4656,7 +4918,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** Remove the fee per second of an asset on its reserve chain */ + /** + * Remove the fee per second of an asset on its reserve chain + **/ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4669,7 +4933,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Remove the transact info of a location */ + /** + * Remove the transact info of a location + **/ removeTransactInfo: AugmentedSubmittable< ( location: @@ -4682,7 +4948,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Set the fee per second of an asset on its reserve chain */ + /** + * Set the fee per second of an asset on its reserve chain + **/ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4696,7 +4964,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** Change the transact info of a location */ + /** + * Change the transact info of a location + **/ setTransactInfo: AugmentedSubmittable< ( location: @@ -4732,12 +5002,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the inner call through a derivative account in a destination chain, using - * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * Transact the inner call through a derivative account in a destination chain, + * using 'fee_location' to pay for the fees. This fee_location is given as a multilocation * - * The caller needs to have the index registered in this pallet. The fee multiasset needs to - * be a reserve asset for the destination transactor::multilocation. - */ + * The caller needs to have the index registered in this pallet. The fee multiasset needs + * to be a reserve asset for the destination transactor::multilocation. + **/ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonbaseRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -4765,12 +5035,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the a signed origin in this chain that should be converted to a - * transaction dispatch account in the destination chain by any method implemented in the - * destination chains runtime + * Transact the call through the a signed origin in this chain + * that should be converted to a transaction dispatch account in the destination chain + * by any method implemented in the destination chains runtime * * This time we are giving the currency as a currencyId instead of multilocation - */ + **/ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -4802,10 +5072,11 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * Transact the call through the sovereign account in a destination chain, + * 'fee_payer' pays for the fee * * SovereignAccountDispatcherOrigin callable only - */ + **/ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -4847,7 +5118,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmWeightTrader: { @@ -4883,7 +5156,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; } // AugmentedSubmittables diff --git a/typescript-api/src/moonbase/interfaces/augment-types.ts b/typescript-api/src/moonbase/interfaces/augment-types.ts index 78a1a1dfc4..69009fb9c5 100644 --- a/typescript-api/src/moonbase/interfaces/augment-types.ts +++ b/typescript-api/src/moonbase/interfaces/augment-types.ts @@ -48,7 +48,7 @@ import type { u32, u64, u8, - usize, + usize } from "@polkadot/types-codec"; import type { TAssetConversion } from "@polkadot/types/interfaces/assetConversion"; import type { @@ -59,12 +59,12 @@ import type { AssetDetails, AssetMetadata, TAssetBalance, - TAssetDepositBalance, + TAssetDepositBalance } from "@polkadot/types/interfaces/assets"; import type { BlockAttestations, IncludedBlocks, - MoreAttestations, + MoreAttestations } from "@polkadot/types/interfaces/attestations"; import type { RawAuraPreDigest } from "@polkadot/types/interfaces/aura"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -97,7 +97,7 @@ import type { SlotNumber, VrfData, VrfOutput, - VrfProof, + VrfProof } from "@polkadot/types/interfaces/babe"; import type { AccountData, @@ -108,7 +108,7 @@ import type { ReserveData, ReserveIdentifier, VestingSchedule, - WithdrawReasons, + WithdrawReasons } from "@polkadot/types/interfaces/balances"; import type { BeefyAuthoritySet, @@ -124,7 +124,7 @@ import type { BeefyVoteMessage, MmrRootHash, ValidatorSet, - ValidatorSetId, + ValidatorSetId } from "@polkadot/types/interfaces/beefy"; import type { BenchmarkBatch, @@ -132,12 +132,12 @@ import type { BenchmarkList, BenchmarkMetadata, BenchmarkParameter, - BenchmarkResult, + BenchmarkResult } from "@polkadot/types/interfaces/benchmark"; import type { CheckInherentsResult, InherentData, - InherentIdentifier, + InherentIdentifier } from "@polkadot/types/interfaces/blockbuilder"; import type { BridgeMessageId, @@ -164,7 +164,7 @@ import type { Parameter, RelayerId, UnrewardedRelayer, - UnrewardedRelayersState, + UnrewardedRelayersState } from "@polkadot/types/interfaces/bridges"; import type { BlockHash } from "@polkadot/types/interfaces/chain"; import type { PrefixedStorageKey } from "@polkadot/types/interfaces/childstate"; @@ -174,7 +174,7 @@ import type { MemberCount, ProposalIndex, Votes, - VotesTo230, + VotesTo230 } from "@polkadot/types/interfaces/collective"; import type { AuthorityId, RawVRFOutput } from "@polkadot/types/interfaces/consensus"; import type { @@ -225,7 +225,7 @@ import type { SeedOf, StorageDeposit, TombstoneContractInfo, - TrieId, + TrieId } from "@polkadot/types/interfaces/contracts"; import type { ContractConstructorSpecLatest, @@ -283,13 +283,13 @@ import type { ContractProjectV0, ContractSelector, ContractStorageLayout, - ContractTypeSpec, + ContractTypeSpec } from "@polkadot/types/interfaces/contractsAbi"; import type { FundIndex, FundInfo, LastContribution, - TrieIndex, + TrieIndex } from "@polkadot/types/interfaces/crowdloan"; import type { CollationInfo, @@ -298,7 +298,7 @@ import type { MessageId, OverweightIndex, PageCounter, - PageIndexData, + PageIndexData } from "@polkadot/types/interfaces/cumulus"; import type { AccountVote, @@ -321,7 +321,7 @@ import type { Voting, VotingDelegating, VotingDirect, - VotingDirectVote, + VotingDirectVote } from "@polkadot/types/interfaces/democracy"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { @@ -329,7 +329,7 @@ import type { DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { ApprovalFlag, @@ -339,7 +339,7 @@ import type { Vote, VoteIndex, VoteThreshold, - VoterInfo, + VoterInfo } from "@polkadot/types/interfaces/elections"; import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; import type { @@ -389,7 +389,7 @@ import type { LegacyTransaction, TransactionV0, TransactionV1, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, @@ -404,7 +404,7 @@ import type { ExitFatal, ExitReason, ExitRevert, - ExitSucceed, + ExitSucceed } from "@polkadot/types/interfaces/evm"; import type { AnySignature, @@ -428,7 +428,7 @@ import type { MultiSignature, Signature, SignerPayload, - Sr25519Signature, + Sr25519Signature } from "@polkadot/types/interfaces/extrinsics"; import type { FungiblesAccessError } from "@polkadot/types/interfaces/fungibles"; import type { @@ -436,14 +436,14 @@ import type { Owner, PermissionLatest, PermissionVersions, - PermissionsV1, + PermissionsV1 } from "@polkadot/types/interfaces/genericAsset"; import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder"; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, - GiltBid, + GiltBid } from "@polkadot/types/interfaces/gilt"; import type { AuthorityIndex, @@ -477,7 +477,7 @@ import type { RoundState, SetId, StoredPendingChange, - StoredState, + StoredState } from "@polkadot/types/interfaces/grandpa"; import type { IdentityFields, @@ -489,7 +489,7 @@ import type { RegistrarInfo, Registration, RegistrationJudgement, - RegistrationTo198, + RegistrationTo198 } from "@polkadot/types/interfaces/identity"; import type { AuthIndex, @@ -498,7 +498,7 @@ import type { HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, - OpaquePeerId, + OpaquePeerId } from "@polkadot/types/interfaces/imOnline"; import type { CallIndex, LotteryConfig } from "@polkadot/types/interfaces/lottery"; import type { @@ -612,13 +612,13 @@ import type { StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, - StorageMetadataV9, + StorageMetadataV9 } from "@polkadot/types/interfaces/metadata"; import type { Mixnode, MixnodesErr, SessionPhase, - SessionStatus, + SessionStatus } from "@polkadot/types/interfaces/mixnet"; import type { MmrBatchProof, @@ -629,7 +629,7 @@ import type { MmrLeafIndex, MmrLeafProof, MmrNodeIndex, - MmrProof, + MmrProof } from "@polkadot/types/interfaces/mmr"; import type { NftCollectionId, NftItemId } from "@polkadot/types/interfaces/nfts"; import type { NpApiError, NpPoolId } from "@polkadot/types/interfaces/nompools"; @@ -641,7 +641,7 @@ import type { Offender, OpaqueTimeSlot, ReportIdOf, - Reporter, + Reporter } from "@polkadot/types/interfaces/offences"; import type { AbridgedCandidateReceipt, @@ -782,20 +782,20 @@ import type { WinnersDataTuple10, WinningData, WinningData10, - WinningDataEntry, + WinningDataEntry } from "@polkadot/types/interfaces/parachains"; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, - RuntimeDispatchInfoV2, + RuntimeDispatchInfoV2 } from "@polkadot/types/interfaces/payment"; import type { Approvals } from "@polkadot/types/interfaces/poll"; import type { ProxyAnnouncement, ProxyDefinition, - ProxyType, + ProxyType } from "@polkadot/types/interfaces/proxy"; import type { AccountStatus, AccountValidity } from "@polkadot/types/interfaces/purchase"; import type { ActiveRecovery, RecoveryConfig } from "@polkadot/types/interfaces/recovery"; @@ -901,7 +901,7 @@ import type { WeightMultiplier, WeightV0, WeightV1, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { Si0Field, @@ -949,7 +949,7 @@ import type { SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, - SiVariant, + SiVariant } from "@polkadot/types/interfaces/scaleInfo"; import type { Period, @@ -958,7 +958,7 @@ import type { SchedulePriority, Scheduled, ScheduledTo254, - TaskAddress, + TaskAddress } from "@polkadot/types/interfaces/scheduler"; import type { BeefyKey, @@ -982,7 +982,7 @@ import type { SessionKeys8B, SessionKeys9, SessionKeys9B, - ValidatorCount, + ValidatorCount } from "@polkadot/types/interfaces/session"; import type { Bid, @@ -990,7 +990,7 @@ import type { SocietyJudgement, SocietyVote, StrikeCount, - VouchingStatus, + VouchingStatus } from "@polkadot/types/interfaces/society"; import type { ActiveEraInfo, @@ -1060,7 +1060,7 @@ import type { ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, - Voter, + Voter } from "@polkadot/types/interfaces/staking"; import type { ApiId, @@ -1079,12 +1079,12 @@ import type { SpecVersion, StorageChangeSet, TraceBlockResponse, - TraceError, + TraceError } from "@polkadot/types/interfaces/state"; import type { StatementStoreInvalidStatement, StatementStoreStatementSource, - StatementStoreValidStatement, + StatementStoreValidStatement } from "@polkadot/types/interfaces/statement"; import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; import type { @@ -1151,7 +1151,7 @@ import type { TransactionValidityError, TransactionalError, UnknownTransaction, - WeightPerClass, + WeightPerClass } from "@polkadot/types/interfaces/system"; import type { Bounty, @@ -1164,13 +1164,13 @@ import type { OpenTipFinderTo225, OpenTipTip, OpenTipTo225, - TreasuryProposal, + TreasuryProposal } from "@polkadot/types/interfaces/treasury"; import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; import type { TransactionSource, TransactionValidity, - ValidTransaction, + ValidTransaction } from "@polkadot/types/interfaces/txqueue"; import type { ClassDetails, @@ -1181,7 +1181,7 @@ import type { DestroyWitness, InstanceDetails, InstanceId, - InstanceMetadata, + InstanceMetadata } from "@polkadot/types/interfaces/uniques"; import type { Multisig, Timepoint } from "@polkadot/types/interfaces/utility"; import type { VestingInfo } from "@polkadot/types/interfaces/vesting"; @@ -1319,7 +1319,7 @@ import type { XcmV3, XcmV4, XcmVersion, - XcmpMessageFormat, + XcmpMessageFormat } from "@polkadot/types/interfaces/xcm"; import type { XcmPaymentApiError } from "@polkadot/types/interfaces/xcmPaymentApi"; import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; diff --git a/typescript-api/src/moonbase/interfaces/lookup.ts b/typescript-api/src/moonbase/interfaces/lookup.ts index 2dfab64440..90f6f38905 100644 --- a/typescript-api/src/moonbase/interfaces/lookup.ts +++ b/typescript-api/src/moonbase/interfaces/lookup.ts @@ -4,37 +4,49 @@ /* eslint-disable sort-keys */ export default { - /** Lookup3: frame_system::AccountInfo> */ + /** + * Lookup3: frame_system::AccountInfo> + **/ FrameSystemAccountInfo: { nonce: "u32", consumers: "u32", providers: "u32", sufficients: "u32", - data: "PalletBalancesAccountData", + data: "PalletBalancesAccountData" }, - /** Lookup5: pallet_balances::types::AccountData */ + /** + * Lookup5: pallet_balances::types::AccountData + **/ PalletBalancesAccountData: { free: "u128", reserved: "u128", frozen: "u128", - flags: "u128", + flags: "u128" }, - /** Lookup9: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup9: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", - mandatory: "SpWeightsWeightV2Weight", + mandatory: "SpWeightsWeightV2Weight" }, - /** Lookup10: sp_weights::weight_v2::Weight */ + /** + * Lookup10: sp_weights::weight_v2::Weight + **/ SpWeightsWeightV2Weight: { refTime: "Compact", - proofSize: "Compact", + proofSize: "Compact" }, - /** Lookup16: sp_runtime::generic::digest::Digest */ + /** + * Lookup16: sp_runtime::generic::digest::Digest + **/ SpRuntimeDigest: { - logs: "Vec", + logs: "Vec" }, - /** Lookup18: sp_runtime::generic::digest::DigestItem */ + /** + * Lookup18: sp_runtime::generic::digest::DigestItem + **/ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -45,60 +57,72 @@ export default { Seal: "([u8;4],Bytes)", PreRuntime: "([u8;4],Bytes)", __Unused7: "Null", - RuntimeEnvironmentUpdated: "Null", - }, + RuntimeEnvironmentUpdated: "Null" + } }, - /** Lookup21: frame_system::EventRecord */ + /** + * Lookup21: frame_system::EventRecord + **/ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", - topics: "Vec", + topics: "Vec" }, - /** Lookup23: frame_system::pallet::Event */ + /** + * Lookup23: frame_system::pallet::Event + **/ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, ExtrinsicFailed: { dispatchError: "SpRuntimeDispatchError", - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, CodeUpdated: "Null", NewAccount: { - account: "AccountId20", + account: "AccountId20" }, KilledAccount: { - account: "AccountId20", + account: "AccountId20" }, Remarked: { _alias: { - hash_: "hash", + hash_: "hash" }, sender: "AccountId20", - hash_: "H256", + hash_: "H256" }, UpgradeAuthorized: { codeHash: "H256", - checkVersion: "bool", - }, - }, + checkVersion: "bool" + } + } }, - /** Lookup24: frame_support::dispatch::DispatchInfo */ + /** + * Lookup24: frame_support::dispatch::DispatchInfo + **/ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup25: frame_support::dispatch::DispatchClass */ + /** + * Lookup25: frame_support::dispatch::DispatchClass + **/ FrameSupportDispatchDispatchClass: { - _enum: ["Normal", "Operational", "Mandatory"], + _enum: ["Normal", "Operational", "Mandatory"] }, - /** Lookup26: frame_support::dispatch::Pays */ + /** + * Lookup26: frame_support::dispatch::Pays + **/ FrameSupportDispatchPays: { - _enum: ["Yes", "No"], + _enum: ["Yes", "No"] }, - /** Lookup27: sp_runtime::DispatchError */ + /** + * Lookup27: sp_runtime::DispatchError + **/ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -114,15 +138,19 @@ export default { Exhausted: "Null", Corruption: "Null", Unavailable: "Null", - RootNotAllowed: "Null", - }, + RootNotAllowed: "Null" + } }, - /** Lookup28: sp_runtime::ModuleError */ + /** + * Lookup28: sp_runtime::ModuleError + **/ SpRuntimeModuleError: { index: "u8", - error: "[u8;4]", + error: "[u8;4]" }, - /** Lookup29: sp_runtime::TokenError */ + /** + * Lookup29: sp_runtime::TokenError + **/ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -134,211 +162,233 @@ export default { "Unsupported", "CannotCreateHold", "NotExpendable", - "Blocked", - ], + "Blocked" + ] }, - /** Lookup30: sp_arithmetic::ArithmeticError */ + /** + * Lookup30: sp_arithmetic::ArithmeticError + **/ SpArithmeticArithmeticError: { - _enum: ["Underflow", "Overflow", "DivisionByZero"], + _enum: ["Underflow", "Overflow", "DivisionByZero"] }, - /** Lookup31: sp_runtime::TransactionalError */ + /** + * Lookup31: sp_runtime::TransactionalError + **/ SpRuntimeTransactionalError: { - _enum: ["LimitReached", "NoLayer"], + _enum: ["LimitReached", "NoLayer"] }, - /** Lookup32: pallet_utility::pallet::Event */ + /** + * Lookup32: pallet_utility::pallet::Event + **/ PalletUtilityEvent: { _enum: { BatchInterrupted: { index: "u32", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, BatchCompleted: "Null", BatchCompletedWithErrors: "Null", ItemCompleted: "Null", ItemFailed: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, DispatchedAs: { - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup35: pallet_balances::pallet::Event */ + /** + * Lookup35: pallet_balances::pallet::Event + **/ PalletBalancesEvent: { _enum: { Endowed: { account: "AccountId20", - freeBalance: "u128", + freeBalance: "u128" }, DustLost: { account: "AccountId20", - amount: "u128", + amount: "u128" }, Transfer: { from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, BalanceSet: { who: "AccountId20", - free: "u128", + free: "u128" }, Reserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unreserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, ReserveRepatriated: { from: "AccountId20", to: "AccountId20", amount: "u128", - destinationStatus: "FrameSupportTokensMiscBalanceStatus", + destinationStatus: "FrameSupportTokensMiscBalanceStatus" }, Deposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdraw: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Slashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Minted: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Suspended: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Restored: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Upgraded: { - who: "AccountId20", + who: "AccountId20" }, Issued: { - amount: "u128", + amount: "u128" }, Rescinded: { - amount: "u128", + amount: "u128" }, Locked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unlocked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Frozen: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Thawed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, TotalIssuanceForced: { _alias: { - new_: "new", + new_: "new" }, old: "u128", - new_: "u128", - }, - }, + new_: "u128" + } + } }, - /** Lookup36: frame_support::traits::tokens::misc::BalanceStatus */ + /** + * Lookup36: frame_support::traits::tokens::misc::BalanceStatus + **/ FrameSupportTokensMiscBalanceStatus: { - _enum: ["Free", "Reserved"], + _enum: ["Free", "Reserved"] }, - /** Lookup37: pallet_sudo::pallet::Event */ + /** + * Lookup37: pallet_sudo::pallet::Event + **/ PalletSudoEvent: { _enum: { Sudid: { - sudoResult: "Result", + sudoResult: "Result" }, KeyChanged: { _alias: { - new_: "new", + new_: "new" }, old: "Option", - new_: "AccountId20", + new_: "AccountId20" }, KeyRemoved: "Null", SudoAsDone: { - sudoResult: "Result", - }, - }, + sudoResult: "Result" + } + } }, - /** Lookup39: cumulus_pallet_parachain_system::pallet::Event */ + /** + * Lookup39: cumulus_pallet_parachain_system::pallet::Event + **/ CumulusPalletParachainSystemEvent: { _enum: { ValidationFunctionStored: "Null", ValidationFunctionApplied: { - relayChainBlockNum: "u32", + relayChainBlockNum: "u32" }, ValidationFunctionDiscarded: "Null", DownwardMessagesReceived: { - count: "u32", + count: "u32" }, DownwardMessagesProcessed: { weightUsed: "SpWeightsWeightV2Weight", - dmqHead: "H256", + dmqHead: "H256" }, UpwardMessageSent: { - messageHash: "Option<[u8;32]>", - }, - }, + messageHash: "Option<[u8;32]>" + } + } }, - /** Lookup41: pallet_transaction_payment::pallet::Event */ + /** + * Lookup41: pallet_transaction_payment::pallet::Event + **/ PalletTransactionPaymentEvent: { _enum: { TransactionFeePaid: { who: "AccountId20", actualFee: "u128", - tip: "u128", - }, - }, + tip: "u128" + } + } }, - /** Lookup42: pallet_evm::pallet::Event */ + /** + * Lookup42: pallet_evm::pallet::Event + **/ PalletEvmEvent: { _enum: { Log: { - log: "EthereumLog", + log: "EthereumLog" }, Created: { - address: "H160", + address: "H160" }, CreatedFailed: { - address: "H160", + address: "H160" }, Executed: { - address: "H160", + address: "H160" }, ExecutedFailed: { - address: "H160", - }, - }, + address: "H160" + } + } }, - /** Lookup43: ethereum::log::Log */ + /** + * Lookup43: ethereum::log::Log + **/ EthereumLog: { address: "H160", topics: "Vec", - data: "Bytes", + data: "Bytes" }, - /** Lookup46: pallet_ethereum::pallet::Event */ + /** + * Lookup46: pallet_ethereum::pallet::Event + **/ PalletEthereumEvent: { _enum: { Executed: { @@ -346,24 +396,30 @@ export default { to: "H160", transactionHash: "H256", exitReason: "EvmCoreErrorExitReason", - extraData: "Bytes", - }, - }, + extraData: "Bytes" + } + } }, - /** Lookup47: evm_core::error::ExitReason */ + /** + * Lookup47: evm_core::error::ExitReason + **/ EvmCoreErrorExitReason: { _enum: { Succeed: "EvmCoreErrorExitSucceed", Error: "EvmCoreErrorExitError", Revert: "EvmCoreErrorExitRevert", - Fatal: "EvmCoreErrorExitFatal", - }, + Fatal: "EvmCoreErrorExitFatal" + } }, - /** Lookup48: evm_core::error::ExitSucceed */ + /** + * Lookup48: evm_core::error::ExitSucceed + **/ EvmCoreErrorExitSucceed: { - _enum: ["Stopped", "Returned", "Suicided"], + _enum: ["Stopped", "Returned", "Suicided"] }, - /** Lookup49: evm_core::error::ExitError */ + /** + * Lookup49: evm_core::error::ExitError + **/ EvmCoreErrorExitError: { _enum: { StackUnderflow: "Null", @@ -381,159 +437,165 @@ export default { CreateEmpty: "Null", Other: "Text", MaxNonce: "Null", - InvalidCode: "u8", - }, + InvalidCode: "u8" + } }, - /** Lookup53: evm_core::error::ExitRevert */ + /** + * Lookup53: evm_core::error::ExitRevert + **/ EvmCoreErrorExitRevert: { - _enum: ["Reverted"], + _enum: ["Reverted"] }, - /** Lookup54: evm_core::error::ExitFatal */ + /** + * Lookup54: evm_core::error::ExitFatal + **/ EvmCoreErrorExitFatal: { _enum: { NotSupported: "Null", UnhandledInterrupt: "Null", CallErrorAsFatal: "EvmCoreErrorExitError", - Other: "Text", - }, + Other: "Text" + } }, - /** Lookup55: pallet_parachain_staking::pallet::Event */ + /** + * Lookup55: pallet_parachain_staking::pallet::Event + **/ PalletParachainStakingEvent: { _enum: { NewRound: { startingBlock: "u32", round: "u32", selectedCollatorsNumber: "u32", - totalBalance: "u128", + totalBalance: "u128" }, JoinedCollatorCandidates: { account: "AccountId20", amountLocked: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, CollatorChosen: { round: "u32", collatorAccount: "AccountId20", - totalExposedAmount: "u128", + totalExposedAmount: "u128" }, CandidateBondLessRequested: { candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateBondedMore: { candidate: "AccountId20", amount: "u128", - newTotalBond: "u128", + newTotalBond: "u128" }, CandidateBondedLess: { candidate: "AccountId20", amount: "u128", - newBond: "u128", + newBond: "u128" }, CandidateWentOffline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateBackOnline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateScheduledExit: { exitAllowedRound: "u32", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, CancelledCandidateExit: { - candidate: "AccountId20", + candidate: "AccountId20" }, CancelledCandidateBondLess: { candidate: "AccountId20", amount: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateLeft: { exCandidate: "AccountId20", unlockedAmount: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, DelegationDecreaseScheduled: { delegator: "AccountId20", candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, DelegationIncreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegationDecreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegatorExitScheduled: { round: "u32", delegator: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegationRevocationScheduled: { round: "u32", delegator: "AccountId20", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegatorLeft: { delegator: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationRevoked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationKicked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegatorExitCancelled: { - delegator: "AccountId20", + delegator: "AccountId20" }, CancelledDelegationRequest: { delegator: "AccountId20", cancelledRequest: "PalletParachainStakingDelegationRequestsCancelledScheduledRequest", - collator: "AccountId20", + collator: "AccountId20" }, Delegation: { delegator: "AccountId20", lockedAmount: "u128", candidate: "AccountId20", delegatorPosition: "PalletParachainStakingDelegatorAdded", - autoCompound: "Percent", + autoCompound: "Percent" }, DelegatorLeftCandidate: { delegator: "AccountId20", candidate: "AccountId20", unstakedAmount: "u128", - totalCandidateStaked: "u128", + totalCandidateStaked: "u128" }, Rewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, InflationDistributed: { index: "u32", account: "AccountId20", - value: "u128", + value: "u128" }, InflationDistributionConfigUpdated: { _alias: { - new_: "new", + new_: "new" }, old: "PalletParachainStakingInflationDistributionConfig", - new_: "PalletParachainStakingInflationDistributionConfig", + new_: "PalletParachainStakingInflationDistributionConfig" }, InflationSet: { annualMin: "Perbill", @@ -541,30 +603,30 @@ export default { annualMax: "Perbill", roundMin: "Perbill", roundIdeal: "Perbill", - roundMax: "Perbill", + roundMax: "Perbill" }, StakeExpectationsSet: { expectMin: "u128", expectIdeal: "u128", - expectMax: "u128", + expectMax: "u128" }, TotalSelectedSet: { _alias: { - new_: "new", + new_: "new" }, old: "u32", - new_: "u32", + new_: "u32" }, CollatorCommissionSet: { _alias: { - new_: "new", + new_: "new" }, old: "Perbill", - new_: "Perbill", + new_: "Perbill" }, BlocksPerRoundSet: { _alias: { - new_: "new", + new_: "new" }, currentRound: "u32", firstBlock: "u32", @@ -572,126 +634,134 @@ export default { new_: "u32", newPerRoundInflationMin: "Perbill", newPerRoundInflationIdeal: "Perbill", - newPerRoundInflationMax: "Perbill", + newPerRoundInflationMax: "Perbill" }, AutoCompoundSet: { candidate: "AccountId20", delegator: "AccountId20", - value: "Percent", + value: "Percent" }, Compounded: { candidate: "AccountId20", delegator: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup56: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest */ + /** + * Lookup56: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest + **/ PalletParachainStakingDelegationRequestsCancelledScheduledRequest: { whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, - /** Lookup57: pallet_parachain_staking::delegation_requests::DelegationAction */ + /** + * Lookup57: pallet_parachain_staking::delegation_requests::DelegationAction + **/ PalletParachainStakingDelegationRequestsDelegationAction: { _enum: { Revoke: "u128", - Decrease: "u128", - }, + Decrease: "u128" + } }, - /** Lookup58: pallet_parachain_staking::types::DelegatorAdded */ + /** + * Lookup58: pallet_parachain_staking::types::DelegatorAdded + **/ PalletParachainStakingDelegatorAdded: { _enum: { AddedToTop: { - newTotal: "u128", + newTotal: "u128" }, - AddedToBottom: "Null", - }, + AddedToBottom: "Null" + } }, /** - * Lookup60: - * pallet_parachain_staking::types::InflationDistributionConfig[account::AccountId20](account::AccountId20) - */ + * Lookup60: pallet_parachain_staking::types::InflationDistributionConfig + **/ PalletParachainStakingInflationDistributionConfig: "[Lookup62;2]", /** - * Lookup62: - * pallet_parachain_staking::types::InflationDistributionAccount[account::AccountId20](account::AccountId20) - */ + * Lookup62: pallet_parachain_staking::types::InflationDistributionAccount + **/ PalletParachainStakingInflationDistributionAccount: { account: "AccountId20", - percent: "Percent", + percent: "Percent" }, - /** Lookup64: pallet_scheduler::pallet::Event */ + /** + * Lookup64: pallet_scheduler::pallet::Event + **/ PalletSchedulerEvent: { _enum: { Scheduled: { when: "u32", - index: "u32", + index: "u32" }, Canceled: { when: "u32", - index: "u32", + index: "u32" }, Dispatched: { task: "(u32,u32)", id: "Option<[u8;32]>", - result: "Result", + result: "Result" }, RetrySet: { task: "(u32,u32)", id: "Option<[u8;32]>", period: "u32", - retries: "u8", + retries: "u8" }, RetryCancelled: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, CallUnavailable: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PeriodicFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, RetryFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PermanentlyOverweight: { task: "(u32,u32)", - id: "Option<[u8;32]>", - }, - }, + id: "Option<[u8;32]>" + } + } }, - /** Lookup66: pallet_treasury::pallet::Event */ + /** + * Lookup66: pallet_treasury::pallet::Event + **/ PalletTreasuryEvent: { _enum: { Spending: { - budgetRemaining: "u128", + budgetRemaining: "u128" }, Awarded: { proposalIndex: "u32", award: "u128", - account: "AccountId20", + account: "AccountId20" }, Burnt: { - burntFunds: "u128", + burntFunds: "u128" }, Rollover: { - rolloverBalance: "u128", + rolloverBalance: "u128" }, Deposit: { - value: "u128", + value: "u128" }, SpendApproved: { proposalIndex: "u32", amount: "u128", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, UpdatedInactive: { reactivated: "u128", - deactivated: "u128", + deactivated: "u128" }, AssetSpendApproved: { index: "u32", @@ -699,31 +769,35 @@ export default { amount: "u128", beneficiary: "AccountId20", validFrom: "u32", - expireAt: "u32", + expireAt: "u32" }, AssetSpendVoided: { - index: "u32", + index: "u32" }, Paid: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, PaymentFailed: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, SpendProcessed: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup67: pallet_author_slot_filter::pallet::Event */ + /** + * Lookup67: pallet_author_slot_filter::pallet::Event + **/ PalletAuthorSlotFilterEvent: { _enum: { - EligibleUpdated: "u32", - }, + EligibleUpdated: "u32" + } }, - /** Lookup69: pallet_crowdloan_rewards::pallet::Event */ + /** + * Lookup69: pallet_crowdloan_rewards::pallet::Event + **/ PalletCrowdloanRewardsEvent: { _enum: { InitialPaymentMade: "(AccountId20,u128)", @@ -731,71 +805,81 @@ export default { RewardsPaid: "(AccountId20,u128)", RewardAddressUpdated: "(AccountId20,AccountId20)", InitializedAlreadyInitializedAccount: "([u8;32],Option,u128)", - InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)", - }, + InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)" + } }, - /** Lookup70: pallet_author_mapping::pallet::Event */ + /** + * Lookup70: pallet_author_mapping::pallet::Event + **/ PalletAuthorMappingEvent: { _enum: { KeysRegistered: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRemoved: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRotated: { newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic", - }, - }, + newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic" + } + } }, - /** Lookup71: nimbus_primitives::nimbus_crypto::Public */ + /** + * Lookup71: nimbus_primitives::nimbus_crypto::Public + **/ NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", - /** Lookup72: session_keys_primitives::vrf::vrf_crypto::Public */ + /** + * Lookup72: session_keys_primitives::vrf::vrf_crypto::Public + **/ SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", - /** Lookup73: pallet_proxy::pallet::Event */ + /** + * Lookup73: pallet_proxy::pallet::Event + **/ PalletProxyEvent: { _enum: { ProxyExecuted: { - result: "Result", + result: "Result" }, PureCreated: { pure: "AccountId20", who: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - disambiguationIndex: "u16", + disambiguationIndex: "u16" }, Announced: { real: "AccountId20", proxy: "AccountId20", - callHash: "H256", + callHash: "H256" }, ProxyAdded: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", + delay: "u32" }, ProxyRemoved: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", - }, - }, + delay: "u32" + } + } }, - /** Lookup74: moonbase_runtime::ProxyType */ + /** + * Lookup74: moonbase_runtime::ProxyType + **/ MoonbaseRuntimeProxyType: { _enum: [ "Any", @@ -805,126 +889,138 @@ export default { "CancelProxy", "Balances", "AuthorMapping", - "IdentityJudgement", - ], + "IdentityJudgement" + ] }, - /** Lookup76: pallet_maintenance_mode::pallet::Event */ + /** + * Lookup76: pallet_maintenance_mode::pallet::Event + **/ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", NormalOperationResumed: "Null", FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup77: pallet_identity::pallet::Event */ + /** + * Lookup77: pallet_identity::pallet::Event + **/ PalletIdentityEvent: { _enum: { IdentitySet: { - who: "AccountId20", + who: "AccountId20" }, IdentityCleared: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, IdentityKilled: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, JudgementRequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementUnrequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementGiven: { target: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, RegistrarAdded: { - registrarIndex: "u32", + registrarIndex: "u32" }, SubIdentityAdded: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRemoved: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRevoked: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, AuthorityAdded: { - authority: "AccountId20", + authority: "AccountId20" }, AuthorityRemoved: { - authority: "AccountId20", + authority: "AccountId20" }, UsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, UsernameQueued: { who: "AccountId20", username: "Bytes", - expiration: "u32", + expiration: "u32" }, PreapprovalExpired: { - whose: "AccountId20", + whose: "AccountId20" }, PrimaryUsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, DanglingUsernameRemoved: { who: "AccountId20", - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup79: cumulus_pallet_xcmp_queue::pallet::Event */ + /** + * Lookup79: cumulus_pallet_xcmp_queue::pallet::Event + **/ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { - messageHash: "[u8;32]", - }, - }, + messageHash: "[u8;32]" + } + } }, - /** Lookup80: cumulus_pallet_xcm::pallet::Event */ + /** + * Lookup80: cumulus_pallet_xcm::pallet::Event + **/ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", UnsupportedVersion: "[u8;32]", - ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", - }, + ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)" + } }, - /** Lookup81: staging_xcm::v4::traits::Outcome */ + /** + * Lookup81: staging_xcm::v4::traits::Outcome + **/ StagingXcmV4TraitsOutcome: { _enum: { Complete: { - used: "SpWeightsWeightV2Weight", + used: "SpWeightsWeightV2Weight" }, Incomplete: { used: "SpWeightsWeightV2Weight", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, Error: { - error: "XcmV3TraitsError", - }, - }, + error: "XcmV3TraitsError" + } + } }, - /** Lookup82: xcm::v3::traits::Error */ + /** + * Lookup82: xcm::v3::traits::Error + **/ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -966,138 +1062,144 @@ export default { WeightLimitReached: "SpWeightsWeightV2Weight", Barrier: "Null", WeightNotComputable: "Null", - ExceedsStackLimit: "Null", - }, + ExceedsStackLimit: "Null" + } }, - /** Lookup83: pallet_xcm::pallet::Event */ + /** + * Lookup83: pallet_xcm::pallet::Event + **/ PalletXcmEvent: { _enum: { Attempted: { - outcome: "StagingXcmV4TraitsOutcome", + outcome: "StagingXcmV4TraitsOutcome" }, Sent: { origin: "StagingXcmV4Location", destination: "StagingXcmV4Location", message: "StagingXcmV4Xcm", - messageId: "[u8;32]", + messageId: "[u8;32]" }, UnexpectedResponse: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseReady: { queryId: "u64", - response: "StagingXcmV4Response", + response: "StagingXcmV4Response" }, Notified: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyOverweight: { queryId: "u64", palletIndex: "u8", callIndex: "u8", actualWeight: "SpWeightsWeightV2Weight", - maxBudgetedWeight: "SpWeightsWeightV2Weight", + maxBudgetedWeight: "SpWeightsWeightV2Weight" }, NotifyDispatchError: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyDecodeFailed: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, InvalidResponder: { origin: "StagingXcmV4Location", queryId: "u64", - expectedLocation: "Option", + expectedLocation: "Option" }, InvalidResponderVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseTaken: { - queryId: "u64", + queryId: "u64" }, AssetsTrapped: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionChangeNotified: { destination: "StagingXcmV4Location", result: "u32", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, SupportedVersionChanged: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, NotifyTargetSendFail: { location: "StagingXcmV4Location", queryId: "u64", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, NotifyTargetMigrationFail: { location: "XcmVersionedLocation", - queryId: "u64", + queryId: "u64" }, InvalidQuerierVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, InvalidQuerier: { origin: "StagingXcmV4Location", queryId: "u64", expectedQuerier: "StagingXcmV4Location", - maybeActualQuerier: "Option", + maybeActualQuerier: "Option" }, VersionNotifyStarted: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyRequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyUnrequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, FeesPaid: { paying: "StagingXcmV4Location", - fees: "StagingXcmV4AssetAssets", + fees: "StagingXcmV4AssetAssets" }, AssetsClaimed: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionMigrationFinished: { - version: "u32", - }, - }, + version: "u32" + } + } }, - /** Lookup84: staging_xcm::v4::location::Location */ + /** + * Lookup84: staging_xcm::v4::location::Location + **/ StagingXcmV4Location: { parents: "u8", - interior: "StagingXcmV4Junctions", + interior: "StagingXcmV4Junctions" }, - /** Lookup85: staging_xcm::v4::junctions::Junctions */ + /** + * Lookup85: staging_xcm::v4::junctions::Junctions + **/ StagingXcmV4Junctions: { _enum: { Here: "Null", @@ -1108,46 +1210,50 @@ export default { X5: "[Lookup87;5]", X6: "[Lookup87;6]", X7: "[Lookup87;7]", - X8: "[Lookup87;8]", - }, + X8: "[Lookup87;8]" + } }, - /** Lookup87: staging_xcm::v4::junction::Junction */ + /** + * Lookup87: staging_xcm::v4::junction::Junction + **/ StagingXcmV4Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "StagingXcmV4JunctionNetworkId", - }, + GlobalConsensus: "StagingXcmV4JunctionNetworkId" + } }, - /** Lookup90: staging_xcm::v4::junction::NetworkId */ + /** + * Lookup90: staging_xcm::v4::junction::NetworkId + **/ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -1155,14 +1261,16 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup92: xcm::v3::junction::BodyId */ + /** + * Lookup92: xcm::v3::junction::BodyId + **/ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1174,33 +1282,39 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup93: xcm::v3::junction::BodyPart */ + /** + * Lookup93: xcm::v3::junction::BodyPart + **/ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup101: staging_xcm::v4::Xcm */ + /** + * Lookup101: staging_xcm::v4::Xcm + **/ StagingXcmV4Xcm: "Vec", - /** Lookup103: staging_xcm::v4::Instruction */ + /** + * Lookup103: staging_xcm::v4::Instruction + **/ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -1210,69 +1324,69 @@ export default { queryId: "Compact", response: "StagingXcmV4Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "StagingXcmV4AssetAssets", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, TransferReserveAsset: { assets: "StagingXcmV4AssetAssets", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "StagingXcmV4Junctions", ReportError: "StagingXcmV4QueryResponseInfo", DepositAsset: { assets: "StagingXcmV4AssetAssetFilter", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, DepositReserveAsset: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ExchangeAsset: { give: "StagingXcmV4AssetAssetFilter", want: "StagingXcmV4AssetAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "StagingXcmV4AssetAssetFilter", reserve: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, InitiateTeleport: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ReportHolding: { responseInfo: "StagingXcmV4QueryResponseInfo", - assets: "StagingXcmV4AssetAssetFilter", + assets: "StagingXcmV4AssetAssetFilter" }, BuyExecution: { fees: "StagingXcmV4Asset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "StagingXcmV4Xcm", @@ -1280,12 +1394,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "StagingXcmV4AssetAssets", - ticket: "StagingXcmV4Location", + ticket: "StagingXcmV4Location" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "StagingXcmV4AssetAssets", @@ -1295,14 +1409,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "StagingXcmV4QueryResponseInfo", + responseInfo: "StagingXcmV4QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "StagingXcmV4QueryResponseInfo", ClearTransactStatus: "Null", @@ -1310,53 +1424,63 @@ export default { ExportMessage: { network: "StagingXcmV4JunctionNetworkId", destination: "StagingXcmV4Junctions", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, LockAsset: { asset: "StagingXcmV4Asset", - unlocker: "StagingXcmV4Location", + unlocker: "StagingXcmV4Location" }, UnlockAsset: { asset: "StagingXcmV4Asset", - target: "StagingXcmV4Location", + target: "StagingXcmV4Location" }, NoteUnlockable: { asset: "StagingXcmV4Asset", - owner: "StagingXcmV4Location", + owner: "StagingXcmV4Location" }, RequestUnlock: { asset: "StagingXcmV4Asset", - locker: "StagingXcmV4Location", + locker: "StagingXcmV4Location" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV4Location", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup104: staging_xcm::v4::asset::Assets */ + /** + * Lookup104: staging_xcm::v4::asset::Assets + **/ StagingXcmV4AssetAssets: "Vec", - /** Lookup106: staging_xcm::v4::asset::Asset */ + /** + * Lookup106: staging_xcm::v4::asset::Asset + **/ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetFungibility", + fun: "StagingXcmV4AssetFungibility" }, - /** Lookup107: staging_xcm::v4::asset::AssetId */ + /** + * Lookup107: staging_xcm::v4::asset::AssetId + **/ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup108: staging_xcm::v4::asset::Fungibility */ + /** + * Lookup108: staging_xcm::v4::asset::Fungibility + **/ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "StagingXcmV4AssetAssetInstance", - }, + NonFungible: "StagingXcmV4AssetAssetInstance" + } }, - /** Lookup109: staging_xcm::v4::asset::AssetInstance */ + /** + * Lookup109: staging_xcm::v4::asset::AssetInstance + **/ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -1364,10 +1488,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup112: staging_xcm::v4::Response */ + /** + * Lookup112: staging_xcm::v4::Response + **/ StagingXcmV4Response: { _enum: { Null: "Null", @@ -1375,104 +1501,134 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup116: staging_xcm::v4::PalletInfo */ + /** + * Lookup116: staging_xcm::v4::PalletInfo + **/ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup119: xcm::v3::MaybeErrorCode */ + /** + * Lookup119: xcm::v3::MaybeErrorCode + **/ XcmV3MaybeErrorCode: { _enum: { Success: "Null", Error: "Bytes", - TruncatedError: "Bytes", - }, + TruncatedError: "Bytes" + } }, - /** Lookup122: xcm::v3::OriginKind */ + /** + * Lookup122: xcm::v3::OriginKind + **/ XcmV3OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup123: xcm::double_encoded::DoubleEncoded */ + /** + * Lookup123: xcm::double_encoded::DoubleEncoded + **/ XcmDoubleEncoded: { - encoded: "Bytes", + encoded: "Bytes" }, - /** Lookup124: staging_xcm::v4::QueryResponseInfo */ + /** + * Lookup124: staging_xcm::v4::QueryResponseInfo + **/ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup125: staging_xcm::v4::asset::AssetFilter */ + /** + * Lookup125: staging_xcm::v4::asset::AssetFilter + **/ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", - Wild: "StagingXcmV4AssetWildAsset", - }, + Wild: "StagingXcmV4AssetWildAsset" + } }, - /** Lookup126: staging_xcm::v4::asset::WildAsset */ + /** + * Lookup126: staging_xcm::v4::asset::WildAsset + **/ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", AllOf: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetWildFungibility", + fun: "StagingXcmV4AssetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup127: staging_xcm::v4::asset::WildFungibility */ + /** + * Lookup127: staging_xcm::v4::asset::WildFungibility + **/ StagingXcmV4AssetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup128: xcm::v3::WeightLimit */ + /** + * Lookup128: xcm::v3::WeightLimit + **/ XcmV3WeightLimit: { _enum: { Unlimited: "Null", - Limited: "SpWeightsWeightV2Weight", - }, + Limited: "SpWeightsWeightV2Weight" + } }, - /** Lookup129: xcm::VersionedAssets */ + /** + * Lookup129: xcm::VersionedAssets + **/ XcmVersionedAssets: { _enum: { __Unused0: "Null", V2: "XcmV2MultiassetMultiAssets", __Unused2: "Null", V3: "XcmV3MultiassetMultiAssets", - V4: "StagingXcmV4AssetAssets", - }, + V4: "StagingXcmV4AssetAssets" + } }, - /** Lookup130: xcm::v2::multiasset::MultiAssets */ + /** + * Lookup130: xcm::v2::multiasset::MultiAssets + **/ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup132: xcm::v2::multiasset::MultiAsset */ + /** + * Lookup132: xcm::v2::multiasset::MultiAsset + **/ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetFungibility", + fun: "XcmV2MultiassetFungibility" }, - /** Lookup133: xcm::v2::multiasset::AssetId */ + /** + * Lookup133: xcm::v2::multiasset::AssetId + **/ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", - Abstract: "Bytes", - }, + Abstract: "Bytes" + } }, - /** Lookup134: xcm::v2::multilocation::MultiLocation */ + /** + * Lookup134: xcm::v2::multilocation::MultiLocation + **/ XcmV2MultiLocation: { parents: "u8", - interior: "XcmV2MultilocationJunctions", + interior: "XcmV2MultilocationJunctions" }, - /** Lookup135: xcm::v2::multilocation::Junctions */ + /** + * Lookup135: xcm::v2::multilocation::Junctions + **/ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -1483,24 +1639,26 @@ export default { 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)", - }, + X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)" + } }, - /** Lookup136: xcm::v2::junction::Junction */ + /** + * Lookup136: xcm::v2::junction::Junction + **/ XcmV2Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "XcmV2NetworkId", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "XcmV2NetworkId", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "XcmV2NetworkId", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", @@ -1508,20 +1666,24 @@ export default { OnlyChild: "Null", Plurality: { id: "XcmV2BodyId", - part: "XcmV2BodyPart", - }, - }, + part: "XcmV2BodyPart" + } + } }, - /** Lookup137: xcm::v2::NetworkId */ + /** + * Lookup137: xcm::v2::NetworkId + **/ XcmV2NetworkId: { _enum: { Any: "Null", Named: "Bytes", Polkadot: "Null", - Kusama: "Null", - }, + Kusama: "Null" + } }, - /** Lookup139: xcm::v2::BodyId */ + /** + * Lookup139: xcm::v2::BodyId + **/ XcmV2BodyId: { _enum: { Unit: "Null", @@ -1533,38 +1695,44 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup140: xcm::v2::BodyPart */ + /** + * Lookup140: xcm::v2::BodyPart + **/ XcmV2BodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup141: xcm::v2::multiasset::Fungibility */ + /** + * Lookup141: xcm::v2::multiasset::Fungibility + **/ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV2MultiassetAssetInstance", - }, + NonFungible: "XcmV2MultiassetAssetInstance" + } }, - /** Lookup142: xcm::v2::multiasset::AssetInstance */ + /** + * Lookup142: xcm::v2::multiasset::AssetInstance + **/ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -1573,29 +1741,39 @@ export default { Array8: "[u8;8]", Array16: "[u8;16]", Array32: "[u8;32]", - Blob: "Bytes", - }, + Blob: "Bytes" + } }, - /** Lookup143: xcm::v3::multiasset::MultiAssets */ + /** + * Lookup143: xcm::v3::multiasset::MultiAssets + **/ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup145: xcm::v3::multiasset::MultiAsset */ + /** + * Lookup145: xcm::v3::multiasset::MultiAsset + **/ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetFungibility", + fun: "XcmV3MultiassetFungibility" }, - /** Lookup146: xcm::v3::multiasset::AssetId */ + /** + * Lookup146: xcm::v3::multiasset::AssetId + **/ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", - Abstract: "[u8;32]", - }, + Abstract: "[u8;32]" + } }, - /** Lookup147: staging_xcm::v3::multilocation::MultiLocation */ + /** + * Lookup147: staging_xcm::v3::multilocation::MultiLocation + **/ StagingXcmV3MultiLocation: { parents: "u8", - interior: "XcmV3Junctions", + interior: "XcmV3Junctions" }, - /** Lookup148: xcm::v3::junctions::Junctions */ + /** + * Lookup148: xcm::v3::junctions::Junctions + **/ XcmV3Junctions: { _enum: { Here: "Null", @@ -1606,46 +1784,50 @@ export default { 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)", - }, + X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)" + } }, - /** Lookup149: xcm::v3::junction::Junction */ + /** + * Lookup149: xcm::v3::junction::Junction + **/ XcmV3Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "XcmV3JunctionNetworkId", - }, + GlobalConsensus: "XcmV3JunctionNetworkId" + } }, - /** Lookup151: xcm::v3::junction::NetworkId */ + /** + * Lookup151: xcm::v3::junction::NetworkId + **/ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -1653,21 +1835,25 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup152: xcm::v3::multiasset::Fungibility */ + /** + * Lookup152: xcm::v3::multiasset::Fungibility + **/ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV3MultiassetAssetInstance", - }, + NonFungible: "XcmV3MultiassetAssetInstance" + } }, - /** Lookup153: xcm::v3::multiasset::AssetInstance */ + /** + * Lookup153: xcm::v3::multiasset::AssetInstance + **/ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -1675,325 +1861,353 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup154: xcm::VersionedLocation */ + /** + * Lookup154: xcm::VersionedLocation + **/ XcmVersionedLocation: { _enum: { __Unused0: "Null", V2: "XcmV2MultiLocation", __Unused2: "Null", V3: "StagingXcmV3MultiLocation", - V4: "StagingXcmV4Location", - }, + V4: "StagingXcmV4Location" + } }, - /** Lookup155: pallet_assets::pallet::Event */ + /** + * Lookup155: pallet_assets::pallet::Event + **/ PalletAssetsEvent: { _enum: { Created: { assetId: "u128", creator: "AccountId20", - owner: "AccountId20", + owner: "AccountId20" }, Issued: { assetId: "u128", owner: "AccountId20", - amount: "u128", + amount: "u128" }, Transferred: { assetId: "u128", from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { assetId: "u128", owner: "AccountId20", - balance: "u128", + balance: "u128" }, TeamChanged: { assetId: "u128", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, OwnerChanged: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, Frozen: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Thawed: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, AssetFrozen: { - assetId: "u128", + assetId: "u128" }, AssetThawed: { - assetId: "u128", + assetId: "u128" }, AccountsDestroyed: { assetId: "u128", accountsDestroyed: "u32", - accountsRemaining: "u32", + accountsRemaining: "u32" }, ApprovalsDestroyed: { assetId: "u128", approvalsDestroyed: "u32", - approvalsRemaining: "u32", + approvalsRemaining: "u32" }, DestructionStarted: { - assetId: "u128", + assetId: "u128" }, Destroyed: { - assetId: "u128", + assetId: "u128" }, ForceCreated: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, MetadataSet: { assetId: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, MetadataCleared: { - assetId: "u128", + assetId: "u128" }, ApprovedTransfer: { assetId: "u128", source: "AccountId20", delegate: "AccountId20", - amount: "u128", + amount: "u128" }, ApprovalCancelled: { assetId: "u128", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, TransferredApproved: { assetId: "u128", owner: "AccountId20", delegate: "AccountId20", destination: "AccountId20", - amount: "u128", + amount: "u128" }, AssetStatusChanged: { - assetId: "u128", + assetId: "u128" }, AssetMinBalanceChanged: { assetId: "u128", - newMinBalance: "u128", + newMinBalance: "u128" }, Touched: { assetId: "u128", who: "AccountId20", - depositor: "AccountId20", + depositor: "AccountId20" }, Blocked: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Deposited: { assetId: "u128", who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdrawn: { assetId: "u128", who: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup156: pallet_asset_manager::pallet::Event */ + /** + * Lookup156: pallet_asset_manager::pallet::Event + **/ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { assetId: "u128", asset: "MoonbaseRuntimeXcmConfigAssetType", - metadata: "MoonbaseRuntimeAssetConfigAssetRegistrarMetadata", + metadata: "MoonbaseRuntimeAssetConfigAssetRegistrarMetadata" }, UnitsPerSecondChanged: "Null", ForeignAssetXcmLocationChanged: { assetId: "u128", - newAssetType: "MoonbaseRuntimeXcmConfigAssetType", + newAssetType: "MoonbaseRuntimeXcmConfigAssetType" }, ForeignAssetRemoved: { assetId: "u128", - assetType: "MoonbaseRuntimeXcmConfigAssetType", + assetType: "MoonbaseRuntimeXcmConfigAssetType" }, SupportedAssetRemoved: { - assetType: "MoonbaseRuntimeXcmConfigAssetType", + assetType: "MoonbaseRuntimeXcmConfigAssetType" }, ForeignAssetDestroyed: { assetId: "u128", - assetType: "MoonbaseRuntimeXcmConfigAssetType", + assetType: "MoonbaseRuntimeXcmConfigAssetType" }, LocalAssetDestroyed: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup157: moonbase_runtime::xcm_config::AssetType */ + /** + * Lookup157: moonbase_runtime::xcm_config::AssetType + **/ MoonbaseRuntimeXcmConfigAssetType: { _enum: { - Xcm: "StagingXcmV3MultiLocation", - }, + Xcm: "StagingXcmV3MultiLocation" + } }, - /** Lookup158: moonbase_runtime::asset_config::AssetRegistrarMetadata */ + /** + * Lookup158: moonbase_runtime::asset_config::AssetRegistrarMetadata + **/ MoonbaseRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup159: pallet_migrations::pallet::Event */ + /** + * Lookup159: pallet_migrations::pallet::Event + **/ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", RuntimeUpgradeCompleted: { - weight: "SpWeightsWeightV2Weight", + weight: "SpWeightsWeightV2Weight" }, MigrationStarted: { - migrationName: "Bytes", + migrationName: "Bytes" }, MigrationCompleted: { migrationName: "Bytes", - consumedWeight: "SpWeightsWeightV2Weight", + consumedWeight: "SpWeightsWeightV2Weight" }, FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup160: pallet_xcm_transactor::pallet::Event */ + /** + * Lookup160: pallet_xcm_transactor::pallet::Event + **/ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { accountId: "AccountId20", dest: "StagingXcmV4Location", call: "Bytes", - index: "u16", + index: "u16" }, TransactedSovereign: { feePayer: "Option", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, TransactedSigned: { feePayer: "AccountId20", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, RegisteredDerivative: { accountId: "AccountId20", - index: "u16", + index: "u16" }, DeRegisteredDerivative: { - index: "u16", + index: "u16" }, TransactFailed: { - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, TransactInfoChanged: { location: "StagingXcmV4Location", - remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight", + remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight" }, TransactInfoRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, DestFeePerSecondChanged: { location: "StagingXcmV4Location", - feePerSecond: "u128", + feePerSecond: "u128" }, DestFeePerSecondRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, HrmpManagementSent: { - action: "PalletXcmTransactorHrmpOperation", - }, - }, + action: "PalletXcmTransactorHrmpOperation" + } + } }, - /** Lookup161: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** + * Lookup161: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight + **/ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, - /** Lookup163: pallet_xcm_transactor::pallet::HrmpOperation */ + /** + * Lookup163: pallet_xcm_transactor::pallet::HrmpOperation + **/ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", Accept: { - paraId: "u32", + paraId: "u32" }, Close: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", Cancel: { channelId: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", - openRequests: "u32", - }, - }, + openRequests: "u32" + } + } }, - /** Lookup164: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** + * Lookup164: pallet_xcm_transactor::pallet::HrmpInitParams + **/ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", - proposedMaxMessageSize: "u32", + proposedMaxMessageSize: "u32" }, - /** Lookup166: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** + * Lookup166: polkadot_parachain_primitives::primitives::HrmpChannelId + **/ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", - recipient: "u32", + recipient: "u32" }, - /** Lookup167: pallet_moonbeam_orbiters::pallet::Event */ + /** + * Lookup167: pallet_moonbeam_orbiters::pallet::Event + **/ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterLeaveCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterRewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, OrbiterRotation: { collator: "AccountId20", oldOrbiter: "Option", - newOrbiter: "Option", + newOrbiter: "Option" }, OrbiterRegistered: { account: "AccountId20", - deposit: "u128", + deposit: "u128" }, OrbiterUnregistered: { - account: "AccountId20", - }, - }, + account: "AccountId20" + } + } }, - /** Lookup168: pallet_ethereum_xcm::pallet::Event */ + /** + * Lookup168: pallet_ethereum_xcm::pallet::Event + **/ PalletEthereumXcmEvent: { _enum: { ExecutedFromXcm: { xcmMsgHash: "H256", - ethTxHash: "H256", - }, - }, + ethTxHash: "H256" + } + } }, - /** Lookup169: pallet_randomness::pallet::Event */ + /** + * Lookup169: pallet_randomness::pallet::Event + **/ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -2004,7 +2218,7 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestEpoch: "u64", + earliestEpoch: "u64" }, RandomnessRequestedLocal: { id: "u64", @@ -2014,234 +2228,245 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestBlock: "u32", + earliestBlock: "u32" }, RequestFulfilled: { - id: "u64", + id: "u64" }, RequestFeeIncreased: { id: "u64", - newFee: "u128", + newFee: "u128" }, RequestExpirationExecuted: { - id: "u64", - }, - }, + id: "u64" + } + } }, - /** Lookup170: pallet_collective::pallet::Event */ + /** + * Lookup170: pallet_collective::pallet::Event + **/ PalletCollectiveEvent: { _enum: { Proposed: { account: "AccountId20", proposalIndex: "u32", proposalHash: "H256", - threshold: "u32", + threshold: "u32" }, Voted: { account: "AccountId20", proposalHash: "H256", voted: "bool", yes: "u32", - no: "u32", + no: "u32" }, Approved: { - proposalHash: "H256", + proposalHash: "H256" }, Disapproved: { - proposalHash: "H256", + proposalHash: "H256" }, Executed: { proposalHash: "H256", - result: "Result", + result: "Result" }, MemberExecuted: { proposalHash: "H256", - result: "Result", + result: "Result" }, Closed: { proposalHash: "H256", yes: "u32", - no: "u32", - }, - }, + no: "u32" + } + } }, - /** Lookup171: pallet_conviction_voting::pallet::Event */ + /** + * Lookup171: pallet_conviction_voting::pallet::Event + **/ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20", - }, + Undelegated: "AccountId20" + } }, - /** Lookup172: pallet_referenda::pallet::Event */ + /** + * Lookup172: pallet_referenda::pallet::Event + **/ PalletReferendaEvent: { _enum: { Submitted: { index: "u32", track: "u16", - proposal: "FrameSupportPreimagesBounded", + proposal: "FrameSupportPreimagesBounded" }, DecisionDepositPlaced: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DepositSlashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionStarted: { index: "u32", track: "u16", proposal: "FrameSupportPreimagesBounded", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, ConfirmStarted: { - index: "u32", + index: "u32" }, ConfirmAborted: { - index: "u32", + index: "u32" }, Confirmed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Approved: { - index: "u32", + index: "u32" }, Rejected: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, TimedOut: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Cancelled: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Killed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, SubmissionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, MetadataSet: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", + hash_: "H256" }, MetadataCleared: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, /** - * Lookup173: frame_support::traits::preimages::Bounded - */ + * Lookup173: frame_support::traits::preimages::Bounded + **/ FrameSupportPreimagesBounded: { _enum: { Legacy: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Inline: "Bytes", Lookup: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", - len: "u32", - }, - }, + len: "u32" + } + } }, - /** Lookup175: frame_system::pallet::Call */ + /** + * Lookup175: frame_system::pallet::Call + **/ FrameSystemCall: { _enum: { remark: { - remark: "Bytes", + remark: "Bytes" }, set_heap_pages: { - pages: "u64", + pages: "u64" }, set_code: { - code: "Bytes", + code: "Bytes" }, set_code_without_checks: { - code: "Bytes", + code: "Bytes" }, set_storage: { - items: "Vec<(Bytes,Bytes)>", + items: "Vec<(Bytes,Bytes)>" }, kill_storage: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Vec", + keys_: "Vec" }, kill_prefix: { prefix: "Bytes", - subkeys: "u32", + subkeys: "u32" }, remark_with_event: { - remark: "Bytes", + remark: "Bytes" }, __Unused8: "Null", authorize_upgrade: { - codeHash: "H256", + codeHash: "H256" }, authorize_upgrade_without_checks: { - codeHash: "H256", + codeHash: "H256" }, apply_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup179: pallet_utility::pallet::Call */ + /** + * Lookup179: pallet_utility::pallet::Call + **/ PalletUtilityCall: { _enum: { batch: { - calls: "Vec", + calls: "Vec" }, as_derivative: { index: "u16", - call: "Call", + call: "Call" }, batch_all: { - calls: "Vec", + calls: "Vec" }, dispatch_as: { asOrigin: "MoonbaseRuntimeOriginCaller", - call: "Call", + call: "Call" }, force_batch: { - calls: "Vec", + calls: "Vec" }, with_weight: { call: "Call", - weight: "SpWeightsWeightV2Weight", - }, - }, + weight: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup181: moonbase_runtime::OriginCaller */ + /** + * Lookup181: moonbase_runtime::OriginCaller + **/ MoonbaseRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -2290,193 +2515,231 @@ export default { Origins: "MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin", __Unused44: "Null", __Unused45: "Null", - OpenTechCommitteeCollective: "PalletCollectiveRawOrigin", - }, + OpenTechCommitteeCollective: "PalletCollectiveRawOrigin" + } }, - /** Lookup182: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** + * Lookup182: frame_support::dispatch::RawOrigin + **/ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", Signed: "AccountId20", - None: "Null", - }, + None: "Null" + } }, - /** Lookup183: pallet_ethereum::RawOrigin */ + /** + * Lookup183: pallet_ethereum::RawOrigin + **/ PalletEthereumRawOrigin: { _enum: { - EthereumTransaction: "H160", - }, + EthereumTransaction: "H160" + } }, - /** Lookup184: cumulus_pallet_xcm::pallet::Origin */ + /** + * Lookup184: cumulus_pallet_xcm::pallet::Origin + **/ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", - SiblingParachain: "u32", - }, + SiblingParachain: "u32" + } }, - /** Lookup185: pallet_xcm::pallet::Origin */ + /** + * Lookup185: pallet_xcm::pallet::Origin + **/ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", - Response: "StagingXcmV4Location", - }, + Response: "StagingXcmV4Location" + } }, - /** Lookup186: pallet_ethereum_xcm::RawOrigin */ + /** + * Lookup186: pallet_ethereum_xcm::RawOrigin + **/ PalletEthereumXcmRawOrigin: { _enum: { - XcmEthereumTransaction: "H160", - }, + XcmEthereumTransaction: "H160" + } }, - /** Lookup187: pallet_collective::RawOrigin */ + /** + * Lookup187: pallet_collective::RawOrigin + **/ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", Member: "AccountId20", - _Phantom: "Null", - }, + _Phantom: "Null" + } }, - /** Lookup188: moonbase_runtime::governance::origins::custom_origins::Origin */ + /** + * Lookup188: moonbase_runtime::governance::origins::custom_origins::Origin + **/ MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", "GeneralAdmin", "ReferendumCanceller", "ReferendumKiller", - "FastGeneralAdmin", - ], + "FastGeneralAdmin" + ] }, - /** Lookup190: sp_core::Void */ + /** + * Lookup190: sp_core::Void + **/ SpCoreVoid: "Null", - /** Lookup191: pallet_timestamp::pallet::Call */ + /** + * Lookup191: pallet_timestamp::pallet::Call + **/ PalletTimestampCall: { _enum: { set: { - now: "Compact", - }, - }, + now: "Compact" + } + } }, - /** Lookup192: pallet_balances::pallet::Call */ + /** + * Lookup192: pallet_balances::pallet::Call + **/ PalletBalancesCall: { _enum: { transfer_allow_death: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, __Unused1: "Null", force_transfer: { source: "AccountId20", dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_keep_alive: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_all: { dest: "AccountId20", - keepAlive: "bool", + keepAlive: "bool" }, force_unreserve: { who: "AccountId20", - amount: "u128", + amount: "u128" }, upgrade_accounts: { - who: "Vec", + who: "Vec" }, __Unused7: "Null", force_set_balance: { who: "AccountId20", - newFree: "Compact", + newFree: "Compact" }, force_adjust_total_issuance: { direction: "PalletBalancesAdjustmentDirection", - delta: "Compact", + delta: "Compact" }, burn: { value: "Compact", - keepAlive: "bool", - }, - }, + keepAlive: "bool" + } + } }, - /** Lookup194: pallet_balances::types::AdjustmentDirection */ + /** + * Lookup194: pallet_balances::types::AdjustmentDirection + **/ PalletBalancesAdjustmentDirection: { - _enum: ["Increase", "Decrease"], + _enum: ["Increase", "Decrease"] }, - /** Lookup195: pallet_sudo::pallet::Call */ + /** + * Lookup195: pallet_sudo::pallet::Call + **/ PalletSudoCall: { _enum: { sudo: { - call: "Call", + call: "Call" }, sudo_unchecked_weight: { call: "Call", - weight: "SpWeightsWeightV2Weight", + weight: "SpWeightsWeightV2Weight" }, set_key: { _alias: { - new_: "new", + new_: "new" }, - new_: "AccountId20", + new_: "AccountId20" }, sudo_as: { who: "AccountId20", - call: "Call", + call: "Call" }, - remove_key: "Null", - }, + remove_key: "Null" + } }, - /** Lookup196: cumulus_pallet_parachain_system::pallet::Call */ + /** + * Lookup196: cumulus_pallet_parachain_system::pallet::Call + **/ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { - data: "CumulusPrimitivesParachainInherentParachainInherentData", + data: "CumulusPrimitivesParachainInherentParachainInherentData" }, sudo_send_upward_message: { - message: "Bytes", + message: "Bytes" }, authorize_upgrade: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, enact_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup197: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** + * Lookup197: cumulus_primitives_parachain_inherent::ParachainInherentData + **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", - horizontalMessages: "BTreeMap>", + horizontalMessages: "BTreeMap>" }, - /** Lookup198: polkadot_primitives::v7::PersistedValidationData */ + /** + * Lookup198: polkadot_primitives::v7::PersistedValidationData + **/ PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", - maxPovSize: "u32", + maxPovSize: "u32" }, - /** Lookup200: sp_trie::storage_proof::StorageProof */ + /** + * Lookup200: sp_trie::storage_proof::StorageProof + **/ SpTrieStorageProof: { - trieNodes: "BTreeSet", + trieNodes: "BTreeSet" }, - /** Lookup203: polkadot_core_primitives::InboundDownwardMessage */ + /** + * Lookup203: polkadot_core_primitives::InboundDownwardMessage + **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", - msg: "Bytes", + msg: "Bytes" }, - /** Lookup206: polkadot_core_primitives::InboundHrmpMessage */ + /** + * Lookup206: polkadot_core_primitives::InboundHrmpMessage + **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup209: pallet_evm::pallet::Call */ + /** + * Lookup209: pallet_evm::pallet::Call + **/ PalletEvmCall: { _enum: { withdraw: { address: "H160", - value: "u128", + value: "u128" }, call: { source: "H160", @@ -2487,7 +2750,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create: { source: "H160", @@ -2497,7 +2760,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create2: { source: "H160", @@ -2508,27 +2771,33 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", - }, - }, + accessList: "Vec<(H160,Vec)>" + } + } }, - /** Lookup215: pallet_ethereum::pallet::Call */ + /** + * Lookup215: pallet_ethereum::pallet::Call + **/ PalletEthereumCall: { _enum: { transact: { - transaction: "EthereumTransactionTransactionV2", - }, - }, + transaction: "EthereumTransactionTransactionV2" + } + } }, - /** Lookup216: ethereum::transaction::TransactionV2 */ + /** + * Lookup216: ethereum::transaction::TransactionV2 + **/ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", EIP2930: "EthereumTransactionEip2930Transaction", - EIP1559: "EthereumTransactionEip1559Transaction", - }, + EIP1559: "EthereumTransactionEip1559Transaction" + } }, - /** Lookup217: ethereum::transaction::LegacyTransaction */ + /** + * Lookup217: ethereum::transaction::LegacyTransaction + **/ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -2536,22 +2805,28 @@ export default { action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - signature: "EthereumTransactionTransactionSignature", + signature: "EthereumTransactionTransactionSignature" }, - /** Lookup218: ethereum::transaction::TransactionAction */ + /** + * Lookup218: ethereum::transaction::TransactionAction + **/ EthereumTransactionTransactionAction: { _enum: { Call: "H160", - Create: "Null", - }, + Create: "Null" + } }, - /** Lookup219: ethereum::transaction::TransactionSignature */ + /** + * Lookup219: ethereum::transaction::TransactionSignature + **/ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup221: ethereum::transaction::EIP2930Transaction */ + /** + * Lookup221: ethereum::transaction::EIP2930Transaction + **/ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -2563,14 +2838,18 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup223: ethereum::transaction::AccessListItem */ + /** + * Lookup223: ethereum::transaction::AccessListItem + **/ EthereumTransactionAccessListItem: { address: "H160", - storageKeys: "Vec", + storageKeys: "Vec" }, - /** Lookup224: ethereum::transaction::EIP1559Transaction */ + /** + * Lookup224: ethereum::transaction::EIP1559Transaction + **/ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -2583,86 +2862,88 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup225: pallet_parachain_staking::pallet::Call */ + /** + * Lookup225: pallet_parachain_staking::pallet::Call + **/ PalletParachainStakingCall: { _enum: { set_staking_expectations: { expectations: { min: "u128", ideal: "u128", - max: "u128", - }, + max: "u128" + } }, set_inflation: { schedule: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, set_parachain_bond_account: { _alias: { - new_: "new", + new_: "new" }, - new_: "AccountId20", + new_: "AccountId20" }, set_parachain_bond_reserve_percent: { _alias: { - new_: "new", + new_: "new" }, - new_: "Percent", + new_: "Percent" }, set_total_selected: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, set_collator_commission: { _alias: { - new_: "new", + new_: "new" }, - new_: "Perbill", + new_: "Perbill" }, set_blocks_per_round: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, join_candidates: { bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, schedule_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, execute_leave_candidates: { candidate: "AccountId20", - candidateDelegationCount: "u32", + candidateDelegationCount: "u32" }, cancel_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, go_offline: "Null", go_online: "Null", candidate_bond_more: { - more: "u128", + more: "u128" }, schedule_candidate_bond_less: { - less: "u128", + less: "u128" }, execute_candidate_bond_less: { - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_candidate_bond_less: "Null", delegate: { candidate: "AccountId20", amount: "u128", candidateDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, delegate_with_auto_compound: { candidate: "AccountId20", @@ -2670,112 +2951,116 @@ export default { autoCompound: "Percent", candidateDelegationCount: "u32", candidateAutoCompoundingDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, removed_call_19: "Null", removed_call_20: "Null", removed_call_21: "Null", schedule_revoke_delegation: { - collator: "AccountId20", + collator: "AccountId20" }, delegator_bond_more: { candidate: "AccountId20", - more: "u128", + more: "u128" }, schedule_delegator_bond_less: { candidate: "AccountId20", - less: "u128", + less: "u128" }, execute_delegation_request: { delegator: "AccountId20", - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_delegation_request: { - candidate: "AccountId20", + candidate: "AccountId20" }, set_auto_compound: { candidate: "AccountId20", value: "Percent", candidateAutoCompoundingDelegationCountHint: "u32", - delegationCountHint: "u32", + delegationCountHint: "u32" }, hotfix_remove_delegation_requests_exited_candidates: { - candidates: "Vec", + candidates: "Vec" }, notify_inactive_collator: { - collator: "AccountId20", + collator: "AccountId20" }, enable_marking_offline: { - value: "bool", + value: "bool" }, force_join_candidates: { account: "AccountId20", bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, set_inflation_distribution_config: { _alias: { - new_: "new", + new_: "new" }, - new_: "PalletParachainStakingInflationDistributionConfig", - }, - }, + new_: "PalletParachainStakingInflationDistributionConfig" + } + } }, - /** Lookup228: pallet_scheduler::pallet::Call */ + /** + * Lookup228: pallet_scheduler::pallet::Call + **/ PalletSchedulerCall: { _enum: { schedule: { when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel: { when: "u32", - index: "u32", + index: "u32" }, schedule_named: { id: "[u8;32]", when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel_named: { - id: "[u8;32]", + id: "[u8;32]" }, schedule_after: { after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, schedule_named_after: { id: "[u8;32]", after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, set_retry: { task: "(u32,u32)", retries: "u8", - period: "u32", + period: "u32" }, set_retry_named: { id: "[u8;32]", retries: "u8", - period: "u32", + period: "u32" }, cancel_retry: { - task: "(u32,u32)", + task: "(u32,u32)" }, cancel_retry_named: { - id: "[u8;32]", - }, - }, + id: "[u8;32]" + } + } }, - /** Lookup230: pallet_treasury::pallet::Call */ + /** + * Lookup230: pallet_treasury::pallet::Call + **/ PalletTreasuryCall: { _enum: { __Unused0: "Null", @@ -2783,237 +3068,255 @@ export default { __Unused2: "Null", spend_local: { amount: "Compact", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, remove_approval: { - proposalId: "Compact", + proposalId: "Compact" }, spend: { assetKind: "Null", amount: "Compact", beneficiary: "AccountId20", - validFrom: "Option", + validFrom: "Option" }, payout: { - index: "u32", + index: "u32" }, check_status: { - index: "u32", + index: "u32" }, void_spend: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup232: pallet_author_inherent::pallet::Call */ + /** + * Lookup232: pallet_author_inherent::pallet::Call + **/ PalletAuthorInherentCall: { - _enum: ["kick_off_authorship_validation"], + _enum: ["kick_off_authorship_validation"] }, - /** Lookup233: pallet_author_slot_filter::pallet::Call */ + /** + * Lookup233: pallet_author_slot_filter::pallet::Call + **/ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", - }, - }, + new_: "u32" + } + } }, - /** Lookup234: pallet_crowdloan_rewards::pallet::Call */ + /** + * Lookup234: pallet_crowdloan_rewards::pallet::Call + **/ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { rewardAccount: "AccountId20", relayAccount: "[u8;32]", - proof: "SpRuntimeMultiSignature", + proof: "SpRuntimeMultiSignature" }, change_association_with_relay_keys: { rewardAccount: "AccountId20", previousAccount: "AccountId20", - proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>", + proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>" }, claim: "Null", update_reward_address: { - newRewardAccount: "AccountId20", + newRewardAccount: "AccountId20" }, complete_initialization: { - leaseEndingBlock: "u32", + leaseEndingBlock: "u32" }, initialize_reward_vec: { - rewards: "Vec<([u8;32],Option,u128)>", - }, - }, + rewards: "Vec<([u8;32],Option,u128)>" + } + } }, - /** Lookup235: sp_runtime::MultiSignature */ + /** + * Lookup235: sp_runtime::MultiSignature + **/ SpRuntimeMultiSignature: { _enum: { Ed25519: "[u8;64]", Sr25519: "[u8;64]", - Ecdsa: "[u8;65]", - }, + Ecdsa: "[u8;65]" + } }, - /** Lookup242: pallet_author_mapping::pallet::Call */ + /** + * Lookup242: pallet_author_mapping::pallet::Call + **/ PalletAuthorMappingCall: { _enum: { add_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, update_association: { oldNimbusId: "NimbusPrimitivesNimbusCryptoPublic", - newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", + newNimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, clear_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, remove_keys: "Null", set_keys: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Bytes", - }, - }, + keys_: "Bytes" + } + } }, - /** Lookup243: pallet_proxy::pallet::Call */ + /** + * Lookup243: pallet_proxy::pallet::Call + **/ PalletProxyCall: { _enum: { proxy: { real: "AccountId20", forceProxyType: "Option", - call: "Call", + call: "Call" }, add_proxy: { delegate: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxy: { delegate: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxies: "Null", create_pure: { proxyType: "MoonbaseRuntimeProxyType", delay: "u32", - index: "u16", + index: "u16" }, kill_pure: { spawner: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", index: "u16", height: "Compact", - extIndex: "Compact", + extIndex: "Compact" }, announce: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, remove_announcement: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, reject_announcement: { delegate: "AccountId20", - callHash: "H256", + callHash: "H256" }, proxy_announced: { delegate: "AccountId20", real: "AccountId20", forceProxyType: "Option", - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup245: pallet_maintenance_mode::pallet::Call */ + /** + * Lookup245: pallet_maintenance_mode::pallet::Call + **/ PalletMaintenanceModeCall: { - _enum: ["enter_maintenance_mode", "resume_normal_operation"], + _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, - /** Lookup246: pallet_identity::pallet::Call */ + /** + * Lookup246: pallet_identity::pallet::Call + **/ PalletIdentityCall: { _enum: { add_registrar: { - account: "AccountId20", + account: "AccountId20" }, set_identity: { - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, set_subs: { - subs: "Vec<(AccountId20,Data)>", + subs: "Vec<(AccountId20,Data)>" }, clear_identity: "Null", request_judgement: { regIndex: "Compact", - maxFee: "Compact", + maxFee: "Compact" }, cancel_request: { - regIndex: "u32", + regIndex: "u32" }, set_fee: { index: "Compact", - fee: "Compact", + fee: "Compact" }, set_account_id: { _alias: { - new_: "new", + new_: "new" }, index: "Compact", - new_: "AccountId20", + new_: "AccountId20" }, set_fields: { index: "Compact", - fields: "u64", + fields: "u64" }, provide_judgement: { regIndex: "Compact", target: "AccountId20", judgement: "PalletIdentityJudgement", - identity: "H256", + identity: "H256" }, kill_identity: { - target: "AccountId20", + target: "AccountId20" }, add_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, rename_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, remove_sub: { - sub: "AccountId20", + sub: "AccountId20" }, quit_sub: "Null", add_username_authority: { authority: "AccountId20", suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, remove_username_authority: { - authority: "AccountId20", + authority: "AccountId20" }, set_username_for: { who: "AccountId20", username: "Bytes", - signature: "Option", + signature: "Option" }, accept_username: { - username: "Bytes", + username: "Bytes" }, remove_expired_approval: { - username: "Bytes", + username: "Bytes" }, set_primary_username: { - username: "Bytes", + username: "Bytes" }, remove_dangling_username: { - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup247: pallet_identity::legacy::IdentityInfo */ + /** + * Lookup247: pallet_identity::legacy::IdentityInfo + **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -3023,9 +3326,11 @@ export default { email: "Data", pgpFingerprint: "Option<[u8;20]>", image: "Data", - twitter: "Data", + twitter: "Data" }, - /** Lookup283: pallet_identity::types::Judgement */ + /** + * Lookup283: pallet_identity::types::Judgement + **/ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -3034,12 +3339,16 @@ export default { KnownGood: "Null", OutOfDate: "Null", LowQuality: "Null", - Erroneous: "Null", - }, + Erroneous: "Null" + } }, - /** Lookup285: account::EthereumSignature */ + /** + * Lookup285: account::EthereumSignature + **/ AccountEthereumSignature: "[u8;65]", - /** Lookup286: cumulus_pallet_xcmp_queue::pallet::Call */ + /** + * Lookup286: cumulus_pallet_xcmp_queue::pallet::Call + **/ CumulusPalletXcmpQueueCall: { _enum: { __Unused0: "Null", @@ -3047,87 +3356,89 @@ export default { resume_xcm_execution: "Null", update_suspend_threshold: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, update_drop_threshold: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, update_resume_threshold: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", - }, - }, + new_: "u32" + } + } }, - /** Lookup287: pallet_xcm::pallet::Call */ + /** + * Lookup287: pallet_xcm::pallet::Call + **/ PalletXcmCall: { _enum: { send: { dest: "XcmVersionedLocation", - message: "XcmVersionedXcm", + message: "XcmVersionedXcm" }, teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, execute: { message: "XcmVersionedXcm", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, force_xcm_version: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, force_default_xcm_version: { - maybeXcmVersion: "Option", + maybeXcmVersion: "Option" }, force_subscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, force_unsubscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, limited_reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, limited_teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, force_suspension: { - suspended: "bool", + suspended: "bool" }, transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, claim_assets: { assets: "XcmVersionedAssets", - beneficiary: "XcmVersionedLocation", + beneficiary: "XcmVersionedLocation" }, transfer_assets_using_type_and_then: { dest: "XcmVersionedLocation", @@ -3136,23 +3447,29 @@ export default { remoteFeesId: "XcmVersionedAssetId", feesTransferType: "StagingXcmExecutorAssetTransferTransferType", customXcmOnDest: "XcmVersionedXcm", - weightLimit: "XcmV3WeightLimit", - }, - }, + weightLimit: "XcmV3WeightLimit" + } + } }, - /** Lookup288: xcm::VersionedXcm */ + /** + * Lookup288: xcm::VersionedXcm + **/ XcmVersionedXcm: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Xcm", V3: "XcmV3Xcm", - V4: "StagingXcmV4Xcm", - }, + V4: "StagingXcmV4Xcm" + } }, - /** Lookup289: xcm::v2::Xcm */ + /** + * Lookup289: xcm::v2::Xcm + **/ XcmV2Xcm: "Vec", - /** Lookup291: xcm::v2::Instruction */ + /** + * Lookup291: xcm::v2::Instruction + **/ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -3161,76 +3478,76 @@ export default { QueryResponse: { queryId: "Compact", response: "XcmV2Response", - maxWeight: "Compact", + maxWeight: "Compact" }, TransferAsset: { assets: "XcmV2MultiassetMultiAssets", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, TransferReserveAsset: { assets: "XcmV2MultiassetMultiAssets", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, Transact: { originType: "XcmV2OriginKind", requireWeightAtMost: "Compact", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV2MultilocationJunctions", ReportError: { queryId: "Compact", dest: "XcmV2MultiLocation", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, DepositAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, DepositReserveAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, ExchangeAsset: { give: "XcmV2MultiassetMultiAssetFilter", - receive: "XcmV2MultiassetMultiAssets", + receive: "XcmV2MultiassetMultiAssets" }, InitiateReserveWithdraw: { assets: "XcmV2MultiassetMultiAssetFilter", reserve: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, InitiateTeleport: { assets: "XcmV2MultiassetMultiAssetFilter", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, QueryHolding: { queryId: "Compact", dest: "XcmV2MultiLocation", assets: "XcmV2MultiassetMultiAssetFilter", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, BuyExecution: { fees: "XcmV2MultiAsset", - weightLimit: "XcmV2WeightLimit", + weightLimit: "XcmV2WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV2Xcm", @@ -3238,26 +3555,30 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV2MultiassetMultiAssets", - ticket: "XcmV2MultiLocation", + ticket: "XcmV2MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, - UnsubscribeVersion: "Null", - }, + UnsubscribeVersion: "Null" + } }, - /** Lookup292: xcm::v2::Response */ + /** + * Lookup292: xcm::v2::Response + **/ XcmV2Response: { _enum: { Null: "Null", Assets: "XcmV2MultiassetMultiAssets", ExecutionResult: "Option<(u32,XcmV2TraitsError)>", - Version: "u32", - }, + Version: "u32" + } }, - /** Lookup295: xcm::v2::traits::Error */ + /** + * Lookup295: xcm::v2::traits::Error + **/ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -3285,44 +3606,58 @@ export default { UnhandledXcmVersion: "Null", WeightLimitReached: "u64", Barrier: "Null", - WeightNotComputable: "Null", - }, + WeightNotComputable: "Null" + } }, - /** Lookup296: xcm::v2::OriginKind */ + /** + * Lookup296: xcm::v2::OriginKind + **/ XcmV2OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup297: xcm::v2::multiasset::MultiAssetFilter */ + /** + * Lookup297: xcm::v2::multiasset::MultiAssetFilter + **/ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", - Wild: "XcmV2MultiassetWildMultiAsset", - }, + Wild: "XcmV2MultiassetWildMultiAsset" + } }, - /** Lookup298: xcm::v2::multiasset::WildMultiAsset */ + /** + * Lookup298: xcm::v2::multiasset::WildMultiAsset + **/ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetWildFungibility", - }, - }, + fun: "XcmV2MultiassetWildFungibility" + } + } }, - /** Lookup299: xcm::v2::multiasset::WildFungibility */ + /** + * Lookup299: xcm::v2::multiasset::WildFungibility + **/ XcmV2MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup300: xcm::v2::WeightLimit */ + /** + * Lookup300: xcm::v2::WeightLimit + **/ XcmV2WeightLimit: { _enum: { Unlimited: "Null", - Limited: "Compact", - }, + Limited: "Compact" + } }, - /** Lookup301: xcm::v3::Xcm */ + /** + * Lookup301: xcm::v3::Xcm + **/ XcmV3Xcm: "Vec", - /** Lookup303: xcm::v3::Instruction */ + /** + * Lookup303: xcm::v3::Instruction + **/ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -3332,69 +3667,69 @@ export default { queryId: "Compact", response: "XcmV3Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "XcmV3MultiassetMultiAssets", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, TransferReserveAsset: { assets: "XcmV3MultiassetMultiAssets", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV3Junctions", ReportError: "XcmV3QueryResponseInfo", DepositAsset: { assets: "XcmV3MultiassetMultiAssetFilter", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, DepositReserveAsset: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ExchangeAsset: { give: "XcmV3MultiassetMultiAssetFilter", want: "XcmV3MultiassetMultiAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "XcmV3MultiassetMultiAssetFilter", reserve: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, InitiateTeleport: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ReportHolding: { responseInfo: "XcmV3QueryResponseInfo", - assets: "XcmV3MultiassetMultiAssetFilter", + assets: "XcmV3MultiassetMultiAssetFilter" }, BuyExecution: { fees: "XcmV3MultiAsset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV3Xcm", @@ -3402,12 +3737,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV3MultiassetMultiAssets", - ticket: "StagingXcmV3MultiLocation", + ticket: "StagingXcmV3MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "XcmV3MultiassetMultiAssets", @@ -3417,14 +3752,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "XcmV3QueryResponseInfo", + responseInfo: "XcmV3QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "XcmV3QueryResponseInfo", ClearTransactStatus: "Null", @@ -3432,37 +3767,39 @@ export default { ExportMessage: { network: "XcmV3JunctionNetworkId", destination: "XcmV3Junctions", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, LockAsset: { asset: "XcmV3MultiAsset", - unlocker: "StagingXcmV3MultiLocation", + unlocker: "StagingXcmV3MultiLocation" }, UnlockAsset: { asset: "XcmV3MultiAsset", - target: "StagingXcmV3MultiLocation", + target: "StagingXcmV3MultiLocation" }, NoteUnlockable: { asset: "XcmV3MultiAsset", - owner: "StagingXcmV3MultiLocation", + owner: "StagingXcmV3MultiLocation" }, RequestUnlock: { asset: "XcmV3MultiAsset", - locker: "StagingXcmV3MultiLocation", + locker: "StagingXcmV3MultiLocation" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV3MultiLocation", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup304: xcm::v3::Response */ + /** + * Lookup304: xcm::v3::Response + **/ XcmV3Response: { _enum: { Null: "Null", @@ -3470,164 +3807,180 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup306: xcm::v3::PalletInfo */ + /** + * Lookup306: xcm::v3::PalletInfo + **/ XcmV3PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup310: xcm::v3::QueryResponseInfo */ + /** + * Lookup310: xcm::v3::QueryResponseInfo + **/ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup311: xcm::v3::multiasset::MultiAssetFilter */ + /** + * Lookup311: xcm::v3::multiasset::MultiAssetFilter + **/ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", - Wild: "XcmV3MultiassetWildMultiAsset", - }, + Wild: "XcmV3MultiassetWildMultiAsset" + } }, - /** Lookup312: xcm::v3::multiasset::WildMultiAsset */ + /** + * Lookup312: xcm::v3::multiasset::WildMultiAsset + **/ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetWildFungibility", + fun: "XcmV3MultiassetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup313: xcm::v3::multiasset::WildFungibility */ + /** + * Lookup313: xcm::v3::multiasset::WildFungibility + **/ XcmV3MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup325: staging_xcm_executor::traits::asset_transfer::TransferType */ + /** + * Lookup325: staging_xcm_executor::traits::asset_transfer::TransferType + **/ StagingXcmExecutorAssetTransferTransferType: { _enum: { Teleport: "Null", LocalReserve: "Null", DestinationReserve: "Null", - RemoteReserve: "XcmVersionedLocation", - }, + RemoteReserve: "XcmVersionedLocation" + } }, - /** Lookup326: xcm::VersionedAssetId */ + /** + * Lookup326: xcm::VersionedAssetId + **/ XcmVersionedAssetId: { _enum: { __Unused0: "Null", __Unused1: "Null", __Unused2: "Null", V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, + V4: "StagingXcmV4AssetAssetId" + } }, - /** Lookup327: pallet_assets::pallet::Call */ + /** + * Lookup327: pallet_assets::pallet::Call + **/ PalletAssetsCall: { _enum: { create: { id: "Compact", admin: "AccountId20", - minBalance: "u128", + minBalance: "u128" }, force_create: { id: "Compact", owner: "AccountId20", isSufficient: "bool", - minBalance: "Compact", + minBalance: "Compact" }, start_destroy: { - id: "Compact", + id: "Compact" }, destroy_accounts: { - id: "Compact", + id: "Compact" }, destroy_approvals: { - id: "Compact", + id: "Compact" }, finish_destroy: { - id: "Compact", + id: "Compact" }, mint: { id: "Compact", beneficiary: "AccountId20", - amount: "Compact", + amount: "Compact" }, burn: { id: "Compact", who: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer_keep_alive: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, force_transfer: { id: "Compact", source: "AccountId20", dest: "AccountId20", - amount: "Compact", + amount: "Compact" }, freeze: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, thaw: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, freeze_asset: { - id: "Compact", + id: "Compact" }, thaw_asset: { - id: "Compact", + id: "Compact" }, transfer_ownership: { id: "Compact", - owner: "AccountId20", + owner: "AccountId20" }, set_team: { id: "Compact", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", - decimals: "u8", + decimals: "u8" }, clear_metadata: { - id: "Compact", + id: "Compact" }, force_set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, force_clear_metadata: { - id: "Compact", + id: "Compact" }, force_asset_status: { id: "Compact", @@ -3637,89 +3990,93 @@ export default { freezer: "AccountId20", minBalance: "Compact", isSufficient: "bool", - isFrozen: "bool", + isFrozen: "bool" }, approve_transfer: { id: "Compact", delegate: "AccountId20", - amount: "Compact", + amount: "Compact" }, cancel_approval: { id: "Compact", - delegate: "AccountId20", + delegate: "AccountId20" }, force_cancel_approval: { id: "Compact", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, transfer_approved: { id: "Compact", owner: "AccountId20", destination: "AccountId20", - amount: "Compact", + amount: "Compact" }, touch: { - id: "Compact", + id: "Compact" }, refund: { id: "Compact", - allowBurn: "bool", + allowBurn: "bool" }, set_min_balance: { id: "Compact", - minBalance: "u128", + minBalance: "u128" }, touch_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, refund_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, block: { id: "Compact", - who: "AccountId20", - }, - }, + who: "AccountId20" + } + } }, - /** Lookup328: pallet_asset_manager::pallet::Call */ + /** + * Lookup328: pallet_asset_manager::pallet::Call + **/ PalletAssetManagerCall: { _enum: { register_foreign_asset: { asset: "MoonbaseRuntimeXcmConfigAssetType", metadata: "MoonbaseRuntimeAssetConfigAssetRegistrarMetadata", minAmount: "u128", - isSufficient: "bool", + isSufficient: "bool" }, __Unused1: "Null", change_existing_asset_type: { assetId: "u128", newAssetType: "MoonbaseRuntimeXcmConfigAssetType", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused3: "Null", remove_existing_asset_type: { assetId: "u128", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused5: "Null", destroy_foreign_asset: { assetId: "u128", - numAssetsWeightHint: "u32", - }, - }, + numAssetsWeightHint: "u32" + } + } }, - /** Lookup329: pallet_xcm_transactor::pallet::Call */ + /** + * Lookup329: pallet_xcm_transactor::pallet::Call + **/ PalletXcmTransactorCall: { _enum: { register: { who: "AccountId20", - index: "u16", + index: "u16" }, deregister: { - index: "u16", + index: "u16" }, transact_through_derivative: { dest: "MoonbaseRuntimeXcmConfigTransactors", @@ -3727,7 +4084,7 @@ export default { fee: "PalletXcmTransactorCurrencyPayment", innerCall: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, transact_through_sovereign: { dest: "XcmVersionedLocation", @@ -3736,428 +4093,486 @@ export default { call: "Bytes", originKind: "XcmV3OriginKind", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_transact_info: { location: "XcmVersionedLocation", transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, remove_transact_info: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, transact_through_signed: { dest: "XcmVersionedLocation", fee: "PalletXcmTransactorCurrencyPayment", call: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_fee_per_second: { assetLocation: "XcmVersionedLocation", - feePerSecond: "u128", + feePerSecond: "u128" }, remove_fee_per_second: { - assetLocation: "XcmVersionedLocation", + assetLocation: "XcmVersionedLocation" }, hrmp_manage: { action: "PalletXcmTransactorHrmpOperation", fee: "PalletXcmTransactorCurrencyPayment", - weightInfo: "PalletXcmTransactorTransactWeights", - }, - }, + weightInfo: "PalletXcmTransactorTransactWeights" + } + } }, - /** Lookup330: moonbase_runtime::xcm_config::Transactors */ + /** + * Lookup330: moonbase_runtime::xcm_config::Transactors + **/ MoonbaseRuntimeXcmConfigTransactors: { - _enum: ["Relay"], + _enum: ["Relay"] }, - /** Lookup331: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** + * Lookup331: pallet_xcm_transactor::pallet::CurrencyPayment + **/ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", - feeAmount: "Option", + feeAmount: "Option" }, - /** Lookup332: moonbase_runtime::xcm_config::CurrencyId */ + /** + * Lookup332: moonbase_runtime::xcm_config::CurrencyId + **/ MoonbaseRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", ForeignAsset: "u128", Erc20: { - contractAddress: "H160", - }, - }, + contractAddress: "H160" + } + } }, - /** Lookup333: pallet_xcm_transactor::pallet::Currency */ + /** + * Lookup333: pallet_xcm_transactor::pallet::Currency + **/ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonbaseRuntimeXcmConfigCurrencyId", - AsMultiLocation: "XcmVersionedLocation", - }, + AsMultiLocation: "XcmVersionedLocation" + } }, - /** Lookup335: pallet_xcm_transactor::pallet::TransactWeights */ + /** + * Lookup335: pallet_xcm_transactor::pallet::TransactWeights + **/ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", - overallWeight: "Option", + overallWeight: "Option" }, - /** Lookup337: pallet_moonbeam_orbiters::pallet::Call */ + /** + * Lookup337: pallet_moonbeam_orbiters::pallet::Call + **/ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, collator_remove_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, orbiter_leave_collator_pool: { - collator: "AccountId20", + collator: "AccountId20" }, orbiter_register: "Null", orbiter_unregister: { - collatorsPoolCount: "u32", + collatorsPoolCount: "u32" }, add_collator: { - collator: "AccountId20", + collator: "AccountId20" }, remove_collator: { - collator: "AccountId20", - }, - }, + collator: "AccountId20" + } + } }, - /** Lookup338: pallet_ethereum_xcm::pallet::Call */ + /** + * Lookup338: pallet_ethereum_xcm::pallet::Call + **/ PalletEthereumXcmCall: { _enum: { transact: { - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, transact_through_proxy: { transactAs: "H160", - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, suspend_ethereum_xcm_execution: "Null", resume_ethereum_xcm_execution: "Null", force_transact_as: { transactAs: "H160", xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", - forceCreateAddress: "Option", - }, - }, + forceCreateAddress: "Option" + } + } }, - /** Lookup339: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** + * Lookup339: xcm_primitives::ethereum_xcm::EthereumXcmTransaction + **/ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", - V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", - }, + V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2" + } }, - /** Lookup340: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** + * Lookup340: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup341: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** + * Lookup341: xcm_primitives::ethereum_xcm::EthereumXcmFee + **/ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", - Auto: "Null", - }, + Auto: "Null" + } }, - /** Lookup342: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** + * Lookup342: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee + **/ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", - maxFeePerGas: "Option", + maxFeePerGas: "Option" }, - /** Lookup345: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** + * Lookup345: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup347: pallet_randomness::pallet::Call */ + /** + * Lookup347: pallet_randomness::pallet::Call + **/ PalletRandomnessCall: { - _enum: ["set_babe_randomness_results"], + _enum: ["set_babe_randomness_results"] }, - /** Lookup348: pallet_collective::pallet::Call */ + /** + * Lookup348: pallet_collective::pallet::Call + **/ PalletCollectiveCall: { _enum: { set_members: { newMembers: "Vec", prime: "Option", - oldCount: "u32", + oldCount: "u32" }, execute: { proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, propose: { threshold: "Compact", proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, vote: { proposal: "H256", index: "Compact", - approve: "bool", + approve: "bool" }, __Unused4: "Null", disapprove_proposal: { - proposalHash: "H256", + proposalHash: "H256" }, close: { proposalHash: "H256", index: "Compact", proposalWeightBound: "SpWeightsWeightV2Weight", - lengthBound: "Compact", - }, - }, + lengthBound: "Compact" + } + } }, - /** Lookup349: pallet_conviction_voting::pallet::Call */ + /** + * Lookup349: pallet_conviction_voting::pallet::Call + **/ PalletConvictionVotingCall: { _enum: { vote: { pollIndex: "Compact", - vote: "PalletConvictionVotingVoteAccountVote", + vote: "PalletConvictionVotingVoteAccountVote" }, delegate: { class: "u16", to: "AccountId20", conviction: "PalletConvictionVotingConviction", - balance: "u128", + balance: "u128" }, undelegate: { - class: "u16", + class: "u16" }, unlock: { class: "u16", - target: "AccountId20", + target: "AccountId20" }, remove_vote: { class: "Option", - index: "u32", + index: "u32" }, remove_other_vote: { target: "AccountId20", class: "u16", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup350: pallet_conviction_voting::vote::AccountVote */ + /** + * Lookup350: pallet_conviction_voting::vote::AccountVote + **/ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { vote: "Vote", - balance: "u128", + balance: "u128" }, Split: { aye: "u128", - nay: "u128", + nay: "u128" }, SplitAbstain: { aye: "u128", nay: "u128", - abstain: "u128", - }, - }, + abstain: "u128" + } + } }, - /** Lookup352: pallet_conviction_voting::conviction::Conviction */ + /** + * Lookup352: pallet_conviction_voting::conviction::Conviction + **/ PalletConvictionVotingConviction: { - _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], + _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"] }, - /** Lookup354: pallet_referenda::pallet::Call */ + /** + * Lookup354: pallet_referenda::pallet::Call + **/ PalletReferendaCall: { _enum: { submit: { proposalOrigin: "MoonbaseRuntimeOriginCaller", proposal: "FrameSupportPreimagesBounded", - enactmentMoment: "FrameSupportScheduleDispatchTime", + enactmentMoment: "FrameSupportScheduleDispatchTime" }, place_decision_deposit: { - index: "u32", + index: "u32" }, refund_decision_deposit: { - index: "u32", + index: "u32" }, cancel: { - index: "u32", + index: "u32" }, kill: { - index: "u32", + index: "u32" }, nudge_referendum: { - index: "u32", + index: "u32" }, one_fewer_deciding: { - track: "u16", + track: "u16" }, refund_submission_deposit: { - index: "u32", + index: "u32" }, set_metadata: { index: "u32", - maybeHash: "Option", - }, - }, + maybeHash: "Option" + } + } }, - /** Lookup355: frame_support::traits::schedule::DispatchTime */ + /** + * Lookup355: frame_support::traits::schedule::DispatchTime + **/ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", - After: "u32", - }, + After: "u32" + } }, - /** Lookup357: pallet_preimage::pallet::Call */ + /** + * Lookup357: pallet_preimage::pallet::Call + **/ PalletPreimageCall: { _enum: { note_preimage: { - bytes: "Bytes", + bytes: "Bytes" }, unnote_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, request_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, unrequest_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, ensure_updated: { - hashes: "Vec", - }, - }, + hashes: "Vec" + } + } }, - /** Lookup358: pallet_whitelist::pallet::Call */ + /** + * Lookup358: pallet_whitelist::pallet::Call + **/ PalletWhitelistCall: { _enum: { whitelist_call: { - callHash: "H256", + callHash: "H256" }, remove_whitelisted_call: { - callHash: "H256", + callHash: "H256" }, dispatch_whitelisted_call: { callHash: "H256", callEncodedLen: "u32", - callWeightWitness: "SpWeightsWeightV2Weight", + callWeightWitness: "SpWeightsWeightV2Weight" }, dispatch_whitelisted_call_with_preimage: { - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup360: pallet_root_testing::pallet::Call */ + /** + * Lookup360: pallet_root_testing::pallet::Call + **/ PalletRootTestingCall: { _enum: { fill_block: { - ratio: "Perbill", + ratio: "Perbill" }, - trigger_defensive: "Null", - }, + trigger_defensive: "Null" + } }, - /** Lookup361: pallet_multisig::pallet::Call */ + /** + * Lookup361: pallet_multisig::pallet::Call + **/ PalletMultisigCall: { _enum: { as_multi_threshold_1: { otherSignatories: "Vec", - call: "Call", + call: "Call" }, as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", call: "Call", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, approve_as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", callHash: "[u8;32]", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, cancel_as_multi: { threshold: "u16", otherSignatories: "Vec", timepoint: "PalletMultisigTimepoint", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup363: pallet_multisig::Timepoint */ + /** + * Lookup363: pallet_multisig::Timepoint + **/ PalletMultisigTimepoint: { height: "u32", - index: "u32", + index: "u32" }, - /** Lookup364: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** + * Lookup364: pallet_moonbeam_lazy_migrations::pallet::Call + **/ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", __Unused1: "Null", create_contract_metadata: { - address: "H160", + address: "H160" }, approve_assets_to_migrate: { - assets: "Vec", + assets: "Vec" }, start_foreign_assets_migration: { - assetId: "u128", + assetId: "u128" }, migrate_foreign_asset_balances: { - limit: "u32", + limit: "u32" }, migrate_foreign_asset_approvals: { - limit: "u32", + limit: "u32" }, - finish_foreign_assets_migration: "Null", - }, + finish_foreign_assets_migration: "Null" + } }, - /** Lookup367: pallet_message_queue::pallet::Call */ + /** + * Lookup367: pallet_message_queue::pallet::Call + **/ PalletMessageQueueCall: { _enum: { reap_page: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", - pageIndex: "u32", + pageIndex: "u32" }, execute_overweight: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", page: "u32", index: "u32", - weightLimit: "SpWeightsWeightV2Weight", - }, - }, + weightLimit: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup368: cumulus_primitives_core::AggregateMessageOrigin */ + /** + * Lookup368: cumulus_primitives_core::AggregateMessageOrigin + **/ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", Parent: "Null", - Sibling: "u32", - }, + Sibling: "u32" + } }, - /** Lookup369: pallet_emergency_para_xcm::pallet::Call */ + /** + * Lookup369: pallet_emergency_para_xcm::pallet::Call + **/ PalletEmergencyParaXcmCall: { _enum: { paused_to_normal: "Null", fast_authorize_upgrade: { - codeHash: "H256", - }, - }, + codeHash: "H256" + } + } }, - /** Lookup370: pallet_moonbeam_foreign_assets::pallet::Call */ + /** + * Lookup370: pallet_moonbeam_foreign_assets::pallet::Call + **/ PalletMoonbeamForeignAssetsCall: { _enum: { create_foreign_asset: { @@ -4165,191 +4580,225 @@ export default { xcmLocation: "StagingXcmV4Location", decimals: "u8", symbol: "Bytes", - name: "Bytes", + name: "Bytes" }, change_xcm_location: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, freeze_foreign_asset: { assetId: "u128", - allowXcmDeposit: "bool", + allowXcmDeposit: "bool" }, unfreeze_foreign_asset: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup372: pallet_parameters::pallet::Call */ + /** + * Lookup372: pallet_parameters::pallet::Call + **/ PalletParametersCall: { _enum: { set_parameter: { - keyValue: "MoonbaseRuntimeRuntimeParamsRuntimeParameters", - }, - }, + keyValue: "MoonbaseRuntimeRuntimeParamsRuntimeParameters" + } + } }, - /** Lookup373: moonbase_runtime::runtime_params::RuntimeParameters */ + /** + * Lookup373: moonbase_runtime::runtime_params::RuntimeParameters + **/ MoonbaseRuntimeRuntimeParamsRuntimeParameters: { _enum: { RuntimeConfig: "MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters", - PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters", - }, + PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters" + } }, - /** Lookup374: moonbase_runtime::runtime_params::dynamic_params::runtime_config::Parameters */ + /** + * Lookup374: moonbase_runtime::runtime_params::dynamic_params::runtime_config::Parameters + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters: { _enum: { FeesTreasuryProportion: - "(MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)", - }, + "(MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)" + } }, - /** Lookup375: moonbase_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion */ + /** + * Lookup375: moonbase_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion: "Null", - /** Lookup377: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters */ + /** + * Lookup377: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters: { _enum: { - Deposit: "(MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)", - }, + Deposit: "(MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)" + } }, - /** Lookup378: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit */ + /** + * Lookup378: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit: "Null", - /** Lookup381: pallet_xcm_weight_trader::pallet::Call */ + /** + * Lookup381: pallet_xcm_weight_trader::pallet::Call + **/ PalletXcmWeightTraderCall: { _enum: { add_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, edit_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, pause_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, resume_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, remove_asset: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup382: sp_runtime::traits::BlakeTwo256 */ + /** + * Lookup382: sp_runtime::traits::BlakeTwo256 + **/ SpRuntimeBlakeTwo256: "Null", - /** Lookup384: pallet_conviction_voting::types::Tally */ + /** + * Lookup384: pallet_conviction_voting::types::Tally + **/ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", - support: "u128", + support: "u128" }, - /** Lookup385: pallet_preimage::pallet::Event */ + /** + * Lookup385: pallet_preimage::pallet::Event + **/ PalletPreimageEvent: { _enum: { Noted: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Requested: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Cleared: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, - /** Lookup386: pallet_whitelist::pallet::Event */ + /** + * Lookup386: pallet_whitelist::pallet::Event + **/ PalletWhitelistEvent: { _enum: { CallWhitelisted: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallRemoved: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallDispatched: { callHash: "H256", - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup388: frame_support::dispatch::PostDispatchInfo */ + /** + * Lookup388: frame_support::dispatch::PostDispatchInfo + **/ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup389: sp_runtime::DispatchErrorWithPostInfo */ + /** + * Lookup389: sp_runtime::DispatchErrorWithPostInfo + **/ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, - /** Lookup391: pallet_root_testing::pallet::Event */ + /** + * Lookup391: pallet_root_testing::pallet::Event + **/ PalletRootTestingEvent: { - _enum: ["DefensiveTestCall"], + _enum: ["DefensiveTestCall"] }, - /** Lookup392: pallet_multisig::pallet::Event */ + /** + * Lookup392: pallet_multisig::pallet::Event + **/ PalletMultisigEvent: { _enum: { NewMultisig: { approving: "AccountId20", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigApproval: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigExecuted: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", callHash: "[u8;32]", - result: "Result", + result: "Result" }, MultisigCancelled: { cancelling: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup393: pallet_message_queue::pallet::Event */ + /** + * Lookup393: pallet_message_queue::pallet::Event + **/ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - error: "FrameSupportMessagesProcessMessageError", + error: "FrameSupportMessagesProcessMessageError" }, Processed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", weightUsed: "SpWeightsWeightV2Weight", - success: "bool", + success: "bool" }, OverweightEnqueued: { id: "[u8;32]", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", pageIndex: "u32", - messageIndex: "u32", + messageIndex: "u32" }, PageReaped: { origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup394: frame_support::traits::messages::ProcessMessageError */ + /** + * Lookup394: frame_support::traits::messages::ProcessMessageError + **/ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4357,154 +4806,194 @@ export default { Unsupported: "Null", Overweight: "SpWeightsWeightV2Weight", Yield: "Null", - StackLimitReached: "Null", - }, + StackLimitReached: "Null" + } }, - /** Lookup395: pallet_emergency_para_xcm::pallet::Event */ + /** + * Lookup395: pallet_emergency_para_xcm::pallet::Event + **/ PalletEmergencyParaXcmEvent: { - _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"], + _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"] }, - /** Lookup396: pallet_moonbeam_foreign_assets::pallet::Event */ + /** + * Lookup396: pallet_moonbeam_foreign_assets::pallet::Event + **/ PalletMoonbeamForeignAssetsEvent: { _enum: { ForeignAssetCreated: { contractAddress: "H160", assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetXcmLocationChanged: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, ForeignAssetFrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetUnfrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", - }, - }, + xcmLocation: "StagingXcmV4Location" + } + } }, - /** Lookup397: pallet_parameters::pallet::Event */ + /** + * Lookup397: pallet_parameters::pallet::Event + **/ PalletParametersEvent: { _enum: { Updated: { key: "MoonbaseRuntimeRuntimeParamsRuntimeParametersKey", oldValue: "Option", - newValue: "Option", - }, - }, + newValue: "Option" + } + } }, - /** Lookup398: moonbase_runtime::runtime_params::RuntimeParametersKey */ + /** + * Lookup398: moonbase_runtime::runtime_params::RuntimeParametersKey + **/ MoonbaseRuntimeRuntimeParamsRuntimeParametersKey: { _enum: { RuntimeConfig: "MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey", - PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey", - }, + PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey" + } }, - /** Lookup399: moonbase_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey */ + /** + * Lookup399: moonbase_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey: { - _enum: ["FeesTreasuryProportion"], + _enum: ["FeesTreasuryProportion"] }, - /** Lookup400: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey */ + /** + * Lookup400: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey: { - _enum: ["Deposit"], + _enum: ["Deposit"] }, - /** Lookup402: moonbase_runtime::runtime_params::RuntimeParametersValue */ + /** + * Lookup402: moonbase_runtime::runtime_params::RuntimeParametersValue + **/ MoonbaseRuntimeRuntimeParamsRuntimeParametersValue: { _enum: { RuntimeConfig: "MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue", - PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue", - }, + PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue" + } }, - /** Lookup403: moonbase_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue */ + /** + * Lookup403: moonbase_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue: { _enum: { - FeesTreasuryProportion: "Perbill", - }, + FeesTreasuryProportion: "Perbill" + } }, - /** Lookup404: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue */ + /** + * Lookup404: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue: { _enum: { - Deposit: "u128", - }, + Deposit: "u128" + } }, - /** Lookup405: pallet_xcm_weight_trader::pallet::Event */ + /** + * Lookup405: pallet_xcm_weight_trader::pallet::Event + **/ PalletXcmWeightTraderEvent: { _enum: { SupportedAssetAdded: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, SupportedAssetEdited: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, PauseAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, ResumeAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, SupportedAssetRemoved: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup406: frame_system::Phase */ + /** + * Lookup406: frame_system::Phase + **/ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", Finalization: "Null", - Initialization: "Null", - }, + Initialization: "Null" + } }, - /** Lookup408: frame_system::LastRuntimeUpgradeInfo */ + /** + * Lookup408: frame_system::LastRuntimeUpgradeInfo + **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", - specName: "Text", + specName: "Text" }, - /** Lookup409: frame_system::CodeUpgradeAuthorization */ + /** + * Lookup409: frame_system::CodeUpgradeAuthorization + **/ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, - /** Lookup410: frame_system::limits::BlockWeights */ + /** + * Lookup410: frame_system::limits::BlockWeights + **/ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", - perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", + perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass" }, - /** Lookup411: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup411: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", - mandatory: "FrameSystemLimitsWeightsPerClass", + mandatory: "FrameSystemLimitsWeightsPerClass" }, - /** Lookup412: frame_system::limits::WeightsPerClass */ + /** + * Lookup412: frame_system::limits::WeightsPerClass + **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", - reserved: "Option", + reserved: "Option" }, - /** Lookup413: frame_system::limits::BlockLength */ + /** + * Lookup413: frame_system::limits::BlockLength + **/ FrameSystemLimitsBlockLength: { - max: "FrameSupportDispatchPerDispatchClassU32", + max: "FrameSupportDispatchPerDispatchClassU32" }, - /** Lookup414: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup414: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", - mandatory: "u32", + mandatory: "u32" }, - /** Lookup415: sp_weights::RuntimeDbWeight */ + /** + * Lookup415: sp_weights::RuntimeDbWeight + **/ SpWeightsRuntimeDbWeight: { read: "u64", - write: "u64", + write: "u64" }, - /** Lookup416: sp_version::RuntimeVersion */ + /** + * Lookup416: sp_version::RuntimeVersion + **/ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4513,9 +5002,11 @@ export default { implVersion: "u32", apis: "Vec<([u8;8],u32)>", transactionVersion: "u32", - stateVersion: "u8", + stateVersion: "u8" }, - /** Lookup420: frame_system::pallet::Error */ + /** + * Lookup420: frame_system::pallet::Error + **/ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4526,29 +5017,39 @@ export default { "CallFiltered", "MultiBlockMigrationsOngoing", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup421: pallet_utility::pallet::Error */ + /** + * Lookup421: pallet_utility::pallet::Error + **/ PalletUtilityError: { - _enum: ["TooManyCalls"], + _enum: ["TooManyCalls"] }, - /** Lookup423: pallet_balances::types::BalanceLock */ + /** + * Lookup423: pallet_balances::types::BalanceLock + **/ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", - reasons: "PalletBalancesReasons", + reasons: "PalletBalancesReasons" }, - /** Lookup424: pallet_balances::types::Reasons */ + /** + * Lookup424: pallet_balances::types::Reasons + **/ PalletBalancesReasons: { - _enum: ["Fee", "Misc", "All"], + _enum: ["Fee", "Misc", "All"] }, - /** Lookup427: pallet_balances::types::ReserveData */ + /** + * Lookup427: pallet_balances::types::ReserveData + **/ PalletBalancesReserveData: { id: "[u8;4]", - amount: "u128", + amount: "u128" }, - /** Lookup431: moonbase_runtime::RuntimeHoldReason */ + /** + * Lookup431: moonbase_runtime::RuntimeHoldReason + **/ MoonbaseRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4595,19 +5096,25 @@ export default { __Unused41: "Null", __Unused42: "Null", __Unused43: "Null", - Preimage: "PalletPreimageHoldReason", - }, + Preimage: "PalletPreimageHoldReason" + } }, - /** Lookup432: pallet_preimage::pallet::HoldReason */ + /** + * Lookup432: pallet_preimage::pallet::HoldReason + **/ PalletPreimageHoldReason: { - _enum: ["Preimage"], + _enum: ["Preimage"] }, - /** Lookup435: frame_support::traits::tokens::misc::IdAmount */ + /** + * Lookup435: frame_support::traits::tokens::misc::IdAmount + **/ FrameSupportTokensMiscIdAmount: { id: "Null", - amount: "u128", + amount: "u128" }, - /** Lookup437: pallet_balances::pallet::Error */ + /** + * Lookup437: pallet_balances::pallet::Error + **/ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4621,67 +5128,89 @@ export default { "TooManyHolds", "TooManyFreezes", "IssuanceDeactivated", - "DeltaZero", - ], + "DeltaZero" + ] }, - /** Lookup438: pallet_sudo::pallet::Error */ + /** + * Lookup438: pallet_sudo::pallet::Error + **/ PalletSudoError: { - _enum: ["RequireSudo"], + _enum: ["RequireSudo"] }, - /** Lookup440: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** + * Lookup440: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup441: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** + * Lookup441: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", - hrmpOutgoing: "BTreeMap", + hrmpOutgoing: "BTreeMap" }, - /** Lookup443: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** + * Lookup443: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", - totalBytes: "u32", + totalBytes: "u32" }, - /** Lookup447: polkadot_primitives::v7::UpgradeGoAhead */ + /** + * Lookup447: polkadot_primitives::v7::UpgradeGoAhead + **/ PolkadotPrimitivesV7UpgradeGoAhead: { - _enum: ["Abort", "GoAhead"], + _enum: ["Abort", "GoAhead"] }, - /** Lookup448: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** + * Lookup448: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup450: polkadot_primitives::v7::UpgradeRestriction */ + /** + * Lookup450: polkadot_primitives::v7::UpgradeRestriction + **/ PolkadotPrimitivesV7UpgradeRestriction: { - _enum: ["Present"], + _enum: ["Present"] }, - /** Lookup451: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** + * Lookup451: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" }, - /** Lookup452: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** + * Lookup452: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", - remainingSize: "u32", + remainingSize: "u32" }, - /** Lookup455: polkadot_primitives::v7::AbridgedHrmpChannel */ + /** + * Lookup455: polkadot_primitives::v7::AbridgedHrmpChannel + **/ PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", msgCount: "u32", totalSize: "u32", - mqcHead: "Option", + mqcHead: "Option" }, - /** Lookup456: polkadot_primitives::v7::AbridgedHostConfiguration */ + /** + * Lookup456: polkadot_primitives::v7::AbridgedHostConfiguration + **/ PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", @@ -4692,19 +5221,25 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" }, - /** Lookup457: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + /** + * Lookup457: polkadot_primitives::v7::async_backing::AsyncBackingParams + **/ PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", - allowedAncestryLen: "u32", + allowedAncestryLen: "u32" }, - /** Lookup463: polkadot_core_primitives::OutboundHrmpMessage */ + /** + * Lookup463: polkadot_core_primitives::OutboundHrmpMessage + **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup465: cumulus_pallet_parachain_system::pallet::Error */ + /** + * Lookup465: cumulus_pallet_parachain_system::pallet::Error + **/ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4714,23 +5249,29 @@ export default { "HostConfigurationNotAvailable", "NotScheduled", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup466: pallet_transaction_payment::Releases */ + /** + * Lookup466: pallet_transaction_payment::Releases + **/ PalletTransactionPaymentReleases: { - _enum: ["V1Ancient", "V2"], + _enum: ["V1Ancient", "V2"] }, - /** Lookup467: pallet_evm::CodeMetadata */ + /** + * Lookup467: pallet_evm::CodeMetadata + **/ PalletEvmCodeMetadata: { _alias: { size_: "size", - hash_: "hash", + hash_: "hash" }, size_: "u64", - hash_: "H256", + hash_: "H256" }, - /** Lookup469: pallet_evm::pallet::Error */ + /** + * Lookup469: pallet_evm::pallet::Error + **/ PalletEvmError: { _enum: [ "BalanceLow", @@ -4745,10 +5286,12 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "Undefined", - ], + "Undefined" + ] }, - /** Lookup472: fp_rpc::TransactionStatus */ + /** + * Lookup472: fp_rpc::TransactionStatus + **/ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -4756,35 +5299,42 @@ export default { to: "Option", contractAddress: "Option", logs: "Vec", - logsBloom: "EthbloomBloom", + logsBloom: "EthbloomBloom" }, - /** Lookup474: ethbloom::Bloom */ + /** + * Lookup474: ethbloom::Bloom + **/ EthbloomBloom: "[u8;256]", - /** Lookup476: ethereum::receipt::ReceiptV3 */ + /** + * Lookup476: ethereum::receipt::ReceiptV3 + **/ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", EIP2930: "EthereumReceiptEip658ReceiptData", - EIP1559: "EthereumReceiptEip658ReceiptData", - }, + EIP1559: "EthereumReceiptEip658ReceiptData" + } }, - /** Lookup477: ethereum::receipt::EIP658ReceiptData */ + /** + * Lookup477: ethereum::receipt::EIP658ReceiptData + **/ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", logsBloom: "EthbloomBloom", - logs: "Vec", + logs: "Vec" }, /** - * Lookup478: - * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) - */ + * Lookup478: ethereum::block::Block + **/ EthereumBlock: { header: "EthereumHeader", transactions: "Vec", - ommers: "Vec", + ommers: "Vec" }, - /** Lookup479: ethereum::header::Header */ + /** + * Lookup479: ethereum::header::Header + **/ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -4800,48 +5350,60 @@ export default { timestamp: "u64", extraData: "Bytes", mixHash: "H256", - nonce: "EthereumTypesHashH64", + nonce: "EthereumTypesHashH64" }, - /** Lookup480: ethereum_types::hash::H64 */ + /** + * Lookup480: ethereum_types::hash::H64 + **/ EthereumTypesHashH64: "[u8;8]", - /** Lookup485: pallet_ethereum::pallet::Error */ + /** + * Lookup485: pallet_ethereum::pallet::Error + **/ PalletEthereumError: { - _enum: ["InvalidSignature", "PreLogExists"], + _enum: ["InvalidSignature", "PreLogExists"] }, - /** Lookup486: pallet_parachain_staking::types::RoundInfo */ + /** + * Lookup486: pallet_parachain_staking::types::RoundInfo + **/ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", - firstSlot: "u64", + firstSlot: "u64" }, - /** Lookup487: pallet_parachain_staking::types::Delegator */ + /** + * Lookup487: pallet_parachain_staking::types::Delegator + **/ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", total: "u128", lessTotal: "u128", - status: "PalletParachainStakingDelegatorStatus", + status: "PalletParachainStakingDelegatorStatus" }, /** - * Lookup488: - * pallet_parachain_staking::set::OrderedSet> - */ + * Lookup488: pallet_parachain_staking::set::OrderedSet> + **/ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup489: pallet_parachain_staking::types::Bond */ + /** + * Lookup489: pallet_parachain_staking::types::Bond + **/ PalletParachainStakingBond: { owner: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup491: pallet_parachain_staking::types::DelegatorStatus */ + /** + * Lookup491: pallet_parachain_staking::types::DelegatorStatus + **/ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup492: pallet_parachain_staking::types::CandidateMetadata */ + /** + * Lookup492: pallet_parachain_staking::types::CandidateMetadata + **/ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4852,87 +5414,104 @@ export default { topCapacity: "PalletParachainStakingCapacityStatus", bottomCapacity: "PalletParachainStakingCapacityStatus", request: "Option", - status: "PalletParachainStakingCollatorStatus", + status: "PalletParachainStakingCollatorStatus" }, - /** Lookup493: pallet_parachain_staking::types::CapacityStatus */ + /** + * Lookup493: pallet_parachain_staking::types::CapacityStatus + **/ PalletParachainStakingCapacityStatus: { - _enum: ["Full", "Empty", "Partial"], + _enum: ["Full", "Empty", "Partial"] }, - /** Lookup495: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** + * Lookup495: pallet_parachain_staking::types::CandidateBondLessRequest + **/ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", - whenExecutable: "u32", + whenExecutable: "u32" }, - /** Lookup496: pallet_parachain_staking::types::CollatorStatus */ + /** + * Lookup496: pallet_parachain_staking::types::CollatorStatus + **/ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", Idle: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup498: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** + * Lookup498: pallet_parachain_staking::delegation_requests::ScheduledRequest + **/ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, /** - * Lookup501: - * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) - */ + * Lookup501: pallet_parachain_staking::auto_compound::AutoCompoundConfig + **/ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", - value: "Percent", + value: "Percent" }, - /** Lookup503: pallet_parachain_staking::types::Delegations */ + /** + * Lookup503: pallet_parachain_staking::types::Delegations + **/ PalletParachainStakingDelegations: { delegations: "Vec", - total: "u128", + total: "u128" }, /** - * Lookup505: - * pallet_parachain_staking::set::BoundedOrderedSet, S> - */ + * Lookup505: pallet_parachain_staking::set::BoundedOrderedSet, S> + **/ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup508: pallet_parachain_staking::types::CollatorSnapshot */ + /** + * Lookup508: pallet_parachain_staking::types::CollatorSnapshot + **/ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", - total: "u128", + total: "u128" }, - /** Lookup510: pallet_parachain_staking::types::BondWithAutoCompound */ + /** + * Lookup510: pallet_parachain_staking::types::BondWithAutoCompound + **/ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", - autoCompound: "Percent", + autoCompound: "Percent" }, - /** Lookup511: pallet_parachain_staking::types::DelayedPayout */ + /** + * Lookup511: pallet_parachain_staking::types::DelayedPayout + **/ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", - collatorCommission: "Perbill", + collatorCommission: "Perbill" }, - /** Lookup512: pallet_parachain_staking::inflation::InflationInfo */ + /** + * Lookup512: pallet_parachain_staking::inflation::InflationInfo + **/ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", ideal: "u128", - max: "u128", + max: "u128" }, annual: { min: "Perbill", ideal: "Perbill", - max: "Perbill", + max: "Perbill" }, round: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, - /** Lookup513: pallet_parachain_staking::pallet::Error */ + /** + * Lookup513: pallet_parachain_staking::pallet::Error + **/ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4990,69 +5569,78 @@ export default { "CannotSetAboveMaxCandidates", "RemovedCall", "MarkingOfflineNotEnabled", - "CurrentRoundTooLow", - ], + "CurrentRoundTooLow" + ] }, /** - * Lookup516: pallet_scheduler::Scheduled, BlockNumber, moonbase_runtime::OriginCaller, account::AccountId20> - */ + * Lookup516: pallet_scheduler::Scheduled, BlockNumber, moonbase_runtime::OriginCaller, account::AccountId20> + **/ PalletSchedulerScheduled: { maybeId: "Option<[u8;32]>", priority: "u8", call: "FrameSupportPreimagesBounded", maybePeriodic: "Option<(u32,u32)>", - origin: "MoonbaseRuntimeOriginCaller", + origin: "MoonbaseRuntimeOriginCaller" }, - /** Lookup518: pallet_scheduler::RetryConfig */ + /** + * Lookup518: pallet_scheduler::RetryConfig + **/ PalletSchedulerRetryConfig: { totalRetries: "u8", remaining: "u8", - period: "u32", + period: "u32" }, - /** Lookup519: pallet_scheduler::pallet::Error */ + /** + * Lookup519: pallet_scheduler::pallet::Error + **/ PalletSchedulerError: { _enum: [ "FailedToSchedule", "NotFound", "TargetBlockNumberInPast", "RescheduleNoChange", - "Named", - ], + "Named" + ] }, - /** Lookup520: pallet_treasury::Proposal */ + /** + * Lookup520: pallet_treasury::Proposal + **/ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", beneficiary: "AccountId20", - bond: "u128", + bond: "u128" }, /** - * Lookup523: pallet_treasury::SpendStatus - */ + * Lookup523: pallet_treasury::SpendStatus + **/ PalletTreasurySpendStatus: { assetKind: "Null", amount: "u128", beneficiary: "AccountId20", validFrom: "u32", expireAt: "u32", - status: "PalletTreasuryPaymentState", + status: "PalletTreasuryPaymentState" }, - /** Lookup524: pallet_treasury::PaymentState */ + /** + * Lookup524: pallet_treasury::PaymentState + **/ PalletTreasuryPaymentState: { _enum: { Pending: "Null", Attempted: { - id: "Null", + id: "Null" }, - Failed: "Null", - }, + Failed: "Null" + } }, - /** Lookup526: frame_support::PalletId */ + /** + * Lookup526: frame_support::PalletId + **/ FrameSupportPalletId: "[u8;8]", - /** Lookup527: pallet_treasury::pallet::Error */ + /** + * Lookup527: pallet_treasury::pallet::Error + **/ PalletTreasuryError: { _enum: [ "InvalidIndex", @@ -5065,20 +5653,26 @@ export default { "AlreadyAttempted", "PayoutError", "NotAttempted", - "Inconclusive", - ], + "Inconclusive" + ] }, - /** Lookup528: pallet_author_inherent::pallet::Error */ + /** + * Lookup528: pallet_author_inherent::pallet::Error + **/ PalletAuthorInherentError: { - _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], + _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"] }, - /** Lookup529: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** + * Lookup529: pallet_crowdloan_rewards::pallet::RewardInfo + **/ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", - contributedRelayAddresses: "Vec<[u8;32]>", + contributedRelayAddresses: "Vec<[u8;32]>" }, - /** Lookup531: pallet_crowdloan_rewards::pallet::Error */ + /** + * Lookup531: pallet_crowdloan_rewards::pallet::Error + **/ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -5095,19 +5689,23 @@ export default { "TooManyContributors", "VestingPeriodNonValid", "NonContributedAddressProvided", - "InsufficientNumberOfValidProofs", - ], + "InsufficientNumberOfValidProofs" + ] }, - /** Lookup532: pallet_author_mapping::pallet::RegistrationInfo */ + /** + * Lookup532: pallet_author_mapping::pallet::RegistrationInfo + **/ PalletAuthorMappingRegistrationInfo: { _alias: { - keys_: "keys", + keys_: "keys" }, account: "AccountId20", deposit: "u128", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, - /** Lookup533: pallet_author_mapping::pallet::Error */ + /** + * Lookup533: pallet_author_mapping::pallet::Error + **/ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -5117,22 +5715,28 @@ export default { "OldAuthorIdNotFound", "WrongKeySize", "DecodeNimbusFailed", - "DecodeKeysFailed", - ], + "DecodeKeysFailed" + ] }, - /** Lookup536: pallet_proxy::ProxyDefinition */ + /** + * Lookup536: pallet_proxy::ProxyDefinition + **/ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", + delay: "u32" }, - /** Lookup540: pallet_proxy::Announcement */ + /** + * Lookup540: pallet_proxy::Announcement + **/ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", - height: "u32", + height: "u32" }, - /** Lookup542: pallet_proxy::pallet::Error */ + /** + * Lookup542: pallet_proxy::pallet::Error + **/ PalletProxyError: { _enum: [ "TooMany", @@ -5142,37 +5746,41 @@ export default { "Duplicate", "NoPermission", "Unannounced", - "NoSelfProxy", - ], + "NoSelfProxy" + ] }, - /** Lookup543: pallet_maintenance_mode::pallet::Error */ + /** + * Lookup543: pallet_maintenance_mode::pallet::Error + **/ PalletMaintenanceModeError: { - _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], + _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"] }, /** - * Lookup545: pallet_identity::types::Registration> - */ + * Lookup545: pallet_identity::types::Registration> + **/ PalletIdentityRegistration: { judgements: "Vec<(u32,PalletIdentityJudgement)>", deposit: "u128", - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, - /** Lookup554: pallet_identity::types::RegistrarInfo */ + /** + * Lookup554: pallet_identity::types::RegistrarInfo + **/ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", - fields: "u64", + fields: "u64" }, /** - * Lookup556: - * pallet_identity::types::AuthorityProperties> - */ + * Lookup556: pallet_identity::types::AuthorityProperties> + **/ PalletIdentityAuthorityProperties: { suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, - /** Lookup559: pallet_identity::pallet::Error */ + /** + * Lookup559: pallet_identity::pallet::Error + **/ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -5200,83 +5808,101 @@ export default { "InvalidUsername", "UsernameTaken", "NoUsername", - "NotExpired", - ], + "NotExpired" + ] }, - /** Lookup564: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** + * Lookup564: cumulus_pallet_xcmp_queue::OutboundChannelDetails + **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", signalsExist: "bool", firstIndex: "u16", - lastIndex: "u16", + lastIndex: "u16" }, - /** Lookup565: cumulus_pallet_xcmp_queue::OutboundState */ + /** + * Lookup565: cumulus_pallet_xcmp_queue::OutboundState + **/ CumulusPalletXcmpQueueOutboundState: { - _enum: ["Ok", "Suspended"], + _enum: ["Ok", "Suspended"] }, - /** Lookup569: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** + * Lookup569: cumulus_pallet_xcmp_queue::QueueConfigData + **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", - resumeThreshold: "u32", + resumeThreshold: "u32" }, - /** Lookup570: cumulus_pallet_xcmp_queue::pallet::Error */ + /** + * Lookup570: cumulus_pallet_xcmp_queue::pallet::Error + **/ CumulusPalletXcmpQueueError: { _enum: [ "BadQueueConfig", "AlreadySuspended", "AlreadyResumed", "TooManyActiveOutboundChannels", - "TooBig", - ], + "TooBig" + ] }, - /** Lookup571: pallet_xcm::pallet::QueryStatus */ + /** + * Lookup571: pallet_xcm::pallet::QueryStatus + **/ PalletXcmQueryStatus: { _enum: { Pending: { responder: "XcmVersionedLocation", maybeMatchQuerier: "Option", maybeNotify: "Option<(u8,u8)>", - timeout: "u32", + timeout: "u32" }, VersionNotifier: { origin: "XcmVersionedLocation", - isActive: "bool", + isActive: "bool" }, Ready: { response: "XcmVersionedResponse", - at: "u32", - }, - }, + at: "u32" + } + } }, - /** Lookup575: xcm::VersionedResponse */ + /** + * Lookup575: xcm::VersionedResponse + **/ XcmVersionedResponse: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Response", V3: "XcmV3Response", - V4: "StagingXcmV4Response", - }, + V4: "StagingXcmV4Response" + } }, - /** Lookup581: pallet_xcm::pallet::VersionMigrationStage */ + /** + * Lookup581: pallet_xcm::pallet::VersionMigrationStage + **/ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", MigrateVersionNotifiers: "Null", NotifyCurrentTargets: "Option", - MigrateAndNotifyOldTargets: "Null", - }, + MigrateAndNotifyOldTargets: "Null" + } }, - /** Lookup584: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** + * Lookup584: pallet_xcm::pallet::RemoteLockedFungibleRecord + **/ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", - consumers: "Vec<(Null,u128)>", + consumers: "Vec<(Null,u128)>" }, - /** Lookup591: pallet_xcm::pallet::Error */ + /** + * Lookup591: pallet_xcm::pallet::Error + **/ PalletXcmError: { _enum: [ "Unreachable", @@ -5303,10 +5929,12 @@ export default { "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", - "LocalExecutionIncomplete", - ], + "LocalExecutionIncomplete" + ] }, - /** Lookup592: pallet_assets::types::AssetDetails */ + /** + * Lookup592: pallet_assets::types::AssetDetails + **/ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5319,50 +5947,61 @@ export default { accounts: "u32", sufficients: "u32", approvals: "u32", - status: "PalletAssetsAssetStatus", + status: "PalletAssetsAssetStatus" }, - /** Lookup593: pallet_assets::types::AssetStatus */ + /** + * Lookup593: pallet_assets::types::AssetStatus + **/ PalletAssetsAssetStatus: { - _enum: ["Live", "Frozen", "Destroying"], + _enum: ["Live", "Frozen", "Destroying"] }, - /** Lookup595: pallet_assets::types::AssetAccount */ + /** + * Lookup595: pallet_assets::types::AssetAccount + **/ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", - extra: "Null", + extra: "Null" }, - /** Lookup596: pallet_assets::types::AccountStatus */ + /** + * Lookup596: pallet_assets::types::AccountStatus + **/ PalletAssetsAccountStatus: { - _enum: ["Liquid", "Frozen", "Blocked"], + _enum: ["Liquid", "Frozen", "Blocked"] }, - /** Lookup597: pallet_assets::types::ExistenceReason */ + /** + * Lookup597: pallet_assets::types::ExistenceReason + **/ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", Sufficient: "Null", DepositHeld: "u128", DepositRefunded: "Null", - DepositFrom: "(AccountId20,u128)", - }, + DepositFrom: "(AccountId20,u128)" + } }, - /** Lookup599: pallet_assets::types::Approval */ + /** + * Lookup599: pallet_assets::types::Approval + **/ PalletAssetsApproval: { amount: "u128", - deposit: "u128", + deposit: "u128" }, /** - * Lookup600: pallet_assets::types::AssetMetadata> - */ + * Lookup600: pallet_assets::types::AssetMetadata> + **/ PalletAssetsAssetMetadata: { deposit: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup602: pallet_assets::pallet::Error */ + /** + * Lookup602: pallet_assets::pallet::Error + **/ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5385,10 +6024,12 @@ export default { "IncorrectStatus", "NotFrozen", "CallbackFailed", - "BadAssetId", - ], + "BadAssetId" + ] }, - /** Lookup603: pallet_asset_manager::pallet::Error */ + /** + * Lookup603: pallet_asset_manager::pallet::Error + **/ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5398,14 +6039,18 @@ export default { "LocalAssetLimitReached", "ErrorDestroyingAsset", "NotSufficientDeposit", - "NonExistentLocalAsset", - ], + "NonExistentLocalAsset" + ] }, - /** Lookup604: pallet_migrations::pallet::Error */ + /** + * Lookup604: pallet_migrations::pallet::Error + **/ PalletMigrationsError: { - _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], + _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"] }, - /** Lookup605: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** + * Lookup605: pallet_xcm_transactor::relay_indices::RelayChainIndices + **/ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5424,9 +6069,11 @@ export default { initOpenChannel: "u8", acceptOpenChannel: "u8", closeChannel: "u8", - cancelOpenRequest: "u8", + cancelOpenRequest: "u8" }, - /** Lookup606: pallet_xcm_transactor::pallet::Error */ + /** + * Lookup606: pallet_xcm_transactor::pallet::Error + **/ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5455,21 +6102,27 @@ export default { "HrmpHandlerNotImplemented", "TooMuchFeeUsed", "ErrorValidating", - "RefundNotSupportedWithTransactInfo", - ], + "RefundNotSupportedWithTransactInfo" + ] }, - /** Lookup607: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** + * Lookup607: pallet_moonbeam_orbiters::types::CollatorPoolInfo + **/ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", - nextOrbiter: "u32", + nextOrbiter: "u32" }, - /** Lookup609: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** + * Lookup609: pallet_moonbeam_orbiters::types::CurrentOrbiter + **/ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", - removed: "bool", + removed: "bool" }, - /** Lookup610: pallet_moonbeam_orbiters::pallet::Error */ + /** + * Lookup610: pallet_moonbeam_orbiters::pallet::Error + **/ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -5480,19 +6133,25 @@ export default { "OrbiterAlreadyInPool", "OrbiterDepositNotFound", "OrbiterNotFound", - "OrbiterStillInAPool", - ], + "OrbiterStillInAPool" + ] }, - /** Lookup611: pallet_ethereum_xcm::pallet::Error */ + /** + * Lookup611: pallet_ethereum_xcm::pallet::Error + **/ PalletEthereumXcmError: { - _enum: ["EthereumXcmExecutionSuspended"], + _enum: ["EthereumXcmExecutionSuspended"] }, - /** Lookup612: pallet_randomness::types::RequestState */ + /** + * Lookup612: pallet_randomness::types::RequestState + **/ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", - deposit: "u128", + deposit: "u128" }, - /** Lookup613: pallet_randomness::types::Request> */ + /** + * Lookup613: pallet_randomness::types::Request> + **/ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5500,28 +6159,36 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - info: "PalletRandomnessRequestInfo", + info: "PalletRandomnessRequestInfo" }, - /** Lookup614: pallet_randomness::types::RequestInfo */ + /** + * Lookup614: pallet_randomness::types::RequestInfo + **/ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", - Local: "(u32,u32)", - }, + Local: "(u32,u32)" + } }, - /** Lookup615: pallet_randomness::types::RequestType */ + /** + * Lookup615: pallet_randomness::types::RequestType + **/ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", - Local: "u32", - }, + Local: "u32" + } }, - /** Lookup616: pallet_randomness::types::RandomnessResult */ + /** + * Lookup616: pallet_randomness::types::RandomnessResult + **/ PalletRandomnessRandomnessResult: { randomness: "Option", - requestCount: "u64", + requestCount: "u64" }, - /** Lookup617: pallet_randomness::pallet::Error */ + /** + * Lookup617: pallet_randomness::pallet::Error + **/ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5535,18 +6202,22 @@ export default { "OnlyRequesterCanIncreaseFee", "RequestHasNotExpired", "RandomnessResultDNE", - "RandomnessResultNotFilled", - ], + "RandomnessResultNotFilled" + ] }, - /** Lookup619: pallet_collective::Votes */ + /** + * Lookup619: pallet_collective::Votes + **/ PalletCollectiveVotes: { index: "u32", threshold: "u32", ayes: "Vec", nays: "Vec", - end: "u32", + end: "u32" }, - /** Lookup620: pallet_collective::pallet::Error */ + /** + * Lookup620: pallet_collective::pallet::Error + **/ PalletCollectiveError: { _enum: [ "NotMember", @@ -5559,41 +6230,50 @@ export default { "TooManyProposals", "WrongProposalWeight", "WrongProposalLength", - "PrimeAccountNotMember", - ], + "PrimeAccountNotMember" + ] }, /** - * Lookup622: pallet_conviction_voting::vote::Voting - */ + * Lookup622: pallet_conviction_voting::vote::Voting + **/ PalletConvictionVotingVoteVoting: { _enum: { Casting: "PalletConvictionVotingVoteCasting", - Delegating: "PalletConvictionVotingVoteDelegating", - }, + Delegating: "PalletConvictionVotingVoteDelegating" + } }, - /** Lookup623: pallet_conviction_voting::vote::Casting */ + /** + * Lookup623: pallet_conviction_voting::vote::Casting + **/ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup627: pallet_conviction_voting::types::Delegations */ + /** + * Lookup627: pallet_conviction_voting::types::Delegations + **/ PalletConvictionVotingDelegations: { votes: "u128", - capital: "u128", + capital: "u128" }, - /** Lookup628: pallet_conviction_voting::vote::PriorLock */ + /** + * Lookup628: pallet_conviction_voting::vote::PriorLock + **/ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup629: pallet_conviction_voting::vote::Delegating */ + /** + * Lookup629: pallet_conviction_voting::vote::Delegating + **/ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", conviction: "PalletConvictionVotingConviction", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup633: pallet_conviction_voting::pallet::Error */ + /** + * Lookup633: pallet_conviction_voting::pallet::Error + **/ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5607,15 +6287,12 @@ export default { "Nonsense", "MaxVotesReached", "ClassNeeded", - "BadClass", - ], + "BadClass" + ] }, /** - * Lookup634: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup634: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumInfo: { _enum: { Ongoing: "PalletReferendaReferendumStatus", @@ -5623,15 +6300,12 @@ export default { Rejected: "(u32,Option,Option)", Cancelled: "(u32,Option,Option)", TimedOut: "(u32,Option,Option)", - Killed: "u32", - }, + Killed: "u32" + } }, /** - * Lookup635: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup635: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumStatus: { track: "u16", origin: "MoonbaseRuntimeOriginCaller", @@ -5643,19 +6317,25 @@ export default { deciding: "Option", tally: "PalletConvictionVotingTally", inQueue: "bool", - alarm: "Option<(u32,(u32,u32))>", + alarm: "Option<(u32,(u32,u32))>" }, - /** Lookup636: pallet_referenda::types::Deposit */ + /** + * Lookup636: pallet_referenda::types::Deposit + **/ PalletReferendaDeposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup639: pallet_referenda::types::DecidingStatus */ + /** + * Lookup639: pallet_referenda::types::DecidingStatus + **/ PalletReferendaDecidingStatus: { since: "u32", - confirming: "Option", + confirming: "Option" }, - /** Lookup647: pallet_referenda::types::TrackInfo */ + /** + * Lookup647: pallet_referenda::types::TrackInfo + **/ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5665,30 +6345,34 @@ export default { confirmPeriod: "u32", minEnactmentPeriod: "u32", minApproval: "PalletReferendaCurve", - minSupport: "PalletReferendaCurve", + minSupport: "PalletReferendaCurve" }, - /** Lookup648: pallet_referenda::types::Curve */ + /** + * Lookup648: pallet_referenda::types::Curve + **/ PalletReferendaCurve: { _enum: { LinearDecreasing: { length: "Perbill", floor: "Perbill", - ceil: "Perbill", + ceil: "Perbill" }, SteppedDecreasing: { begin: "Perbill", end: "Perbill", step: "Perbill", - period: "Perbill", + period: "Perbill" }, Reciprocal: { factor: "i64", xOffset: "i64", - yOffset: "i64", - }, - }, + yOffset: "i64" + } + } }, - /** Lookup651: pallet_referenda::pallet::Error */ + /** + * Lookup651: pallet_referenda::pallet::Error + **/ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5704,41 +6388,44 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", - "PreimageStoredWithDifferentLength", - ], + "PreimageStoredWithDifferentLength" + ] }, - /** Lookup652: pallet_preimage::OldRequestStatus */ + /** + * Lookup652: pallet_preimage::OldRequestStatus + **/ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { deposit: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { deposit: "Option<(AccountId20,u128)>", count: "u32", - len: "Option", - }, - }, + len: "Option" + } + } }, /** - * Lookup655: pallet_preimage::RequestStatus> - */ + * Lookup655: pallet_preimage::RequestStatus> + **/ PalletPreimageRequestStatus: { _enum: { Unrequested: { ticket: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { maybeTicket: "Option<(AccountId20,u128)>", count: "u32", - maybeLen: "Option", - }, - }, + maybeLen: "Option" + } + } }, - /** Lookup661: pallet_preimage::pallet::Error */ + /** + * Lookup661: pallet_preimage::pallet::Error + **/ PalletPreimageError: { _enum: [ "TooBig", @@ -5749,27 +6436,33 @@ export default { "NotRequested", "TooMany", "TooFew", - "NoCost", - ], + "NoCost" + ] }, - /** Lookup662: pallet_whitelist::pallet::Error */ + /** + * Lookup662: pallet_whitelist::pallet::Error + **/ PalletWhitelistError: { _enum: [ "UnavailablePreImage", "UndecodableCall", "InvalidCallWeightWitness", "CallIsNotWhitelisted", - "CallAlreadyWhitelisted", - ], + "CallAlreadyWhitelisted" + ] }, - /** Lookup666: pallet_multisig::Multisig */ + /** + * Lookup666: pallet_multisig::Multisig + **/ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", - approvals: "Vec", + approvals: "Vec" }, - /** Lookup668: pallet_multisig::pallet::Error */ + /** + * Lookup668: pallet_multisig::pallet::Error + **/ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -5785,32 +6478,40 @@ export default { "WrongTimepoint", "UnexpectedTimepoint", "MaxWeightTooLow", - "AlreadyStored", - ], + "AlreadyStored" + ] }, - /** Lookup672: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus */ + /** + * Lookup672: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus + **/ PalletMoonbeamLazyMigrationsStateMigrationStatus: { _enum: { NotStarted: "Null", Started: "Bytes", Error: "Bytes", - Complete: "Null", - }, + Complete: "Null" + } }, - /** Lookup674: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus */ + /** + * Lookup674: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus: { _enum: { Idle: "Null", - Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo", - }, + Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo" + } }, - /** Lookup675: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo */ + /** + * Lookup675: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo: { assetId: "u128", remainingBalances: "u32", - remainingApprovals: "u32", + remainingApprovals: "u32" }, - /** Lookup676: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** + * Lookup676: pallet_moonbeam_lazy_migrations::pallet::Error + **/ PalletMoonbeamLazyMigrationsError: { _enum: [ "LimitCannotBeZero", @@ -5825,40 +6526,50 @@ export default { "MigrationNotFinished", "NoMigrationInProgress", "MintFailed", - "ApprovalFailed", - ], + "ApprovalFailed" + ] }, - /** Lookup678: pallet_precompile_benchmarks::pallet::Error */ + /** + * Lookup678: pallet_precompile_benchmarks::pallet::Error + **/ PalletPrecompileBenchmarksError: { - _enum: ["BenchmarkError"], + _enum: ["BenchmarkError"] }, - /** Lookup679: pallet_message_queue::BookState */ + /** + * Lookup679: pallet_message_queue::BookState + **/ PalletMessageQueueBookState: { _alias: { - size_: "size", + size_: "size" }, begin: "u32", end: "u32", count: "u32", readyNeighbours: "Option", messageCount: "u64", - size_: "u64", + size_: "u64" }, - /** Lookup681: pallet_message_queue::Neighbours */ + /** + * Lookup681: pallet_message_queue::Neighbours + **/ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", - next: "CumulusPrimitivesCoreAggregateMessageOrigin", + next: "CumulusPrimitivesCoreAggregateMessageOrigin" }, - /** Lookup683: pallet_message_queue::Page */ + /** + * Lookup683: pallet_message_queue::Page + **/ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", firstIndex: "u32", first: "u32", last: "u32", - heap: "Bytes", + heap: "Bytes" }, - /** Lookup685: pallet_message_queue::pallet::Error */ + /** + * Lookup685: pallet_message_queue::pallet::Error + **/ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5869,22 +6580,30 @@ export default { "InsufficientWeight", "TemporarilyUnprocessable", "QueuePaused", - "RecursiveDisallowed", - ], + "RecursiveDisallowed" + ] }, - /** Lookup686: pallet_emergency_para_xcm::XcmMode */ + /** + * Lookup686: pallet_emergency_para_xcm::XcmMode + **/ PalletEmergencyParaXcmXcmMode: { - _enum: ["Normal", "Paused"], + _enum: ["Normal", "Paused"] }, - /** Lookup687: pallet_emergency_para_xcm::pallet::Error */ + /** + * Lookup687: pallet_emergency_para_xcm::pallet::Error + **/ PalletEmergencyParaXcmError: { - _enum: ["NotInPausedMode"], + _enum: ["NotInPausedMode"] }, - /** Lookup689: pallet_moonbeam_foreign_assets::AssetStatus */ + /** + * Lookup689: pallet_moonbeam_foreign_assets::AssetStatus + **/ PalletMoonbeamForeignAssetsAssetStatus: { - _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"], + _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"] }, - /** Lookup690: pallet_moonbeam_foreign_assets::pallet::Error */ + /** + * Lookup690: pallet_moonbeam_foreign_assets::pallet::Error + **/ PalletMoonbeamForeignAssetsError: { _enum: [ "AssetAlreadyExists", @@ -5900,10 +6619,12 @@ export default { "InvalidSymbol", "InvalidTokenName", "LocationAlreadyExists", - "TooManyForeignAssets", - ], + "TooManyForeignAssets" + ] }, - /** Lookup692: pallet_xcm_weight_trader::pallet::Error */ + /** + * Lookup692: pallet_xcm_weight_trader::pallet::Error + **/ PalletXcmWeightTraderError: { _enum: [ "AssetAlreadyAdded", @@ -5911,33 +6632,55 @@ export default { "AssetNotFound", "AssetNotPaused", "XcmLocationFiltered", - "PriceCannotBeZero", - ], + "PriceCannotBeZero" + ] }, - /** Lookup695: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** + * Lookup695: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender + **/ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup696: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** + * Lookup696: frame_system::extensions::check_spec_version::CheckSpecVersion + **/ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup697: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** + * Lookup697: frame_system::extensions::check_tx_version::CheckTxVersion + **/ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup698: frame_system::extensions::check_genesis::CheckGenesis */ + /** + * Lookup698: frame_system::extensions::check_genesis::CheckGenesis + **/ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup701: frame_system::extensions::check_nonce::CheckNonce */ + /** + * Lookup701: frame_system::extensions::check_nonce::CheckNonce + **/ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup702: frame_system::extensions::check_weight::CheckWeight */ + /** + * Lookup702: frame_system::extensions::check_weight::CheckWeight + **/ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup703: pallet_transaction_payment::ChargeTransactionPayment */ + /** + * Lookup703: pallet_transaction_payment::ChargeTransactionPayment + **/ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup704: frame_metadata_hash_extension::CheckMetadataHash */ + /** + * Lookup704: frame_metadata_hash_extension::CheckMetadataHash + **/ FrameMetadataHashExtensionCheckMetadataHash: { - mode: "FrameMetadataHashExtensionMode", + mode: "FrameMetadataHashExtensionMode" }, - /** Lookup705: frame_metadata_hash_extension::Mode */ + /** + * Lookup705: frame_metadata_hash_extension::Mode + **/ FrameMetadataHashExtensionMode: { - _enum: ["Disabled", "Enabled"], + _enum: ["Disabled", "Enabled"] }, - /** Lookup706: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim */ + /** + * Lookup706: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim + **/ CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim: "Null", - /** Lookup708: moonbase_runtime::Runtime */ - MoonbaseRuntimeRuntime: "Null", + /** + * Lookup708: moonbase_runtime::Runtime + **/ + MoonbaseRuntimeRuntime: "Null" }; diff --git a/typescript-api/src/moonbase/interfaces/moon/definitions.ts b/typescript-api/src/moonbase/interfaces/moon/definitions.ts index 745e4404ef..9f581c812e 100644 --- a/typescript-api/src/moonbase/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonbase/interfaces/moon/definitions.ts @@ -3,6 +3,6 @@ import { moonbeamDefinitions } from "moonbeam-types-bundle"; export default { types: {}, rpc: { - ...moonbeamDefinitions.rpc?.moon, - }, + ...moonbeamDefinitions.rpc?.moon + } }; diff --git a/typescript-api/src/moonbase/interfaces/registry.ts b/typescript-api/src/moonbase/interfaces/registry.ts index 748da8f6fe..e7ead8168c 100644 --- a/typescript-api/src/moonbase/interfaces/registry.ts +++ b/typescript-api/src/moonbase/interfaces/registry.ts @@ -404,7 +404,7 @@ import type { XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; declare module "@polkadot/types/types/registry" { diff --git a/typescript-api/src/moonbase/interfaces/types-lookup.ts b/typescript-api/src/moonbase/interfaces/types-lookup.ts index 8b58d96e4a..e62a24ce3e 100644 --- a/typescript-api/src/moonbase/interfaces/types-lookup.ts +++ b/typescript-api/src/moonbase/interfaces/types-lookup.ts @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { Vote } from "@polkadot/types/interfaces/elections"; @@ -36,7 +36,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { Event } from "@polkadot/types/interfaces/system"; diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts b/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts index 7f2154f1da..4406481db6 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts @@ -17,7 +17,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, - StagingXcmV4Location, + StagingXcmV4Location } from "@polkadot/types/lookup"; export type __AugmentedConst = AugmentedConst; @@ -25,125 +25,168 @@ export type __AugmentedConst = AugmentedConst declare module "@polkadot/api-base/types/consts" { interface AugmentedConsts { assets: { - /** The amount of funds that must be reserved when creating a new approval. */ + /** + * The amount of funds that must be reserved when creating a new approval. + **/ approvalDeposit: u128 & AugmentedConst; - /** The amount of funds that must be reserved for a non-provider asset account to be maintained. */ + /** + * The amount of funds that must be reserved for a non-provider asset account to be + * maintained. + **/ assetAccountDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved for an asset. */ + /** + * The basic amount of funds that must be reserved for an asset. + **/ assetDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved when adding metadata to your asset. */ + /** + * The basic amount of funds that must be reserved when adding metadata to your asset. + **/ metadataDepositBase: u128 & AugmentedConst; - /** The additional funds that must be reserved for the number of bytes you store in your metadata. */ + /** + * The additional funds that must be reserved for the number of bytes you store in your + * metadata. + **/ metadataDepositPerByte: u128 & AugmentedConst; /** * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call. * * Must be configured to result in a weight that makes each call fit in a block. - */ + **/ removeItemsLimit: u32 & AugmentedConst; - /** The maximum length of a name or symbol stored on-chain. */ + /** + * The maximum length of a name or symbol stored on-chain. + **/ stringLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; asyncBacking: { - /** Purely informative, but used by mocking tools like chospticks to allow knowing how to mock blocks */ + /** + * Purely informative, but used by mocking tools like chospticks to allow knowing how to mock + * blocks + **/ expectedBlockTime: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; balances: { /** * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! * - * If you _really_ need it to be zero, you can enable the feature `insecure_zero_ed` for this - * pallet. However, you do so at your own risk: this will open up a major DoS vector. In case - * you have multiple sources of provider references, you may also get unexpected behaviour if - * you set this to zero. + * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for + * this pallet. However, you do so at your own risk: this will open up a major DoS vector. + * In case you have multiple sources of provider references, you may also get unexpected + * behaviour if you set this to zero. * * Bottom line: Do yourself a favour and make it at least one! - */ + **/ existentialDeposit: u128 & AugmentedConst; - /** The maximum number of individual freeze locks that can exist on an account at any time. */ + /** + * The maximum number of individual freeze locks that can exist on an account at any time. + **/ maxFreezes: u32 & AugmentedConst; /** - * The maximum number of locks that should exist on an account. Not strictly enforced, but - * used for weight estimation. + * The maximum number of locks that should exist on an account. + * Not strictly enforced, but used for weight estimation. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxLocks: u32 & AugmentedConst; /** * The maximum number of named reserves that can exist on an account. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxReserves: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; convictionVoting: { /** * The maximum number of concurrent votes an account may have. * - * Also used to compute weight, an overly large value can lead to extrinsics with large weight - * estimation: see `delegate` for instance. - */ + * Also used to compute weight, an overly large value can lead to extrinsics with large + * weight estimation: see `delegate` for instance. + **/ maxVotes: u32 & AugmentedConst; /** * The minimum period of vote locking. * * It should be no shorter than enactment period to ensure that in the case of an approval, * those successful voters are locked into the consequences that their votes entail. - */ + **/ voteLockingPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; crowdloanRewards: { - /** Percentage to be payed at initialization */ + /** + * Percentage to be payed at initialization + **/ initializationPayment: Perbill & AugmentedConst; maxInitContributors: u32 & AugmentedConst; /** - * A fraction representing the percentage of proofs that need to be presented to change a - * reward address through the relay keys - */ + * A fraction representing the percentage of proofs + * that need to be presented to change a reward address through the relay keys + **/ rewardAddressRelayVoteThreshold: Perbill & AugmentedConst; /** * Network Identifier to be appended into the signatures for reward address change/association * Prevents replay attacks from one network to the other - */ + **/ signatureNetworkIdentifier: Bytes & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; identity: { - /** The amount held on deposit for a registered identity. */ + /** + * The amount held on deposit for a registered identity. + **/ basicDeposit: u128 & AugmentedConst; - /** The amount held on deposit per encoded byte for a registered identity. */ + /** + * The amount held on deposit per encoded byte for a registered identity. + **/ byteDeposit: u128 & AugmentedConst; /** - * Maximum number of registrars allowed in the system. Needed to bound the complexity of, - * e.g., updating judgements. - */ + * Maximum number of registrars allowed in the system. Needed to bound the complexity + * of, e.g., updating judgements. + **/ maxRegistrars: u32 & AugmentedConst; - /** The maximum number of sub-accounts allowed per identified account. */ + /** + * The maximum number of sub-accounts allowed per identified account. + **/ maxSubAccounts: u32 & AugmentedConst; - /** The maximum length of a suffix. */ + /** + * The maximum length of a suffix. + **/ maxSuffixLength: u32 & AugmentedConst; - /** The maximum length of a username, including its suffix and any system-added delimiters. */ + /** + * The maximum length of a username, including its suffix and any system-added delimiters. + **/ maxUsernameLength: u32 & AugmentedConst; - /** The number of blocks within which a username grant must be accepted. */ + /** + * The number of blocks within which a username grant must be accepted. + **/ pendingUsernameExpiration: u32 & AugmentedConst; /** * The amount held on deposit for a registered subaccount. This should account for the fact - * that one storage item's value will increase by the size of an account ID, and there will be - * another trie item whose value is the size of an account ID plus 32 bytes. - */ + * that one storage item's value will increase by the size of an account ID, and there will + * be another trie item whose value is the size of an account ID plus 32 bytes. + **/ subAccountDeposit: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; messageQueue: { @@ -151,179 +194,251 @@ declare module "@polkadot/api-base/types/consts" { * The size of the page; this implies the maximum message size which can be sent. * * A good value depends on the expected message sizes, their weights, the weight that is - * available for processing them and the maximal needed message size. The maximal message size - * is slightly lower than this as defined by [`MaxMessageLenOf`]. - */ + * available for processing them and the maximal needed message size. The maximal message + * size is slightly lower than this as defined by [`MaxMessageLenOf`]. + **/ heapSize: u32 & AugmentedConst; /** * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which - * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for - * parachains to process messages at the same block they are received. + * should be provided to the message queue for servicing enqueued items `on_idle`. + * Useful for parachains to process messages at the same block they are received. * * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. - */ + **/ idleMaxServiceWeight: Option & AugmentedConst; /** - * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can - * happen. Once there are more stale pages than this, then historical pages may be dropped, - * even if they contain unprocessed overweight messages. - */ + * The maximum number of stale pages (i.e. of overweight messages) allowed before culling + * can happen. Once there are more stale pages than this, then historical pages may be + * dropped, even if they contain unprocessed overweight messages. + **/ maxStale: u32 & AugmentedConst; /** - * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items `on_initialize`. + * The amount of weight (if any) which should be provided to the message queue for + * servicing enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it - * run in `on_idle`. - */ + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have + * it run in `on_idle`. + **/ serviceWeight: Option & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; moonbeamOrbiters: { - /** Maximum number of orbiters per collator. */ + /** + * Maximum number of orbiters per collator. + **/ maxPoolSize: u32 & AugmentedConst; - /** Maximum number of round to keep on storage. */ + /** + * Maximum number of round to keep on storage. + **/ maxRoundArchive: u32 & AugmentedConst; /** - * Number of rounds before changing the selected orbiter. WARNING: when changing - * `RotatePeriod`, you need a migration code that sets `ForceRotation` to true to avoid holes - * in `OrbiterPerRound`. - */ + * Number of rounds before changing the selected orbiter. + * WARNING: when changing `RotatePeriod`, you need a migration code that sets + * `ForceRotation` to true to avoid holes in `OrbiterPerRound`. + **/ rotatePeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; multisig: { /** - * The base amount of currency needed to reserve for creating a multisig execution or to store - * a dispatch call for later. + * The base amount of currency needed to reserve for creating a multisig execution or to + * store a dispatch call for later. * - * This is held for an additional storage item whose value size is `4 + sizeof((BlockNumber, - * Balance, AccountId))` bytes and whose key size is `32 + sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + * `32 + sizeof(AccountId)` bytes. + **/ depositBase: u128 & AugmentedConst; /** * The amount of currency needed per unit threshold when creating a multisig execution. * * This is held for adding 32 bytes more into a pre-existing storage value. - */ + **/ depositFactor: u128 & AugmentedConst; - /** The maximum amount of signatories allowed in the multisig. */ + /** + * The maximum amount of signatories allowed in the multisig. + **/ maxSignatories: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; openTechCommitteeCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainStaking: { - /** Get the average time beetween 2 blocks in milliseconds */ + /** + * Get the average time beetween 2 blocks in milliseconds + **/ blockTime: u64 & AugmentedConst; - /** Number of rounds candidate requests to decrease self-bond must wait to be executable */ + /** + * Number of rounds candidate requests to decrease self-bond must wait to be executable + **/ candidateBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that delegation less requests must wait before executable */ + /** + * Number of rounds that delegation less requests must wait before executable + **/ delegationBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that candidates remain bonded before exit request is executable */ + /** + * Number of rounds that candidates remain bonded before exit request is executable + **/ leaveCandidatesDelay: u32 & AugmentedConst; - /** Number of rounds that delegators remain bonded before exit request is executable */ + /** + * Number of rounds that delegators remain bonded before exit request is executable + **/ leaveDelegatorsDelay: u32 & AugmentedConst; - /** Maximum bottom delegations (not counted) per candidate */ + /** + * Maximum bottom delegations (not counted) per candidate + **/ maxBottomDelegationsPerCandidate: u32 & AugmentedConst; - /** Maximum candidates */ + /** + * Maximum candidates + **/ maxCandidates: u32 & AugmentedConst; - /** Maximum delegations per delegator */ + /** + * Maximum delegations per delegator + **/ maxDelegationsPerDelegator: u32 & AugmentedConst; /** - * If a collator doesn't produce any block on this number of rounds, it is notified as - * inactive. This value must be less than or equal to RewardPaymentDelay. - */ + * If a collator doesn't produce any block on this number of rounds, it is notified as inactive. + * This value must be less than or equal to RewardPaymentDelay. + **/ maxOfflineRounds: u32 & AugmentedConst; - /** Maximum top delegations counted per candidate */ + /** + * Maximum top delegations counted per candidate + **/ maxTopDelegationsPerCandidate: u32 & AugmentedConst; - /** Minimum number of blocks per round */ + /** + * Minimum number of blocks per round + **/ minBlocksPerRound: u32 & AugmentedConst; - /** Minimum stake required for any account to be a collator candidate */ + /** + * Minimum stake required for any account to be a collator candidate + **/ minCandidateStk: u128 & AugmentedConst; - /** Minimum stake for any registered on-chain account to delegate */ + /** + * Minimum stake for any registered on-chain account to delegate + **/ minDelegation: u128 & AugmentedConst; - /** Minimum number of selected candidates every round */ + /** + * Minimum number of selected candidates every round + **/ minSelectedCandidates: u32 & AugmentedConst; - /** Number of rounds that delegations remain bonded before revocation request is executable */ + /** + * Number of rounds that delegations remain bonded before revocation request is executable + **/ revokeDelegationDelay: u32 & AugmentedConst; - /** Number of rounds after which block authors are rewarded */ + /** + * Number of rounds after which block authors are rewarded + **/ rewardPaymentDelay: u32 & AugmentedConst; - /** Get the slot duration in milliseconds */ + /** + * Get the slot duration in milliseconds + **/ slotDuration: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainSystem: { - /** Returns the parachain ID we are running with. */ + /** + * Returns the parachain ID we are running with. + **/ selfParaId: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. * - * This is held when a new storage item holding a `Balance` is created (typically 16 bytes). - */ + * This is held when a new storage item holding a `Balance` is created (typically 16 + * bytes). + **/ announcementDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per announcement made. * - * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) into - * a pre-existing storage value. - */ + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. + **/ announcementDepositFactor: u128 & AugmentedConst; - /** The maximum amount of time-delayed announcements that are allowed to be pending. */ + /** + * The maximum amount of time-delayed announcements that are allowed to be pending. + **/ maxPending: u32 & AugmentedConst; - /** The maximum amount of proxies allowed for a single account. */ + /** + * The maximum amount of proxies allowed for a single account. + **/ maxProxies: u32 & AugmentedConst; /** * The base amount of currency needed to reserve for creating a proxy. * - * This is held for an additional storage item whose value size is `sizeof(Balance)` bytes and - * whose key size is `sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + **/ proxyDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per proxy added. * - * This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing - * storage value. Thus, when configuring `ProxyDepositFactor` one should take into account `32 - * + proxy_type.encode().len()` bytes of data. - */ + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a + * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + * into account `32 + proxy_type.encode().len()` bytes of data. + **/ proxyDepositFactor: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; randomness: { - /** Local requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Local requests expire and can be purged from storage after this many blocks/epochs + **/ blockExpirationDelay: u32 & AugmentedConst; - /** The amount that should be taken as a security deposit when requesting randomness. */ + /** + * The amount that should be taken as a security deposit when requesting randomness. + **/ deposit: u128 & AugmentedConst; - /** Babe requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Babe requests expire and can be purged from storage after this many blocks/epochs + **/ epochExpirationDelay: u64 & AugmentedConst; /** - * Local per-block VRF requests must be at most this many blocks after the block in which they - * were requested - */ + * Local per-block VRF requests must be at most this many blocks after the block in which + * they were requested + **/ maxBlockDelay: u32 & AugmentedConst; - /** Maximum number of random words that can be requested per request */ + /** + * Maximum number of random words that can be requested per request + **/ maxRandomWords: u8 & AugmentedConst; /** * Local per-block VRF requests must be at least this many blocks after the block in which * they were requested - */ + **/ minBlockDelay: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; referenda: { @@ -331,89 +446,119 @@ declare module "@polkadot/api-base/types/consts" { * Quantization level for the referendum wakeup scheduler. A higher number will result in * fewer storage reads/writes needed for smaller voters, but also result in delays to the * automatic referendum status changes. Explicit servicing instructions are unaffected. - */ + **/ alarmInterval: u32 & AugmentedConst; - /** Maximum size of the referendum queue for a single track. */ + /** + * Maximum size of the referendum queue for a single track. + **/ maxQueued: u32 & AugmentedConst; - /** The minimum amount to be used as a deposit for a public referendum proposal. */ + /** + * The minimum amount to be used as a deposit for a public referendum proposal. + **/ submissionDeposit: u128 & AugmentedConst; - /** Information concerning the different referendum tracks. */ + /** + * Information concerning the different referendum tracks. + **/ tracks: Vec> & AugmentedConst; /** - * The number of blocks after submission that a referendum must begin being decided by. Once - * this passes, then anyone may cancel the referendum. - */ + * The number of blocks after submission that a referendum must begin being decided by. + * Once this passes, then anyone may cancel the referendum. + **/ undecidingTimeout: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; relayStorageRoots: { /** - * Limit the number of relay storage roots that will be stored. This limit applies to the - * number of items, not to their age. Decreasing the value of `MaxStorageRoots` is a breaking - * change and needs a migration to clean the `RelayStorageRoots` mapping. - */ + * Limit the number of relay storage roots that will be stored. + * This limit applies to the number of items, not to their age. Decreasing the value of + * `MaxStorageRoots` is a breaking change and needs a migration to clean the + * `RelayStorageRoots` mapping. + **/ maxStorageRoots: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; scheduler: { - /** The maximum weight that may be scheduled per block for any dispatchables. */ + /** + * The maximum weight that may be scheduled per block for any dispatchables. + **/ maximumWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * The maximum number of scheduled calls in the queue for a single block. * * NOTE: - * - * - Dependent pallets' benchmarks might require a higher limit for the setting. Set a higher - * limit under `runtime-benchmarks` feature. - */ + * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a + * higher limit under `runtime-benchmarks` feature. + **/ maxScheduledPerBlock: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; system: { - /** Maximum number of block number to block hash mappings to keep (oldest pruned first). */ + /** + * Maximum number of block number to block hash mappings to keep (oldest pruned first). + **/ blockHashCount: u32 & AugmentedConst; - /** The maximum length of a block (in bytes). */ + /** + * The maximum length of a block (in bytes). + **/ blockLength: FrameSystemLimitsBlockLength & AugmentedConst; - /** Block & extrinsics weights: base values and limits. */ + /** + * Block & extrinsics weights: base values and limits. + **/ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; - /** The weight of runtime database operations the runtime can invoke. */ + /** + * The weight of runtime database operations the runtime can invoke. + **/ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst; /** * The designated SS58 prefix of this chain. * - * This replaces the "ss58Format" property declared in the chain spec. Reason is that the - * runtime should know about the prefix in order to make use of it as an identifier of the chain. - */ + * This replaces the "ss58Format" property declared in the chain spec. Reason is + * that the runtime should know about the prefix in order to make use of it as + * an identifier of the chain. + **/ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's in-code version. */ + /** + * Get the chain's in-code version. + **/ version: SpVersionRuntimeVersion & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; timestamp: { /** * The minimum period between blocks. * - * Be aware that this is different to the _expected_ period that the block production - * apparatus provides. Your chosen consensus system will generally work with this to determine - * a sensible block time. For example, in the Aura pallet it will be double this period on - * default settings. - */ + * Be aware that this is different to the *expected* period that the block production + * apparatus provides. Your chosen consensus system will generally work with this to + * determine a sensible block time. For example, in the Aura pallet it will be double this + * period on default settings. + **/ minimumPeriod: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; transactionPayment: { /** - * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their `priority` + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their + * `priority` * - * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later added - * to a tip component in regular `priority` calculations. It means that a `Normal` transaction - * can front-run a similarly-sized `Operational` extrinsic (with no tip), by including a tip - * value greater than the virtual tip. + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later + * added to a tip component in regular `priority` calculations. + * It means that a `Normal` transaction can front-run a similarly-sized `Operational` + * extrinsic (with no tip), by including a tip value greater than the virtual tip. * * ```rust,ignore * // For `Normal` @@ -424,55 +569,76 @@ declare module "@polkadot/api-base/types/consts" { * let priority = priority_calc(tip + virtual_tip); * ``` * - * Note that since we use `final_fee` the multiplier applies also to the regular `tip` sent - * with the transaction. So, not only does the transaction get a priority bump based on the - * `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` transactions. - */ + * Note that since we use `final_fee` the multiplier applies also to the regular `tip` + * sent with the transaction. So, not only does the transaction get a priority bump based + * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + * transactions. + **/ operationalFeeMultiplier: u8 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasury: { - /** Percentage of spare funds (if any) that are burnt per spend period. */ + /** + * Percentage of spare funds (if any) that are burnt per spend period. + **/ burn: Permill & AugmentedConst; /** * The maximum number of approvals that can wait in the spending queue. * * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. - */ + **/ maxApprovals: u32 & AugmentedConst; - /** The treasury's pallet id, used for deriving its sovereign account ID. */ + /** + * The treasury's pallet id, used for deriving its sovereign account ID. + **/ palletId: FrameSupportPalletId & AugmentedConst; - /** The period during which an approved treasury spend has to be claimed. */ + /** + * The period during which an approved treasury spend has to be claimed. + **/ payoutPeriod: u32 & AugmentedConst; - /** Period between successive spends. */ + /** + * Period between successive spends. + **/ spendPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasuryCouncilCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; utility: { - /** The limit on the number of batched calls. */ + /** + * The limit on the number of batched calls. + **/ batchedCallsLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmpQueue: { /** * Maximal number of outbound XCMP channels that can have messages queued at the same time. * - * If this is reached, then no further messages can be sent to channels that do not yet have a - * message queued. This should be set to the expected maximum of outbound channels which is - * determined by [`Self::ChannelInfo`]. It is important to set this large enough, since - * otherwise the congestion control protocol will not work as intended and messages may be - * dropped. This value increases the PoV and should therefore not be picked too high. - * Governance needs to pay attention to not open more channels than this value. - */ + * If this is reached, then no further messages can be sent to channels that do not yet + * have a message queued. This should be set to the expected maximum of outbound channels + * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough, + * since otherwise the congestion control protocol will not work as intended and messages + * may be dropped. This value increases the PoV and should therefore not be picked too + * high. Governance needs to pay attention to not open more channels than this value. + **/ maxActiveOutboundChannels: u32 & AugmentedConst; /** * The maximum number of inbound XCMP channels that can be suspended simultaneously. @@ -480,7 +646,7 @@ declare module "@polkadot/api-base/types/consts" { * Any further channel suspensions will fail and messages may get dropped without further * notice. Choosing a high value (1000) is okay; the trade-off that is described in * [`InboundXcmpSuspended`] still applies at that scale. - */ + **/ maxInboundSuspended: u32 & AugmentedConst; /** * The maximal page size for HRMP message pages. @@ -488,17 +654,27 @@ declare module "@polkadot/api-base/types/consts" { * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case * benchmarking. The limit for the size of a message is slightly below this, since some * overhead is incurred for encoding the format. - */ + **/ maxPageSize: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmTransactor: { - /** The actual weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ + /** + * + * The actual weight for an XCM message is `T::BaseXcmWeight + + * T::Weigher::weight(&msg)`. + **/ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Self chain location. */ + /** + * Self chain location. + **/ selfLocation: StagingXcmV4Location & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; } // AugmentedConsts diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts b/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts index d64ef4b4ad..26967c2553 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts @@ -20,246 +20,430 @@ declare module "@polkadot/api-base/types/errors" { NonExistentLocalAsset: AugmentedError; NotSufficientDeposit: AugmentedError; TooLowNumAssetsWeightHint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; assets: { - /** The asset-account already exists. */ + /** + * The asset-account already exists. + **/ AlreadyExists: AugmentedError; - /** The asset is not live, and likely being destroyed. */ + /** + * The asset is not live, and likely being destroyed. + **/ AssetNotLive: AugmentedError; - /** The asset ID must be equal to the [`NextAssetId`]. */ + /** + * The asset ID must be equal to the [`NextAssetId`]. + **/ BadAssetId: AugmentedError; - /** Invalid metadata given. */ + /** + * Invalid metadata given. + **/ BadMetadata: AugmentedError; - /** Invalid witness data given. */ + /** + * Invalid witness data given. + **/ BadWitness: AugmentedError; - /** Account balance must be greater than or equal to the transfer amount. */ + /** + * Account balance must be greater than or equal to the transfer amount. + **/ BalanceLow: AugmentedError; - /** Callback action resulted in error */ + /** + * Callback action resulted in error + **/ CallbackFailed: AugmentedError; - /** The origin account is frozen. */ + /** + * The origin account is frozen. + **/ Frozen: AugmentedError; - /** The asset status is not the expected status. */ + /** + * The asset status is not the expected status. + **/ IncorrectStatus: AugmentedError; - /** The asset ID is already taken. */ + /** + * The asset ID is already taken. + **/ InUse: AugmentedError; /** - * The asset is a live asset and is actively being used. Usually emit for operations such as - * `start_destroy` which require the asset to be in a destroying state. - */ + * The asset is a live asset and is actively being used. Usually emit for operations such + * as `start_destroy` which require the asset to be in a destroying state. + **/ LiveAsset: AugmentedError; - /** Minimum balance should be non-zero. */ + /** + * Minimum balance should be non-zero. + **/ MinBalanceZero: AugmentedError; - /** The account to alter does not exist. */ + /** + * The account to alter does not exist. + **/ NoAccount: AugmentedError; - /** The asset-account doesn't have an associated deposit. */ + /** + * The asset-account doesn't have an associated deposit. + **/ NoDeposit: AugmentedError; - /** The signing account has no permission to do the operation. */ + /** + * The signing account has no permission to do the operation. + **/ NoPermission: AugmentedError; - /** The asset should be frozen before the given operation. */ + /** + * The asset should be frozen before the given operation. + **/ NotFrozen: AugmentedError; - /** No approval exists that would allow the transfer. */ + /** + * No approval exists that would allow the transfer. + **/ Unapproved: AugmentedError; /** * Unable to increment the consumer reference counters on the account. Either no provider - * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer - * then the maximum number of consumers has been reached. - */ + * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one + * fewer then the maximum number of consumers has been reached. + **/ UnavailableConsumer: AugmentedError; - /** The given asset ID is unknown. */ + /** + * The given asset ID is unknown. + **/ Unknown: AugmentedError; - /** The operation would result in funds being burned. */ + /** + * The operation would result in funds being burned. + **/ WouldBurn: AugmentedError; - /** The source account would not survive the transfer and it needs to stay alive. */ + /** + * The source account would not survive the transfer and it needs to stay alive. + **/ WouldDie: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorInherent: { - /** Author already set in block. */ + /** + * Author already set in block. + **/ AuthorAlreadySet: AugmentedError; - /** The author in the inherent is not an eligible author. */ + /** + * The author in the inherent is not an eligible author. + **/ CannotBeAuthor: AugmentedError; - /** No AccountId was found to be associated with this author */ + /** + * No AccountId was found to be associated with this author + **/ NoAccountId: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorMapping: { - /** The NimbusId in question is already associated and cannot be overwritten */ + /** + * The NimbusId in question is already associated and cannot be overwritten + **/ AlreadyAssociated: AugmentedError; - /** The association can't be cleared because it is not found. */ + /** + * The association can't be cleared because it is not found. + **/ AssociationNotFound: AugmentedError; - /** This account cannot set an author because it cannon afford the security deposit */ + /** + * This account cannot set an author because it cannon afford the security deposit + **/ CannotAffordSecurityDeposit: AugmentedError; - /** Failed to decode T::Keys for `set_keys` */ + /** + * Failed to decode T::Keys for `set_keys` + **/ DecodeKeysFailed: AugmentedError; - /** Failed to decode NimbusId for `set_keys` */ + /** + * Failed to decode NimbusId for `set_keys` + **/ DecodeNimbusFailed: AugmentedError; - /** The association can't be cleared because it belongs to another account. */ + /** + * The association can't be cleared because it belongs to another account. + **/ NotYourAssociation: AugmentedError; - /** No existing NimbusId can be found for the account */ + /** + * No existing NimbusId can be found for the account + **/ OldAuthorIdNotFound: AugmentedError; - /** Keys have wrong size */ + /** + * Keys have wrong size + **/ WrongKeySize: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; balances: { - /** Beneficiary account must pre-exist. */ + /** + * Beneficiary account must pre-exist. + **/ DeadAccount: AugmentedError; - /** The delta cannot be zero. */ + /** + * The delta cannot be zero. + **/ DeltaZero: AugmentedError; - /** Value too low to create account due to existential deposit. */ + /** + * Value too low to create account due to existential deposit. + **/ ExistentialDeposit: AugmentedError; - /** A vesting schedule already exists for this account. */ + /** + * A vesting schedule already exists for this account. + **/ ExistingVestingSchedule: AugmentedError; - /** Transfer/payment would kill account. */ + /** + * Transfer/payment would kill account. + **/ Expendability: AugmentedError; - /** Balance too low to send value. */ + /** + * Balance too low to send value. + **/ InsufficientBalance: AugmentedError; - /** The issuance cannot be modified since it is already deactivated. */ + /** + * The issuance cannot be modified since it is already deactivated. + **/ IssuanceDeactivated: AugmentedError; - /** Account liquidity restrictions prevent withdrawal. */ + /** + * Account liquidity restrictions prevent withdrawal. + **/ LiquidityRestrictions: AugmentedError; - /** Number of freezes exceed `MaxFreezes`. */ + /** + * Number of freezes exceed `MaxFreezes`. + **/ TooManyFreezes: AugmentedError; - /** Number of holds exceed `VariantCountOf`. */ + /** + * Number of holds exceed `VariantCountOf`. + **/ TooManyHolds: AugmentedError; - /** Number of named reserves exceed `MaxReserves`. */ + /** + * Number of named reserves exceed `MaxReserves`. + **/ TooManyReserves: AugmentedError; - /** Vesting balance too high to send value. */ + /** + * Vesting balance too high to send value. + **/ VestingBalance: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; convictionVoting: { - /** The account is already delegating. */ + /** + * The account is already delegating. + **/ AlreadyDelegating: AugmentedError; /** - * The account currently has votes attached to it and the operation cannot succeed until these - * are removed through `remove_vote`. - */ + * The account currently has votes attached to it and the operation cannot succeed until + * these are removed through `remove_vote`. + **/ AlreadyVoting: AugmentedError; - /** The class ID supplied is invalid. */ + /** + * The class ID supplied is invalid. + **/ BadClass: AugmentedError; - /** The class must be supplied since it is not easily determinable from the state. */ + /** + * The class must be supplied since it is not easily determinable from the state. + **/ ClassNeeded: AugmentedError; - /** Too high a balance was provided that the account cannot afford. */ + /** + * Too high a balance was provided that the account cannot afford. + **/ InsufficientFunds: AugmentedError; - /** Maximum number of votes reached. */ + /** + * Maximum number of votes reached. + **/ MaxVotesReached: AugmentedError; - /** Delegation to oneself makes no sense. */ + /** + * Delegation to oneself makes no sense. + **/ Nonsense: AugmentedError; - /** The actor has no permission to conduct the action. */ + /** + * The actor has no permission to conduct the action. + **/ NoPermission: AugmentedError; - /** The actor has no permission to conduct the action right now but will do in the future. */ + /** + * The actor has no permission to conduct the action right now but will do in the future. + **/ NoPermissionYet: AugmentedError; - /** The account is not currently delegating. */ + /** + * The account is not currently delegating. + **/ NotDelegating: AugmentedError; - /** Poll is not ongoing. */ + /** + * Poll is not ongoing. + **/ NotOngoing: AugmentedError; - /** The given account did not vote on the poll. */ + /** + * The given account did not vote on the poll. + **/ NotVoter: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; crowdloanRewards: { /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided an already associated relay chain identity - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided an already associated relay chain identity + **/ AlreadyAssociated: AugmentedError; - /** Trying to introduce a batch that goes beyond the limits of the funds */ + /** + * Trying to introduce a batch that goes beyond the limits of the funds + **/ BatchBeyondFundPot: AugmentedError; - /** First claim already done */ + /** + * First claim already done + **/ FirstClaimAlreadyDone: AugmentedError; - /** User submitted an unsifficient number of proofs to change the reward address */ + /** + * User submitted an unsifficient number of proofs to change the reward address + **/ InsufficientNumberOfValidProofs: AugmentedError; /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided a wrong signature - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided a wrong signature + **/ InvalidClaimSignature: AugmentedError; - /** User trying to claim the first free reward provided the wrong signature */ + /** + * User trying to claim the first free reward provided the wrong signature + **/ InvalidFreeClaimSignature: AugmentedError; /** - * User trying to claim an award did not have an claim associated with it. This may mean they - * did not contribute to the crowdloan, or they have not yet associated a native id with their - * contribution - */ + * User trying to claim an award did not have an claim associated with it. This may mean + * they did not contribute to the crowdloan, or they have not yet associated a native id + * with their contribution + **/ NoAssociatedClaim: AugmentedError; - /** User provided a signature from a non-contributor relay account */ + /** + * User provided a signature from a non-contributor relay account + **/ NonContributedAddressProvided: AugmentedError; - /** The contribution is not high enough to be eligible for rewards */ + /** + * The contribution is not high enough to be eligible for rewards + **/ RewardNotHighEnough: AugmentedError; /** - * User trying to claim rewards has already claimed all rewards associated with its identity - * and contribution - */ + * User trying to claim rewards has already claimed all rewards associated with its + * identity and contribution + **/ RewardsAlreadyClaimed: AugmentedError; - /** Rewards should match funds of the pallet */ + /** + * Rewards should match funds of the pallet + **/ RewardsDoNotMatchFund: AugmentedError; - /** Reward vec has already been initialized */ + /** + * Reward vec has already been initialized + **/ RewardVecAlreadyInitialized: AugmentedError; - /** Reward vec has not yet been fully initialized */ + /** + * Reward vec has not yet been fully initialized + **/ RewardVecNotFullyInitializedYet: AugmentedError; - /** Initialize_reward_vec received too many contributors */ + /** + * Initialize_reward_vec received too many contributors + **/ TooManyContributors: AugmentedError; - /** Provided vesting period is not valid */ + /** + * Provided vesting period is not valid + **/ VestingPeriodNonValid: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; emergencyParaXcm: { - /** The current XCM Mode is not Paused */ + /** + * The current XCM Mode is not Paused + **/ NotInPausedMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereum: { - /** Signature is invalid. */ + /** + * Signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Pre-log is present, therefore transact is not allowed. */ + /** + * Pre-log is present, therefore transact is not allowed. + **/ PreLogExists: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereumXcm: { - /** Xcm to Ethereum execution is suspended */ + /** + * Xcm to Ethereum execution is suspended + **/ EthereumXcmExecutionSuspended: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evm: { - /** Not enough balance to perform action */ + /** + * Not enough balance to perform action + **/ BalanceLow: AugmentedError; - /** Calculating total fee overflowed */ + /** + * Calculating total fee overflowed + **/ FeeOverflow: AugmentedError; - /** Gas limit is too high. */ + /** + * Gas limit is too high. + **/ GasLimitTooHigh: AugmentedError; - /** Gas limit is too low. */ + /** + * Gas limit is too low. + **/ GasLimitTooLow: AugmentedError; - /** Gas price is too low. */ + /** + * Gas price is too low. + **/ GasPriceTooLow: AugmentedError; - /** The chain id is invalid. */ + /** + * The chain id is invalid. + **/ InvalidChainId: AugmentedError; - /** Nonce is invalid */ + /** + * Nonce is invalid + **/ InvalidNonce: AugmentedError; - /** The signature is invalid. */ + /** + * the signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Calculating total payment overflowed */ + /** + * Calculating total payment overflowed + **/ PaymentOverflow: AugmentedError; - /** EVM reentrancy */ + /** + * EVM reentrancy + **/ Reentrancy: AugmentedError; - /** EIP-3607, */ + /** + * EIP-3607, + **/ TransactionMustComeFromEOA: AugmentedError; - /** Undefined error. */ + /** + * Undefined error. + **/ Undefined: AugmentedError; - /** Withdraw fee failed */ + /** + * Withdraw fee failed + **/ WithdrawFailed: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evmForeignAssets: { @@ -277,226 +461,416 @@ declare module "@polkadot/api-base/types/errors" { InvalidTokenName: AugmentedError; LocationAlreadyExists: AugmentedError; TooManyForeignAssets: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; identity: { - /** Account ID is already named. */ + /** + * Account ID is already named. + **/ AlreadyClaimed: AugmentedError; - /** Empty index. */ + /** + * Empty index. + **/ EmptyIndex: AugmentedError; - /** Fee is changed. */ + /** + * Fee is changed. + **/ FeeChanged: AugmentedError; - /** The index is invalid. */ + /** + * The index is invalid. + **/ InvalidIndex: AugmentedError; - /** Invalid judgement. */ + /** + * Invalid judgement. + **/ InvalidJudgement: AugmentedError; - /** The signature on a username was not valid. */ + /** + * The signature on a username was not valid. + **/ InvalidSignature: AugmentedError; - /** The provided suffix is too long. */ + /** + * The provided suffix is too long. + **/ InvalidSuffix: AugmentedError; - /** The target is invalid. */ + /** + * The target is invalid. + **/ InvalidTarget: AugmentedError; - /** The username does not meet the requirements. */ + /** + * The username does not meet the requirements. + **/ InvalidUsername: AugmentedError; - /** The provided judgement was for a different identity. */ + /** + * The provided judgement was for a different identity. + **/ JudgementForDifferentIdentity: AugmentedError; - /** Judgement given. */ + /** + * Judgement given. + **/ JudgementGiven: AugmentedError; - /** Error that occurs when there is an issue paying for judgement. */ + /** + * Error that occurs when there is an issue paying for judgement. + **/ JudgementPaymentFailed: AugmentedError; - /** The authority cannot allocate any more usernames. */ + /** + * The authority cannot allocate any more usernames. + **/ NoAllocation: AugmentedError; - /** No identity found. */ + /** + * No identity found. + **/ NoIdentity: AugmentedError; - /** The username cannot be forcefully removed because it can still be accepted. */ + /** + * The username cannot be forcefully removed because it can still be accepted. + **/ NotExpired: AugmentedError; - /** Account isn't found. */ + /** + * Account isn't found. + **/ NotFound: AugmentedError; - /** Account isn't named. */ + /** + * Account isn't named. + **/ NotNamed: AugmentedError; - /** Sub-account isn't owned by sender. */ + /** + * Sub-account isn't owned by sender. + **/ NotOwned: AugmentedError; - /** Sender is not a sub-account. */ + /** + * Sender is not a sub-account. + **/ NotSub: AugmentedError; - /** The sender does not have permission to issue a username. */ + /** + * The sender does not have permission to issue a username. + **/ NotUsernameAuthority: AugmentedError; - /** The requested username does not exist. */ + /** + * The requested username does not exist. + **/ NoUsername: AugmentedError; - /** Setting this username requires a signature, but none was provided. */ + /** + * Setting this username requires a signature, but none was provided. + **/ RequiresSignature: AugmentedError; - /** Sticky judgement. */ + /** + * Sticky judgement. + **/ StickyJudgement: AugmentedError; - /** Maximum amount of registrars reached. Cannot add any more. */ + /** + * Maximum amount of registrars reached. Cannot add any more. + **/ TooManyRegistrars: AugmentedError; - /** Too many subs-accounts. */ + /** + * Too many subs-accounts. + **/ TooManySubAccounts: AugmentedError; - /** The username is already taken. */ + /** + * The username is already taken. + **/ UsernameTaken: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; maintenanceMode: { - /** The chain cannot enter maintenance mode because it is already in maintenance mode */ + /** + * The chain cannot enter maintenance mode because it is already in maintenance mode + **/ AlreadyInMaintenanceMode: AugmentedError; - /** The chain cannot resume normal operation because it is not in maintenance mode */ + /** + * The chain cannot resume normal operation because it is not in maintenance mode + **/ NotInMaintenanceMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; messageQueue: { - /** The message was already processed and cannot be processed again. */ + /** + * The message was already processed and cannot be processed again. + **/ AlreadyProcessed: AugmentedError; - /** There is temporarily not enough weight to continue servicing messages. */ + /** + * There is temporarily not enough weight to continue servicing messages. + **/ InsufficientWeight: AugmentedError; - /** The referenced message could not be found. */ + /** + * The referenced message could not be found. + **/ NoMessage: AugmentedError; - /** Page to be reaped does not exist. */ + /** + * Page to be reaped does not exist. + **/ NoPage: AugmentedError; - /** Page is not reapable because it has items remaining to be processed and is not old enough. */ + /** + * Page is not reapable because it has items remaining to be processed and is not old + * enough. + **/ NotReapable: AugmentedError; - /** The message is queued for future execution. */ + /** + * The message is queued for future execution. + **/ Queued: AugmentedError; /** * The queue is paused and no message can be executed from it. * * This can change at any time and may resolve in the future by re-trying. - */ + **/ QueuePaused: AugmentedError; - /** Another call is in progress and needs to finish before this call can happen. */ + /** + * Another call is in progress and needs to finish before this call can happen. + **/ RecursiveDisallowed: AugmentedError; /** * This message is temporarily unprocessable. * - * Such errors are expected, but not guaranteed, to resolve themselves eventually through retrying. - */ + * Such errors are expected, but not guaranteed, to resolve themselves eventually through + * retrying. + **/ TemporarilyUnprocessable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; migrations: { - /** Preimage already exists in the new storage. */ + /** + * Preimage already exists in the new storage. + **/ PreimageAlreadyExists: AugmentedError; - /** Preimage is larger than the new max size. */ + /** + * Preimage is larger than the new max size. + **/ PreimageIsTooBig: AugmentedError; - /** Missing preimage in original democracy storage */ + /** + * Missing preimage in original democracy storage + **/ PreimageMissing: AugmentedError; - /** Provided upper bound is too low. */ + /** + * Provided upper bound is too low. + **/ WrongUpperBound: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamLazyMigrations: { - /** Fail to add an approval */ + /** + * Fail to add an approval + **/ ApprovalFailed: AugmentedError; - /** Asset not found */ + /** + * Asset not found + **/ AssetNotFound: AugmentedError; - /** The asset type was not found */ + /** + * The asset type was not found + **/ AssetTypeNotFound: AugmentedError; - /** The contract already have metadata */ + /** + * The contract already have metadata + **/ ContractMetadataAlreadySet: AugmentedError; - /** Contract not exist */ + /** + * Contract not exist + **/ ContractNotExist: AugmentedError; - /** The key lengths exceeds the maximum allowed */ + /** + * The key lengths exceeds the maximum allowed + **/ KeyTooLong: AugmentedError; - /** The limit cannot be zero */ + /** + * The limit cannot be zero + **/ LimitCannotBeZero: AugmentedError; - /** The location of the asset was not found */ + /** + * The location of the asset was not found + **/ LocationNotFound: AugmentedError; - /** Migration is not finished yet */ + /** + * Migration is not finished yet + **/ MigrationNotFinished: AugmentedError; - /** Fail to mint the foreign asset */ + /** + * Fail to mint the foreign asset + **/ MintFailed: AugmentedError; - /** The name length exceeds the maximum allowed */ + /** + * The name length exceeds the maximum allowed + **/ NameTooLong: AugmentedError; - /** No migration in progress */ + /** + * No migration in progress + **/ NoMigrationInProgress: AugmentedError; - /** The symbol length exceeds the maximum allowed */ + /** + * The symbol length exceeds the maximum allowed + **/ SymbolTooLong: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamOrbiters: { - /** The collator is already added in orbiters program. */ + /** + * The collator is already added in orbiters program. + **/ CollatorAlreadyAdded: AugmentedError; - /** This collator is not in orbiters program. */ + /** + * This collator is not in orbiters program. + **/ CollatorNotFound: AugmentedError; - /** There are already too many orbiters associated with this collator. */ + /** + * There are already too many orbiters associated with this collator. + **/ CollatorPoolTooLarge: AugmentedError; - /** There are more collator pools than the number specified in the parameter. */ + /** + * There are more collator pools than the number specified in the parameter. + **/ CollatorsPoolCountTooLow: AugmentedError; /** * The minimum deposit required to register as an orbiter has not yet been included in the * onchain storage - */ + **/ MinOrbiterDepositNotSet: AugmentedError; - /** This orbiter is already associated with this collator. */ + /** + * This orbiter is already associated with this collator. + **/ OrbiterAlreadyInPool: AugmentedError; - /** This orbiter has not made a deposit */ + /** + * This orbiter has not made a deposit + **/ OrbiterDepositNotFound: AugmentedError; - /** This orbiter is not found */ + /** + * This orbiter is not found + **/ OrbiterNotFound: AugmentedError; - /** The orbiter is still at least in one pool */ + /** + * The orbiter is still at least in one pool + **/ OrbiterStillInAPool: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; multisig: { - /** Call is already approved by this signatory. */ + /** + * Call is already approved by this signatory. + **/ AlreadyApproved: AugmentedError; - /** The data to be stored is already stored. */ + /** + * The data to be stored is already stored. + **/ AlreadyStored: AugmentedError; - /** The maximum weight information provided was too low. */ + /** + * The maximum weight information provided was too low. + **/ MaxWeightTooLow: AugmentedError; - /** Threshold must be 2 or greater. */ + /** + * Threshold must be 2 or greater. + **/ MinimumThreshold: AugmentedError; - /** Call doesn't need any (more) approvals. */ + /** + * Call doesn't need any (more) approvals. + **/ NoApprovalsNeeded: AugmentedError; - /** Multisig operation not found when attempting to cancel. */ + /** + * Multisig operation not found when attempting to cancel. + **/ NotFound: AugmentedError; - /** No timepoint was given, yet the multisig operation is already underway. */ + /** + * No timepoint was given, yet the multisig operation is already underway. + **/ NoTimepoint: AugmentedError; - /** Only the account that originally created the multisig is able to cancel it. */ + /** + * Only the account that originally created the multisig is able to cancel it. + **/ NotOwner: AugmentedError; - /** The sender was contained in the other signatories; it shouldn't be. */ + /** + * The sender was contained in the other signatories; it shouldn't be. + **/ SenderInSignatories: AugmentedError; - /** The signatories were provided out of order; they should be ordered. */ + /** + * The signatories were provided out of order; they should be ordered. + **/ SignatoriesOutOfOrder: AugmentedError; - /** There are too few signatories in the list. */ + /** + * There are too few signatories in the list. + **/ TooFewSignatories: AugmentedError; - /** There are too many signatories in the list. */ + /** + * There are too many signatories in the list. + **/ TooManySignatories: AugmentedError; - /** A timepoint was given, yet no multisig operation is underway. */ + /** + * A timepoint was given, yet no multisig operation is underway. + **/ UnexpectedTimepoint: AugmentedError; - /** A different timepoint was given to the multisig operation that is underway. */ + /** + * A different timepoint was given to the multisig operation that is underway. + **/ WrongTimepoint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; openTechCommitteeCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainStaking: { @@ -556,132 +930,240 @@ declare module "@polkadot/api-base/types/errors" { TooLowDelegationCountToDelegate: AugmentedError; TooLowDelegationCountToLeaveDelegators: AugmentedError; TotalInflationDistributionPercentExceeds100: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainSystem: { - /** The inherent which supplies the host configuration did not run this block. */ + /** + * The inherent which supplies the host configuration did not run this block. + **/ HostConfigurationNotAvailable: AugmentedError; - /** No code upgrade has been authorized. */ + /** + * No code upgrade has been authorized. + **/ NothingAuthorized: AugmentedError; - /** No validation function upgrade is currently scheduled. */ + /** + * No validation function upgrade is currently scheduled. + **/ NotScheduled: AugmentedError; - /** Attempt to upgrade validation function while existing upgrade pending. */ + /** + * Attempt to upgrade validation function while existing upgrade pending. + **/ OverlappingUpgrades: AugmentedError; - /** Polkadot currently prohibits this parachain from upgrading its validation function. */ + /** + * Polkadot currently prohibits this parachain from upgrading its validation function. + **/ ProhibitedByPolkadot: AugmentedError; - /** The supplied validation function has compiled into a blob larger than Polkadot is willing to run. */ + /** + * The supplied validation function has compiled into a blob larger than Polkadot is + * willing to run. + **/ TooBig: AugmentedError; - /** The given code upgrade has not been authorized. */ + /** + * The given code upgrade has not been authorized. + **/ Unauthorized: AugmentedError; - /** The inherent which supplies the validation data did not run this block. */ + /** + * The inherent which supplies the validation data did not run this block. + **/ ValidationDataNotAvailable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; polkadotXcm: { - /** The given account is not an identifiable sovereign account for any location. */ + /** + * The given account is not an identifiable sovereign account for any location. + **/ AccountNotSovereign: AugmentedError; - /** The location is invalid since it already has a subscription from us. */ + /** + * The location is invalid since it already has a subscription from us. + **/ AlreadySubscribed: AugmentedError; /** - * The given location could not be used (e.g. because it cannot be expressed in the desired - * version of XCM). - */ + * The given location could not be used (e.g. because it cannot be expressed in the + * desired version of XCM). + **/ BadLocation: AugmentedError; - /** The version of the `Versioned` value used is not able to be interpreted. */ + /** + * The version of the `Versioned` value used is not able to be interpreted. + **/ BadVersion: AugmentedError; - /** Could not check-out the assets for teleportation to the destination chain. */ + /** + * Could not check-out the assets for teleportation to the destination chain. + **/ CannotCheckOutTeleport: AugmentedError; - /** Could not re-anchor the assets to declare the fees for the destination chain. */ + /** + * Could not re-anchor the assets to declare the fees for the destination chain. + **/ CannotReanchor: AugmentedError; - /** The destination `Location` provided cannot be inverted. */ + /** + * The destination `Location` provided cannot be inverted. + **/ DestinationNotInvertible: AugmentedError; - /** The assets to be sent are empty. */ + /** + * The assets to be sent are empty. + **/ Empty: AugmentedError; - /** The operation required fees to be paid which the initiator could not meet. */ + /** + * The operation required fees to be paid which the initiator could not meet. + **/ FeesNotMet: AugmentedError; - /** The message execution fails the filter. */ + /** + * The message execution fails the filter. + **/ Filtered: AugmentedError; - /** The unlock operation cannot succeed because there are still consumers of the lock. */ + /** + * The unlock operation cannot succeed because there are still consumers of the lock. + **/ InUse: AugmentedError; - /** Invalid asset, reserve chain could not be determined for it. */ + /** + * Invalid asset, reserve chain could not be determined for it. + **/ InvalidAssetUnknownReserve: AugmentedError; - /** Invalid asset, do not support remote asset reserves with different fees reserves. */ + /** + * Invalid asset, do not support remote asset reserves with different fees reserves. + **/ InvalidAssetUnsupportedReserve: AugmentedError; - /** Origin is invalid for sending. */ + /** + * Origin is invalid for sending. + **/ InvalidOrigin: AugmentedError; - /** Local XCM execution incomplete. */ + /** + * Local XCM execution incomplete. + **/ LocalExecutionIncomplete: AugmentedError; - /** A remote lock with the corresponding data could not be found. */ + /** + * A remote lock with the corresponding data could not be found. + **/ LockNotFound: AugmentedError; - /** The owner does not own (all) of the asset that they wish to do the operation on. */ + /** + * The owner does not own (all) of the asset that they wish to do the operation on. + **/ LowBalance: AugmentedError; - /** The referenced subscription could not be found. */ + /** + * The referenced subscription could not be found. + **/ 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; - /** Too many assets have been attempted for transfer. */ + /** + * Too many assets have been attempted for transfer. + **/ TooManyAssets: AugmentedError; - /** The asset owner has too many locks on the asset. */ + /** + * The asset owner has too many locks on the asset. + **/ TooManyLocks: AugmentedError; - /** Too many assets with different reserve locations have been attempted for transfer. */ + /** + * Too many assets with different reserve locations have been attempted for transfer. + **/ TooManyReserves: AugmentedError; - /** The desired destination was unreachable, generally because there is a no way of routing to it. */ + /** + * The desired destination was unreachable, generally because there is a no way of routing + * to it. + **/ Unreachable: AugmentedError; - /** The message's weight could not be determined. */ + /** + * The message's weight could not be determined. + **/ UnweighableMessage: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; precompileBenchmarks: { BenchmarkError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; preimage: { - /** Preimage has already been noted on-chain. */ + /** + * Preimage has already been noted on-chain. + **/ AlreadyNoted: AugmentedError; - /** No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. */ + /** + * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. + **/ NoCost: AugmentedError; - /** The user is not authorized to perform this action. */ + /** + * The user is not authorized to perform this action. + **/ NotAuthorized: AugmentedError; - /** The preimage cannot be removed since it has not yet been noted. */ + /** + * The preimage cannot be removed since it has not yet been noted. + **/ NotNoted: AugmentedError; - /** The preimage request cannot be removed since no outstanding requests exist. */ + /** + * The preimage request cannot be removed since no outstanding requests exist. + **/ NotRequested: AugmentedError; - /** A preimage may not be removed when there are outstanding requests. */ + /** + * A preimage may not be removed when there are outstanding requests. + **/ Requested: AugmentedError; - /** Preimage is too large to store on-chain. */ + /** + * Preimage is too large to store on-chain. + **/ TooBig: AugmentedError; - /** Too few hashes were requested to be upgraded (i.e. zero). */ + /** + * Too few hashes were requested to be upgraded (i.e. zero). + **/ TooFew: AugmentedError; - /** More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. */ + /** + * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + **/ TooMany: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; proxy: { - /** Account is already a proxy. */ + /** + * Account is already a proxy. + **/ Duplicate: AugmentedError; - /** Call may not be made by proxy because it may escalate its privileges. */ + /** + * Call may not be made by proxy because it may escalate its privileges. + **/ NoPermission: AugmentedError; - /** Cannot add self as proxy. */ + /** + * Cannot add self as proxy. + **/ NoSelfProxy: AugmentedError; - /** Proxy registration not found. */ + /** + * Proxy registration not found. + **/ NotFound: AugmentedError; - /** Sender is not a proxy of the account to be proxied. */ + /** + * Sender is not a proxy of the account to be proxied. + **/ NotProxy: AugmentedError; - /** There are too many proxies registered or too many announcements pending. */ + /** + * There are too many proxies registered or too many announcements pending. + **/ TooMany: AugmentedError; - /** Announcement, if made at all, was made too recently. */ + /** + * Announcement, if made at all, was made too recently. + **/ Unannounced: AugmentedError; - /** A call which is incompatible with the proxy type's filter was attempted. */ + /** + * A call which is incompatible with the proxy type's filter was attempted. + **/ Unproxyable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; randomness: { @@ -697,165 +1179,306 @@ declare module "@polkadot/api-base/types/errors" { RequestDNE: AugmentedError; RequestFeeOverflowed: AugmentedError; RequestHasNotExpired: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; referenda: { - /** The referendum index provided is invalid in this context. */ + /** + * The referendum index provided is invalid in this context. + **/ BadReferendum: AugmentedError; - /** The referendum status is invalid for this operation. */ + /** + * The referendum status is invalid for this operation. + **/ BadStatus: AugmentedError; - /** The track identifier given was invalid. */ + /** + * The track identifier given was invalid. + **/ BadTrack: AugmentedError; - /** There are already a full complement of referenda in progress for this track. */ + /** + * There are already a full complement of referenda in progress for this track. + **/ Full: AugmentedError; - /** Referendum's decision deposit is already paid. */ + /** + * Referendum's decision deposit is already paid. + **/ HasDeposit: AugmentedError; - /** The deposit cannot be refunded since none was made. */ + /** + * The deposit cannot be refunded since none was made. + **/ NoDeposit: AugmentedError; - /** The deposit refunder is not the depositor. */ + /** + * The deposit refunder is not the depositor. + **/ NoPermission: AugmentedError; - /** There was nothing to do in the advancement. */ + /** + * There was nothing to do in the advancement. + **/ NothingToDo: AugmentedError; - /** Referendum is not ongoing. */ + /** + * Referendum is not ongoing. + **/ NotOngoing: AugmentedError; - /** No track exists for the proposal origin. */ + /** + * No track exists for the proposal origin. + **/ NoTrack: AugmentedError; - /** The preimage does not exist. */ + /** + * The preimage does not exist. + **/ PreimageNotExist: AugmentedError; - /** The preimage is stored with a different length than the one provided. */ + /** + * The preimage is stored with a different length than the one provided. + **/ PreimageStoredWithDifferentLength: AugmentedError; - /** The queue of the track is empty. */ + /** + * The queue of the track is empty. + **/ QueueEmpty: AugmentedError; - /** Any deposit cannot be refunded until after the decision is over. */ + /** + * Any deposit cannot be refunded until after the decision is over. + **/ Unfinished: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; scheduler: { - /** Failed to schedule a call */ + /** + * Failed to schedule a call + **/ FailedToSchedule: AugmentedError; - /** Attempt to use a non-named function on a named task. */ + /** + * Attempt to use a non-named function on a named task. + **/ Named: AugmentedError; - /** Cannot find the scheduled call. */ + /** + * Cannot find the scheduled call. + **/ NotFound: AugmentedError; - /** Reschedule failed because it does not change scheduled time. */ + /** + * Reschedule failed because it does not change scheduled time. + **/ RescheduleNoChange: AugmentedError; - /** Given target block number is in the past. */ + /** + * Given target block number is in the past. + **/ TargetBlockNumberInPast: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; system: { - /** The origin filter prevent the call to be dispatched. */ + /** + * The origin filter prevent the call to be dispatched. + **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. - */ + **/ FailedToExtractRuntimeVersion: AugmentedError; - /** The name of specification does not match between the current runtime and the new runtime. */ + /** + * The name of specification does not match between the current runtime + * and the new runtime. + **/ InvalidSpecName: AugmentedError; - /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + /** + * A multi-block migration is ongoing and prevents the current code from being replaced. + **/ MultiBlockMigrationsOngoing: AugmentedError; - /** Suicide called when the account has non-default composite data. */ + /** + * Suicide called when the account has non-default composite data. + **/ NonDefaultComposite: AugmentedError; - /** There is a non-zero reference count preventing the account from being purged. */ + /** + * There is a non-zero reference count preventing the account from being purged. + **/ NonZeroRefCount: AugmentedError; - /** No upgrade authorized. */ + /** + * No upgrade authorized. + **/ NothingAuthorized: AugmentedError; - /** The specification version is not allowed to decrease between the current runtime and the new runtime. */ + /** + * The specification version is not allowed to decrease between the current runtime + * and the new runtime. + **/ SpecVersionNeedsToIncrease: AugmentedError; - /** The submitted code is not authorized. */ + /** + * The submitted code is not authorized. + **/ Unauthorized: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasury: { - /** The payment has already been attempted. */ + /** + * The payment has already been attempted. + **/ AlreadyAttempted: AugmentedError; - /** The spend is not yet eligible for payout. */ + /** + * The spend is not yet eligible for payout. + **/ EarlyPayout: AugmentedError; - /** The balance of the asset kind is not convertible to the balance of the native asset. */ + /** + * The balance of the asset kind is not convertible to the balance of the native asset. + **/ FailedToConvertBalance: AugmentedError; - /** The payment has neither failed nor succeeded yet. */ + /** + * The payment has neither failed nor succeeded yet. + **/ Inconclusive: AugmentedError; - /** The spend origin is valid but the amount it is allowed to spend is lower than the amount to be spent. */ + /** + * The spend origin is valid but the amount it is allowed to spend is lower than the + * amount to be spent. + **/ InsufficientPermission: AugmentedError; - /** No proposal, bounty or spend at that index. */ + /** + * No proposal, bounty or spend at that index. + **/ InvalidIndex: AugmentedError; - /** The payout was not yet attempted/claimed. */ + /** + * The payout was not yet attempted/claimed. + **/ NotAttempted: AugmentedError; - /** There was some issue with the mechanism of payment. */ + /** + * There was some issue with the mechanism of payment. + **/ PayoutError: AugmentedError; - /** Proposal has not been approved. */ + /** + * Proposal has not been approved. + **/ ProposalNotApproved: AugmentedError; - /** The spend has expired and cannot be claimed. */ + /** + * The spend has expired and cannot be claimed. + **/ SpendExpired: AugmentedError; - /** Too many approvals in the queue. */ + /** + * Too many approvals in the queue. + **/ TooManyApprovals: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasuryCouncilCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; utility: { - /** Too many calls batched. */ + /** + * Too many calls batched. + **/ TooManyCalls: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; whitelist: { - /** The call was already whitelisted; No-Op. */ + /** + * The call was already whitelisted; No-Op. + **/ CallAlreadyWhitelisted: AugmentedError; - /** The call was not whitelisted. */ + /** + * The call was not whitelisted. + **/ CallIsNotWhitelisted: AugmentedError; - /** The weight of the decoded call was higher than the witness. */ + /** + * The weight of the decoded call was higher than the witness. + **/ InvalidCallWeightWitness: AugmentedError; - /** The preimage of the call hash could not be loaded. */ + /** + * The preimage of the call hash could not be loaded. + **/ UnavailablePreImage: AugmentedError; - /** The call could not be decoded. */ + /** + * The call could not be decoded. + **/ UndecodableCall: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmpQueue: { - /** The execution is already resumed. */ + /** + * The execution is already resumed. + **/ AlreadyResumed: AugmentedError; - /** The execution is already suspended. */ + /** + * The execution is already suspended. + **/ AlreadySuspended: AugmentedError; - /** Setting the queue config failed since one of its values was invalid. */ + /** + * Setting the queue config failed since one of its values was invalid. + **/ BadQueueConfig: AugmentedError; - /** The message is too big. */ + /** + * The message is too big. + **/ TooBig: AugmentedError; - /** There are too many active outbound channels. */ + /** + * There are too many active outbound channels. + **/ TooManyActiveOutboundChannels: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmTransactor: { @@ -886,23 +1509,39 @@ declare module "@polkadot/api-base/types/errors" { UnweighableMessage: AugmentedError; WeightOverflow: AugmentedError; XcmExecuteError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmWeightTrader: { - /** The given asset was already added */ + /** + * The given asset was already added + **/ AssetAlreadyAdded: AugmentedError; - /** The given asset was already paused */ + /** + * The given asset was already paused + **/ AssetAlreadyPaused: AugmentedError; - /** The given asset was not found */ + /** + * The given asset was not found + **/ AssetNotFound: AugmentedError; - /** The given asset is not paused */ + /** + * The given asset is not paused + **/ AssetNotPaused: AugmentedError; - /** The relative price cannot be zero */ + /** + * The relative price cannot be zero + **/ PriceCannotBeZero: AugmentedError; - /** XCM location filtered */ + /** + * XCM location filtered + **/ XcmLocationFiltered: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; } // AugmentedErrors diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-events.ts b/typescript-api/src/moonbeam/interfaces/augment-api-events.ts index 75d903e2e3..d905baec3b 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-events.ts @@ -17,7 +17,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { AccountId20, H160, H256, Perbill, Percent } from "@polkadot/types/interfaces/runtime"; @@ -54,7 +54,7 @@ import type { StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; export type __AugmentedEvent = AugmentedEvent; @@ -62,13 +62,17 @@ export type __AugmentedEvent = AugmentedEvent declare module "@polkadot/api-base/types/events" { interface AugmentedEvents { assetManager: { - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ ForeignAssetDestroyed: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonbeamRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonbeamRuntimeXcmConfigAssetType } >; - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetRegistered: AugmentedEvent< ApiType, [ @@ -82,153 +86,216 @@ declare module "@polkadot/api-base/types/events" { metadata: MoonbeamRuntimeAssetConfigAssetRegistrarMetadata; } >; - /** Removed all information related to an assetId */ + /** + * Removed all information related to an assetId + **/ ForeignAssetRemoved: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonbeamRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonbeamRuntimeXcmConfigAssetType } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newAssetType: MoonbeamRuntimeXcmConfigAssetType], { assetId: u128; newAssetType: MoonbeamRuntimeXcmConfigAssetType } >; - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ LocalAssetDestroyed: AugmentedEvent; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [assetType: MoonbeamRuntimeXcmConfigAssetType], { assetType: MoonbeamRuntimeXcmConfigAssetType } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ UnitsPerSecondChanged: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; assets: { - /** Accounts were destroyed for given asset. */ + /** + * Accounts were destroyed for given asset. + **/ AccountsDestroyed: AugmentedEvent< ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u128; accountsDestroyed: u32; accountsRemaining: u32 } >; - /** An approval for account `delegate` was cancelled by `owner`. */ + /** + * An approval for account `delegate` was cancelled by `owner`. + **/ ApprovalCancelled: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, delegate: AccountId20], { assetId: u128; owner: AccountId20; delegate: AccountId20 } >; - /** Approvals were destroyed for given asset. */ + /** + * Approvals were destroyed for given asset. + **/ ApprovalsDestroyed: AugmentedEvent< ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u128; approvalsDestroyed: u32; approvalsRemaining: u32 } >; - /** (Additional) funds have been approved for transfer to a destination account. */ + /** + * (Additional) funds have been approved for transfer to a destination account. + **/ ApprovedTransfer: AugmentedEvent< ApiType, [assetId: u128, source: AccountId20, delegate: AccountId20, amount: u128], { assetId: u128; source: AccountId20; delegate: AccountId20; amount: u128 } >; - /** Some asset `asset_id` was frozen. */ + /** + * Some asset `asset_id` was frozen. + **/ AssetFrozen: AugmentedEvent; - /** The min_balance of an asset has been updated by the asset owner. */ + /** + * The min_balance of an asset has been updated by the asset owner. + **/ AssetMinBalanceChanged: AugmentedEvent< ApiType, [assetId: u128, newMinBalance: u128], { assetId: u128; newMinBalance: u128 } >; - /** An asset has had its attributes changed by the `Force` origin. */ + /** + * An asset has had its attributes changed by the `Force` origin. + **/ AssetStatusChanged: AugmentedEvent; - /** Some asset `asset_id` was thawed. */ + /** + * Some asset `asset_id` was thawed. + **/ AssetThawed: AugmentedEvent; - /** Some account `who` was blocked. */ + /** + * Some account `who` was blocked. + **/ Blocked: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were destroyed. */ + /** + * Some assets were destroyed. + **/ Burned: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, balance: u128], { assetId: u128; owner: AccountId20; balance: u128 } >; - /** Some asset class was created. */ + /** + * Some asset class was created. + **/ Created: AugmentedEvent< ApiType, [assetId: u128, creator: AccountId20, owner: AccountId20], { assetId: u128; creator: AccountId20; owner: AccountId20 } >; - /** Some assets were deposited (e.g. for transaction fees). */ + /** + * Some assets were deposited (e.g. for transaction fees). + **/ Deposited: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** An asset class was destroyed. */ + /** + * An asset class was destroyed. + **/ Destroyed: AugmentedEvent; - /** An asset class is in the process of being destroyed. */ + /** + * An asset class is in the process of being destroyed. + **/ DestructionStarted: AugmentedEvent; - /** Some asset class was force-created. */ + /** + * Some asset class was force-created. + **/ ForceCreated: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** Some account `who` was frozen. */ + /** + * Some account `who` was frozen. + **/ Frozen: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were issued. */ + /** + * Some assets were issued. + **/ Issued: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, amount: u128], { assetId: u128; owner: AccountId20; amount: u128 } >; - /** Metadata has been cleared for an asset. */ + /** + * Metadata has been cleared for an asset. + **/ MetadataCleared: AugmentedEvent; - /** New metadata has been set for an asset. */ + /** + * New metadata has been set for an asset. + **/ MetadataSet: AugmentedEvent< ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u128; name: Bytes; symbol: Bytes; decimals: u8; isFrozen: bool } >; - /** The owner changed. */ + /** + * The owner changed. + **/ OwnerChanged: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** The management team changed. */ + /** + * The management team changed. + **/ TeamChanged: AugmentedEvent< ApiType, [assetId: u128, issuer: AccountId20, admin: AccountId20, freezer: AccountId20], { assetId: u128; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 } >; - /** Some account `who` was thawed. */ + /** + * Some account `who` was thawed. + **/ Thawed: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some account `who` was created with a deposit from `depositor`. */ + /** + * Some account `who` was created with a deposit from `depositor`. + **/ Touched: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, depositor: AccountId20], { assetId: u128; who: AccountId20; depositor: AccountId20 } >; - /** Some assets were transferred. */ + /** + * Some assets were transferred. + **/ Transferred: AugmentedEvent< ApiType, [assetId: u128, from: AccountId20, to: AccountId20, amount: u128], { assetId: u128; from: AccountId20; to: AccountId20; amount: u128 } >; - /** An `amount` was transferred in its entirety from `owner` to `destination` by the approved `delegate`. */ + /** + * An `amount` was transferred in its entirety from `owner` to `destination` by + * the approved `delegate`. + **/ TransferredApproved: AugmentedEvent< ApiType, [ @@ -246,23 +313,33 @@ declare module "@polkadot/api-base/types/events" { amount: u128; } >; - /** Some assets were withdrawn from the account (e.g. for transaction fees). */ + /** + * Some assets were withdrawn from the account (e.g. for transaction fees). + **/ Withdrawn: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorFilter: { - /** The amount of eligible authors for the filter to select has been changed. */ + /** + * The amount of eligible authors for the filter to select has been changed. + **/ EligibleUpdated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorMapping: { - /** A NimbusId has been registered and mapped to an AccountId. */ + /** + * A NimbusId has been registered and mapped to an AccountId. + **/ KeysRegistered: AugmentedEvent< ApiType, [ @@ -276,7 +353,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been de-registered, and its AccountId mapping removed. */ + /** + * An NimbusId has been de-registered, and its AccountId mapping removed. + **/ KeysRemoved: AugmentedEvent< ApiType, [ @@ -290,7 +369,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been registered, replacing a previous registration and its mapping. */ + /** + * An NimbusId has been registered, replacing a previous registration and its mapping. + **/ KeysRotated: AugmentedEvent< ApiType, [ @@ -304,75 +385,97 @@ declare module "@polkadot/api-base/types/events" { newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; balances: { - /** A balance was set by root. */ + /** + * A balance was set by root. + **/ BalanceSet: AugmentedEvent< ApiType, [who: AccountId20, free: u128], { who: AccountId20; free: u128 } >; - /** Some amount was burned from an account. */ + /** + * Some amount was burned from an account. + **/ Burned: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was deposited (e.g. for transaction fees). */ + /** + * Some amount was deposited (e.g. for transaction fees). + **/ Deposit: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * An account was removed whose balance was non-zero but below ExistentialDeposit, resulting - * in an outright loss. - */ + * An account was removed whose balance was non-zero but below ExistentialDeposit, + * resulting in an outright loss. + **/ DustLost: AugmentedEvent< ApiType, [account: AccountId20, amount: u128], { account: AccountId20; amount: u128 } >; - /** An account was created with some free balance. */ + /** + * An account was created with some free balance. + **/ Endowed: AugmentedEvent< ApiType, [account: AccountId20, freeBalance: u128], { account: AccountId20; freeBalance: u128 } >; - /** Some balance was frozen. */ + /** + * Some balance was frozen. + **/ Frozen: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was increased by `amount`, creating a credit to be balanced. */ + /** + * Total issuance was increased by `amount`, creating a credit to be balanced. + **/ Issued: AugmentedEvent; - /** Some balance was locked. */ + /** + * Some balance was locked. + **/ Locked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was minted into an account. */ + /** + * Some amount was minted into an account. + **/ Minted: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was decreased by `amount`, creating a debt to be balanced. */ + /** + * Total issuance was decreased by `amount`, creating a debt to be balanced. + **/ Rescinded: AugmentedEvent; - /** Some balance was reserved (moved from free to reserved). */ + /** + * Some balance was reserved (moved from free to reserved). + **/ Reserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * Some balance was moved from the reserve of the first account to the second account. Final - * argument indicates the destination balance type. - */ + * Some balance was moved from the reserve of the first account to the second account. + * Final argument indicates the destination balance type. + **/ ReserveRepatriated: AugmentedEvent< ApiType, [ @@ -388,121 +491,178 @@ declare module "@polkadot/api-base/types/events" { destinationStatus: FrameSupportTokensMiscBalanceStatus; } >; - /** Some amount was restored into an account. */ + /** + * Some amount was restored into an account. + **/ Restored: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was removed from the account (e.g. for misbehavior). */ + /** + * Some amount was removed from the account (e.g. for misbehavior). + **/ Slashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was suspended from an account (it can be restored later). */ + /** + * Some amount was suspended from an account (it can be restored later). + **/ Suspended: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was thawed. */ + /** + * Some balance was thawed. + **/ Thawed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** The `TotalIssuance` was forcefully changed. */ + /** + * The `TotalIssuance` was forcefully changed. + **/ TotalIssuanceForced: AugmentedEvent< ApiType, [old: u128, new_: u128], { old: u128; new_: u128 } >; - /** Transfer succeeded. */ + /** + * Transfer succeeded. + **/ Transfer: AugmentedEvent< ApiType, [from: AccountId20, to: AccountId20, amount: u128], { from: AccountId20; to: AccountId20; amount: u128 } >; - /** Some balance was unlocked. */ + /** + * Some balance was unlocked. + **/ Unlocked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was unreserved (moved from reserved to free). */ + /** + * Some balance was unreserved (moved from reserved to free). + **/ Unreserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** An account was upgraded. */ + /** + * An account was upgraded. + **/ Upgraded: AugmentedEvent; - /** Some amount was withdrawn from the account (e.g. for transaction fees). */ + /** + * Some amount was withdrawn from the account (e.g. for transaction fees). + **/ Withdraw: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; convictionVoting: { - /** An account has delegated their vote to another account. [who, target] */ + /** + * An account has delegated their vote to another account. \[who, target\] + **/ Delegated: AugmentedEvent; - /** An [account] has cancelled a previous delegation operation. */ + /** + * An \[account\] has cancelled a previous delegation operation. + **/ Undelegated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; crowdloanRewards: { - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAccountWithNotEnoughContribution: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAlreadyInitializedAccount: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** The initial payment of InitializationPayment % was paid */ + /** + * The initial payment of InitializationPayment % was paid + **/ InitialPaymentMade: AugmentedEvent; /** - * Someone has proven they made a contribution and associated a native identity with it. Data - * is the relay account, native account and the total amount of _rewards_ that will be paid - */ + * Someone has proven they made a contribution and associated a native identity with it. + * Data is the relay account, native account and the total amount of _rewards_ that will be paid + **/ NativeIdentityAssociated: AugmentedEvent; - /** A contributor has updated the reward address. */ + /** + * A contributor has updated the reward address. + **/ RewardAddressUpdated: AugmentedEvent; /** - * A contributor has claimed some rewards. Data is the account getting paid and the amount of - * rewards paid. - */ + * A contributor has claimed some rewards. + * Data is the account getting paid and the amount of rewards paid. + **/ RewardsPaid: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; cumulusXcm: { - /** Downward message executed with the given outcome. [ id, outcome ] */ + /** + * Downward message executed with the given outcome. + * \[ id, outcome \] + **/ ExecutedDownward: AugmentedEvent; - /** Downward message is invalid XCM. [ id ] */ + /** + * Downward message is invalid XCM. + * \[ id \] + **/ InvalidFormat: AugmentedEvent; - /** Downward message is unsupported version of XCM. [ id ] */ + /** + * Downward message is unsupported version of XCM. + * \[ id \] + **/ UnsupportedVersion: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; emergencyParaXcm: { - /** The XCM incoming execution was Paused */ + /** + * The XCM incoming execution was Paused + **/ EnteredPausedXcmMode: AugmentedEvent; - /** The XCM incoming execution returned to normal operation */ + /** + * The XCM incoming execution returned to normal operation + **/ NormalXcmOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereum: { - /** An ethereum transaction was successfully executed. */ + /** + * An ethereum transaction was successfully executed. + **/ Executed: AugmentedEvent< ApiType, [ @@ -520,35 +680,55 @@ declare module "@polkadot/api-base/types/events" { extraData: Bytes; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereumXcm: { - /** Ethereum transaction executed from XCM */ + /** + * Ethereum transaction executed from XCM + **/ ExecutedFromXcm: AugmentedEvent< ApiType, [xcmMsgHash: H256, ethTxHash: H256], { xcmMsgHash: H256; ethTxHash: H256 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evm: { - /** A contract has been created at given address. */ + /** + * A contract has been created at given address. + **/ Created: AugmentedEvent; - /** A contract was attempted to be created, but the execution failed. */ + /** + * A contract was attempted to be created, but the execution failed. + **/ CreatedFailed: AugmentedEvent; - /** A contract has been executed successfully with states applied. */ + /** + * A contract has been executed successfully with states applied. + **/ Executed: AugmentedEvent; - /** A contract has been executed with errors. States are reverted with only gas fees applied. */ + /** + * A contract has been executed with errors. States are reverted with only gas fees applied. + **/ ExecutedFailed: AugmentedEvent; - /** Ethereum events from contracts. */ + /** + * Ethereum events from contracts. + **/ Log: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evmForeignAssets: { - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetCreated: AugmentedEvent< ApiType, [contractAddress: H160, assetId: u128, xcmLocation: StagingXcmV4Location], @@ -564,19 +744,27 @@ declare module "@polkadot/api-base/types/events" { [assetId: u128, xcmLocation: StagingXcmV4Location], { assetId: u128; xcmLocation: StagingXcmV4Location } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newXcmLocation: StagingXcmV4Location], { assetId: u128; newXcmLocation: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; identity: { - /** A username authority was added. */ + /** + * A username authority was added. + **/ AuthorityAdded: AugmentedEvent; - /** A username authority was removed. */ + /** + * A username authority was removed. + **/ AuthorityRemoved: AugmentedEvent< ApiType, [authority: AccountId20], @@ -585,112 +773,152 @@ declare module "@polkadot/api-base/types/events" { /** * A dangling username (as in, a username corresponding to an account that has removed its * identity) has been removed. - */ + **/ DanglingUsernameRemoved: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A name was cleared, and the given balance returned. */ + /** + * A name was cleared, and the given balance returned. + **/ IdentityCleared: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was removed and the given balance slashed. */ + /** + * A name was removed and the given balance slashed. + **/ IdentityKilled: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was set or reset (which will remove all judgements). */ + /** + * A name was set or reset (which will remove all judgements). + **/ IdentitySet: AugmentedEvent; - /** A judgement was given by a registrar. */ + /** + * A judgement was given by a registrar. + **/ JudgementGiven: AugmentedEvent< ApiType, [target: AccountId20, registrarIndex: u32], { target: AccountId20; registrarIndex: u32 } >; - /** A judgement was asked from a registrar. */ + /** + * A judgement was asked from a registrar. + **/ JudgementRequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A judgement request was retracted. */ + /** + * A judgement request was retracted. + **/ JudgementUnrequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A queued username passed its expiration without being claimed and was removed. */ + /** + * A queued username passed its expiration without being claimed and was removed. + **/ PreapprovalExpired: AugmentedEvent; - /** A username was set as a primary and can be looked up from `who`. */ + /** + * A username was set as a primary and can be looked up from `who`. + **/ PrimaryUsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A registrar was added. */ + /** + * A registrar was added. + **/ RegistrarAdded: AugmentedEvent; - /** A sub-identity was added to an identity and the deposit paid. */ + /** + * A sub-identity was added to an identity and the deposit paid. + **/ SubIdentityAdded: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A sub-identity was removed from an identity and the deposit freed. */ + /** + * A sub-identity was removed from an identity and the deposit freed. + **/ SubIdentityRemoved: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; /** - * A sub-identity was cleared, and the given deposit repatriated from the main identity - * account to the sub-identity account. - */ + * A sub-identity was cleared, and the given deposit repatriated from the + * main identity account to the sub-identity account. + **/ SubIdentityRevoked: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A username was queued, but `who` must accept it prior to `expiration`. */ + /** + * A username was queued, but `who` must accept it prior to `expiration`. + **/ UsernameQueued: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes, expiration: u32], { who: AccountId20; username: Bytes; expiration: u32 } >; - /** A username was set for `who`. */ + /** + * A username was set for `who`. + **/ UsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; maintenanceMode: { - /** The chain was put into Maintenance Mode */ + /** + * The chain was put into Maintenance Mode + **/ EnteredMaintenanceMode: AugmentedEvent; - /** The call to resume on_idle XCM execution failed with inner error */ + /** + * The call to resume on_idle XCM execution failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The call to suspend on_idle XCM execution failed with inner error */ + /** + * The call to suspend on_idle XCM execution failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The chain returned to its normal operating state */ + /** + * The chain returned to its normal operating state + **/ NormalOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; messageQueue: { - /** Message placed in overweight queue. */ + /** + * Message placed in overweight queue. + **/ OverweightEnqueued: AugmentedEvent< ApiType, [ @@ -706,13 +934,17 @@ declare module "@polkadot/api-base/types/events" { messageIndex: u32; } >; - /** This page was reaped. */ + /** + * This page was reaped. + **/ PageReaped: AugmentedEvent< ApiType, [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32], { origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 } >; - /** Message is processed. */ + /** + * Message is processed. + **/ Processed: AugmentedEvent< ApiType, [ @@ -728,7 +960,9 @@ declare module "@polkadot/api-base/types/events" { success: bool; } >; - /** Message discarded due to an error in the `MessageProcessor` (usually a format error). */ + /** + * Message discarded due to an error in the `MessageProcessor` (usually a format error). + **/ ProcessingFailed: AugmentedEvent< ApiType, [ @@ -742,61 +976,85 @@ declare module "@polkadot/api-base/types/events" { error: FrameSupportMessagesProcessMessageError; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; migrations: { - /** XCM execution resume failed with inner error */ + /** + * XCM execution resume failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** XCM execution suspension failed with inner error */ + /** + * XCM execution suspension failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Migration completed */ + /** + * Migration completed + **/ MigrationCompleted: AugmentedEvent< ApiType, [migrationName: Bytes, consumedWeight: SpWeightsWeightV2Weight], { migrationName: Bytes; consumedWeight: SpWeightsWeightV2Weight } >; - /** Migration started */ + /** + * Migration started + **/ MigrationStarted: AugmentedEvent; - /** Runtime upgrade completed */ + /** + * Runtime upgrade completed + **/ RuntimeUpgradeCompleted: AugmentedEvent< ApiType, [weight: SpWeightsWeightV2Weight], { weight: SpWeightsWeightV2Weight } >; - /** Runtime upgrade started */ + /** + * Runtime upgrade started + **/ RuntimeUpgradeStarted: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; moonbeamOrbiters: { - /** An orbiter join a collator pool */ + /** + * An orbiter join a collator pool + **/ OrbiterJoinCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter leave a collator pool */ + /** + * An orbiter leave a collator pool + **/ OrbiterLeaveCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter has registered */ + /** + * An orbiter has registered + **/ OrbiterRegistered: AugmentedEvent< ApiType, [account: AccountId20, deposit: u128], { account: AccountId20; deposit: u128 } >; - /** Paid the orbiter account the balance as liquid rewards. */ + /** + * Paid the orbiter account the balance as liquid rewards. + **/ OrbiterRewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], @@ -807,17 +1065,23 @@ declare module "@polkadot/api-base/types/events" { [collator: AccountId20, oldOrbiter: Option, newOrbiter: Option], { collator: AccountId20; oldOrbiter: Option; newOrbiter: Option } >; - /** An orbiter has unregistered */ + /** + * An orbiter has unregistered + **/ OrbiterUnregistered: AugmentedEvent< ApiType, [account: AccountId20], { account: AccountId20 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; multisig: { - /** A multisig operation has been approved by someone. */ + /** + * A multisig operation has been approved by someone. + **/ MultisigApproval: AugmentedEvent< ApiType, [ @@ -833,7 +1097,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been cancelled. */ + /** + * A multisig operation has been cancelled. + **/ MultisigCancelled: AugmentedEvent< ApiType, [ @@ -849,7 +1115,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been executed. */ + /** + * A multisig operation has been executed. + **/ MultisigExecuted: AugmentedEvent< ApiType, [ @@ -867,64 +1135,87 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** A new multisig operation has begun. */ + /** + * A new multisig operation has begun. + **/ NewMultisig: AugmentedEvent< ApiType, [approving: AccountId20, multisig: AccountId20, callHash: U8aFixed], { approving: AccountId20; multisig: AccountId20; callHash: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; openTechCommitteeCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainStaking: { - /** Auto-compounding reward percent was set for a delegation. */ + /** + * Auto-compounding reward percent was set for a delegation. + **/ AutoCompoundSet: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, value: Percent], { candidate: AccountId20; delegator: AccountId20; value: Percent } >; - /** Set blocks per round */ + /** + * Set blocks per round + **/ BlocksPerRoundSet: AugmentedEvent< ApiType, [ @@ -946,19 +1237,25 @@ declare module "@polkadot/api-base/types/events" { newPerRoundInflationMax: Perbill; } >; - /** Cancelled request to decrease candidate's bond. */ + /** + * Cancelled request to decrease candidate's bond. + **/ CancelledCandidateBondLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, executeRound: u32], { candidate: AccountId20; amount: u128; executeRound: u32 } >; - /** Cancelled request to leave the set of candidates. */ + /** + * Cancelled request to leave the set of candidates. + **/ CancelledCandidateExit: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Cancelled request to change an existing delegation. */ + /** + * Cancelled request to change an existing delegation. + **/ CancelledDelegationRequest: AugmentedEvent< ApiType, [ @@ -972,67 +1269,89 @@ declare module "@polkadot/api-base/types/events" { collator: AccountId20; } >; - /** Candidate rejoins the set of collator candidates. */ + /** + * Candidate rejoins the set of collator candidates. + **/ CandidateBackOnline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate has decreased a self bond. */ + /** + * Candidate has decreased a self bond. + **/ CandidateBondedLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newBond: u128], { candidate: AccountId20; amount: u128; newBond: u128 } >; - /** Candidate has increased a self bond. */ + /** + * Candidate has increased a self bond. + **/ CandidateBondedMore: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newTotalBond: u128], { candidate: AccountId20; amount: u128; newTotalBond: u128 } >; - /** Candidate requested to decrease a self bond. */ + /** + * Candidate requested to decrease a self bond. + **/ CandidateBondLessRequested: AugmentedEvent< ApiType, [candidate: AccountId20, amountToDecrease: u128, executeRound: u32], { candidate: AccountId20; amountToDecrease: u128; executeRound: u32 } >; - /** Candidate has left the set of candidates. */ + /** + * Candidate has left the set of candidates. + **/ CandidateLeft: AugmentedEvent< ApiType, [exCandidate: AccountId20, unlockedAmount: u128, newTotalAmtLocked: u128], { exCandidate: AccountId20; unlockedAmount: u128; newTotalAmtLocked: u128 } >; - /** Candidate has requested to leave the set of candidates. */ + /** + * Candidate has requested to leave the set of candidates. + **/ CandidateScheduledExit: AugmentedEvent< ApiType, [exitAllowedRound: u32, candidate: AccountId20, scheduledExit: u32], { exitAllowedRound: u32; candidate: AccountId20; scheduledExit: u32 } >; - /** Candidate temporarily leave the set of collator candidates without unbonding. */ + /** + * Candidate temporarily leave the set of collator candidates without unbonding. + **/ CandidateWentOffline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate selected for collators. Total Exposed Amount includes all delegations. */ + /** + * Candidate selected for collators. Total Exposed Amount includes all delegations. + **/ CollatorChosen: AugmentedEvent< ApiType, [round: u32, collatorAccount: AccountId20, totalExposedAmount: u128], { round: u32; collatorAccount: AccountId20; totalExposedAmount: u128 } >; - /** Set collator commission to this value. */ + /** + * Set collator commission to this value. + **/ CollatorCommissionSet: AugmentedEvent< ApiType, [old: Perbill, new_: Perbill], { old: Perbill; new_: Perbill } >; - /** Compounded a portion of rewards towards the delegation. */ + /** + * Compounded a portion of rewards towards the delegation. + **/ Compounded: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, amount: u128], { candidate: AccountId20; delegator: AccountId20; amount: u128 } >; - /** New delegation (increase of the existing one). */ + /** + * New delegation (increase of the existing one). + **/ Delegation: AugmentedEvent< ApiType, [ @@ -1055,7 +1374,9 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegator requested to decrease a bond for the collator candidate. */ + /** + * Delegator requested to decrease a bond for the collator candidate. + **/ DelegationDecreaseScheduled: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, amountToDecrease: u128, executeRound: u32], @@ -1071,43 +1392,57 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegation kicked. */ + /** + * Delegation kicked. + **/ DelegationKicked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Delegator requested to revoke delegation. */ + /** + * Delegator requested to revoke delegation. + **/ DelegationRevocationScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, candidate: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; candidate: AccountId20; scheduledExit: u32 } >; - /** Delegation revoked. */ + /** + * Delegation revoked. + **/ DelegationRevoked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Cancelled a pending request to exit the set of delegators. */ + /** + * Cancelled a pending request to exit the set of delegators. + **/ DelegatorExitCancelled: AugmentedEvent< ApiType, [delegator: AccountId20], { delegator: AccountId20 } >; - /** Delegator requested to leave the set of delegators. */ + /** + * Delegator requested to leave the set of delegators. + **/ DelegatorExitScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; scheduledExit: u32 } >; - /** Delegator has left the set of delegators. */ + /** + * Delegator has left the set of delegators. + **/ DelegatorLeft: AugmentedEvent< ApiType, [delegator: AccountId20, unstakedAmount: u128], { delegator: AccountId20; unstakedAmount: u128 } >; - /** Delegation from candidate state has been remove. */ + /** + * Delegation from candidate state has been remove. + **/ DelegatorLeftCandidate: AugmentedEvent< ApiType, [ @@ -1123,7 +1458,9 @@ declare module "@polkadot/api-base/types/events" { totalCandidateStaked: u128; } >; - /** Transferred to account which holds funds reserved for parachain bond. */ + /** + * Transferred to account which holds funds reserved for parachain bond. + **/ InflationDistributed: AugmentedEvent< ApiType, [index: u32, account: AccountId20, value: u128], @@ -1140,7 +1477,9 @@ declare module "@polkadot/api-base/types/events" { new_: PalletParachainStakingInflationDistributionConfig; } >; - /** Annual inflation input (first 3) was used to derive new per-round inflation (last 3) */ + /** + * Annual inflation input (first 3) was used to derive new per-round inflation (last 3) + **/ InflationSet: AugmentedEvent< ApiType, [ @@ -1160,61 +1499,87 @@ declare module "@polkadot/api-base/types/events" { roundMax: Perbill; } >; - /** Account joined the set of collator candidates. */ + /** + * Account joined the set of collator candidates. + **/ JoinedCollatorCandidates: AugmentedEvent< ApiType, [account: AccountId20, amountLocked: u128, newTotalAmtLocked: u128], { account: AccountId20; amountLocked: u128; newTotalAmtLocked: u128 } >; - /** Started new round. */ + /** + * Started new round. + **/ NewRound: AugmentedEvent< ApiType, [startingBlock: u32, round: u32, selectedCollatorsNumber: u32, totalBalance: u128], { startingBlock: u32; round: u32; selectedCollatorsNumber: u32; totalBalance: u128 } >; - /** Paid the account (delegator or collator) the balance as liquid rewards. */ + /** + * Paid the account (delegator or collator) the balance as liquid rewards. + **/ Rewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], { account: AccountId20; rewards: u128 } >; - /** Staking expectations set. */ + /** + * Staking expectations set. + **/ StakeExpectationsSet: AugmentedEvent< ApiType, [expectMin: u128, expectIdeal: u128, expectMax: u128], { expectMin: u128; expectIdeal: u128; expectMax: u128 } >; - /** Set total selected candidates to this value. */ + /** + * Set total selected candidates to this value. + **/ TotalSelectedSet: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainSystem: { - /** Downward messages were processed using the given weight. */ + /** + * Downward messages were processed using the given weight. + **/ DownwardMessagesProcessed: AugmentedEvent< ApiType, [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256], { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 } >; - /** Some downward messages have been received and will be processed. */ + /** + * Some downward messages have been received and will be processed. + **/ DownwardMessagesReceived: AugmentedEvent; - /** An upward message was sent to the relay chain. */ + /** + * An upward message was sent to the relay chain. + **/ UpwardMessageSent: AugmentedEvent< ApiType, [messageHash: Option], { messageHash: Option } >; - /** The validation function was applied as of the contained relay chain block number. */ + /** + * The validation function was applied as of the contained relay chain block number. + **/ ValidationFunctionApplied: AugmentedEvent< ApiType, [relayChainBlockNum: u32], { relayChainBlockNum: u32 } >; - /** The relay-chain aborted the upgrade process. */ + /** + * The relay-chain aborted the upgrade process. + **/ ValidationFunctionDiscarded: AugmentedEvent; - /** The validation function has been scheduled to apply. */ + /** + * The validation function has been scheduled to apply. + **/ ValidationFunctionStored: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parameters: { @@ -1222,7 +1587,7 @@ declare module "@polkadot/api-base/types/events" { * A Parameter was set. * * Is also emitted when the value was not changed. - */ + **/ Updated: AugmentedEvent< ApiType, [ @@ -1236,39 +1601,49 @@ declare module "@polkadot/api-base/types/events" { newValue: Option; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; polkadotXcm: { - /** Some assets have been claimed from an asset trap */ + /** + * Some assets have been claimed from an asset trap + **/ AssetsClaimed: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Some assets have been placed in an asset trap. */ + /** + * Some assets have been placed in an asset trap. + **/ AssetsTrapped: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Execution of an XCM message was attempted. */ + /** + * Execution of an XCM message was attempted. + **/ Attempted: AugmentedEvent< ApiType, [outcome: StagingXcmV4TraitsOutcome], { outcome: StagingXcmV4TraitsOutcome } >; - /** Fees were paid from a location for an operation (often for using `SendXcm`). */ + /** + * Fees were paid from a location for an operation (often for using `SendXcm`). + **/ FeesPaid: AugmentedEvent< ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } >; /** - * 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. - */ + * 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. + **/ InvalidQuerier: AugmentedEvent< ApiType, [ @@ -1288,20 +1663,21 @@ declare module "@polkadot/api-base/types/events" { * 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. * - * This is unexpected (since a location placed in storage in a previously executing 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. - */ + * This is unexpected (since a location placed in storage in a previously executing + * 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. + **/ InvalidQuerierVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * 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. - */ + * 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. + **/ InvalidResponder: AugmentedEvent< ApiType, [ @@ -1319,19 +1695,20 @@ declare module "@polkadot/api-base/types/events" { * 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. * - * This is unexpected (since a location placed in storage in a previously executing 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. - */ + * This is unexpected (since a location placed in storage in a previously executing + * 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. + **/ InvalidResponderVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Query response has been received and query is removed. The registered notification has been - * dispatched and executed successfully. - */ + * Query response has been received and query is removed. The registered notification has + * been dispatched and executed successfully. + **/ Notified: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1339,9 +1716,9 @@ declare module "@polkadot/api-base/types/events" { >; /** * 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)`. - */ + * decoded into a `Call`; this might be due to dispatch function having a signature which + * is not `(origin, QueryId, Response)`. + **/ NotifyDecodeFailed: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1350,17 +1727,17 @@ declare module "@polkadot/api-base/types/events" { /** * Query response has been received and query is removed. There was a general error with * dispatching the notification call. - */ + **/ NotifyDispatchError: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], { queryId: u64; palletIndex: u8; callIndex: u8 } >; /** - * 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. - */ + * 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. + **/ NotifyOverweight: AugmentedEvent< ApiType, [ @@ -1381,7 +1758,7 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. - */ + **/ NotifyTargetMigrationFail: AugmentedEvent< ApiType, [location: XcmVersionedLocation, queryId: u64], @@ -1390,24 +1767,28 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. - */ + **/ NotifyTargetSendFail: AugmentedEvent< ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], { location: StagingXcmV4Location; queryId: u64; error: XcmV3TraitsError } >; /** - * Query response has been received and is ready for taking with `take_response`. There is no - * registered notification call. - */ + * Query response has been received and is ready for taking with `take_response`. There is + * no registered notification call. + **/ ResponseReady: AugmentedEvent< ApiType, [queryId: u64, response: StagingXcmV4Response], { queryId: u64; response: StagingXcmV4Response } >; - /** Received query response has been read and removed. */ + /** + * Received query response has been read and removed. + **/ ResponseTaken: AugmentedEvent; - /** A XCM message was sent. */ + /** + * A XCM message was sent. + **/ Sent: AugmentedEvent< ApiType, [ @@ -1424,9 +1805,9 @@ declare module "@polkadot/api-base/types/events" { } >; /** - * The supported version of a location has been changed. This might be through an automatic - * notification or a manual intervention. - */ + * The supported version of a location has been changed. This might be through an + * automatic notification or a manual intervention. + **/ SupportedVersionChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, version: u32], @@ -1436,7 +1817,7 @@ declare module "@polkadot/api-base/types/events" { * 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. - */ + **/ UnexpectedResponse: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], @@ -1446,7 +1827,7 @@ declare module "@polkadot/api-base/types/events" { * An XCM version change notification message has been attempted to be sent. * * The cost of sending it (borne by the chain) is included. - */ + **/ VersionChangeNotified: AugmentedEvent< ApiType, [ @@ -1462,50 +1843,71 @@ declare module "@polkadot/api-base/types/events" { messageId: U8aFixed; } >; - /** A XCM version migration finished. */ + /** + * A XCM version migration finished. + **/ VersionMigrationFinished: AugmentedEvent; - /** We have requested that a remote chain send us XCM version change notifications. */ + /** + * We have requested that a remote chain send us XCM version change notifications. + **/ VersionNotifyRequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; /** - * 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. - */ + * 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. + **/ VersionNotifyStarted: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** We have requested that a remote chain stops sending us XCM version change notifications. */ + /** + * We have requested that a remote chain stops sending us XCM version change + * notifications. + **/ VersionNotifyUnrequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; preimage: { - /** A preimage has ben cleared. */ + /** + * A preimage has ben cleared. + **/ Cleared: AugmentedEvent; - /** A preimage has been noted. */ + /** + * A preimage has been noted. + **/ Noted: AugmentedEvent; - /** A preimage has been requested. */ + /** + * A preimage has been requested. + **/ Requested: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; proxy: { - /** An announcement was placed to make a call in the future. */ + /** + * An announcement was placed to make a call in the future. + **/ Announced: AugmentedEvent< ApiType, [real: AccountId20, proxy: AccountId20, callHash: H256], { real: AccountId20; proxy: AccountId20; callHash: H256 } >; - /** A proxy was added. */ + /** + * A proxy was added. + **/ ProxyAdded: AugmentedEvent< ApiType, [ @@ -1521,13 +1923,17 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A proxy was executed correctly, with the given. */ + /** + * A proxy was executed correctly, with the given. + **/ ProxyExecuted: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A proxy was removed. */ + /** + * A proxy was removed. + **/ ProxyRemoved: AugmentedEvent< ApiType, [ @@ -1543,7 +1949,10 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A pure account has been created by new proxy with given disambiguation index and proxy type. */ + /** + * A pure account has been created by new proxy with given + * disambiguation index and proxy type. + **/ PureCreated: AugmentedEvent< ApiType, [ @@ -1559,7 +1968,9 @@ declare module "@polkadot/api-base/types/events" { disambiguationIndex: u16; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; randomness: { @@ -1616,39 +2027,53 @@ declare module "@polkadot/api-base/types/events" { { id: u64; newFee: u128 } >; RequestFulfilled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; referenda: { - /** A referendum has been approved and its proposal has been scheduled. */ + /** + * A referendum has been approved and its proposal has been scheduled. + **/ Approved: AugmentedEvent; - /** A referendum has been cancelled. */ + /** + * A referendum has been cancelled. + **/ Cancelled: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmAborted: AugmentedEvent; - /** A referendum has ended its confirmation phase and is ready for approval. */ + /** + * A referendum has ended its confirmation phase and is ready for approval. + **/ Confirmed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmStarted: AugmentedEvent; - /** The decision deposit has been placed. */ + /** + * The decision deposit has been placed. + **/ DecisionDepositPlaced: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** The decision deposit has been refunded. */ + /** + * The decision deposit has been refunded. + **/ DecisionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has moved into the deciding phase. */ + /** + * A referendum has moved into the deciding phase. + **/ DecisionStarted: AugmentedEvent< ApiType, [ @@ -1664,69 +2089,97 @@ declare module "@polkadot/api-base/types/events" { tally: PalletConvictionVotingTally; } >; - /** A deposit has been slashed. */ + /** + * A deposit has been slashed. + **/ DepositSlashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** A referendum has been killed. */ + /** + * A referendum has been killed. + **/ Killed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Metadata for a referendum has been cleared. */ + /** + * Metadata for a referendum has been cleared. + **/ MetadataCleared: AugmentedEvent< ApiType, [index: u32, hash_: H256], { index: u32; hash_: H256 } >; - /** Metadata for a referendum has been set. */ + /** + * Metadata for a referendum has been set. + **/ MetadataSet: AugmentedEvent; - /** A proposal has been rejected by referendum. */ + /** + * A proposal has been rejected by referendum. + **/ Rejected: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** The submission deposit has been refunded. */ + /** + * The submission deposit has been refunded. + **/ SubmissionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has been submitted. */ + /** + * A referendum has been submitted. + **/ Submitted: AugmentedEvent< ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32; track: u16; proposal: FrameSupportPreimagesBounded } >; - /** A referendum has been timed out without being decided. */ + /** + * A referendum has been timed out without being decided. + **/ TimedOut: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; rootTesting: { - /** Event dispatched when the trigger_defensive extrinsic is called. */ + /** + * Event dispatched when the trigger_defensive extrinsic is called. + **/ DefensiveTestCall: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; scheduler: { - /** The call for the provided hash was not found so the task has been aborted. */ + /** + * The call for the provided hash was not found so the task has been aborted. + **/ CallUnavailable: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Canceled some task. */ + /** + * Canceled some task. + **/ Canceled: AugmentedEvent; - /** Dispatched some task. */ + /** + * Dispatched some task. + **/ Dispatched: AugmentedEvent< ApiType, [ @@ -1740,93 +2193,125 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** The given task was unable to be renewed since the agenda is full at that block. */ + /** + * The given task was unable to be renewed since the agenda is full at that block. + **/ PeriodicFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** The given task can never be executed since it is overweight. */ + /** + * The given task can never be executed since it is overweight. + **/ PermanentlyOverweight: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Cancel a retry configuration for some task. */ + /** + * Cancel a retry configuration for some task. + **/ RetryCancelled: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; /** - * The given task was unable to be retried since the agenda is full at that block or there was - * not enough weight to reschedule it. - */ + * The given task was unable to be retried since the agenda is full at that block or there + * was not enough weight to reschedule it. + **/ RetryFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Set a retry configuration for some task. */ + /** + * Set a retry configuration for some task. + **/ RetrySet: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } >; - /** Scheduled some task. */ + /** + * Scheduled some task. + **/ Scheduled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; system: { - /** `:code` was updated. */ + /** + * `:code` was updated. + **/ CodeUpdated: AugmentedEvent; - /** An extrinsic failed. */ + /** + * An extrinsic failed. + **/ ExtrinsicFailed: AugmentedEvent< ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An extrinsic completed successfully. */ + /** + * An extrinsic completed successfully. + **/ ExtrinsicSuccess: AugmentedEvent< ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An account was reaped. */ + /** + * An account was reaped. + **/ KilledAccount: AugmentedEvent; - /** A new account was created. */ + /** + * A new account was created. + **/ NewAccount: AugmentedEvent; - /** On on-chain remark happened. */ + /** + * On on-chain remark happened. + **/ Remarked: AugmentedEvent< ApiType, [sender: AccountId20, hash_: H256], { sender: AccountId20; hash_: H256 } >; - /** An upgrade was authorized. */ + /** + * An upgrade was authorized. + **/ UpgradeAuthorized: AugmentedEvent< ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256; checkVersion: bool } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; transactionPayment: { /** - * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, has - * been paid by `who`. - */ + * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + * has been paid by `who`. + **/ TransactionFeePaid: AugmentedEvent< ApiType, [who: AccountId20, actualFee: u128, tip: u128], { who: AccountId20; actualFee: u128; tip: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasury: { - /** A new asset spend proposal has been approved. */ + /** + * A new asset spend proposal has been approved. + **/ AssetSpendApproved: AugmentedEvent< ApiType, [ @@ -1846,120 +2331,169 @@ declare module "@polkadot/api-base/types/events" { expireAt: u32; } >; - /** An approved spend was voided. */ + /** + * An approved spend was voided. + **/ AssetSpendVoided: AugmentedEvent; - /** Some funds have been allocated. */ + /** + * Some funds have been allocated. + **/ Awarded: AugmentedEvent< ApiType, [proposalIndex: u32, award: u128, account: AccountId20], { proposalIndex: u32; award: u128; account: AccountId20 } >; - /** Some of our funds have been burnt. */ + /** + * Some of our funds have been burnt. + **/ Burnt: AugmentedEvent; - /** Some funds have been deposited. */ + /** + * Some funds have been deposited. + **/ Deposit: AugmentedEvent; - /** A payment happened. */ + /** + * A payment happened. + **/ Paid: AugmentedEvent; - /** A payment failed and can be retried. */ + /** + * A payment failed and can be retried. + **/ PaymentFailed: AugmentedEvent< ApiType, [index: u32, paymentId: Null], { index: u32; paymentId: Null } >; - /** Spending has finished; this is the amount that rolls over until next spend. */ + /** + * Spending has finished; this is the amount that rolls over until next spend. + **/ Rollover: AugmentedEvent; - /** A new spend proposal has been approved. */ + /** + * A new spend proposal has been approved. + **/ SpendApproved: AugmentedEvent< ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId20], { proposalIndex: u32; amount: u128; beneficiary: AccountId20 } >; - /** We have ended a spend period and will now allocate funds. */ + /** + * We have ended a spend period and will now allocate funds. + **/ Spending: AugmentedEvent; /** - * A spend was processed and removed from the storage. It might have been successfully paid or - * it may have expired. - */ + * A spend was processed and removed from the storage. It might have been successfully + * paid or it may have expired. + **/ SpendProcessed: AugmentedEvent; - /** The inactive funds of the pallet have been updated. */ + /** + * The inactive funds of the pallet have been updated. + **/ UpdatedInactive: AugmentedEvent< ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128; deactivated: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasuryCouncilCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; utility: { - /** Batch of dispatches completed fully with no error. */ + /** + * Batch of dispatches completed fully with no error. + **/ BatchCompleted: AugmentedEvent; - /** Batch of dispatches completed but has errors. */ + /** + * 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. - */ + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ BatchInterrupted: AugmentedEvent< ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32; error: SpRuntimeDispatchError } >; - /** A call was dispatched. */ + /** + * A call was dispatched. + **/ DispatchedAs: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A single item within a Batch of dispatches has completed with no error. */ + /** + * 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. */ + /** + * A single item within a Batch of dispatches has completed with error. + **/ ItemFailed: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; whitelist: { @@ -1976,66 +2510,90 @@ declare module "@polkadot/api-base/types/events" { } >; WhitelistedCallRemoved: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmpQueue: { - /** An HRMP message was sent to a sibling parachain. */ + /** + * An HRMP message was sent to a sibling parachain. + **/ XcmpMessageSent: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmTransactor: { DeRegisteredDerivative: AugmentedEvent; - /** Set dest fee per second */ + /** + * Set dest fee per second + **/ DestFeePerSecondChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, feePerSecond: u128], { location: StagingXcmV4Location; feePerSecond: u128 } >; - /** Remove dest fee per second */ + /** + * Remove dest fee per second + **/ DestFeePerSecondRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** HRMP manage action succesfully sent */ + /** + * HRMP manage action succesfully sent + **/ HrmpManagementSent: AugmentedEvent< ApiType, [action: PalletXcmTransactorHrmpOperation], { action: PalletXcmTransactorHrmpOperation } >; - /** Registered a derivative index for an account id. */ + /** + * Registered a derivative index for an account id. + **/ RegisteredDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, index: u16], { accountId: AccountId20; index: u16 } >; - /** Transacted the inner call through a derivative account in a destination chain. */ + /** + * Transacted the inner call through a derivative account in a destination chain. + **/ TransactedDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, dest: StagingXcmV4Location, call: Bytes, index: u16], { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: u16 } >; - /** Transacted the call through a signed account in a destination chain. */ + /** + * Transacted the call through a signed account in a destination chain. + **/ TransactedSigned: AugmentedEvent< ApiType, [feePayer: AccountId20, dest: StagingXcmV4Location, call: Bytes], { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes } >; - /** Transacted the call through the sovereign account in a destination chain. */ + /** + * Transacted the call through the sovereign account in a destination chain. + **/ TransactedSovereign: AugmentedEvent< ApiType, [feePayer: Option, dest: StagingXcmV4Location, call: Bytes], { feePayer: Option; dest: StagingXcmV4Location; call: Bytes } >; - /** Transact failed */ + /** + * Transact failed + **/ TransactFailed: AugmentedEvent< ApiType, [error: XcmV3TraitsError], { error: XcmV3TraitsError } >; - /** Changed the transact info of a location */ + /** + * Changed the transact info of a location + **/ TransactInfoChanged: AugmentedEvent< ApiType, [ @@ -2047,47 +2605,63 @@ declare module "@polkadot/api-base/types/events" { remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight; } >; - /** Removed the transact info of a location */ + /** + * Removed the transact info of a location + **/ TransactInfoRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmWeightTrader: { - /** Pause support for a given asset */ + /** + * Pause support for a given asset + **/ PauseAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Resume support for a given asset */ + /** + * Resume support for a given asset + **/ ResumeAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** New supported asset is registered */ + /** + * New supported asset is registered + **/ SupportedAssetAdded: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ SupportedAssetEdited: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; } // AugmentedEvents diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-query.ts b/typescript-api/src/moonbeam/interfaces/augment-api-query.ts index 2f309faa78..23ec786f53 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-query.ts @@ -21,7 +21,7 @@ import type { u128, u16, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, ITuple } from "@polkadot/types-codec/types"; import type { @@ -30,7 +30,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, @@ -121,7 +121,7 @@ import type { StagingXcmV4Location, StagingXcmV4Xcm, XcmVersionedAssetId, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; import type { Observable } from "@polkadot/types/types"; @@ -132,9 +132,10 @@ declare module "@polkadot/api-base/types/storage" { interface AugmentedQueries { assetManager: { /** - * Mapping from an asset id to asset type. This is mostly used when receiving transaction - * specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetIdType: AugmentedQuery< ApiType, ( @@ -144,10 +145,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetTypeId: AugmentedQuery< ApiType, ( @@ -156,11 +157,15 @@ declare module "@polkadot/api-base/types/storage" { [MoonbeamRuntimeXcmConfigAssetType] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; assets: { - /** The holdings of a specific account for a specific asset. */ + /** + * The holdings of a specific account for a specific asset. + **/ account: AugmentedQuery< ApiType, ( @@ -171,10 +176,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Approved balance transfers. First balance is the amount approved for transfer. Second is - * the amount of `T::Currency` reserved for storing this. First key is the asset ID, second - * key is the owner and third key is the delegate. - */ + * Approved balance transfers. First balance is the amount approved for transfer. Second + * is the amount of `T::Currency` reserved for storing this. + * First key is the asset ID, second key is the owner and third key is the delegate. + **/ approvals: AugmentedQuery< ApiType, ( @@ -185,14 +190,18 @@ declare module "@polkadot/api-base/types/storage" { [u128, AccountId20, AccountId20] > & QueryableStorageEntry; - /** Details of an asset. */ + /** + * Details of an asset. + **/ asset: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, [u128] > & QueryableStorageEntry; - /** Metadata of an asset. */ + /** + * Metadata of an asset. + **/ metadata: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable, @@ -209,44 +218,61 @@ declare module "@polkadot/api-base/types/storage" { * * The initial next asset ID can be set using the [`GenesisConfig`] or the * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration. - */ + **/ nextAssetId: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; asyncBacking: { /** * First tuple element is the highest slot that has been seen in the history of this chain. - * Second tuple element is the number of authored blocks so far. This is a strictly-increasing - * value if T::AllowMultipleBlocksPerSlot = false. - */ + * Second tuple element is the number of authored blocks so far. + * This is a strictly-increasing value if T::AllowMultipleBlocksPerSlot = false. + **/ slotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorFilter: { - /** The number of active authors that will be eligible at each height. */ + /** + * The number of active authors that will be eligible at each height. + **/ eligibleCount: AugmentedQuery Observable, []> & QueryableStorageEntry; eligibleRatio: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorInherent: { - /** Author of current block. */ + /** + * Author of current block. + **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Check if the inherent was included */ + /** + * Check if the inherent was included + **/ inherentIncluded: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorMapping: { - /** We maintain a mapping from the NimbusIds used in the consensus layer to the AccountIds runtime. */ + /** + * We maintain a mapping from the NimbusIds used in the consensus layer + * to the AccountIds runtime. + **/ mappingWithDeposit: AugmentedQuery< ApiType, ( @@ -255,7 +281,9 @@ declare module "@polkadot/api-base/types/storage" { [NimbusPrimitivesNimbusCryptoPublic] > & QueryableStorageEntry; - /** We maintain a reverse mapping from AccountIds to NimbusIDS */ + /** + * We maintain a reverse mapping from AccountIds to NimbusIDS + **/ nimbusLookup: AugmentedQuery< ApiType, ( @@ -264,7 +292,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; balances: { @@ -291,23 +321,27 @@ declare module "@polkadot/api-base/types/storage" { * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the - * `Balances` pallet, which uses a `StorageMap` to store balances data only. NOTE: This is - * only used in the case that this pallet is used to store balances. - */ + * `Balances` pallet, which uses a `StorageMap` to store balances data only. + * NOTE: This is only used in the case that this pallet is used to store balances. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Freeze locks on account balances. */ + /** + * Freeze locks on account balances. + **/ freezes: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Holds on account balances. */ + /** + * Holds on account balances. + **/ holds: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable< @@ -321,16 +355,17 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The total units of outstanding deactivated balance in the system. */ + /** + * The total units of outstanding deactivated balance in the system. + **/ inactiveIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, - * changing and freeing a lock. + * Any liquidity locks on some account balances. + * NOTE: Should only be accessed when setting, changing and freeing a lock. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ locks: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -340,19 +375,22 @@ declare module "@polkadot/api-base/types/storage" { /** * Named reserves on some account balances. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** The total units issued in the system. */ + /** + * The total units issued in the system. + **/ totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; convictionVoting: { @@ -360,7 +398,7 @@ declare module "@polkadot/api-base/types/storage" { * The voting classes which have a non-zero lock requirement and the lock amounts which they * require. The actual amount locked on behalf of this pallet should always be the maximum of * this list. - */ + **/ classLocksFor: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, @@ -368,9 +406,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * All voting for a particular voter in a particular voting class. We store the balance for - * the number of votes that we have recorded. - */ + * All voting for a particular voter in a particular voting class. We store the balance for the + * number of votes that we have recorded. + **/ votingFor: AugmentedQuery< ApiType, ( @@ -380,7 +418,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; crowdloanRewards: { @@ -398,7 +438,9 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ endRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; initialized: AugmentedQuery Observable, []> & @@ -406,13 +448,17 @@ declare module "@polkadot/api-base/types/storage" { /** * Total initialized amount so far. We store this to make pallet funds == contributors reward * check easier and more efficient - */ + **/ initializedRewardAmount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ initRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Total number of contributors to aid hinting benchmarking */ + /** + * Total number of contributors to aid hinting benchmarking + **/ totalContributors: AugmentedQuery Observable, []> & QueryableStorageEntry; unassociatedContributions: AugmentedQuery< @@ -423,14 +469,20 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; emergencyParaXcm: { - /** Whether incoming XCM is enabled or paused */ + /** + * Whether incoming XCM is enabled or paused + **/ mode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereum: { @@ -440,24 +492,32 @@ declare module "@polkadot/api-base/types/storage" { [U256] > & QueryableStorageEntry; - /** The current Ethereum block. */ + /** + * The current Ethereum block. + **/ currentBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The current Ethereum receipts. */ + /** + * The current Ethereum receipts. + **/ currentReceipts: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** The current transaction statuses. */ + /** + * The current transaction statuses. + **/ currentTransactionStatuses: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Current building block's transactions and receipts. */ + /** + * Current building block's transactions and receipts. + **/ pending: AugmentedQuery< ApiType, () => Observable< @@ -470,24 +530,36 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumChainId: { - /** The EVM chain ID. */ + /** + * The EVM chain ID. + **/ chainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumXcm: { - /** Whether or not Ethereum-XCM is suspended from executing */ + /** + * Whether or not Ethereum-XCM is suspended from executing + **/ ethereumXcmSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Global nonce used for building Ethereum transaction payload. */ + /** + * Global nonce used for building Ethereum transaction payload. + **/ nonce: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evm: { @@ -515,14 +587,17 @@ declare module "@polkadot/api-base/types/storage" { [H160] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evmForeignAssets: { /** - * Mapping from an asset id to a Foreign asset type. This is mostly used when receiving - * transaction specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to a Foreign asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetsById: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, @@ -530,10 +605,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetsByLocation: AugmentedQuery< ApiType, ( @@ -542,10 +617,14 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForAssetsById: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; identity: { @@ -555,7 +634,7 @@ declare module "@polkadot/api-base/types/storage" { * * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one * primary username. - */ + **/ accountOfUsername: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>, @@ -567,7 +646,7 @@ declare module "@polkadot/api-base/types/storage" { * registration, second is the account's primary username. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ identityOf: AugmentedQuery< ApiType, ( @@ -583,7 +662,7 @@ declare module "@polkadot/api-base/types/storage" { * [`Call::accept_username`]. * * First tuple item is the account and second is the acceptance deadline. - */ + **/ pendingUsernames: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>>, @@ -591,11 +670,11 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of registrars. Not expected to get very big as can only be added through a special - * origin (likely a council motion). + * The set of registrars. Not expected to get very big as can only be added through a + * special origin (likely a council motion). * * The index into this can be cast to `RegistrarIndex` to get a valid value. - */ + **/ registrars: AugmentedQuery< ApiType, () => Observable>>, @@ -608,7 +687,7 @@ declare module "@polkadot/api-base/types/storage" { * The first item is the deposit, the second is a vector of the accounts. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ subsOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable]>>, @@ -618,14 +697,16 @@ declare module "@polkadot/api-base/types/storage" { /** * The super-identity of an alternative "sub" identity together with its name, within that * context. If the account is not some other account's sub-identity, then just `None`. - */ + **/ superOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** A map of the accounts who are authorized to grant usernames. */ + /** + * A map of the accounts who are authorized to grant usernames. + **/ usernameAuthorities: AugmentedQuery< ApiType, ( @@ -634,18 +715,26 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; maintenanceMode: { - /** Whether the site is in maintenance mode */ + /** + * Whether the site is in maintenance mode + **/ maintenanceMode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; messageQueue: { - /** The index of the first and last (non-empty) pages. */ + /** + * The index of the first and last (non-empty) pages. + **/ bookStateFor: AugmentedQuery< ApiType, ( @@ -660,7 +749,9 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin] > & QueryableStorageEntry; - /** The map of page indices to pages. */ + /** + * The map of page indices to pages. + **/ pages: AugmentedQuery< ApiType, ( @@ -676,24 +767,30 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin, u32] > & QueryableStorageEntry; - /** The origin at which we should begin servicing. */ + /** + * The origin at which we should begin servicing. + **/ serviceHead: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; migrations: { - /** True if all required migrations have completed */ + /** + * True if all required migrations have completed + **/ fullyUpgraded: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * MigrationState tracks the progress of a migration. Maps name (Vec) -> whether or not - * migration has been completed (bool) - */ + * MigrationState tracks the progress of a migration. + * Maps name (Vec) -> whether or not migration has been completed (bool) + **/ migrationState: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable, @@ -701,12 +798,14 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Temporary value that is set to true at the beginning of the block during which the - * execution of xcm messages must be paused. - */ + * Temporary value that is set to true at the beginning of the block during which the execution + * of xcm messages must be paused. + **/ shouldPauseXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamLazyMigrations: { @@ -728,18 +827,24 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamOrbiters: { - /** Account lookup override */ + /** + * Account lookup override + **/ accountLookupOverride: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** Current orbiters, with their "parent" collator */ + /** + * Current orbiters, with their "parent" collator + **/ collatorsPool: AugmentedQuery< ApiType, ( @@ -748,22 +853,31 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForCollatorsPool: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Current round index */ + /** + * Current round index + **/ currentRound: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If true, it forces the rotation at the next round. A use case: when changing RotatePeriod, - * you need a migration code that sets this value to true to avoid holes in OrbiterPerRound. - */ + * If true, it forces the rotation at the next round. + * A use case: when changing RotatePeriod, you need a migration code that sets this value to + * true to avoid holes in OrbiterPerRound. + **/ forceRotation: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Minimum deposit required to be registered as an orbiter */ + /** + * Minimum deposit required to be registered as an orbiter + **/ minOrbiterDeposit: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Store active orbiter per round and per parent collator */ + /** + * Store active orbiter per round and per parent collator + **/ orbiterPerRound: AugmentedQuery< ApiType, ( @@ -773,18 +887,24 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Check if account is an orbiter */ + /** + * Check if account is an orbiter + **/ registeredOrbiter: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; multisig: { - /** The set of open multisig operations. */ + /** + * The set of open multisig operations. + **/ multisigs: AugmentedQuery< ApiType, ( @@ -794,47 +914,67 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; openTechCommitteeCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainInfo: { parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainStaking: { - /** Snapshot of collator delegation stake at the start of the round */ + /** + * Snapshot of collator delegation stake at the start of the round + **/ atStake: AugmentedQuery< ApiType, ( @@ -844,7 +984,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Stores auto-compounding configuration per collator. */ + /** + * Stores auto-compounding configuration per collator. + **/ autoCompoundingDelegations: AugmentedQuery< ApiType, ( @@ -853,7 +995,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Points for each collator per round */ + /** + * Points for each collator per round + **/ awardedPts: AugmentedQuery< ApiType, ( @@ -863,7 +1007,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Bottom delegations for collator candidate */ + /** + * Bottom delegations for collator candidate + **/ bottomDelegations: AugmentedQuery< ApiType, ( @@ -872,7 +1018,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get collator candidate info associated with an account if account is candidate else None */ + /** + * Get collator candidate info associated with an account if account is candidate else None + **/ candidateInfo: AugmentedQuery< ApiType, ( @@ -881,17 +1029,23 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The pool of collator candidates, each with their total backing stake */ + /** + * The pool of collator candidates, each with their total backing stake + **/ candidatePool: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Commission percent taken off of rewards for all collators */ + /** + * Commission percent taken off of rewards for all collators + **/ collatorCommission: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Delayed payouts */ + /** + * Delayed payouts + **/ delayedPayouts: AugmentedQuery< ApiType, ( @@ -900,7 +1054,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; - /** Stores outstanding delegation requests per collator. */ + /** + * Stores outstanding delegation requests per collator. + **/ delegationScheduledRequests: AugmentedQuery< ApiType, ( @@ -909,7 +1065,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get delegator state associated with an account if account is delegating else None */ + /** + * Get delegator state associated with an account if account is delegating else None + **/ delegatorState: AugmentedQuery< ApiType, ( @@ -918,10 +1076,14 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Killswitch to enable/disable marking offline feature. */ + /** + * Killswitch to enable/disable marking offline feature. + **/ enableMarkingOffline: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Inflation configuration */ + /** + * Inflation configuration + **/ inflationConfig: AugmentedQuery< ApiType, () => Observable, @@ -933,27 +1095,35 @@ declare module "@polkadot/api-base/types/storage" { * before it is distributed to collators and delegators. * * The sum of the distribution percents must be less than or equal to 100. - */ + **/ inflationDistributionInfo: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Total points awarded to collators for block production in the round */ + /** + * Total points awarded to collators for block production in the round + **/ points: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Current round index and next round scheduled transition */ + /** + * Current round index and next round scheduled transition + **/ round: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The collator candidates selected for the current round */ + /** + * The collator candidates selected for the current round + **/ selectedCandidates: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Top delegations for collator candidate */ + /** + * Top delegations for collator candidate + **/ topDelegations: AugmentedQuery< ApiType, ( @@ -962,21 +1132,27 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Total capital locked by this staking pallet */ + /** + * Total capital locked by this staking pallet + **/ total: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The total candidates selected every round */ + /** + * The total candidates selected every round + **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainSystem: { /** * Storage field that keeps track of bandwidth used by the unincluded segment along with the - * latest HRMP watermark. Used for limiting the acceptance of new blocks with respect to relay - * chain constraints. - */ + * latest HRMP watermark. Used for limiting the acceptance of new blocks with + * respect to relay chain constraints. + **/ aggregatedUnincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -986,17 +1162,19 @@ declare module "@polkadot/api-base/types/storage" { /** * 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`. - */ + **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * * See `Pallet::set_custom_validation_head_data` for more information. - */ + **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Were the validation data set to notify the relay chain? */ + /** + * Were the validation data set to notify the relay chain? + **/ didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1006,7 +1184,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ hostConfiguration: AugmentedQuery< ApiType, () => Observable>, @@ -1017,7 +1195,7 @@ declare module "@polkadot/api-base/types/storage" { * HRMP messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpOutboundMessages: AugmentedQuery< ApiType, () => Observable>, @@ -1028,57 +1206,61 @@ declare module "@polkadot/api-base/types/storage" { * HRMP watermark that was set in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The last downward message queue chain head we have observed. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The message queue chain heads we have observed per each channel incoming channel. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The relay chain block number associated with the last parachain block. * * This is updated in `on_finalize`. - */ + **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Validation code that is set by the parachain and is to be communicated to collator and * consequently the relay-chain. * - * This will be cleared in `on_initialize` of each new block if no other pallet already set the value. - */ + * This will be cleared in `on_initialize` of each new block if no other pallet already set + * the value. + **/ newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Upward messages that are still pending and not yet send to the relay chain. */ + /** + * Upward messages that are still pending and not yet send to the relay chain. + **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * In case of a scheduled upgrade, this storage field contains the validation code to be applied. + * 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`][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; /** * Number of downward messages processed in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1088,7 +1270,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -1099,7 +1281,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relevantMessagingState: AugmentedQuery< ApiType, () => Observable< @@ -1111,7 +1293,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing DMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedDmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1121,7 +1303,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing XCMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedXcmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1129,12 +1311,13 @@ declare module "@polkadot/api-base/types/storage" { > & 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. + * 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. - */ + * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured + * in the pallet. + **/ unincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -1147,7 +1330,7 @@ declare module "@polkadot/api-base/types/storage" { * 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< ApiType, () => Observable>, @@ -1155,45 +1338,52 @@ declare module "@polkadot/api-base/types/storage" { > & 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 candidate will be invalid. + * 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 + * candidate will be invalid. * * 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. - */ + **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The factor to multiply the base delivery fee by for UMP. */ + /** + * The factor to multiply the base delivery fee by for UMP. + **/ upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The [`PersistedValidationData`] set for this block. This value is expected to be set only - * once per block and it's never stored in the trie. - */ + * The [`PersistedValidationData`] set for this block. + * This value is expected to be set only once per block and it's never stored + * in the trie. + **/ validationData: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parameters: { - /** Stored parameters. */ + /** + * Stored parameters. + **/ parameters: AugmentedQuery< ApiType, ( @@ -1207,7 +1397,9 @@ declare module "@polkadot/api-base/types/storage" { [MoonbeamRuntimeRuntimeParamsRuntimeParametersKey] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; polkadotXcm: { @@ -1216,21 +1408,25 @@ declare module "@polkadot/api-base/types/storage" { * * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of * times this pair has been trapped (usually just 1 if it exists at all). - */ + **/ assetTraps: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable, [H256] > & QueryableStorageEntry; - /** The current migration's stage, if any. */ + /** + * The current migration's stage, if any. + **/ currentMigration: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on this chain. */ + /** + * Fungible assets which we know are locked on this chain. + **/ lockedFungibles: AugmentedQuery< ApiType, ( @@ -1239,30 +1435,37 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The ongoing queries. */ + /** + * The ongoing queries. + **/ queries: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** The latest available query index. */ + /** + * The latest available query index. + **/ queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally will be - * stored here. Runtime APIs can fetch the XCM that was executed by accessing this value. + * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally + * will be stored here. + * Runtime APIs can fetch the XCM that was executed by accessing this value. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ recordedXcm: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on a remote chain. */ + /** + * Fungible assets which we know are locked on a remote chain. + **/ remoteLockedFungibles: AugmentedQuery< ApiType, ( @@ -1276,20 +1479,23 @@ declare module "@polkadot/api-base/types/storage" { /** * 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. - */ + **/ safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Whether or not incoming XCMs (both executed locally and received) should be recorded. Only - * one XCM program will be recorded at a time. This is meant to be used in runtime APIs, and - * it's advised it stays false for all other use cases, so as to not degrade regular performance. + * Whether or not incoming XCMs (both executed locally and received) should be recorded. + * Only one XCM program will be recorded at a time. + * This is meant to be used in runtime APIs, and it's advised it stays false + * for all other use cases, so as to not degrade regular performance. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ shouldRecordXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The Latest versions that we know various locations support. */ + /** + * The Latest versions that we know various locations support. + **/ supportedVersion: AugmentedQuery< ApiType, ( @@ -1303,14 +1509,16 @@ declare module "@polkadot/api-base/types/storage" { * 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< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** All locations that we have requested version notifications from. */ + /** + * All locations that we have requested version notifications from. + **/ versionNotifiers: AugmentedQuery< ApiType, ( @@ -1323,7 +1531,7 @@ declare module "@polkadot/api-base/types/storage" { /** * 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< ApiType, ( @@ -1333,10 +1541,14 @@ declare module "@polkadot/api-base/types/storage" { [u32, XcmVersionedLocation] > & QueryableStorageEntry; - /** Global suspension state of the XCM executor. */ + /** + * Global suspension state of the XCM executor. + **/ xcmExecutionSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; preimage: { @@ -1348,25 +1560,33 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[H256, u32]>] > & QueryableStorageEntry]>; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ requestStatusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ statusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; proxy: { - /** The announcements made by the proxy (key). */ + /** + * The announcements made by the proxy (key). + **/ announcements: AugmentedQuery< ApiType, ( @@ -1376,9 +1596,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of account proxies. Maps the account which has delegated to the accounts which are - * being delegated to, together with the amount held on deposit. - */ + * The set of account proxies. Maps the account which has delegated to the accounts + * which are being delegated to, together with the amount held on deposit. + **/ proxies: AugmentedQuery< ApiType, ( @@ -1387,26 +1607,38 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; randomness: { - /** Ensures the mandatory inherent was included in the block */ + /** + * Ensures the mandatory inherent was included in the block + **/ inherentIncluded: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Current local per-block VRF randomness Set in `on_initialize` */ + /** + * Current local per-block VRF randomness + * Set in `on_initialize` + **/ localVrfOutput: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Records whether this is the first block (genesis or runtime upgrade) */ + /** + * Records whether this is the first block (genesis or runtime upgrade) + **/ notFirstBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Previous local per-block VRF randomness Set in `on_finalize` of last block */ + /** + * Previous local per-block VRF randomness + * Set in `on_finalize` of last block + **/ previousLocalVrfOutput: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Snapshot of randomness to fulfill all requests that are for the same raw randomness Removed - * once $value.request_count == 0 - */ + * Snapshot of randomness to fulfill all requests that are for the same raw randomness + * Removed once $value.request_count == 0 + **/ randomnessResults: AugmentedQuery< ApiType, ( @@ -1420,24 +1652,34 @@ declare module "@polkadot/api-base/types/storage" { [PalletRandomnessRequestType] > & QueryableStorageEntry; - /** Relay epoch */ + /** + * Relay epoch + **/ relayEpoch: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of randomness requests made so far, used to generate the next request's uid */ + /** + * Number of randomness requests made so far, used to generate the next request's uid + **/ requestCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Randomness requests not yet fulfilled or purged */ + /** + * Randomness requests not yet fulfilled or purged + **/ requests: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; referenda: { - /** The number of referenda being decided currently. */ + /** + * The number of referenda being decided currently. + **/ decidingCount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable, @@ -1445,22 +1687,27 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The metadata is a general information concerning the referendum. The `Hash` refers to the - * preimage of the `Preimages` provider which can be a JSON dump or IPFS hash of a JSON file. + * The metadata is a general information concerning the referendum. + * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + * dump or IPFS hash of a JSON file. * - * Consider a garbage collection for a metadata of finished referendums to `unrequest` - * (remove) large preimages. - */ + * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + * large preimages. + **/ metadataOf: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The next free referendum index, aka the number of referenda started so far. */ + /** + * The next free referendum index, aka the number of referenda started so far. + **/ referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Information concerning any given referendum. */ + /** + * Information concerning any given referendum. + **/ referendumInfoFor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1472,18 +1719,22 @@ declare module "@polkadot/api-base/types/storage" { * conviction-weighted approvals. * * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. - */ + **/ trackQueue: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>>, [u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; relayStorageRoots: { - /** Map of relay block number to relay storage root */ + /** + * Map of relay block number to relay storage root + **/ relayStorageRoot: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1491,20 +1742,26 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * List of all the keys in `RelayStorageRoot`. Used to remove the oldest key without having to - * iterate over all of them. - */ + * List of all the keys in `RelayStorageRoot`. + * Used to remove the oldest key without having to iterate over all of them. + **/ relayStorageRootKeys: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; rootTesting: { - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; scheduler: { - /** Items to be executed, indexed by the block number that they should be executed on. */ + /** + * Items to be executed, indexed by the block number that they should be executed on. + **/ agenda: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>>, @@ -1516,15 +1773,18 @@ declare module "@polkadot/api-base/types/storage" { /** * Lookup from a name to the block number and index of the task. * - * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 identities. - */ + * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 + * identities. + **/ lookup: AugmentedQuery< ApiType, (arg: U8aFixed | string | Uint8Array) => Observable>>, [U8aFixed] > & QueryableStorageEntry; - /** Retry configurations for items to be executed, indexed by task address. */ + /** + * Retry configurations for items to be executed, indexed by task address. + **/ retries: AugmentedQuery< ApiType, ( @@ -1533,129 +1793,167 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[u32, u32]>] > & QueryableStorageEntry]>; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; system: { - /** The full account information for a particular account ID. */ + /** + * The full account information for a particular account ID. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Total length (in bytes) for all extrinsics put together, for the current block. */ + /** + * Total length (in bytes) for all extrinsics put together, for the current block. + **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** `Some` if a code upgrade has been authorized. */ + /** + * `Some` if a code upgrade has been authorized. + **/ authorizedUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Map of block numbers to block hashes. */ + /** + * Map of block numbers to block hashes. + **/ blockHash: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** The current weight for the block. */ + /** + * The current weight for the block. + **/ blockWeight: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Digest of the current block, also part of the block header. */ + /** + * Digest of the current block, also part of the block header. + **/ digest: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The number of events in the `Events` list. */ + /** + * The number of events in the `Events` list. + **/ eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Events deposited for the current block. * - * NOTE: The item is unbound and should therefore never be read on chain. It could otherwise - * inflate the PoV size of a block. + * NOTE: The item is unbound and should therefore never be read on chain. + * It could otherwise inflate the PoV size of a block. * - * Events have a large in-memory size. Box the events to not go out-of-memory just in case - * someone still reads them from within the runtime. - */ + * Events have a large in-memory size. Box the events to not go out-of-memory + * just in case someone still reads them from within the runtime. + **/ events: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Mapping between a topic (represented by T::Hash) and a vector of indexes of events in the - * `>` list. + * Mapping between a topic (represented by T::Hash) and a vector of indexes + * of events in the `>` list. * - * All topic vectors have deterministic storage locations depending on the topic. This allows - * light-clients to leverage the changes trie storage tracking mechanism and in case of - * changes fetch the list of events of interest. + * All topic vectors have deterministic storage locations depending on the topic. This + * 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 `(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. - */ + * 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. + **/ eventTopics: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>>, [H256] > & QueryableStorageEntry; - /** The execution phase of the block. */ + /** + * The execution phase of the block. + **/ executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Total extrinsics count for the current block. */ + /** + * Total extrinsics count for the current block. + **/ extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Extrinsics data for the current block (maps an extrinsic's index to its data). */ + /** + * Extrinsics data for the current block (maps an extrinsic's index to its data). + **/ extrinsicData: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Whether all inherents have been applied. */ + /** + * Whether all inherents have been applied. + **/ inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ + /** + * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + **/ lastRuntimeUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The current block number being processed. Set by `execute_block`. */ + /** + * The current block number being processed. Set by `execute_block`. + **/ number: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Hash of the previous block. */ + /** + * Hash of the previous block. + **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. - */ + **/ upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. */ + /** + * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + **/ upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; timestamp: { /** * Whether the timestamp has been updated in this block. * - * This value is updated to `true` upon successful submission of a timestamp by a node. It is - * then checked at the end of each block execution in the `on_finalize` hook. - */ + * This value is updated to `true` upon successful submission of a timestamp by a node. + * It is then checked at the end of each block execution in the `on_finalize` hook. + **/ didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The current time for the current block. */ + /** + * The current time for the current block. + **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; transactionPayment: { @@ -1667,67 +1965,97 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasury: { - /** Proposal indices that have been approved but not yet awarded. */ + /** + * Proposal indices that have been approved but not yet awarded. + **/ approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The amount which has been reported as inactive to Currency. */ + /** + * The amount which has been reported as inactive to Currency. + **/ deactivated: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of proposals that have been made. */ + /** + * Number of proposals that have been made. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Proposals that have been made. */ + /** + * Proposals that have been made. + **/ proposals: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The count of spends that have been made. */ + /** + * The count of spends that have been made. + **/ spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Spends that have been approved and being processed. */ + /** + * Spends that have been approved and being processed. + **/ spends: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasuryCouncilCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; whitelist: { @@ -1737,11 +2065,15 @@ declare module "@polkadot/api-base/types/storage" { [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmpQueue: { - /** The factor to multiply the base delivery fee by. */ + /** + * The factor to multiply the base delivery fee by. + **/ deliveryFeeFactor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, @@ -1757,10 +2089,12 @@ declare module "@polkadot/api-base/types/storage" { * * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof * will be smaller. - */ + **/ inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The messages outbound in a given XCMP channel. */ + /** + * The messages outbound in a given XCMP channel. + **/ outboundXcmpMessages: AugmentedQuery< ApiType, ( @@ -1771,44 +2105,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The non-empty XCMP channels in order of becoming non-empty, and the index of the first and - * last outbound message. If the two indices are equal, then it indicates an empty queue and - * there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater than 65535 - * items. Queue indices for normal messages begin at one; zero is reserved in case of the need - * to send a high-priority signal message this block. The bool is true if there is a signal - * message waiting to be sent. - */ + * The non-empty XCMP channels in order of becoming non-empty, and the index of the first + * and last outbound message. If the two indices are equal, then it indicates an empty + * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater + * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in + * case of the need to send a high-priority signal message this block. + * The bool is true if there is a signal message waiting to be sent. + **/ outboundXcmpStatus: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The configuration which controls the dynamics of the outbound queue. */ + /** + * The configuration which controls the dynamics of the outbound queue. + **/ queueConfig: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Whether or not the XCMP queue is suspended from executing incoming XCMs or not. */ + /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Any signal messages waiting to be sent. */ + /** + * Any signal messages waiting to be sent. + **/ signalMessages: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmTransactor: { /** - * Stores the fee per second for an asset in its reserve chain. This allows us to convert from - * weight to fee - */ + * Stores the fee per second for an asset in its reserve chain. This allows us to convert + * from weight to fee + **/ destinationAssetFeePerSecond: AugmentedQuery< ApiType, ( @@ -1818,17 +2160,19 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Since we are using pallet-utility for account derivation (through AsDerivative), we need to - * provide an index for the account derivation. This storage item stores the index assigned - * for a given local account. These indices are usable as derivative in the relay chain - */ + * Since we are using pallet-utility for account derivation (through AsDerivative), + * we need to provide an index for the account derivation. This storage item stores the index + * assigned for a given local account. These indices are usable as derivative in the relay chain + **/ indexToAccount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>, [u16] > & QueryableStorageEntry; - /** Stores the indices of relay chain pallets */ + /** + * Stores the indices of relay chain pallets + **/ relayIndices: AugmentedQuery< ApiType, () => Observable, @@ -1836,10 +2180,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Stores the transact info of a Location. This defines how much extra weight we need to add - * when we want to transact in the destination chain and maximum amount of weight allowed by - * the destination chain - */ + * Stores the transact info of a Location. This defines how much extra weight we need to + * add when we want to transact in the destination chain and maximum amount of weight allowed + * by the destination chain + **/ transactInfoWithWeightLimit: AugmentedQuery< ApiType, ( @@ -1848,14 +2192,17 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmWeightTrader: { /** - * Stores all supported assets per XCM Location. The u128 is the asset price relative to - * native asset with 18 decimals The boolean specify if the support for this asset is active - */ + * Stores all supported assets per XCM Location. + * The u128 is the asset price relative to native asset with 18 decimals + * The boolean specify if the support for this asset is active + **/ supportedAssets: AugmentedQuery< ApiType, ( @@ -1864,7 +2211,9 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; } // AugmentedQueries diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts b/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts index a71564cc61..7752ea2d20 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts @@ -20,7 +20,7 @@ import type { bool, f64, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, Codec } from "@polkadot/types-codec/types"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -35,7 +35,7 @@ import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, - InstantiateRequestV1, + InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; @@ -53,13 +53,13 @@ import type { EthSyncStatus, EthTransaction, EthTransactionRequest, - EthWork, + EthWork } from "@polkadot/types/interfaces/eth"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; import type { EncodedFinalityProofs, JustificationNotification, - ReportedRoundStates, + ReportedRoundStates } from "@polkadot/types/interfaces/grandpa"; import type { MmrHash, MmrLeafBatchProof } from "@polkadot/types/interfaces/mmr"; import type { StorageKind } from "@polkadot/types/interfaces/offchain"; @@ -77,13 +77,13 @@ import type { Justification, KeyValue, SignedBlock, - StorageData, + StorageData } from "@polkadot/types/interfaces/runtime"; import type { MigrationStatusResult, ReadProof, RuntimeVersion, - TraceBlockResponse, + TraceBlockResponse } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, @@ -93,7 +93,7 @@ import type { NetworkState, NodeRole, PeerInfo, - SyncState, + SyncState } from "@polkadot/types/interfaces/system"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -102,13 +102,19 @@ export type __AugmentedRpc = AugmentedRpc<() => unknown>; declare module "@polkadot/rpc-core/types/jsonrpc" { interface RpcInterface { author: { - /** Returns true if the keystore has private keys for the given public key and key type. */ + /** + * Returns true if the keystore has private keys for the given public key and key type. + **/ hasKey: AugmentedRpc< (publicKey: Bytes | string | Uint8Array, keyType: Text | string) => Observable >; - /** Returns true if the keystore has private keys for the given session public keys. */ + /** + * Returns true if the keystore has private keys for the given session public keys. + **/ hasSessionKeys: AugmentedRpc<(sessionKeys: Bytes | string | Uint8Array) => Observable>; - /** Insert a key into the keystore. */ + /** + * Insert a key into the keystore. + **/ insertKey: AugmentedRpc< ( keyType: Text | string, @@ -116,9 +122,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { publicKey: Bytes | string | Uint8Array ) => Observable >; - /** Returns all pending extrinsics, potentially grouped by sender */ + /** + * Returns all pending extrinsics, potentially grouped by sender + **/ pendingExtrinsics: AugmentedRpc<() => Observable>>; - /** Remove given extrinsic from the pool and temporarily ban it to prevent reimporting */ + /** + * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting + **/ removeExtrinsic: AugmentedRpc< ( bytesOrHash: @@ -126,50 +136,75 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[] ) => Observable> >; - /** Generate new session keys and returns the corresponding public keys */ + /** + * Generate new session keys and returns the corresponding public keys + **/ rotateKeys: AugmentedRpc<() => Observable>; - /** Submit and subscribe to watch an extrinsic until unsubscribed */ + /** + * Submit and subscribe to watch an extrinsic until unsubscribed + **/ submitAndWatchExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; - /** Submit a fully formatted extrinsic for block inclusion */ + /** + * Submit a fully formatted extrinsic for block inclusion + **/ submitExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; }; babe: { /** - * Returns data about which slots (primary or secondary) can be claimed in the current epoch - * with the keys in the keystore - */ + * Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore + **/ epochAuthorship: AugmentedRpc<() => Observable>>; }; beefy: { - /** Returns hash of the latest BEEFY finalized block as seen by this client. */ + /** + * Returns hash of the latest BEEFY finalized block as seen by this client. + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Returns the block most recently finalized by BEEFY, alongside its justification. */ + /** + * Returns the block most recently finalized by BEEFY, alongside its justification. + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; chain: { - /** Get header and body of a relay chain block */ + /** + * Get header and body of a relay chain block + **/ getBlock: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable>; - /** Get the block hash for a specific block */ + /** + * Get the block hash for a specific block + **/ getBlockHash: AugmentedRpc< (blockNumber?: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Get hash of the last finalized block in the canon chain */ + /** + * Get hash of the last finalized block in the canon chain + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Retrieves the header for a specific block */ + /** + * Retrieves the header for a specific block + **/ getHeader: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable
>; - /** Retrieves the newest header via subscription */ + /** + * Retrieves the newest header via subscription + **/ subscribeAllHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best finalized header via subscription */ + /** + * Retrieves the best finalized header via subscription + **/ subscribeFinalizedHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best header via subscription */ + /** + * Retrieves the best header via subscription + **/ subscribeNewHeads: AugmentedRpc<() => Observable
>; }; childstate: { - /** Returns the keys with prefix from a child storage, leave empty to get all the keys */ + /** + * Returns the keys with prefix from a child storage, leave empty to get all the keys + **/ getKeys: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -177,7 +212,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix from a child storage with pagination support */ + /** + * Returns the keys with prefix from a child storage with pagination support + **/ getKeysPaged: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -187,7 +224,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns a child storage entry at a specific block state */ + /** + * Returns a child storage entry at a specific block state + **/ getStorage: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -195,7 +234,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns child storage entries for multiple keys at a specific block state */ + /** + * Returns child storage entries for multiple keys at a specific block state + **/ getStorageEntries: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -203,7 +244,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable>> >; - /** Returns the hash of a child storage entry at a block state */ + /** + * Returns the hash of a child storage entry at a block state + **/ getStorageHash: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -211,7 +254,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the size of a child storage entry at a block state */ + /** + * Returns the size of a child storage entry at a block state + **/ getStorageSize: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -222,9 +267,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; contracts: { /** - * @deprecated Use the runtime interface `api.call.contractsApi.call` instead Executes a call - * to a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead + * Executes a call to a contract + **/ call: AugmentedRpc< ( callRequest: @@ -243,9 +288,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead Returns - * the value under a specified storage key in a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead + * Returns the value under a specified storage key in a contract + **/ getStorage: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -255,8 +300,8 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; /** * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead - * Instantiate a new contract - */ + * Instantiate a new contract + **/ instantiate: AugmentedRpc< ( request: @@ -268,9 +313,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Not available in newer versions of the contracts interfaces Returns the - * projected time a given contract will be able to sustain paying its rent - */ + * @deprecated Not available in newer versions of the contracts interfaces + * Returns the projected time a given contract will be able to sustain paying its rent + **/ rentProjection: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -278,9 +323,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable> >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead Upload new - * code without instantiating a contract from it - */ + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead + * Upload new code without instantiating a contract from it + **/ uploadCode: AugmentedRpc< ( uploadRequest: @@ -293,13 +338,17 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; dev: { - /** Reexecute the specified `block_hash` and gather statistics while doing so */ + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ getBlockStats: AugmentedRpc< (at: Hash | string | Uint8Array) => Observable> >; }; engine: { - /** Instructs the manual-seal authorship task to create a new block */ + /** + * Instructs the manual-seal authorship task to create a new block + **/ createBlock: AugmentedRpc< ( createEmpty: bool | boolean | Uint8Array, @@ -307,17 +356,25 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { parentHash?: BlockHash | string | Uint8Array ) => Observable >; - /** Instructs the manual-seal authorship task to finalize a block */ + /** + * Instructs the manual-seal authorship task to finalize a block + **/ finalizeBlock: AugmentedRpc< (hash: BlockHash | string | Uint8Array, justification?: Justification) => Observable >; }; eth: { - /** Returns accounts list. */ + /** + * Returns accounts list. + **/ accounts: AugmentedRpc<() => Observable>>; - /** Returns the blockNumber */ + /** + * Returns the blockNumber + **/ blockNumber: AugmentedRpc<() => Observable>; - /** Call contract, returning the output data. */ + /** + * Call contract, returning the output data. + **/ call: AugmentedRpc< ( request: @@ -337,13 +394,16 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * Returns the chain ID used for transaction signing at the current best block. None is - * returned if not available. - */ + * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. + **/ chainId: AugmentedRpc<() => Observable>; - /** Returns block author. */ + /** + * Returns block author. + **/ coinbase: AugmentedRpc<() => Observable>; - /** Estimate gas needed for execution of given contract. */ + /** + * Estimate gas needed for execution of given contract. + **/ estimateGas: AugmentedRpc< ( request: @@ -362,7 +422,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns fee history for given block count & reward percentiles */ + /** + * Returns fee history for given block count & reward percentiles + **/ feeHistory: AugmentedRpc< ( blockCount: U256 | AnyNumber | Uint8Array, @@ -370,53 +432,73 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { rewardPercentiles: Option> | null | Uint8Array | Vec | f64[] ) => Observable >; - /** Returns current gas price. */ + /** + * Returns current gas price. + **/ gasPrice: AugmentedRpc<() => Observable>; - /** Returns balance of the given account. */ + /** + * Returns balance of the given account. + **/ getBalance: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns block with given hash. */ + /** + * Returns block with given hash. + **/ getBlockByHash: AugmentedRpc< ( hash: H256 | string | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns block with given number. */ + /** + * Returns block with given number. + **/ getBlockByNumber: AugmentedRpc< ( block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns the number of transactions in a block with given hash. */ + /** + * Returns the number of transactions in a block with given hash. + **/ getBlockTransactionCountByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions in a block with given block number. */ + /** + * Returns the number of transactions in a block with given block number. + **/ getBlockTransactionCountByNumber: AugmentedRpc< (block: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the code at given address at given time (block number). */ + /** + * Returns the code at given address at given time (block number). + **/ getCode: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns filter changes since last poll. */ + /** + * Returns filter changes since last poll. + **/ getFilterChanges: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable >; - /** Returns all logs matching given filter (in a range 'from' - 'to'). */ + /** + * Returns all logs matching given filter (in a range 'from' - 'to'). + **/ getFilterLogs: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable> >; - /** Returns logs matching given filter object. */ + /** + * Returns logs matching given filter object. + **/ getLogs: AugmentedRpc< ( filter: @@ -426,7 +508,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable> >; - /** Returns proof for account and storage. */ + /** + * Returns proof for account and storage. + **/ getProof: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -434,7 +518,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns content of the storage at given address. */ + /** + * Returns content of the storage at given address. + **/ getStorageAt: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -442,68 +528,98 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction at given block hash and index. */ + /** + * Returns transaction at given block hash and index. + **/ getTransactionByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction by given block number and index. */ + /** + * Returns transaction by given block number and index. + **/ getTransactionByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Get transaction by its hash. */ + /** + * Get transaction by its hash. + **/ getTransactionByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions sent from given address at given time (block number). */ + /** + * Returns the number of transactions sent from given address at given time (block number). + **/ getTransactionCount: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction receipt by transaction hash. */ + /** + * Returns transaction receipt by transaction hash. + **/ getTransactionReceipt: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns the number of uncles in a block with given hash. */ + /** + * Returns the number of uncles in a block with given hash. + **/ getUncleCountByBlockHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of uncles in a block with given block number. */ + /** + * Returns the number of uncles in a block with given block number. + **/ getUncleCountByBlockNumber: AugmentedRpc< (number: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the hash of the current block, the seedHash, and the boundary condition to be met. */ + /** + * Returns the hash of the current block, the seedHash, and the boundary condition to be met. + **/ getWork: AugmentedRpc<() => Observable>; - /** Returns the number of hashes per second that the node is mining with. */ + /** + * Returns the number of hashes per second that the node is mining with. + **/ hashrate: AugmentedRpc<() => Observable>; - /** Returns max priority fee per gas */ + /** + * Returns max priority fee per gas + **/ maxPriorityFeePerGas: AugmentedRpc<() => Observable>; - /** Returns true if client is actively mining new blocks. */ + /** + * Returns true if client is actively mining new blocks. + **/ mining: AugmentedRpc<() => Observable>; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newBlockFilter: AugmentedRpc<() => Observable>; - /** Returns id of new filter. */ + /** + * Returns id of new filter. + **/ newFilter: AugmentedRpc< ( filter: @@ -513,13 +629,21 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newPendingTransactionFilter: AugmentedRpc<() => Observable>; - /** Returns protocol version encoded as a string (quotes are necessary). */ + /** + * Returns protocol version encoded as a string (quotes are necessary). + **/ protocolVersion: AugmentedRpc<() => Observable>; - /** Sends signed transaction, returning its hash. */ + /** + * Sends signed transaction, returning its hash. + **/ sendRawTransaction: AugmentedRpc<(bytes: Bytes | string | Uint8Array) => Observable>; - /** Sends transaction; will block waiting for signer to return the transaction hash */ + /** + * Sends transaction; will block waiting for signer to return the transaction hash + **/ sendTransaction: AugmentedRpc< ( tx: @@ -537,11 +661,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Used for submitting mining hashrate. */ + /** + * Used for submitting mining hashrate. + **/ submitHashrate: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => Observable >; - /** Used for submitting a proof-of-work solution. */ + /** + * Used for submitting a proof-of-work solution. + **/ submitWork: AugmentedRpc< ( nonce: H64 | string | Uint8Array, @@ -549,7 +677,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { mixDigest: H256 | string | Uint8Array ) => Observable >; - /** Subscribe to Eth subscription. */ + /** + * Subscribe to Eth subscription. + **/ subscribe: AugmentedRpc< ( kind: @@ -563,25 +693,37 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array ) => Observable >; - /** Returns an object with data about the sync status or false. */ + /** + * Returns an object with data about the sync status or false. + **/ syncing: AugmentedRpc<() => Observable>; - /** Uninstalls filter. */ + /** + * Uninstalls filter. + **/ uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; }; grandpa: { - /** Prove finality for the given block number, returning the Justification for the last block in the set. */ + /** + * Prove finality for the given block number, returning the Justification for the last block in the set. + **/ proveFinality: AugmentedRpc< ( blockNumber: BlockNumber | AnyNumber | Uint8Array ) => Observable> >; - /** Returns the state of the current best round state as well as the ongoing background rounds */ + /** + * Returns the state of the current best round state as well as the ongoing background rounds + **/ roundState: AugmentedRpc<() => Observable>; - /** Subscribes to grandpa justifications */ + /** + * Subscribes to grandpa justifications + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; mmr: { - /** Generate MMR proof for the given block numbers. */ + /** + * Generate MMR proof for the given block numbers. + **/ generateProof: AugmentedRpc< ( blockNumbers: Vec | (u64 | AnyNumber | Uint8Array)[], @@ -589,9 +731,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the MMR root hash for the current best block. */ + /** + * Get the MMR root hash for the current best block. + **/ root: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; - /** Verify an MMR proof */ + /** + * Verify an MMR proof + **/ verifyProof: AugmentedRpc< ( proof: @@ -601,7 +747,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Verify an MMR proof statelessly given an mmr_root */ + /** + * Verify an MMR proof statelessly given an mmr_root + **/ verifyProofStateless: AugmentedRpc< ( root: MmrHash | string | Uint8Array, @@ -614,30 +762,46 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from frontier's backend */ + /** + * Returns the latest synced block from frontier's backend + **/ getLatestSyncedBlock: AugmentedRpc<() => Observable>; - /** Returns whether an Ethereum block is finalized */ + /** + * Returns whether an Ethereum block is finalized + **/ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; - /** Returns whether an Ethereum transaction is finalized */ + /** + * Returns whether an Ethereum transaction is finalized + **/ isTxFinalized: AugmentedRpc<(txHash: Hash | string | Uint8Array) => Observable>; }; net: { - /** Returns true if client is actively listening for network connections. Otherwise false. */ + /** + * Returns true if client is actively listening for network connections. Otherwise false. + **/ listening: AugmentedRpc<() => Observable>; - /** Returns number of peers connected to node. */ + /** + * Returns number of peers connected to node. + **/ peerCount: AugmentedRpc<() => Observable>; - /** Returns protocol version. */ + /** + * Returns protocol version. + **/ version: AugmentedRpc<() => Observable>; }; offchain: { - /** Get offchain local storage under given key and prefix */ + /** + * Get offchain local storage under given key and prefix + **/ localStorageGet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array ) => Observable> >; - /** Set offchain local storage under given key and prefix */ + /** + * Set offchain local storage under given key and prefix + **/ localStorageSet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, @@ -648,9 +812,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; payment: { /** - * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead Query the detailed - * fee of a given encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead + * Query the detailed fee of a given encoded extrinsic + **/ queryFeeDetails: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -658,9 +822,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead Retrieves the fee - * information for an encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead + * Retrieves the fee information for an encoded extrinsic + **/ queryInfo: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -669,11 +833,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; rpc: { - /** Retrieves the list of RPC methods that are exposed by the node */ + /** + * Retrieves the list of RPC methods that are exposed by the node + **/ methods: AugmentedRpc<() => Observable>; }; state: { - /** Perform a call to a builtin on the chain */ + /** + * Perform a call to a builtin on the chain + **/ call: AugmentedRpc< ( method: Text | string, @@ -681,7 +849,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the keys with prefix of a specific child storage */ + /** + * Retrieves the keys with prefix of a specific child storage + **/ getChildKeys: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -691,7 +861,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage for child key entries at a specific block state. */ + /** + * Returns proof of storage for child key entries at a specific block state. + **/ getChildReadProof: AugmentedRpc< ( childStorageKey: PrefixedStorageKey | string | Uint8Array, @@ -699,7 +871,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage for a key */ + /** + * Retrieves the child storage for a key + **/ getChildStorage: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -709,7 +883,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage hash */ + /** + * Retrieves the child storage hash + **/ getChildStorageHash: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -719,7 +895,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage size */ + /** + * Retrieves the child storage size + **/ getChildStorageSize: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -730,16 +908,18 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Retrieves the keys with a - * certain prefix - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Retrieves the keys with a certain prefix + **/ getKeys: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix with pagination support. */ + /** + * Returns the keys with prefix with pagination support. + **/ getKeysPaged: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, @@ -748,51 +928,65 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the runtime metadata */ + /** + * Returns the runtime metadata + **/ getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Returns the keys with prefix, - * leave empty to get all the keys (deprecated: Use getKeysPaged) - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged) + **/ getPairs: AugmentedRpc< ( prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage entries at a specific block state */ + /** + * Returns proof of storage entries at a specific block state + **/ getReadProof: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the runtime version */ + /** + * Get the runtime version + **/ getRuntimeVersion: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; - /** Retrieves the storage for a key */ + /** + * Retrieves the storage for a key + **/ getStorage: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, block?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the storage hash */ + /** + * Retrieves the storage hash + **/ getStorageHash: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the storage size */ + /** + * Retrieves the storage size + **/ getStorageSize: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Query historical storage entries (by key) starting from a start block */ + /** + * Query historical storage entries (by key) starting from a start block + **/ queryStorage: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], @@ -800,22 +994,30 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { toBlock?: Hash | Uint8Array | string ) => Observable<[Hash, T][]> >; - /** Query storage entries (by key) starting at block hash given as the second parameter */ + /** + * Query storage entries (by key) starting at block hash given as the second parameter + **/ queryStorageAt: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the runtime version via subscription */ + /** + * Retrieves the runtime version via subscription + **/ subscribeRuntimeVersion: AugmentedRpc<() => Observable>; - /** Subscribes to storage changes for the provided keys */ + /** + * Subscribes to storage changes for the provided keys + **/ subscribeStorage: AugmentedRpc< ( keys?: Vec | (StorageKey | string | Uint8Array | any)[] ) => Observable >; - /** Provides a way to trace the re-execution of a single block */ + /** + * Provides a way to trace the re-execution of a single block + **/ traceBlock: AugmentedRpc< ( block: Hash | string | Uint8Array, @@ -824,69 +1026,112 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { methods: Option | null | Uint8Array | Text | string ) => Observable >; - /** Check current migration state */ + /** + * Check current migration state + **/ trieMigrationStatus: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; }; syncstate: { - /** Returns the json-serialized chainspec running the node, with a sync state. */ + /** + * Returns the json-serialized chainspec running the node, with a sync state. + **/ genSyncSpec: AugmentedRpc<(raw: bool | boolean | Uint8Array) => Observable>; }; system: { - /** Retrieves the next accountIndex as available on the node */ + /** + * Retrieves the next accountIndex as available on the node + **/ accountNextIndex: AugmentedRpc< (accountId: AccountId | string | Uint8Array) => Observable >; - /** Adds the supplied directives to the current log filter */ + /** + * Adds the supplied directives to the current log filter + **/ addLogFilter: AugmentedRpc<(directives: Text | string) => Observable>; - /** Adds a reserved peer */ + /** + * Adds a reserved peer + **/ addReservedPeer: AugmentedRpc<(peer: Text | string) => Observable>; - /** Retrieves the chain */ + /** + * Retrieves the chain + **/ chain: AugmentedRpc<() => Observable>; - /** Retrieves the chain type */ + /** + * Retrieves the chain type + **/ chainType: AugmentedRpc<() => Observable>; - /** Dry run an extrinsic at a given block */ + /** + * Dry run an extrinsic at a given block + **/ dryRun: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Return health status of the node */ + /** + * Return health status of the node + **/ health: AugmentedRpc<() => Observable>; /** - * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be - * passed to addReservedPeer or as a bootnode address for example - */ + * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example + **/ localListenAddresses: AugmentedRpc<() => Observable>>; - /** Returns the base58-encoded PeerId of the node */ + /** + * Returns the base58-encoded PeerId of the node + **/ localPeerId: AugmentedRpc<() => Observable>; - /** Retrieves the node name */ + /** + * Retrieves the node name + **/ name: AugmentedRpc<() => Observable>; - /** Returns current state of the network */ + /** + * Returns current state of the network + **/ networkState: AugmentedRpc<() => Observable>; - /** Returns the roles the node is running as */ + /** + * Returns the roles the node is running as + **/ nodeRoles: AugmentedRpc<() => Observable>>; - /** Returns the currently connected peers */ + /** + * Returns the currently connected peers + **/ peers: AugmentedRpc<() => Observable>>; - /** Get a custom set of properties as a JSON object, defined in the chain spec */ + /** + * Get a custom set of properties as a JSON object, defined in the chain spec + **/ properties: AugmentedRpc<() => Observable>; - /** Remove a reserved peer */ + /** + * Remove a reserved peer + **/ removeReservedPeer: AugmentedRpc<(peerId: Text | string) => Observable>; - /** Returns the list of reserved peers */ + /** + * Returns the list of reserved peers + **/ reservedPeers: AugmentedRpc<() => Observable>>; - /** Resets the log filter to Substrate defaults */ + /** + * Resets the log filter to Substrate defaults + **/ resetLogFilter: AugmentedRpc<() => Observable>; - /** Returns the state of the syncing of the node */ + /** + * Returns the state of the syncing of the node + **/ syncState: AugmentedRpc<() => Observable>; - /** Retrieves the version of the node */ + /** + * Retrieves the version of the node + **/ version: AugmentedRpc<() => Observable>; }; web3: { - /** Returns current client version. */ + /** + * Returns current client version. + **/ clientVersion: AugmentedRpc<() => Observable>; - /** Returns sha3 of the given data */ + /** + * Returns sha3 of the given data + **/ sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable>; }; } // RpcInterface diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts b/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts index 798d1db8cc..aacce6b598 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts @@ -17,7 +17,7 @@ import type { u128, u256, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder"; @@ -26,13 +26,13 @@ import type { CollationInfo } from "@polkadot/types/interfaces/cumulus"; import type { CallDryRunEffects, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { BlockV2, EthReceiptV3, EthTransactionStatus, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from "@polkadot/types/interfaces/evm"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; @@ -53,7 +53,7 @@ import type { Permill, RuntimeCall, Weight, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { RuntimeVersion } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, DispatchError } from "@polkadot/types/interfaces/system"; @@ -64,7 +64,7 @@ import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; import type { XcmVersionedAssetId, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -75,24 +75,32 @@ declare module "@polkadot/api-base/types/calls" { interface AugmentedCalls { /** 0xbc9d89904f5b923f/1 */ accountNonceApi: { - /** The API to query account nonce (aka transaction index) */ + /** + * The API to query account nonce (aka transaction index) + **/ accountNonce: AugmentedCall< ApiType, (accountId: AccountId | string | Uint8Array) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x40fe3ad401f8959a/6 */ blockBuilder: { - /** Apply the given extrinsic. */ + /** + * Apply the given extrinsic. + **/ applyExtrinsic: AugmentedCall< ApiType, ( extrinsic: Extrinsic | IExtrinsic | string | Uint8Array ) => Observable >; - /** Check that the inherents are valid. */ + /** + * Check that the inherents are valid. + **/ checkInherents: AugmentedCall< ApiType, ( @@ -100,21 +108,29 @@ declare module "@polkadot/api-base/types/calls" { data: InherentData | { data?: any } | string | Uint8Array ) => Observable >; - /** Finish the current block. */ + /** + * Finish the current block. + **/ finalizeBlock: AugmentedCall Observable
>; - /** Generate inherent extrinsics. */ + /** + * Generate inherent extrinsics. + **/ inherentExtrinsics: AugmentedCall< ApiType, ( inherent: InherentData | { data?: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xea93e3f16f3d6962/2 */ collectCollationInfo: { - /** Collect information about a collation. */ + /** + * Collect information about a collation. + **/ collectCollationInfo: AugmentedCall< ApiType, ( @@ -131,12 +147,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xe65b00e46cedd0aa/2 */ convertTransactionRuntimeApi: { - /** Converts an Ethereum-style transaction to Extrinsic */ + /** + * Converts an Ethereum-style transaction to Extrinsic + **/ convertTransaction: AugmentedCall< ApiType, ( @@ -149,19 +169,25 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xdf6acb689907609b/5 */ core: { - /** Execute the given block. */ + /** + * Execute the given block. + **/ executeBlock: AugmentedCall< ApiType, ( block: Block | { header?: any; extrinsics?: any } | string | Uint8Array ) => Observable >; - /** Initialize a block with the given header. */ + /** + * Initialize a block with the given header. + **/ initializeBlock: AugmentedCall< ApiType, ( @@ -178,14 +204,20 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Returns the version of the runtime. */ + /** + * Returns the version of the runtime. + **/ version: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x91b1c8b16328eb92/1 */ dryRunApi: { - /** Dry run call */ + /** + * Dry run call + **/ dryRunCall: AugmentedCall< ApiType, ( @@ -193,7 +225,9 @@ declare module "@polkadot/api-base/types/calls" { call: RuntimeCall | IMethod | string | Uint8Array ) => Observable> >; - /** Dry run XCM program */ + /** + * Dry run XCM program + **/ dryRunXcm: AugmentedCall< ApiType, ( @@ -217,24 +251,34 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x582211f65bb14b89/5 */ ethereumRuntimeRPCApi: { - /** Returns pallet_evm::Accounts by address. */ + /** + * Returns pallet_evm::Accounts by address. + **/ accountBasic: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** For a given account address, returns pallet_evm::AccountCodes. */ + /** + * For a given account address, returns pallet_evm::AccountCodes. + **/ accountCodeAt: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** Returns the converted FindAuthor::find_author authority id. */ + /** + * Returns the converted FindAuthor::find_author authority id. + **/ author: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ call: AugmentedCall< ApiType, ( @@ -255,9 +299,13 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Returns runtime defined pallet_evm::ChainId. */ + /** + * Returns runtime defined pallet_evm::ChainId. + **/ chainId: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ create: AugmentedCall< ApiType, ( @@ -277,34 +325,50 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Return all the current data for a block in a single runtime call. */ + /** + * Return all the current data for a block in a single runtime call. + **/ currentAll: AugmentedCall< ApiType, () => Observable< ITuple<[Option, Option>, Option>]> > >; - /** Return the current block. */ + /** + * Return the current block. + **/ currentBlock: AugmentedCall Observable>; - /** Return the current receipt. */ + /** + * Return the current receipt. + **/ currentReceipts: AugmentedCall Observable>>>; - /** Return the current transaction status. */ + /** + * Return the current transaction status. + **/ currentTransactionStatuses: AugmentedCall< ApiType, () => Observable>> >; - /** Return the elasticity multiplier. */ + /** + * Return the elasticity multiplier. + **/ elasticity: AugmentedCall Observable>>; - /** Receives a `Vec` and filters all the ethereum transactions. */ + /** + * Receives a `Vec` and filters all the ethereum transactions. + **/ extrinsicFilter: AugmentedCall< ApiType, ( xts: Vec | (Extrinsic | IExtrinsic | string | Uint8Array)[] ) => Observable> >; - /** Returns FixedGasPrice::min_gas_price */ + /** + * Returns FixedGasPrice::min_gas_price + **/ gasPrice: AugmentedCall Observable>; - /** For a given account address and index, returns pallet_evm::AccountStorages. */ + /** + * For a given account address and index, returns pallet_evm::AccountStorages. + **/ storageAt: AugmentedCall< ApiType, ( @@ -312,24 +376,34 @@ declare module "@polkadot/api-base/types/calls" { index: u256 | AnyNumber | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xfbc577b9d747efd6/1 */ genesisBuilder: { - /** Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. */ + /** + * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. + **/ buildConfig: AugmentedCall< ApiType, (json: Bytes | string | Uint8Array) => Observable, GenesisBuildErr>> >; - /** Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. */ + /** + * Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. + **/ createDefaultConfig: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x9ffb505aa738d69c/1 */ locationToAccountApi: { - /** Converts `Location` to `AccountId` */ + /** + * Converts `Location` to `AccountId` + **/ convertLocation: AugmentedCall< ApiType, ( @@ -342,26 +416,38 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37e397fc7c91f5e4/2 */ metadata: { - /** Returns the metadata of a runtime */ + /** + * Returns the metadata of a runtime + **/ metadata: AugmentedCall Observable>; - /** Returns the metadata at a given version. */ + /** + * Returns the metadata at a given version. + **/ metadataAtVersion: AugmentedCall< ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable> >; - /** Returns the supported metadata versions. */ + /** + * Returns the supported metadata versions. + **/ metadataVersions: AugmentedCall Observable>>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x2aa62120049dd2d2/1 */ nimbusApi: { - /** The runtime api used to predict whether a Nimbus author will be eligible in the given slot */ + /** + * The runtime api used to predict whether a Nimbus author will be eligible in the given slot + **/ canAuthor: AugmentedCall< ApiType, ( @@ -380,12 +466,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { - /** Starts the off-chain task for given block header. */ + /** + * Starts the off-chain task for given block header. + **/ offchainWorker: AugmentedCall< ApiType, ( @@ -402,29 +492,39 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xab3c0572291feb8b/1 */ sessionKeys: { - /** Decode the given public session keys. */ + /** + * Decode the given public session keys. + **/ decodeSessionKeys: AugmentedCall< ApiType, ( encoded: Bytes | string | Uint8Array ) => Observable>>> >; - /** Generate a set of session keys with optionally using the given seed. */ + /** + * Generate a set of session keys with optionally using the given seed. + **/ generateSessionKeys: AugmentedCall< ApiType, (seed: Option | null | Uint8Array | Bytes | string) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { - /** Validate the transaction. */ + /** + * Validate the transaction. + **/ validateTransaction: AugmentedCall< ApiType, ( @@ -433,12 +533,16 @@ declare module "@polkadot/api-base/types/calls" { blockHash: BlockHash | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37c8bb1350a9a2a8/4 */ transactionPaymentApi: { - /** The transaction fee details */ + /** + * The transaction fee details + **/ queryFeeDetails: AugmentedCall< ApiType, ( @@ -446,7 +550,9 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** The transaction info */ + /** + * The transaction info + **/ queryInfo: AugmentedCall< ApiType, ( @@ -454,30 +560,41 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** Query the output of the current LengthToFee given some input */ + /** + * Query the output of the current LengthToFee given some input + **/ queryLengthToFee: AugmentedCall< ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable >; - /** Query the output of the current WeightToFee given some input */ + /** + * Query the output of the current WeightToFee given some input + **/ queryWeightToFee: AugmentedCall< ApiType, ( weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x6ff52ee858e6c5bd/1 */ xcmPaymentApi: { - /** The API to query acceptable payment assets */ + /** + * The API to query acceptable payment assets + **/ queryAcceptablePaymentAssets: AugmentedCall< ApiType, ( version: u32 | AnyNumber | Uint8Array ) => Observable, XcmPaymentApiError>> >; + /** + * + **/ queryWeightToAssetFee: AugmentedCall< ApiType, ( @@ -485,13 +602,18 @@ declare module "@polkadot/api-base/types/calls" { asset: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; + /** + * + **/ queryXcmWeight: AugmentedCall< ApiType, ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; } // AugmentedCalls diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts b/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts index b72dcfa17c..c9bb67c19b 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, - SubmittableExtrinsicFunction, + SubmittableExtrinsicFunction } from "@polkadot/api-base/types"; import type { Data } from "@polkadot/types"; import type { @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { @@ -35,7 +35,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { AccountEthereumSignature, @@ -71,7 +71,7 @@ import type { XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; @@ -83,9 +83,10 @@ declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -95,9 +96,11 @@ declare module "@polkadot/api-base/types/submittable" { [u128, MoonbeamRuntimeXcmConfigAssetType, u32] >; /** - * Destroy a given foreign assetId The weight in this case is the one returned by the trait - * plus the db writes and reads from removing all the associated data - */ + * Destroy a given foreign assetId + * The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated + * data + **/ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -105,7 +108,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Register new asset with the asset manager */ + /** + * Register new asset with the asset manager + **/ registerForeignAsset: AugmentedSubmittable< ( asset: MoonbeamRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -124,7 +129,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Remove a given assetId -> assetType association */ + /** + * Remove a given assetId -> assetType association + **/ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -132,7 +139,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; assets: { @@ -141,21 +150,23 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed. * - * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the - * purpose of holding the approval. If some non-zero amount of assets is already approved from - * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account + * for the purpose of holding the approval. If some non-zero amount of assets is already + * approved from signing account to `delegate`, then it is topped up or unreserved to + * meet the right value. * - * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * NOTE: The signing account does not need to own `amount` of assets at the point of + * making this call. * * - `id`: The identifier of the asset. * - `delegate`: The account to delegate permission to transfer asset. - * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an - * approval in place, then this acts additively. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is + * already an approval in place, then this acts additively. * * Emits `ApprovedTransfer` on success. * * Weight: `O(1)` - */ + **/ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -175,7 +186,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Blocked`. * * Weight: `O(1)` - */ + **/ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -197,8 +208,9 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Burned` with the actual amount burned. If this takes the balance to below the * minimum for the asset, then the amount burned is increased to take it to zero. * - * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. - */ + * Weight: `O(1)` + * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + **/ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -210,7 +222,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * Origin must be Signed and there must be an approval in place between signer and + * `delegate`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -220,7 +233,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,7 +253,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -255,18 +268,17 @@ declare module "@polkadot/api-base/types/submittable" { * Funds of sender are reserved by `AssetDeposit`. * * Parameters: - * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `admin`: The admin of this class of assets. The admin is the initial address of each member - * of the asset class's admin team. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `admin`: The admin of this class of assets. The admin is the initial address of each + * member of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `Created` event when successful. * * Weight: `O(1)` - */ + **/ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,10 +296,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedAccounts` event. - */ + **/ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -301,10 +314,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedApprovals` event. - */ + **/ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -312,13 +326,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Complete destroying asset and unreserve currency. * - * `finish_destroy` should only be called after `start_destroy` has been called, and the asset - * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * `finish_destroy` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. All accounts or approvals should be destroyed before + * hand. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each successful call emits the `Event::Destroyed` event. - */ + **/ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -333,18 +349,20 @@ declare module "@polkadot/api-base/types/submittable" { * - `issuer`: The new Issuer of this asset. * - `admin`: The new Admin of this asset. * - `freezer`: The new Freezer of this asset. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. - * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to - * account for the state bloat associated with its balance storage. If set to `true`, then - * non-zero balances may be stored without a `consumer` reference (and thus an ED in the - * Balances pallet or whatever else is used to control user-account state growth). - * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient + * value to account for the state bloat associated with its balance storage. If set to + * `true`, then non-zero balances may be stored without a `consumer` reference (and thus + * an ED in the Balances pallet or whatever else is used to control user-account state + * growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin + * instructions. * * Emits `AssetStatusChanged` with the identity of the asset. * * Weight: `O(1)` - */ + **/ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -370,8 +388,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account - * of the asset `id`. + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin + * account of the asset `id`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -381,7 +399,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -402,7 +420,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -416,18 +434,18 @@ declare module "@polkadot/api-base/types/submittable" { * * Unlike `create`, no funds are reserved. * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `owner`: The owner of this class of assets. The owner has full superuser permissions over - * this asset, but may later change and configure the permissions using `transfer_ownership` - * and `set_team`. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions + * over this asset, but may later change and configure the permissions using + * `transfer_ownership` and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `ForceCreated` event when successful. * * Weight: `O(1)` - */ + **/ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -452,7 +470,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. - */ + **/ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -472,16 +490,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `source`: The account to be debited. * - `dest`: The account to be credited. * - `amount`: The amount by which the `source`'s balance of assets should be reduced and - * `dest`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the `source` balance above zero but below - * the minimum balance. Must be greater than zero. + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but + * below the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account - * pre-existence of `dest`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of + * `dest`. + **/ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -492,9 +512,9 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, AccountId20, Compact] >; /** - * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must - * already exist as an entry in `Account`s of the asset. If you want to freeze an account that - * does not have an entry, use `touch_other` first. + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` + * must already exist as an entry in `Account`s of the asset. If you want to freeze an + * account that does not have an entry, use `touch_other` first. * * Origin must be Signed and the sender should be the Freezer of the asset `id`. * @@ -504,7 +524,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -522,7 +542,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -538,8 +558,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Emits `Issued` event when successful. * - * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. - */ + * Weight: `O(1)` + * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + **/ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -549,15 +570,17 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an + * account. * * The origin must be Signed. * - * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `id`: The identifier of the asset for which the caller would like the deposit + * refunded. * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. * * Emits `Refunded` event when successful. - */ + **/ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -576,7 +599,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `who`: The account to refund. * * Emits `Refunded` event when successful. - */ + **/ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -589,8 +612,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed and the sender should be the Owner of the asset `id`. * - * Funds of sender are reserved according to the formula: `MetadataDepositBase + - * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * Funds of sender are reserved according to the formula: + * `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into + * account any already reserved funds. * * - `id`: The identifier of the asset to update. * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. @@ -600,7 +624,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(1)` - */ + **/ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -613,16 +637,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Sets the minimum balance of an asset. * - * Only works if there aren't any accounts that are holding the asset or if the new value of - * `min_balance` is less than the old one. + * Only works if there aren't any accounts that are holding the asset or if + * the new value of `min_balance` is less than the old one. * - * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * Origin must be Signed and the sender has to be the Owner of the + * asset `id`. * * - `id`: The identifier of the asset. * - `min_balance`: The new value of `min_balance`. * * Emits `AssetMinBalanceChanged` event when successful. - */ + **/ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -643,7 +668,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `TeamChanged`. * * Weight: `O(1)` - */ + **/ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -661,10 +686,11 @@ declare module "@polkadot/api-base/types/submittable" { * * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * The asset class must be frozen before calling `start_destroy`. - */ + **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -680,7 +706,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -698,7 +724,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -708,11 +734,12 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit + * to be taken. * - `id`: The identifier of the asset for the account to be created. * * Emits `Touched` event when successful. - */ + **/ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -722,13 +749,13 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must - * have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account + * must have sufficient funds for a deposit to be taken. * - `id`: The identifier of the asset for the account to be created. * - `who`: The account to be created. * * Emits `Touched` event when successful. - */ + **/ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -744,16 +771,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -763,23 +792,25 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Transfer some asset balance from a previously delegated account to some third-party account. + * Transfer some asset balance from a previously delegated account to some third-party + * account. * - * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * Origin must be Signed and there must be an approval in place by the `owner` to the + * signer. * * If the entire amount approved for transfer is transferred, then any deposit previously * reserved by `approve_transfer` is unreserved. * * - `id`: The identifier of the asset. - * - `owner`: The account which previously approved for a transfer of at least `amount` and from - * which the asset balance will be withdrawn. + * - `owner`: The account which previously approved for a transfer of at least `amount` and + * from which the asset balance will be withdrawn. * - `destination`: The account to which the asset balance of `amount` will be transferred. * - `amount`: The amount of assets to transfer. * * Emits `TransferredApproved` on success. * * Weight: `O(1)` - */ + **/ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -797,16 +828,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -826,7 +859,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `OwnerChanged`. * * Weight: `O(1)` - */ + **/ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -834,34 +867,42 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** Update the eligible count. Intended to be called by governance. */ + /** + * Update the eligible count. Intended to be called by governance. + **/ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { /** - * This inherent is a workaround to run code after the "real" inherents have executed, but - * before transactions are executed. - */ + * This inherent is a workaround to run code after the "real" inherents have executed, + * but before transactions are executed. + **/ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { /** * Register your NimbusId onchain so blocks you author are associated with your account. * - * Users who have been (or will soon be) elected active collators in staking, should submit - * this extrinsic to have their blocks accepted and earn rewards. - */ + * Users who have been (or will soon be) elected active collators in staking, + * should submit this extrinsic to have their blocks accepted and earn rewards. + **/ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -871,8 +912,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Clear your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -882,16 +924,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Set association and session keys at once. * - * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security - * deposit is required. Will replace `update_association` which is kept now for backwards - * compatibility reasons. - */ + * This is useful for key rotation to update Nimbus and VRF keys in one call. + * No new security deposit is required. Will replace `update_association` which is kept + * now for backwards compatibility reasons. + **/ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -900,9 +943,9 @@ declare module "@polkadot/api-base/types/submittable" { * Change your Mapping. * * This is useful for normal key rotation or for when switching from one physical collator - * machine to another. No new security deposit is required. This sets keys to - * new_nimbus_id.into() by default. - */ + * machine to another. No new security deposit is required. + * This sets keys to new_nimbus_id.into() by default. + **/ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -910,19 +953,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic, NimbusPrimitivesNimbusCryptoPublic] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; balances: { /** * Burn the specified liquid free balance from the origin account. * - * If the origin's account ends up below the existential deposit as a result of the burn and - * `keep_alive` is false, the account will be reaped. + * If the origin's account ends up below the existential deposit as a result + * of the burn and `keep_alive` is false, the account will be reaped. * - * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, this - * `burn` operation will reduce total issuance by the amount _burned_. - */ + * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, + * this `burn` operation will reduce total issuance by the amount _burned_. + **/ burn: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -936,7 +981,7 @@ declare module "@polkadot/api-base/types/submittable" { * Can only be called by root and always needs a positive `delta`. * * # Example - */ + **/ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -953,7 +998,7 @@ declare module "@polkadot/api-base/types/submittable" { * Set the regular balance of a given account. * * The dispatch origin for this call is `root`. - */ + **/ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -964,7 +1009,7 @@ declare module "@polkadot/api-base/types/submittable" { /** * Exactly as `transfer_allow_death`, except the origin must be root and the source account * may be specified. - */ + **/ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -977,7 +1022,7 @@ declare module "@polkadot/api-base/types/submittable" { * Unreserve some balance from a user by force. * * Can only be called by ROOT. - */ + **/ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -988,19 +1033,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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... + * 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). - */ + * - `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: AccountId20 | string | Uint8Array, @@ -1011,12 +1057,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * `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. - */ + **/ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1025,13 +1071,13 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Compact] >; /** - * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that - * the transfer will not kill the origin account. + * 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`][`transfer_allow_death`] instead. + * 99% of the time you want [`transfer_allow_death`] instead. * * [`transfer_allow_death`]: struct.Pallet.html#method.transfer - */ + **/ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1045,16 +1091,19 @@ declare module "@polkadot/api-base/types/submittable" { * - `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 possibility of churn). - */ + * 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 + * possibility of churn). + **/ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { @@ -1062,26 +1111,27 @@ declare module "@polkadot/api-base/types/submittable" { * Delegate the voting power (with some given conviction) of the sending account for a * particular class of polls. * - * 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 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 through + * `remove_vote`). * - * - Be delegating already; or - * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). * - `to`: The account whose voting the `target` account's voting power will follow. - * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to - * this function are required. - * - `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. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls + * to this function are required. + * - `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 polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1105,18 +1155,20 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * 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 poll was cancelled, because the voter lost the poll or because the conviction period is over. + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the poll was cancelled, because the voter lost the poll 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 poll `index`. + * - `target`: The account of the vote to be removed; this account must have voted for poll + * `index`. * - `index`: The index of poll of the vote to be removed. * - `class`: The class of the poll. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -1129,33 +1181,33 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If: - * - * - The poll was cancelled, or - * - The poll is ongoing, or - * - The poll 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. + * - the poll was cancelled, or + * - the poll is ongoing, or + * - the poll 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 poll 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). + * - 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 poll `index`. * * - `index`: The index of poll of the vote to be removed. - * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which - * have finished or are cancelled, this must be `Some`. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls + * which have finished or are cancelled, this must be `Some`. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -1166,25 +1218,26 @@ declare module "@polkadot/api-base/types/submittable" { /** * Undelegate the voting power of the sending account for a particular class of polls. * - * Tokens may be unlocked following once an amount of time consistent with the lock period of - * the conviction with which the delegation was issued has passed. + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued has passed. * - * The dispatch origin of this call must be _Signed_ and the signing account must be currently - * delegating. + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. * * - `class`: The class of polls to remove the delegation from. * * Emits `Undelegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; /** - * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * Remove the lock caused by prior voting/delegating which has expired within a particular + * class. * * The dispatch origin of this call must be _Signed_. * @@ -1192,7 +1245,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `target`: The account to remove the lock on. * * Weight: `O(R)` with R number of vote of target. - */ + **/ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1201,8 +1254,8 @@ declare module "@polkadot/api-base/types/submittable" { [u16, AccountId20] >; /** - * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a - * vote to keep the status quo. + * Vote in a poll. 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_. * @@ -1210,7 +1263,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `vote`: The vote configuration. * * Weight: `O(R)` where R is the number of polls the voter has voted on. - */ + **/ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -1224,16 +1277,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, PalletConvictionVotingVoteAccountVote] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { /** * Associate a native rewards_destination identity with a crowdloan contribution. * - * The caller needs to provide the unassociated relay account and a proof to succeed with the - * association The proof is nothing but a signature over the reward_address using the relay keys - */ + * The caller needs to provide the unassociated relay account and a proof to succeed + * with the association + * The proof is nothing but a signature over the reward_address using the relay keys + **/ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1251,10 +1307,10 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change reward account by submitting proofs from relay accounts * - * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The - * account to be changed needs to be submitted as 'previous_account' Origin must be - * RewardAddressChangeOrigin - */ + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' + * The account to be changed needs to be submitted as 'previous_account' + * Origin must be RewardAddressChangeOrigin + **/ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1275,22 +1331,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** Collect whatever portion of your reward are currently vested. */ + /** + * Collect whatever portion of your reward are currently vested. + **/ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * This extrinsic completes the initialization if some checks are fullfiled. These checks are: - * -The reward contribution money matches the crowdloan pot -The end vesting block is higher - * than the init vesting block -The initialization has not complete yet - */ + * -The reward contribution money matches the crowdloan pot + * -The end vesting block is higher than the init vesting block + * -The initialization has not complete yet + **/ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Initialize the reward distribution storage. It shortcuts whenever an error is found This - * does not enforce any checks other than making sure we dont go over funds + * Initialize the reward distribution storage. It shortcuts whenever an error is found + * This does not enforce any checks other than making sure we dont go over funds * complete_initialization should perform any additional - */ + **/ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -1303,27 +1362,39 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** Update reward address, proving that the caller owns the current native key */ + /** + * Update reward address, proving that the caller owns the current native key + **/ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; emergencyParaXcm: { - /** Authorize a runtime upgrade. Only callable in `Paused` mode */ + /** + * Authorize a runtime upgrade. Only callable in `Paused` mode + **/ fastAuthorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Resume `Normal` mode */ + /** + * Resume `Normal` mode + **/ pausedToNormal: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** Transact an Ethereum transaction. */ + /** + * Transact an Ethereum transaction. + **/ transact: AugmentedSubmittable< ( transaction: @@ -1336,15 +1407,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [EthereumTransactionTransactionV2] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { /** * Xcm Transact an Ethereum transaction, but allow to force the caller and create address. - * This call should be restricted (callable only by the runtime or governance). Weight: Gas - * limit plus the db reads involving the suspension and proxy checks - */ + * This call should be restricted (callable only by the runtime or governance). + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ forceTransactAs: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1362,18 +1435,18 @@ declare module "@polkadot/api-base/types/submittable" { * Resumes all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the - * suspension check - */ + * Xcm Transact an Ethereum transaction. + * Weight: Gas limit plus the db read involving the suspension check + **/ transact: AugmentedSubmittable< ( xcmTransaction: @@ -1386,9 +1459,9 @@ declare module "@polkadot/api-base/types/submittable" { [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; /** - * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads - * involving the suspension and proxy checks - */ + * Xcm Transact an Ethereum transaction through proxy. + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1401,11 +1474,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ + /** + * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. + **/ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1432,7 +1509,10 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ + /** + * Issue an EVM create operation. This is similar to a contract creation transaction in + * Ethereum. + **/ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1448,7 +1528,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** Issue an EVM create2 operation. */ + /** + * Issue an EVM create2 operation. + **/ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1475,7 +1557,9 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Withdraw balance from EVM into currency/balances pallet. */ + /** + * Withdraw balance from EVM into currency/balances pallet. + **/ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -1483,14 +1567,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evmForeignAssets: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeXcmLocation: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1502,7 +1589,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location] >; - /** Create new asset with the ForeignAssetCreator */ + /** + * Create new asset with the ForeignAssetCreator + **/ createForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1517,7 +1606,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location, u8, Bytes, Bytes] >; - /** Freeze a given foreign assetId */ + /** + * Freeze a given foreign assetId + **/ freezeForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1525,19 +1616,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, bool] >; - /** Unfreeze a given foreign assetId */ + /** + * Unfreeze a given foreign assetId + **/ unfreezeForeignAsset: AugmentedSubmittable< (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; identity: { /** * Accept a given username that an `authority` granted. The call must include the full * username, as in `username.suffix`. - */ + **/ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1550,7 +1645,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `account`: the account of the registrar. * * Emits `RegistrarAdded` if successful. - */ + **/ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1558,12 +1653,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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`. - */ + **/ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1585,7 +1680,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The authority can grant up to `allocation` usernames. To top up their allocation, they * should just issue (or request via governance) a new `add_username_authority` call. - */ + **/ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -1599,12 +1694,13 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. + * 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. - */ + **/ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1614,25 +1710,26 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * Emits `IdentityCleared` if successful. - */ + **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * 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`. + * `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. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * * Emits `IdentityKilled` if successful. - */ + **/ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1640,19 +1737,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. + * - `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 [`IdentityInformationProvider`] for that the judgement is provided. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is + * provided. * * Note: Judgements do not apply to a username. * * Emits `JudgementGiven` if successful. - */ + **/ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1675,29 +1773,29 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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). + * 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. - */ + **/ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a username that corresponds to an account with no identity. Exists when a user gets - * a username but then calls `clear_identity`. - */ + * Remove a username that corresponds to an account with no identity. Exists when a user + * gets a username but then calls `clear_identity`. + **/ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** * Remove an expired username approval. The username was approved by an authority but never - * accepted by the user and must now be beyond its expiration. The call must include the full - * username, as in `username.suffix`. - */ + * accepted by the user and must now be beyond its expiration. The call must include the + * full username, as in `username.suffix`. + **/ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1705,17 +1803,19 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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`. - */ + **/ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove `authority` from the username authorities. */ + /** + * Remove `authority` from the username authorities. + **/ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1725,7 +1825,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1745,19 +1845,21 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a judgement from a registrar. * - * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * 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. + * 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; + * Self::registrars().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. - */ + **/ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1768,12 +1870,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1784,12 +1886,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1800,12 +1902,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1816,15 +1918,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + **/ setIdentity: AugmentedSubmittable< ( info: @@ -1845,7 +1947,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** Set a given username as the primary. The username should include the suffix. */ + /** + * Set a given username as the primary. The username should include the suffix. + **/ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1853,13 +1957,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * - `subs`: The identity's (new) sub-accounts. - */ + **/ setSubs: AugmentedSubmittable< ( subs: @@ -1888,10 +1993,10 @@ declare module "@polkadot/api-base/types/submittable" { * accept them later. * * Usernames must: - * * - Only contain lowercase ASCII characters or digits. - * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. - */ + * - When combined with the suffix of the issuing authority be _less than_ the + * `MaxUsernameLength`. + **/ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1905,7 +2010,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, Option] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { @@ -1913,38 +2020,39 @@ declare module "@polkadot/api-base/types/submittable" { * Place the chain in maintenance mode * * Weight cost is: - * - * - One DB read to ensure we're not already in maintenance mode - * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event - */ + * * One DB read to ensure we're not already in maintenance mode + * * Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + **/ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Return the chain to normal operating mode * * Weight cost is: - * - * - One DB read to ensure we're in maintenance mode - * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event - */ + * * One DB read to ensure we're in maintenance mode + * * Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + **/ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { /** * Execute an overweight message. * - * Temporary processing errors will be propagated whereas permanent errors are treated as - * success condition. + * Temporary processing errors will be propagated whereas permanent errors are treated + * as success condition. * * - `origin`: Must be `Signed`. * - `message_origin`: The origin from which the message to be executed arrived. * - `page`: The page in the queue in which the message to be executed is sitting. * - `index`: The index into the queue of the message to be executed. - * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution + * of the message. * * Benchmark complexity considerations: O(index + weight_limit). - */ + **/ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1964,7 +2072,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** Remove a page which has no more messages remaining to be processed or is stale. */ + /** + * Remove a page which has no more messages remaining to be processed or is stale. + **/ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1978,7 +2088,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { @@ -2003,43 +2115,61 @@ declare module "@polkadot/api-base/types/submittable" { (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** Add a collator to orbiters program. */ + /** + * Add a collator to orbiters program. + **/ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Add an orbiter in a collator pool */ + /** + * Add an orbiter in a collator pool + **/ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove an orbiter from the caller collator pool */ + /** + * Remove an orbiter from the caller collator pool + **/ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove the caller from the specified collator pool */ + /** + * Remove the caller from the specified collator pool + **/ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Registering as an orbiter */ + /** + * Registering as an orbiter + **/ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Deregistering from orbiters */ + /** + * Deregistering from orbiters + **/ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Remove a collator from orbiters program. */ + /** + * Remove a collator from orbiters program. + **/ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; multisig: { @@ -2047,34 +2177,34 @@ declare module "@polkadot/api-base/types/submittable" { * Register approval for a dispatch to be made from a deterministic composite account if * approved by a total of `threshold - 1` of `other_signatories`. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call_hash`: The hash of the call to be executed. * * NOTE: If this is the final approval, you will want to use `as_multi` instead. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2101,41 +2231,41 @@ declare module "@polkadot/api-base/types/submittable" { * * If there are enough, then dispatch the call. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call`: The call to be executed. * - * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` - * instead, since it only requires a hash of the call. + * NOTE: Unless this is the final approval, you will generally want to use + * `approve_as_multi` instead, since it only requires a hash of the call. * - * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on - * success, result is `Ok` and the result from the interior call, if it was executed, may be - * found in the deposited `MultisigExecuted` event. + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise + * on success, result is `Ok` and the result from the interior call, if it was executed, + * may be found in the deposited `MultisigExecuted` event. * * ## Complexity - * * - `O(S + Z + Call)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. * - The weight of the `call`. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2162,15 +2292,14 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * - `other_signatories`: The accounts (other than the sender) who are part of the - * multi-signature, but do not participate in the approval process. + * multi-signature, but do not participate in the approval process. * - `call`: The call to be executed. * * Result is equivalent to the dispatched result. * * ## Complexity - * * O(Z + C) where Z is the length of the call and C its execution weight. - */ + **/ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -2179,29 +2308,28 @@ declare module "@polkadot/api-base/types/submittable" { [Vec, Call] >; /** - * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for - * this operation will be unreserved on success. + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously + * for this operation will be unreserved on success. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. * - `timepoint`: The timepoint (block number and transaction index) of the first approval - * transaction for this dispatch. + * transaction for this dispatch. * - `call_hash`: The hash of the call to be executed. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - One event. * - I/O: 1 read `O(S)`, one remove. * - Storage: removes one item. - */ + **/ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2211,7 +2339,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, PalletMultisigTimepoint, U8aFixed] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { @@ -2220,27 +2350,27 @@ declare module "@polkadot/api-base/types/submittable" { * * 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 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 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. + * 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. + * + `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) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2255,18 +2385,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * 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. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2277,12 +2406,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2295,18 +2423,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `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: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2320,27 +2447,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `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. + * - `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. + * 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. + * 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) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2354,13 +2481,12 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. - * + * 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) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2369,37 +2495,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** Cancel pending request to adjust the collator candidate self bond */ + /** + * Cancel pending request to adjust the collator candidate self bond + **/ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Cancel request to change an existing delegation. */ + /** + * Cancel request to change an existing delegation. + **/ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; /** * Cancel open request to leave candidates - * - * - Only callable by collator account - * - Result upon successful call is the candidate is active in the candidate pool - */ + * - only callable by collator account + * - result upon successful call is the candidate is active in the candidate pool + **/ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Increase collator candidate self bond by `more` */ + /** + * Increase collator candidate self bond by `more` + **/ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** - * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, - * then join the set of delegators If caller is a delegator, then makes delegation to change - * their delegation state - */ + * DEPRECATED use delegateWithAutoCompound + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + **/ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2410,10 +2543,10 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128, u32, u32] >; /** - * If caller is not a delegator and not a collator, then join the set of delegators If caller - * is a delegator, then makes delegation to change their delegation state Sets the - * auto-compound config for the delegation - */ + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + * Sets the auto-compound config for the delegation + **/ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2425,7 +2558,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** Bond more for delegators wrt a specific collator candidate. */ + /** + * Bond more for delegators wrt a specific collator candidate. + **/ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2433,17 +2568,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** Enable/Disable marking offline feature */ + /** + * Enable/Disable marking offline feature + **/ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** Execute pending request to adjust the collator candidate self bond */ + /** + * Execute pending request to adjust the collator candidate self bond + **/ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Execute pending request to change an existing delegation */ + /** + * Execute pending request to change an existing delegation + **/ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -2451,7 +2592,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** Execute leave candidates request */ + /** + * Execute leave candidates request + **/ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2459,7 +2602,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** Force join the set of collator candidates. It will skip the minimum required bond check. */ + /** + * Force join the set of collator candidates. + * It will skip the minimum required bond check. + **/ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -2468,18 +2614,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** Temporarily leave the set of collator candidates without unbonding */ + /** + * Temporarily leave the set of collator candidates without unbonding + **/ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Rejoin the set of collator candidates if previously had called `go_offline` */ + /** + * Rejoin the set of collator candidates if previously had called `go_offline` + **/ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Hotfix to remove existing empty entries for candidates that have left. */ + /** + * Hotfix to remove existing empty entries for candidates that have left. + **/ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Join the set of collator candidates */ + /** + * Join the set of collator candidates + **/ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -2487,27 +2641,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Notify a collator is inactive during MaxOfflineRounds */ + /** + * Notify a collator is inactive during MaxOfflineRounds + **/ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** REMOVED, was schedule_leave_delegators */ + /** + * REMOVED, was schedule_leave_delegators + **/ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was execute_leave_delegators */ + /** + * REMOVED, was execute_leave_delegators + **/ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was cancel_leave_delegators */ + /** + * REMOVED, was cancel_leave_delegators + **/ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Request by collator candidate to decrease self bond by `less` */ + /** + * Request by collator candidate to decrease self bond by `less` + **/ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** * Request bond less for delegators wrt a specific collator candidate. The delegation's - * rewards for rounds while the request is pending use the reduced bonded amount. A bond less - * may not be performed if any other scheduled request is pending. - */ + * rewards for rounds while the request is pending use the reduced bonded amount. + * A bond less may not be performed if any other scheduled request is pending. + **/ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2516,24 +2680,26 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128] >; /** - * Request to leave the set of candidates. If successful, the account is immediately removed - * from the candidate pool to prevent selection as a collator. - */ + * Request to leave the set of candidates. If successful, the account is immediately + * removed from the candidate pool to prevent selection as a collator. + **/ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Request to revoke an existing delegation. If successful, the delegation is scheduled to be - * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation - * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed - * if any other scheduled request is pending. - */ + * Request to revoke an existing delegation. If successful, the delegation is scheduled + * to be allowed to be revoked via the `execute_delegation_request` extrinsic. + * The delegation receives no rewards for the rounds while a revoke is pending. + * A revoke may not be performed if any other scheduled request is pending. + **/ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Sets the auto-compounding reward percentage for a delegation. */ + /** + * Sets the auto-compounding reward percentage for a delegation. + **/ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2545,20 +2711,24 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set blocks per round - * - * - If called with `new` less than length of current round, will transition immediately in the next block - * - Also updates per-round inflation config - */ + * - if called with `new` less than length of current round, will transition immediately + * in the next block + * - also updates per-round inflation config + **/ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Set the commission for all collators */ + /** + * Set the commission for all collators + **/ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** Set the annual inflation rate to derive per-round inflation */ + /** + * Set the annual inflation rate to derive per-round inflation + **/ setInflation: AugmentedSubmittable< ( schedule: @@ -2579,7 +2749,9 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** Set the inflation distribution configuration. */ + /** + * Set the inflation distribution configuration. + **/ setInflationDistributionConfig: AugmentedSubmittable< ( updated: PalletParachainStakingInflationDistributionConfig @@ -2590,7 +2762,7 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the account that will hold funds set aside for parachain bond - */ + **/ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -2599,15 +2771,15 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the percent of inflation set aside for parachain bond - */ + **/ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; /** - * Set the expectations for total staked. These expectations determine the issuance for the - * round according to logic in `fn compute_issuance` - */ + * Set the expectations for total staked. These expectations determine the issuance for + * the round according to logic in `fn compute_issuance` + **/ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -2630,26 +2802,28 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set the total number of collator candidates selected per round - * - * - Changes are not applied until the start of the next round - */ + * - changes are not applied until the start of the next round + **/ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * 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. + * 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. - */ + **/ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -2660,14 +2834,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + **/ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -2675,14 +2849,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. + **/ setValidationData: AugmentedSubmittable< ( data: @@ -2702,7 +2876,9 @@ declare module "@polkadot/api-base/types/submittable" { (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parameters: { @@ -2711,7 +2887,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be * deleted by setting them to `None`. - */ + **/ setParameter: AugmentedSubmittable< ( keyValue: @@ -2723,7 +2899,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbeamRuntimeRuntimeParamsRuntimeParameters] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { @@ -2731,10 +2909,10 @@ declare module "@polkadot/api-base/types/submittable" { * Claims assets trapped on this pallet because of leftover assets during XCM execution. * * - `origin`: Anyone can call this extrinsic. - * - `assets`: The exact assets that were trapped. Use the version to specify what version was - * the latest when they were trapped. + * - `assets`: The exact assets that were trapped. Use the version to specify what version + * was the latest when they were trapped. * - `beneficiary`: The location/account where the claimed assets will be deposited. - */ + **/ claimAssets: AugmentedSubmittable< ( assets: @@ -2757,12 +2935,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Execute an XCM message from a local, signed, origin. * - * An event is deposited indicating whether `msg` could be executed completely or only partially. + * 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. - */ + * 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. + **/ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2780,7 +2959,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. - */ + **/ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber @@ -2792,7 +2971,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we should subscribe for XCM version notifications. - */ + **/ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2810,18 +2989,19 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `suspended`: `true` to suspend, `false` to resume. - */ + **/ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; /** - * Require that a particular destination should no longer notify us regarding any XCM version changes. + * 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. - */ + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2835,12 +3015,13 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation] >; /** - * Extoll that a particular destination can be communicated with through a particular version of XCM. + * 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: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -2853,30 +3034,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * - * 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 sent assets may be at risk. + * 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 sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `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: @@ -2913,20 +3097,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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 sent assets may be at risk. + * 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 sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `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: @@ -2965,31 +3152,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** * - * 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. + * 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 `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -3035,19 +3224,21 @@ declare module "@polkadot/api-base/types/submittable" { * * **This function is deprecated: Use `limited_teleport_assets` instead.** * - * 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. + * 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 `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ teleportAssets: AugmentedSubmittable< ( dest: @@ -3079,33 +3270,37 @@ declare module "@polkadot/api-base/types/submittable" { * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve, or through teleports. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item` (hence referred to as `fees`), 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 - * sent assets may be at risk. - * - * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to - * `dest`, no limitations imposed on `fees`. - * - * - For local reserve: transfer assets to sovereign account of destination chain and forward a - * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - For destination reserve: burn local assets and forward a notification to `dest` chain to - * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. - * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from - * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and - * deposit reserve-based assets to `beneficiary`. - * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets - * and deposit them to `beneficiary`. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item` (hence referred to as `fees`), 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 sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable + * to `dest`, no limitations imposed on `fees`. + * - for local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to + * `beneficiary`. + * - for destination reserve: burn local assets and forward a notification to `dest` chain + * to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves + * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint + * and deposit reserve-based assets to `beneficiary`. + * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport + * assets and deposit them to `beneficiary`. + * * - `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. + * - `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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `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. - */ + **/ transferAssets: AugmentedSubmittable< ( dest: @@ -3140,53 +3335,55 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; /** - * Transfer assets from the local chain to the destination chain using explicit transfer types - * for assets and fees. + * Transfer assets from the local chain to the destination chain using explicit transfer + * types for assets and fees. * * `assets` must have same reserve location or may be teleportable to `dest`. Caller must * provide the `assets_transfer_type` to be used for `assets`: - * - * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. - * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain - * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to - * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote - * `reserve` is Asset Hub. + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` + * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another + * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically + * the remote `reserve` is Asset Hub. * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to - * mint/teleport assets and deposit them to `beneficiary`. + * mint/teleport assets and deposit them to `beneficiary`. * - * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy - * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of - * the specified `remote_fees_id` asset is included in the given list of `assets`. - * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than - * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to + * buy execution using transferred `assets` identified by `remote_fees_id`. + * Make sure enough of the specified `remote_fees_id` asset is included in the given list + * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * - * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified - * through `fees_transfer_type`. + * `remote_fees_id` may use different transfer type than rest of `assets` and can be + * specified through `fees_transfer_type`. * * The caller needs to specify what should happen to the transferred assets once they reach - * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains - * the instructions to execute on `dest` as a final step. This is usually as simple as: - * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but - * could be something more exotic like sending the `assets` even further. + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which + * contains the instructions to execute on `dest` as a final step. + * This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, + * but could be something more exotic like sending the `assets` even further. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, - * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to - * another ecosystem destination. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from + * parachain across a bridge to another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. * - `remote_fees_id`: One of the included `assets` to be used to pay fees. * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the - * transfer, which also determines what happens to the assets on the destination chain. + * transfer, which also determines what happens to the assets on the destination chain. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssetsUsingTypeAndThen: AugmentedSubmittable< ( dest: @@ -3244,7 +3441,9 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; preimage: { @@ -3252,7 +3451,7 @@ declare module "@polkadot/api-base/types/submittable" { * Ensure that the a bulk of pre-images is upgraded. * * The caller pays no fee if at least 90% of pre-images were successfully updated. - */ + **/ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3260,9 +3459,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * 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. + **/ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3270,9 +3469,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * 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. + **/ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3284,7 +3483,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `hash`: The hash of the preimage to be removed from the store. * - `len`: The length of the preimage of `hash`. - */ + **/ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3293,12 +3492,14 @@ declare module "@polkadot/api-base/types/submittable" { * Clear a previously made request for a preimage. * * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. - */ + **/ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; proxy: { @@ -3308,11 +3509,11 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to make a proxy. * - `proxy_type`: The permissions allowed for this proxy account. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. - */ + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + **/ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3335,8 +3536,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Publish the hash of a proxy-call that will be made in the future. * - * This must be called some number of blocks before the corresponding `proxy` is attempted if - * the delay associated with the proxy relationship is greater than zero. + * This must be called some number of blocks before the corresponding `proxy` is attempted + * if the delay associated with the proxy relationship is greater than zero. * * No more than `MaxPending` announcements may be made at any one time. * @@ -3346,10 +3547,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_ and a proxy of `real`. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3358,24 +3558,25 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, H256] >; /** - * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize - * it with a proxy of `proxy_type` for `origin` sender. + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and + * initialize it with a proxy of `proxy_type` for `origin` sender. * * Requires a `Signed` origin. * - * - `proxy_type`: The type of the proxy that the sender will be registered as over the new - * account. This will almost always be the most permissive `ProxyType` possible to allow for - * maximum flexibility. + * - `proxy_type`: The type of the proxy that the sender will be registered as over the + * new account. This will almost always be the most permissive `ProxyType` possible to + * allow for maximum flexibility. * - `index`: A disambiguation index, in case this is called multiple times in the same - * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just - * want to use `0`. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. * - * Fails with `Duplicate` if this has already been called in this transaction, from the same - * sender, with the same parameters. + * Fails with `Duplicate` if this has already been called in this transaction, from the + * same sender, with the same parameters. * * Fails if there are insufficient funds to pay for deposit. - */ + **/ createPure: AugmentedSubmittable< ( proxyType: @@ -3398,7 +3599,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Removes a previously spawned pure proxy. * - * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * WARNING: **All access to this account will be lost.** Any funds held in it will be + * inaccessible. * * Requires a `Signed` origin, and the sender account must have been created by a call to * `pure` with corresponding parameters. @@ -3409,9 +3611,9 @@ declare module "@polkadot/api-base/types/submittable" { * - `height`: The height of the chain when the call to `pure` was processed. * - `ext_index`: The extrinsic index in which the call to `pure` was processed. * - * Fails with `NoPermission` in case the caller is not a previously created pure account whose - * `pure` call has corresponding parameters. - */ + * Fails with `NoPermission` in case the caller is not a previously created pure + * account whose `pure` call has corresponding parameters. + **/ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -3434,16 +3636,16 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, MoonbeamRuntimeProxyType, u16, Compact, Compact] >; /** - * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorised for through + * `add_proxy`. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3466,18 +3668,18 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Option, Call] >; /** - * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. * * Removes any corresponding announcement(s). * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3509,10 +3711,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `delegate`: The account that previously announced the call. * - `call_hash`: The hash of the call to be made. - */ + **/ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3523,15 +3724,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove a given announcement. * - * May be called by a proxy account to remove a call they previously announced and return the deposit. + * May be called by a proxy account to remove a call they previously announced and return + * the deposit. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3544,9 +3745,9 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_. * - * WARNING: This may be called on accounts created by `pure`, however if done, then the - * unreserved fees will be inaccessible. **All access to this account will be lost.** - */ + * WARNING: This may be called on accounts created by `pure`, however if done, then + * the unreserved fees will be inaccessible. **All access to this account will be lost.** + **/ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Unregister a proxy account for the sender. @@ -3554,10 +3755,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to remove as a proxy. * - `proxy_type`: The permissions currently enabled for the removed proxy account. - */ + **/ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3577,13 +3777,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonbeamRuntimeProxyType, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ + /** + * Populates `RandomnessResults` due this epoch with BABE epoch randomness + **/ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; referenda: { @@ -3594,7 +3800,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Cancelled`. - */ + **/ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3606,7 +3812,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Killed` and `DepositSlashed`. - */ + **/ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3616,7 +3822,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: must be `Root`. * - `index`: the referendum to be advanced. - */ + **/ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3629,10 +3835,9 @@ declare module "@polkadot/api-base/types/submittable" { * * 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`. - */ + * - begin deciding another referendum (and leave `DecidingCount` alone); or + * - decrement `DecidingCount`. + **/ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] @@ -3640,12 +3845,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * - `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`. - */ + **/ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3654,10 +3860,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been + * refunded. * * Emits `DecisionDepositRefunded`. - */ + **/ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3666,10 +3873,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been + * refunded. * * Emits `SubmissionDepositRefunded`. - */ + **/ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3678,12 +3886,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `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. - */ + **/ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -3694,13 +3901,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Propose a referendum on a privileged action. * - * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `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`. - */ + **/ submit: AugmentedSubmittable< ( proposalOrigin: @@ -3736,21 +3944,29 @@ declare module "@polkadot/api-base/types/submittable" { FrameSupportScheduleDispatchTime ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** A dispatch that will fill the block weight up to the given ratio. */ + /** + * A dispatch that will fill the block weight up to the given ratio. + **/ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** Cancel an anonymously scheduled task. */ + /** + * Cancel an anonymously scheduled task. + **/ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3758,24 +3974,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** Cancel a named scheduled task. */ + /** + * Cancel a named scheduled task. + **/ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Removes the retry configuration of a task. */ + /** + * Removes the retry configuration of a task. + **/ cancelRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] ) => SubmittableExtrinsic, [ITuple<[u32, u32]>] >; - /** Cancel the retry configuration of a named task. */ + /** + * Cancel the retry configuration of a named task. + **/ cancelRetryNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Anonymously schedule a task. */ + /** + * Anonymously schedule a task. + **/ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3790,7 +4014,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Anonymously schedule a task after a delay. */ + /** + * Anonymously schedule a task after a delay. + **/ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -3805,7 +4031,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Schedule a named task. */ + /** + * Schedule a named task. + **/ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3821,7 +4049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** Schedule a named task after a delay. */ + /** + * Schedule a named task after a delay. + **/ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3838,17 +4068,19 @@ declare module "@polkadot/api-base/types/submittable" { [U8aFixed, u32, Option>, u8, Call] >; /** - * Set a retry configuration for a task so that, in case its scheduled run fails, it will be - * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * Set a retry configuration for a task so that, in case its scheduled run fails, it will + * be retried after `period` blocks, for a total amount of `retries` retries or until it + * succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], @@ -3859,16 +4091,18 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set a retry configuration for a named task so that, in case its scheduled run fails, it - * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * will be retried after `period` blocks, for a total amount of `retries` retries or until + * it succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetryNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3877,43 +4111,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u8, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; system: { /** * 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. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * - * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the - * new `code` in the same block or attempt to schedule the upgrade. + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply + * the new `code` in the same block or attempt to schedule the upgrade. * * All origins are allowed. - */ + **/ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * WARNING: This authorizes an upgrade that will take place without any safety checks, for * example that the spec name remains the same and that the version number increases. Not * recommended for normal use. Use `authorize_upgrade` instead. * * This call requires Root origin. - */ + **/ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3921,9 +4159,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * **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. + **/ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -3931,7 +4169,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** Kill some items from storage. */ + /** + * Kill some items from storage. + **/ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3940,17 +4180,21 @@ declare module "@polkadot/api-base/types/submittable" { * Make some on-chain remark. * * Can be executed by every `origin`. - */ + **/ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Make some on-chain remark and emit event. */ + /** + * Make some on-chain remark and emit event. + **/ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the new runtime code. */ + /** + * Set the new runtime code. + **/ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3958,18 +4202,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the new runtime code without doing any checks of the given `code`. * - * Note that runtime upgrades will not run if this is called with a not-increasing spec version! - */ + * Note that runtime upgrades will not run if this is called with a not-increasing spec + * version! + **/ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the number of pages in the WebAssembly environment's heap. */ + /** + * Set the number of pages in the WebAssembly environment's heap. + **/ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** Set some items of storage. */ + /** + * Set some items of storage. + **/ setStorage: AugmentedSubmittable< ( items: @@ -3978,7 +4227,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; timestamp: { @@ -3993,21 +4244,23 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _None_. * - * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that - * changing the complexity of this call could result exhausting the resources in a block to - * execute any other calls. + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware + * that changing the complexity of this call could result exhausting the resources in a + * block to execute any other calls. * * ## 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 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)`. - */ + **/ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasury: { @@ -4020,19 +4273,18 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Details * - * The status check is a prerequisite for retrying a failed payout. If a spend has either - * succeeded or expired, it is removed from the storage by this function. In such instances, - * transaction fees are refunded. + * The status check is a prerequisite for retrying a failed payout. + * If a spend has either succeeded or expired, it is removed from the storage by this + * function. In such instances, transaction fees are refunded. * * ### Parameters - * * - `index`: The spend index. * * ## Events * - * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits - * [`Event::SpendProcessed`] if the spend payout has succeed. - */ + * Emits [`Event::PaymentFailed`] if the spend payout has failed. + * Emits [`Event::SpendProcessed`] if the spend payout has succeed. + **/ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4047,18 +4299,17 @@ declare module "@polkadot/api-base/types/submittable" { * ## Details * * Spends must be claimed within some temporal bounds. A spend may be claimed within one - * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the - * spend status must be updated with the `check_status` dispatchable before retrying with the - * current function. + * [`Config::PayoutPeriod`] from the `valid_from` block. + * In case of a payout failure, the spend status must be updated with the `check_status` + * dispatchable before retrying with the current function. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::Paid`] if successful. - */ + **/ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4075,19 +4326,17 @@ declare module "@polkadot/api-base/types/submittable" { * The original deposit will no longer be returned. * * ### Parameters - * * - `proposal_id`: The index of a proposal * * ### Complexity - * * - O(A) where `A` is the number of approvals * * ### Errors - * - * - [`Error::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. - */ + * - [`Error::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. + **/ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -4097,9 +4346,9 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Dispatch Origin * - * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of - * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion - * using the [`Config::BalanceConverter`]. + * Must be [`Config::SpendOrigin`] with the `Success` value being at least + * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted + * for assertion using the [`Config::BalanceConverter`]. * * ## Details * @@ -4108,18 +4357,18 @@ declare module "@polkadot/api-base/types/submittable" { * the [`Config::PayoutPeriod`]. * * ### Parameters - * * - `asset_kind`: An indicator of the specific asset class to be spent. * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The beneficiary of the spend. - * - `valid_from`: The block number from which the spend can be claimed. It can refer to the - * past if the resulting spend has not yet expired according to the - * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to + * the past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after + * approval. * * ## Events * * Emits [`Event::AssetSpendApproved`] if successful. - */ + **/ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -4137,18 +4386,17 @@ declare module "@polkadot/api-base/types/submittable" { * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. * * ### Details - * - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. * * ### Parameters - * * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The destination account for the transfer. * * ## Events * * Emits [`Event::SpendApproved`] if successful. - */ + **/ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -4168,18 +4416,19 @@ declare module "@polkadot/api-base/types/submittable" { * A spend void is only possible if the payout has not been attempted yet. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::AssetSpendVoided`] if successful. - */ + **/ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { @@ -4188,27 +4437,27 @@ declare module "@polkadot/api-base/types/submittable" { * * 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 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 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. + * 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. + * + `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) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -4223,18 +4472,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * 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. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -4245,12 +4493,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -4263,18 +4510,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `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: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -4288,27 +4534,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `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. + * - `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. + * 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. + * 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) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -4322,13 +4568,12 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. - * + * 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) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -4337,25 +4582,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; utility: { /** * Send a call through an indexed pseudonym of the sender. * - * Filter from origin are passed along. The call will be dispatched with an origin which use - * the same filter as the origin of this call. + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. * - * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because - * you expect `proxy` to have been used prior in the call stack and you do not want the call - * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig - * pallet instead. + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. * * NOTE: Prior to version *12, this was called `as_limited_sub`. * * The dispatch origin for this call must be _Signed_. - */ + **/ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -4369,20 +4616,20 @@ declare module "@polkadot/api-base/types/submittable" { * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. * - * This will return `Ok` in all circumstances. To determine the success of the batch, an event - * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` - * event is deposited, along with the number of successful calls made and the error of the - * failed call. If all were successful, then the `BatchCompleted` event is deposited. - */ + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. + **/ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4390,21 +4637,20 @@ declare module "@polkadot/api-base/types/submittable" { [Vec] >; /** - * Send a batch of dispatch calls and atomically execute them. The whole transaction will - * rollback and fail if any of the calls failed. + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4417,9 +4663,8 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Root_. * * ## Complexity - * * - O(1). - */ + **/ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -4440,20 +4685,20 @@ declare module "@polkadot/api-base/types/submittable" { [MoonbeamRuntimeOriginCaller, Call] >; /** - * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatch without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4463,11 +4708,11 @@ declare module "@polkadot/api-base/types/submittable" { /** * Dispatch a function call with a specified weight. * - * This function does not check the weight of the call, and instead allows the Root origin to - * specify the weight of the call. + * This function does not check the weight of the call, and instead allows the + * Root origin to specify the weight of the call. * * The dispatch origin for this call must be _Root_. - */ + **/ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -4475,7 +4720,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; whitelist: { @@ -4503,19 +4750,23 @@ declare module "@polkadot/api-base/types/submittable" { (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { /** * De-Register a derivative index. This prevents an account to use a derivative address * (represented by an index) from our of our sovereign accounts anymore - */ + **/ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** Manage HRMP operations */ + /** + * Manage HRMP operations + **/ hrmpManage: AugmentedSubmittable< ( action: @@ -4544,14 +4795,15 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * Register a derivative index for an account id. Dispatchable by + * DerivativeAddressRegistrationOrigin * - * We do not store the derivative address, but only the index. We do not need to store the - * derivative address to issue calls, only the index is enough + * We do not store the derivative address, but only the index. We do not need to store + * the derivative address to issue calls, only the index is enough * - * For now an index is registered for all possible destinations and not per-destination. We - * can change this in the future although it would just make things more complicated - */ + * For now an index is registered for all possible destinations and not per-destination. + * We can change this in the future although it would just make things more complicated + **/ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -4559,7 +4811,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** Remove the fee per second of an asset on its reserve chain */ + /** + * Remove the fee per second of an asset on its reserve chain + **/ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4572,7 +4826,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Remove the transact info of a location */ + /** + * Remove the transact info of a location + **/ removeTransactInfo: AugmentedSubmittable< ( location: @@ -4585,7 +4841,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Set the fee per second of an asset on its reserve chain */ + /** + * Set the fee per second of an asset on its reserve chain + **/ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4599,7 +4857,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** Change the transact info of a location */ + /** + * Change the transact info of a location + **/ setTransactInfo: AugmentedSubmittable< ( location: @@ -4635,12 +4895,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the inner call through a derivative account in a destination chain, using - * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * Transact the inner call through a derivative account in a destination chain, + * using 'fee_location' to pay for the fees. This fee_location is given as a multilocation * - * The caller needs to have the index registered in this pallet. The fee multiasset needs to - * be a reserve asset for the destination transactor::multilocation. - */ + * The caller needs to have the index registered in this pallet. The fee multiasset needs + * to be a reserve asset for the destination transactor::multilocation. + **/ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonbeamRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -4668,12 +4928,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the a signed origin in this chain that should be converted to a - * transaction dispatch account in the destination chain by any method implemented in the - * destination chains runtime + * Transact the call through the a signed origin in this chain + * that should be converted to a transaction dispatch account in the destination chain + * by any method implemented in the destination chains runtime * * This time we are giving the currency as a currencyId instead of multilocation - */ + **/ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -4705,10 +4965,11 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * Transact the call through the sovereign account in a destination chain, + * 'fee_payer' pays for the fee * * SovereignAccountDispatcherOrigin callable only - */ + **/ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -4750,7 +5011,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmWeightTrader: { @@ -4786,7 +5049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; } // AugmentedSubmittables diff --git a/typescript-api/src/moonbeam/interfaces/augment-types.ts b/typescript-api/src/moonbeam/interfaces/augment-types.ts index 78a1a1dfc4..69009fb9c5 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-types.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-types.ts @@ -48,7 +48,7 @@ import type { u32, u64, u8, - usize, + usize } from "@polkadot/types-codec"; import type { TAssetConversion } from "@polkadot/types/interfaces/assetConversion"; import type { @@ -59,12 +59,12 @@ import type { AssetDetails, AssetMetadata, TAssetBalance, - TAssetDepositBalance, + TAssetDepositBalance } from "@polkadot/types/interfaces/assets"; import type { BlockAttestations, IncludedBlocks, - MoreAttestations, + MoreAttestations } from "@polkadot/types/interfaces/attestations"; import type { RawAuraPreDigest } from "@polkadot/types/interfaces/aura"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -97,7 +97,7 @@ import type { SlotNumber, VrfData, VrfOutput, - VrfProof, + VrfProof } from "@polkadot/types/interfaces/babe"; import type { AccountData, @@ -108,7 +108,7 @@ import type { ReserveData, ReserveIdentifier, VestingSchedule, - WithdrawReasons, + WithdrawReasons } from "@polkadot/types/interfaces/balances"; import type { BeefyAuthoritySet, @@ -124,7 +124,7 @@ import type { BeefyVoteMessage, MmrRootHash, ValidatorSet, - ValidatorSetId, + ValidatorSetId } from "@polkadot/types/interfaces/beefy"; import type { BenchmarkBatch, @@ -132,12 +132,12 @@ import type { BenchmarkList, BenchmarkMetadata, BenchmarkParameter, - BenchmarkResult, + BenchmarkResult } from "@polkadot/types/interfaces/benchmark"; import type { CheckInherentsResult, InherentData, - InherentIdentifier, + InherentIdentifier } from "@polkadot/types/interfaces/blockbuilder"; import type { BridgeMessageId, @@ -164,7 +164,7 @@ import type { Parameter, RelayerId, UnrewardedRelayer, - UnrewardedRelayersState, + UnrewardedRelayersState } from "@polkadot/types/interfaces/bridges"; import type { BlockHash } from "@polkadot/types/interfaces/chain"; import type { PrefixedStorageKey } from "@polkadot/types/interfaces/childstate"; @@ -174,7 +174,7 @@ import type { MemberCount, ProposalIndex, Votes, - VotesTo230, + VotesTo230 } from "@polkadot/types/interfaces/collective"; import type { AuthorityId, RawVRFOutput } from "@polkadot/types/interfaces/consensus"; import type { @@ -225,7 +225,7 @@ import type { SeedOf, StorageDeposit, TombstoneContractInfo, - TrieId, + TrieId } from "@polkadot/types/interfaces/contracts"; import type { ContractConstructorSpecLatest, @@ -283,13 +283,13 @@ import type { ContractProjectV0, ContractSelector, ContractStorageLayout, - ContractTypeSpec, + ContractTypeSpec } from "@polkadot/types/interfaces/contractsAbi"; import type { FundIndex, FundInfo, LastContribution, - TrieIndex, + TrieIndex } from "@polkadot/types/interfaces/crowdloan"; import type { CollationInfo, @@ -298,7 +298,7 @@ import type { MessageId, OverweightIndex, PageCounter, - PageIndexData, + PageIndexData } from "@polkadot/types/interfaces/cumulus"; import type { AccountVote, @@ -321,7 +321,7 @@ import type { Voting, VotingDelegating, VotingDirect, - VotingDirectVote, + VotingDirectVote } from "@polkadot/types/interfaces/democracy"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { @@ -329,7 +329,7 @@ import type { DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { ApprovalFlag, @@ -339,7 +339,7 @@ import type { Vote, VoteIndex, VoteThreshold, - VoterInfo, + VoterInfo } from "@polkadot/types/interfaces/elections"; import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; import type { @@ -389,7 +389,7 @@ import type { LegacyTransaction, TransactionV0, TransactionV1, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, @@ -404,7 +404,7 @@ import type { ExitFatal, ExitReason, ExitRevert, - ExitSucceed, + ExitSucceed } from "@polkadot/types/interfaces/evm"; import type { AnySignature, @@ -428,7 +428,7 @@ import type { MultiSignature, Signature, SignerPayload, - Sr25519Signature, + Sr25519Signature } from "@polkadot/types/interfaces/extrinsics"; import type { FungiblesAccessError } from "@polkadot/types/interfaces/fungibles"; import type { @@ -436,14 +436,14 @@ import type { Owner, PermissionLatest, PermissionVersions, - PermissionsV1, + PermissionsV1 } from "@polkadot/types/interfaces/genericAsset"; import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder"; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, - GiltBid, + GiltBid } from "@polkadot/types/interfaces/gilt"; import type { AuthorityIndex, @@ -477,7 +477,7 @@ import type { RoundState, SetId, StoredPendingChange, - StoredState, + StoredState } from "@polkadot/types/interfaces/grandpa"; import type { IdentityFields, @@ -489,7 +489,7 @@ import type { RegistrarInfo, Registration, RegistrationJudgement, - RegistrationTo198, + RegistrationTo198 } from "@polkadot/types/interfaces/identity"; import type { AuthIndex, @@ -498,7 +498,7 @@ import type { HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, - OpaquePeerId, + OpaquePeerId } from "@polkadot/types/interfaces/imOnline"; import type { CallIndex, LotteryConfig } from "@polkadot/types/interfaces/lottery"; import type { @@ -612,13 +612,13 @@ import type { StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, - StorageMetadataV9, + StorageMetadataV9 } from "@polkadot/types/interfaces/metadata"; import type { Mixnode, MixnodesErr, SessionPhase, - SessionStatus, + SessionStatus } from "@polkadot/types/interfaces/mixnet"; import type { MmrBatchProof, @@ -629,7 +629,7 @@ import type { MmrLeafIndex, MmrLeafProof, MmrNodeIndex, - MmrProof, + MmrProof } from "@polkadot/types/interfaces/mmr"; import type { NftCollectionId, NftItemId } from "@polkadot/types/interfaces/nfts"; import type { NpApiError, NpPoolId } from "@polkadot/types/interfaces/nompools"; @@ -641,7 +641,7 @@ import type { Offender, OpaqueTimeSlot, ReportIdOf, - Reporter, + Reporter } from "@polkadot/types/interfaces/offences"; import type { AbridgedCandidateReceipt, @@ -782,20 +782,20 @@ import type { WinnersDataTuple10, WinningData, WinningData10, - WinningDataEntry, + WinningDataEntry } from "@polkadot/types/interfaces/parachains"; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, - RuntimeDispatchInfoV2, + RuntimeDispatchInfoV2 } from "@polkadot/types/interfaces/payment"; import type { Approvals } from "@polkadot/types/interfaces/poll"; import type { ProxyAnnouncement, ProxyDefinition, - ProxyType, + ProxyType } from "@polkadot/types/interfaces/proxy"; import type { AccountStatus, AccountValidity } from "@polkadot/types/interfaces/purchase"; import type { ActiveRecovery, RecoveryConfig } from "@polkadot/types/interfaces/recovery"; @@ -901,7 +901,7 @@ import type { WeightMultiplier, WeightV0, WeightV1, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { Si0Field, @@ -949,7 +949,7 @@ import type { SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, - SiVariant, + SiVariant } from "@polkadot/types/interfaces/scaleInfo"; import type { Period, @@ -958,7 +958,7 @@ import type { SchedulePriority, Scheduled, ScheduledTo254, - TaskAddress, + TaskAddress } from "@polkadot/types/interfaces/scheduler"; import type { BeefyKey, @@ -982,7 +982,7 @@ import type { SessionKeys8B, SessionKeys9, SessionKeys9B, - ValidatorCount, + ValidatorCount } from "@polkadot/types/interfaces/session"; import type { Bid, @@ -990,7 +990,7 @@ import type { SocietyJudgement, SocietyVote, StrikeCount, - VouchingStatus, + VouchingStatus } from "@polkadot/types/interfaces/society"; import type { ActiveEraInfo, @@ -1060,7 +1060,7 @@ import type { ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, - Voter, + Voter } from "@polkadot/types/interfaces/staking"; import type { ApiId, @@ -1079,12 +1079,12 @@ import type { SpecVersion, StorageChangeSet, TraceBlockResponse, - TraceError, + TraceError } from "@polkadot/types/interfaces/state"; import type { StatementStoreInvalidStatement, StatementStoreStatementSource, - StatementStoreValidStatement, + StatementStoreValidStatement } from "@polkadot/types/interfaces/statement"; import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; import type { @@ -1151,7 +1151,7 @@ import type { TransactionValidityError, TransactionalError, UnknownTransaction, - WeightPerClass, + WeightPerClass } from "@polkadot/types/interfaces/system"; import type { Bounty, @@ -1164,13 +1164,13 @@ import type { OpenTipFinderTo225, OpenTipTip, OpenTipTo225, - TreasuryProposal, + TreasuryProposal } from "@polkadot/types/interfaces/treasury"; import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; import type { TransactionSource, TransactionValidity, - ValidTransaction, + ValidTransaction } from "@polkadot/types/interfaces/txqueue"; import type { ClassDetails, @@ -1181,7 +1181,7 @@ import type { DestroyWitness, InstanceDetails, InstanceId, - InstanceMetadata, + InstanceMetadata } from "@polkadot/types/interfaces/uniques"; import type { Multisig, Timepoint } from "@polkadot/types/interfaces/utility"; import type { VestingInfo } from "@polkadot/types/interfaces/vesting"; @@ -1319,7 +1319,7 @@ import type { XcmV3, XcmV4, XcmVersion, - XcmpMessageFormat, + XcmpMessageFormat } from "@polkadot/types/interfaces/xcm"; import type { XcmPaymentApiError } from "@polkadot/types/interfaces/xcmPaymentApi"; import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; diff --git a/typescript-api/src/moonbeam/interfaces/lookup.ts b/typescript-api/src/moonbeam/interfaces/lookup.ts index 1ef92ab3aa..d6ede93692 100644 --- a/typescript-api/src/moonbeam/interfaces/lookup.ts +++ b/typescript-api/src/moonbeam/interfaces/lookup.ts @@ -4,37 +4,49 @@ /* eslint-disable sort-keys */ export default { - /** Lookup3: frame_system::AccountInfo> */ + /** + * Lookup3: frame_system::AccountInfo> + **/ FrameSystemAccountInfo: { nonce: "u32", consumers: "u32", providers: "u32", sufficients: "u32", - data: "PalletBalancesAccountData", + data: "PalletBalancesAccountData" }, - /** Lookup5: pallet_balances::types::AccountData */ + /** + * Lookup5: pallet_balances::types::AccountData + **/ PalletBalancesAccountData: { free: "u128", reserved: "u128", frozen: "u128", - flags: "u128", + flags: "u128" }, - /** Lookup9: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup9: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", - mandatory: "SpWeightsWeightV2Weight", + mandatory: "SpWeightsWeightV2Weight" }, - /** Lookup10: sp_weights::weight_v2::Weight */ + /** + * Lookup10: sp_weights::weight_v2::Weight + **/ SpWeightsWeightV2Weight: { refTime: "Compact", - proofSize: "Compact", + proofSize: "Compact" }, - /** Lookup16: sp_runtime::generic::digest::Digest */ + /** + * Lookup16: sp_runtime::generic::digest::Digest + **/ SpRuntimeDigest: { - logs: "Vec", + logs: "Vec" }, - /** Lookup18: sp_runtime::generic::digest::DigestItem */ + /** + * Lookup18: sp_runtime::generic::digest::DigestItem + **/ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -45,60 +57,72 @@ export default { Seal: "([u8;4],Bytes)", PreRuntime: "([u8;4],Bytes)", __Unused7: "Null", - RuntimeEnvironmentUpdated: "Null", - }, + RuntimeEnvironmentUpdated: "Null" + } }, - /** Lookup21: frame_system::EventRecord */ + /** + * Lookup21: frame_system::EventRecord + **/ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", - topics: "Vec", + topics: "Vec" }, - /** Lookup23: frame_system::pallet::Event */ + /** + * Lookup23: frame_system::pallet::Event + **/ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, ExtrinsicFailed: { dispatchError: "SpRuntimeDispatchError", - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, CodeUpdated: "Null", NewAccount: { - account: "AccountId20", + account: "AccountId20" }, KilledAccount: { - account: "AccountId20", + account: "AccountId20" }, Remarked: { _alias: { - hash_: "hash", + hash_: "hash" }, sender: "AccountId20", - hash_: "H256", + hash_: "H256" }, UpgradeAuthorized: { codeHash: "H256", - checkVersion: "bool", - }, - }, + checkVersion: "bool" + } + } }, - /** Lookup24: frame_support::dispatch::DispatchInfo */ + /** + * Lookup24: frame_support::dispatch::DispatchInfo + **/ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup25: frame_support::dispatch::DispatchClass */ + /** + * Lookup25: frame_support::dispatch::DispatchClass + **/ FrameSupportDispatchDispatchClass: { - _enum: ["Normal", "Operational", "Mandatory"], + _enum: ["Normal", "Operational", "Mandatory"] }, - /** Lookup26: frame_support::dispatch::Pays */ + /** + * Lookup26: frame_support::dispatch::Pays + **/ FrameSupportDispatchPays: { - _enum: ["Yes", "No"], + _enum: ["Yes", "No"] }, - /** Lookup27: sp_runtime::DispatchError */ + /** + * Lookup27: sp_runtime::DispatchError + **/ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -114,15 +138,19 @@ export default { Exhausted: "Null", Corruption: "Null", Unavailable: "Null", - RootNotAllowed: "Null", - }, + RootNotAllowed: "Null" + } }, - /** Lookup28: sp_runtime::ModuleError */ + /** + * Lookup28: sp_runtime::ModuleError + **/ SpRuntimeModuleError: { index: "u8", - error: "[u8;4]", + error: "[u8;4]" }, - /** Lookup29: sp_runtime::TokenError */ + /** + * Lookup29: sp_runtime::TokenError + **/ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -134,288 +162,304 @@ export default { "Unsupported", "CannotCreateHold", "NotExpendable", - "Blocked", - ], + "Blocked" + ] }, - /** Lookup30: sp_arithmetic::ArithmeticError */ + /** + * Lookup30: sp_arithmetic::ArithmeticError + **/ SpArithmeticArithmeticError: { - _enum: ["Underflow", "Overflow", "DivisionByZero"], + _enum: ["Underflow", "Overflow", "DivisionByZero"] }, - /** Lookup31: sp_runtime::TransactionalError */ + /** + * Lookup31: sp_runtime::TransactionalError + **/ SpRuntimeTransactionalError: { - _enum: ["LimitReached", "NoLayer"], + _enum: ["LimitReached", "NoLayer"] }, - /** Lookup32: cumulus_pallet_parachain_system::pallet::Event */ + /** + * Lookup32: cumulus_pallet_parachain_system::pallet::Event + **/ CumulusPalletParachainSystemEvent: { _enum: { ValidationFunctionStored: "Null", ValidationFunctionApplied: { - relayChainBlockNum: "u32", + relayChainBlockNum: "u32" }, ValidationFunctionDiscarded: "Null", DownwardMessagesReceived: { - count: "u32", + count: "u32" }, DownwardMessagesProcessed: { weightUsed: "SpWeightsWeightV2Weight", - dmqHead: "H256", + dmqHead: "H256" }, UpwardMessageSent: { - messageHash: "Option<[u8;32]>", - }, - }, + messageHash: "Option<[u8;32]>" + } + } }, - /** Lookup34: pallet_root_testing::pallet::Event */ + /** + * Lookup34: pallet_root_testing::pallet::Event + **/ PalletRootTestingEvent: { - _enum: ["DefensiveTestCall"], + _enum: ["DefensiveTestCall"] }, - /** Lookup35: pallet_balances::pallet::Event */ + /** + * Lookup35: pallet_balances::pallet::Event + **/ PalletBalancesEvent: { _enum: { Endowed: { account: "AccountId20", - freeBalance: "u128", + freeBalance: "u128" }, DustLost: { account: "AccountId20", - amount: "u128", + amount: "u128" }, Transfer: { from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, BalanceSet: { who: "AccountId20", - free: "u128", + free: "u128" }, Reserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unreserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, ReserveRepatriated: { from: "AccountId20", to: "AccountId20", amount: "u128", - destinationStatus: "FrameSupportTokensMiscBalanceStatus", + destinationStatus: "FrameSupportTokensMiscBalanceStatus" }, Deposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdraw: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Slashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Minted: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Suspended: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Restored: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Upgraded: { - who: "AccountId20", + who: "AccountId20" }, Issued: { - amount: "u128", + amount: "u128" }, Rescinded: { - amount: "u128", + amount: "u128" }, Locked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unlocked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Frozen: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Thawed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, TotalIssuanceForced: { _alias: { - new_: "new", + new_: "new" }, old: "u128", - new_: "u128", - }, - }, + new_: "u128" + } + } }, - /** Lookup36: frame_support::traits::tokens::misc::BalanceStatus */ + /** + * Lookup36: frame_support::traits::tokens::misc::BalanceStatus + **/ FrameSupportTokensMiscBalanceStatus: { - _enum: ["Free", "Reserved"], + _enum: ["Free", "Reserved"] }, - /** Lookup37: pallet_transaction_payment::pallet::Event */ + /** + * Lookup37: pallet_transaction_payment::pallet::Event + **/ PalletTransactionPaymentEvent: { _enum: { TransactionFeePaid: { who: "AccountId20", actualFee: "u128", - tip: "u128", - }, - }, + tip: "u128" + } + } }, - /** Lookup38: pallet_parachain_staking::pallet::Event */ + /** + * Lookup38: pallet_parachain_staking::pallet::Event + **/ PalletParachainStakingEvent: { _enum: { NewRound: { startingBlock: "u32", round: "u32", selectedCollatorsNumber: "u32", - totalBalance: "u128", + totalBalance: "u128" }, JoinedCollatorCandidates: { account: "AccountId20", amountLocked: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, CollatorChosen: { round: "u32", collatorAccount: "AccountId20", - totalExposedAmount: "u128", + totalExposedAmount: "u128" }, CandidateBondLessRequested: { candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateBondedMore: { candidate: "AccountId20", amount: "u128", - newTotalBond: "u128", + newTotalBond: "u128" }, CandidateBondedLess: { candidate: "AccountId20", amount: "u128", - newBond: "u128", + newBond: "u128" }, CandidateWentOffline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateBackOnline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateScheduledExit: { exitAllowedRound: "u32", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, CancelledCandidateExit: { - candidate: "AccountId20", + candidate: "AccountId20" }, CancelledCandidateBondLess: { candidate: "AccountId20", amount: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateLeft: { exCandidate: "AccountId20", unlockedAmount: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, DelegationDecreaseScheduled: { delegator: "AccountId20", candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, DelegationIncreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegationDecreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegatorExitScheduled: { round: "u32", delegator: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegationRevocationScheduled: { round: "u32", delegator: "AccountId20", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegatorLeft: { delegator: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationRevoked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationKicked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegatorExitCancelled: { - delegator: "AccountId20", + delegator: "AccountId20" }, CancelledDelegationRequest: { delegator: "AccountId20", cancelledRequest: "PalletParachainStakingDelegationRequestsCancelledScheduledRequest", - collator: "AccountId20", + collator: "AccountId20" }, Delegation: { delegator: "AccountId20", lockedAmount: "u128", candidate: "AccountId20", delegatorPosition: "PalletParachainStakingDelegatorAdded", - autoCompound: "Percent", + autoCompound: "Percent" }, DelegatorLeftCandidate: { delegator: "AccountId20", candidate: "AccountId20", unstakedAmount: "u128", - totalCandidateStaked: "u128", + totalCandidateStaked: "u128" }, Rewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, InflationDistributed: { index: "u32", account: "AccountId20", - value: "u128", + value: "u128" }, InflationDistributionConfigUpdated: { _alias: { - new_: "new", + new_: "new" }, old: "PalletParachainStakingInflationDistributionConfig", - new_: "PalletParachainStakingInflationDistributionConfig", + new_: "PalletParachainStakingInflationDistributionConfig" }, InflationSet: { annualMin: "Perbill", @@ -423,30 +467,30 @@ export default { annualMax: "Perbill", roundMin: "Perbill", roundIdeal: "Perbill", - roundMax: "Perbill", + roundMax: "Perbill" }, StakeExpectationsSet: { expectMin: "u128", expectIdeal: "u128", - expectMax: "u128", + expectMax: "u128" }, TotalSelectedSet: { _alias: { - new_: "new", + new_: "new" }, old: "u32", - new_: "u32", + new_: "u32" }, CollatorCommissionSet: { _alias: { - new_: "new", + new_: "new" }, old: "Perbill", - new_: "Perbill", + new_: "Perbill" }, BlocksPerRoundSet: { _alias: { - new_: "new", + new_: "new" }, currentRound: "u32", firstBlock: "u32", @@ -454,169 +498,189 @@ export default { new_: "u32", newPerRoundInflationMin: "Perbill", newPerRoundInflationIdeal: "Perbill", - newPerRoundInflationMax: "Perbill", + newPerRoundInflationMax: "Perbill" }, AutoCompoundSet: { candidate: "AccountId20", delegator: "AccountId20", - value: "Percent", + value: "Percent" }, Compounded: { candidate: "AccountId20", delegator: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup39: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest */ + /** + * Lookup39: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest + **/ PalletParachainStakingDelegationRequestsCancelledScheduledRequest: { whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, - /** Lookup40: pallet_parachain_staking::delegation_requests::DelegationAction */ + /** + * Lookup40: pallet_parachain_staking::delegation_requests::DelegationAction + **/ PalletParachainStakingDelegationRequestsDelegationAction: { _enum: { Revoke: "u128", - Decrease: "u128", - }, + Decrease: "u128" + } }, - /** Lookup41: pallet_parachain_staking::types::DelegatorAdded */ + /** + * Lookup41: pallet_parachain_staking::types::DelegatorAdded + **/ PalletParachainStakingDelegatorAdded: { _enum: { AddedToTop: { - newTotal: "u128", + newTotal: "u128" }, - AddedToBottom: "Null", - }, + AddedToBottom: "Null" + } }, /** - * Lookup43: - * pallet_parachain_staking::types::InflationDistributionConfig[account::AccountId20](account::AccountId20) - */ + * Lookup43: pallet_parachain_staking::types::InflationDistributionConfig + **/ PalletParachainStakingInflationDistributionConfig: "[Lookup45;2]", /** - * Lookup45: - * pallet_parachain_staking::types::InflationDistributionAccount[account::AccountId20](account::AccountId20) - */ + * Lookup45: pallet_parachain_staking::types::InflationDistributionAccount + **/ PalletParachainStakingInflationDistributionAccount: { account: "AccountId20", - percent: "Percent", + percent: "Percent" }, - /** Lookup47: pallet_author_slot_filter::pallet::Event */ + /** + * Lookup47: pallet_author_slot_filter::pallet::Event + **/ PalletAuthorSlotFilterEvent: { _enum: { - EligibleUpdated: "u32", - }, + EligibleUpdated: "u32" + } }, - /** Lookup49: pallet_author_mapping::pallet::Event */ + /** + * Lookup49: pallet_author_mapping::pallet::Event + **/ PalletAuthorMappingEvent: { _enum: { KeysRegistered: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRemoved: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRotated: { newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic", - }, - }, + newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic" + } + } }, - /** Lookup50: nimbus_primitives::nimbus_crypto::Public */ + /** + * Lookup50: nimbus_primitives::nimbus_crypto::Public + **/ NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", - /** Lookup51: session_keys_primitives::vrf::vrf_crypto::Public */ + /** + * Lookup51: session_keys_primitives::vrf::vrf_crypto::Public + **/ SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", - /** Lookup52: pallet_moonbeam_orbiters::pallet::Event */ + /** + * Lookup52: pallet_moonbeam_orbiters::pallet::Event + **/ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterLeaveCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterRewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, OrbiterRotation: { collator: "AccountId20", oldOrbiter: "Option", - newOrbiter: "Option", + newOrbiter: "Option" }, OrbiterRegistered: { account: "AccountId20", - deposit: "u128", + deposit: "u128" }, OrbiterUnregistered: { - account: "AccountId20", - }, - }, + account: "AccountId20" + } + } }, - /** Lookup54: pallet_utility::pallet::Event */ + /** + * Lookup54: pallet_utility::pallet::Event + **/ PalletUtilityEvent: { _enum: { BatchInterrupted: { index: "u32", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, BatchCompleted: "Null", BatchCompletedWithErrors: "Null", ItemCompleted: "Null", ItemFailed: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, DispatchedAs: { - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup57: pallet_proxy::pallet::Event */ + /** + * Lookup57: pallet_proxy::pallet::Event + **/ PalletProxyEvent: { _enum: { ProxyExecuted: { - result: "Result", + result: "Result" }, PureCreated: { pure: "AccountId20", who: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - disambiguationIndex: "u16", + disambiguationIndex: "u16" }, Announced: { real: "AccountId20", proxy: "AccountId20", - callHash: "H256", + callHash: "H256" }, ProxyAdded: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", + delay: "u32" }, ProxyRemoved: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", - }, - }, + delay: "u32" + } + } }, - /** Lookup58: moonbeam_runtime::ProxyType */ + /** + * Lookup58: moonbeam_runtime::ProxyType + **/ MoonbeamRuntimeProxyType: { _enum: [ "Any", @@ -626,225 +690,259 @@ export default { "CancelProxy", "Balances", "AuthorMapping", - "IdentityJudgement", - ], + "IdentityJudgement" + ] }, - /** Lookup60: pallet_maintenance_mode::pallet::Event */ + /** + * Lookup60: pallet_maintenance_mode::pallet::Event + **/ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", NormalOperationResumed: "Null", FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup61: pallet_identity::pallet::Event */ + /** + * Lookup61: pallet_identity::pallet::Event + **/ PalletIdentityEvent: { _enum: { IdentitySet: { - who: "AccountId20", + who: "AccountId20" }, IdentityCleared: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, IdentityKilled: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, JudgementRequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementUnrequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementGiven: { target: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, RegistrarAdded: { - registrarIndex: "u32", + registrarIndex: "u32" }, SubIdentityAdded: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRemoved: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRevoked: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, AuthorityAdded: { - authority: "AccountId20", + authority: "AccountId20" }, AuthorityRemoved: { - authority: "AccountId20", + authority: "AccountId20" }, UsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, UsernameQueued: { who: "AccountId20", username: "Bytes", - expiration: "u32", + expiration: "u32" }, PreapprovalExpired: { - whose: "AccountId20", + whose: "AccountId20" }, PrimaryUsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, DanglingUsernameRemoved: { who: "AccountId20", - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup63: pallet_migrations::pallet::Event */ + /** + * Lookup63: pallet_migrations::pallet::Event + **/ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", RuntimeUpgradeCompleted: { - weight: "SpWeightsWeightV2Weight", + weight: "SpWeightsWeightV2Weight" }, MigrationStarted: { - migrationName: "Bytes", + migrationName: "Bytes" }, MigrationCompleted: { migrationName: "Bytes", - consumedWeight: "SpWeightsWeightV2Weight", + consumedWeight: "SpWeightsWeightV2Weight" }, FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup64: pallet_multisig::pallet::Event */ + /** + * Lookup64: pallet_multisig::pallet::Event + **/ PalletMultisigEvent: { _enum: { NewMultisig: { approving: "AccountId20", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigApproval: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigExecuted: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", callHash: "[u8;32]", - result: "Result", + result: "Result" }, MultisigCancelled: { cancelling: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup65: pallet_multisig::Timepoint */ + /** + * Lookup65: pallet_multisig::Timepoint + **/ PalletMultisigTimepoint: { height: "u32", - index: "u32", + index: "u32" }, - /** Lookup66: pallet_parameters::pallet::Event */ + /** + * Lookup66: pallet_parameters::pallet::Event + **/ PalletParametersEvent: { _enum: { Updated: { key: "MoonbeamRuntimeRuntimeParamsRuntimeParametersKey", oldValue: "Option", - newValue: "Option", - }, - }, + newValue: "Option" + } + } }, - /** Lookup67: moonbeam_runtime::runtime_params::RuntimeParametersKey */ + /** + * Lookup67: moonbeam_runtime::runtime_params::RuntimeParametersKey + **/ MoonbeamRuntimeRuntimeParamsRuntimeParametersKey: { _enum: { RuntimeConfig: "MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey", - PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey", - }, + PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey" + } }, - /** Lookup68: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey */ + /** + * Lookup68: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey: { - _enum: ["FeesTreasuryProportion"], + _enum: ["FeesTreasuryProportion"] }, - /** Lookup69: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion */ + /** + * Lookup69: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion: "Null", - /** Lookup70: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey */ + /** + * Lookup70: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey: { - _enum: ["Deposit"], + _enum: ["Deposit"] }, - /** Lookup71: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit */ + /** + * Lookup71: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit: "Null", - /** Lookup73: moonbeam_runtime::runtime_params::RuntimeParametersValue */ + /** + * Lookup73: moonbeam_runtime::runtime_params::RuntimeParametersValue + **/ MoonbeamRuntimeRuntimeParamsRuntimeParametersValue: { _enum: { RuntimeConfig: "MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue", - PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue", - }, + PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue" + } }, - /** Lookup74: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue */ + /** + * Lookup74: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue: { _enum: { - FeesTreasuryProportion: "Perbill", - }, + FeesTreasuryProportion: "Perbill" + } }, - /** Lookup75: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue */ + /** + * Lookup75: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue: { _enum: { - Deposit: "u128", - }, + Deposit: "u128" + } }, - /** Lookup77: pallet_evm::pallet::Event */ + /** + * Lookup77: pallet_evm::pallet::Event + **/ PalletEvmEvent: { _enum: { Log: { - log: "EthereumLog", + log: "EthereumLog" }, Created: { - address: "H160", + address: "H160" }, CreatedFailed: { - address: "H160", + address: "H160" }, Executed: { - address: "H160", + address: "H160" }, ExecutedFailed: { - address: "H160", - }, - }, + address: "H160" + } + } }, - /** Lookup78: ethereum::log::Log */ + /** + * Lookup78: ethereum::log::Log + **/ EthereumLog: { address: "H160", topics: "Vec", - data: "Bytes", + data: "Bytes" }, - /** Lookup81: pallet_ethereum::pallet::Event */ + /** + * Lookup81: pallet_ethereum::pallet::Event + **/ PalletEthereumEvent: { _enum: { Executed: { @@ -852,24 +950,30 @@ export default { to: "H160", transactionHash: "H256", exitReason: "EvmCoreErrorExitReason", - extraData: "Bytes", - }, - }, + extraData: "Bytes" + } + } }, - /** Lookup82: evm_core::error::ExitReason */ + /** + * Lookup82: evm_core::error::ExitReason + **/ EvmCoreErrorExitReason: { _enum: { Succeed: "EvmCoreErrorExitSucceed", Error: "EvmCoreErrorExitError", Revert: "EvmCoreErrorExitRevert", - Fatal: "EvmCoreErrorExitFatal", - }, + Fatal: "EvmCoreErrorExitFatal" + } }, - /** Lookup83: evm_core::error::ExitSucceed */ + /** + * Lookup83: evm_core::error::ExitSucceed + **/ EvmCoreErrorExitSucceed: { - _enum: ["Stopped", "Returned", "Suicided"], + _enum: ["Stopped", "Returned", "Suicided"] }, - /** Lookup84: evm_core::error::ExitError */ + /** + * Lookup84: evm_core::error::ExitError + **/ EvmCoreErrorExitError: { _enum: { StackUnderflow: "Null", @@ -887,427 +991,462 @@ export default { CreateEmpty: "Null", Other: "Text", MaxNonce: "Null", - InvalidCode: "u8", - }, + InvalidCode: "u8" + } }, - /** Lookup88: evm_core::error::ExitRevert */ + /** + * Lookup88: evm_core::error::ExitRevert + **/ EvmCoreErrorExitRevert: { - _enum: ["Reverted"], + _enum: ["Reverted"] }, - /** Lookup89: evm_core::error::ExitFatal */ + /** + * Lookup89: evm_core::error::ExitFatal + **/ EvmCoreErrorExitFatal: { _enum: { NotSupported: "Null", UnhandledInterrupt: "Null", CallErrorAsFatal: "EvmCoreErrorExitError", - Other: "Text", - }, + Other: "Text" + } }, - /** Lookup90: pallet_scheduler::pallet::Event */ + /** + * Lookup90: pallet_scheduler::pallet::Event + **/ PalletSchedulerEvent: { _enum: { Scheduled: { when: "u32", - index: "u32", + index: "u32" }, Canceled: { when: "u32", - index: "u32", + index: "u32" }, Dispatched: { task: "(u32,u32)", id: "Option<[u8;32]>", - result: "Result", + result: "Result" }, RetrySet: { task: "(u32,u32)", id: "Option<[u8;32]>", period: "u32", - retries: "u8", + retries: "u8" }, RetryCancelled: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, CallUnavailable: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PeriodicFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, RetryFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PermanentlyOverweight: { task: "(u32,u32)", - id: "Option<[u8;32]>", - }, - }, + id: "Option<[u8;32]>" + } + } }, - /** Lookup92: pallet_preimage::pallet::Event */ + /** + * Lookup92: pallet_preimage::pallet::Event + **/ PalletPreimageEvent: { _enum: { Noted: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Requested: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Cleared: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, - /** Lookup93: pallet_conviction_voting::pallet::Event */ + /** + * Lookup93: pallet_conviction_voting::pallet::Event + **/ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20", - }, + Undelegated: "AccountId20" + } }, - /** Lookup94: pallet_referenda::pallet::Event */ + /** + * Lookup94: pallet_referenda::pallet::Event + **/ PalletReferendaEvent: { _enum: { Submitted: { index: "u32", track: "u16", - proposal: "FrameSupportPreimagesBounded", + proposal: "FrameSupportPreimagesBounded" }, DecisionDepositPlaced: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DepositSlashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionStarted: { index: "u32", track: "u16", proposal: "FrameSupportPreimagesBounded", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, ConfirmStarted: { - index: "u32", + index: "u32" }, ConfirmAborted: { - index: "u32", + index: "u32" }, Confirmed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Approved: { - index: "u32", + index: "u32" }, Rejected: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, TimedOut: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Cancelled: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Killed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, SubmissionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, MetadataSet: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", + hash_: "H256" }, MetadataCleared: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, /** - * Lookup95: frame_support::traits::preimages::Bounded - */ + * Lookup95: frame_support::traits::preimages::Bounded + **/ FrameSupportPreimagesBounded: { _enum: { Legacy: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Inline: "Bytes", Lookup: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", - len: "u32", - }, - }, + len: "u32" + } + } }, - /** Lookup97: frame_system::pallet::Call */ + /** + * Lookup97: frame_system::pallet::Call + **/ FrameSystemCall: { _enum: { remark: { - remark: "Bytes", + remark: "Bytes" }, set_heap_pages: { - pages: "u64", + pages: "u64" }, set_code: { - code: "Bytes", + code: "Bytes" }, set_code_without_checks: { - code: "Bytes", + code: "Bytes" }, set_storage: { - items: "Vec<(Bytes,Bytes)>", + items: "Vec<(Bytes,Bytes)>" }, kill_storage: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Vec", + keys_: "Vec" }, kill_prefix: { prefix: "Bytes", - subkeys: "u32", + subkeys: "u32" }, remark_with_event: { - remark: "Bytes", + remark: "Bytes" }, __Unused8: "Null", authorize_upgrade: { - codeHash: "H256", + codeHash: "H256" }, authorize_upgrade_without_checks: { - codeHash: "H256", + codeHash: "H256" }, apply_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup101: cumulus_pallet_parachain_system::pallet::Call */ + /** + * Lookup101: cumulus_pallet_parachain_system::pallet::Call + **/ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { - data: "CumulusPrimitivesParachainInherentParachainInherentData", + data: "CumulusPrimitivesParachainInherentParachainInherentData" }, sudo_send_upward_message: { - message: "Bytes", + message: "Bytes" }, authorize_upgrade: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, enact_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** + * Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData + **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", - horizontalMessages: "BTreeMap>", + horizontalMessages: "BTreeMap>" }, - /** Lookup103: polkadot_primitives::v7::PersistedValidationData */ + /** + * Lookup103: polkadot_primitives::v7::PersistedValidationData + **/ PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", - maxPovSize: "u32", + maxPovSize: "u32" }, - /** Lookup105: sp_trie::storage_proof::StorageProof */ + /** + * Lookup105: sp_trie::storage_proof::StorageProof + **/ SpTrieStorageProof: { - trieNodes: "BTreeSet", + trieNodes: "BTreeSet" }, - /** Lookup108: polkadot_core_primitives::InboundDownwardMessage */ + /** + * Lookup108: polkadot_core_primitives::InboundDownwardMessage + **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", - msg: "Bytes", + msg: "Bytes" }, - /** Lookup112: polkadot_core_primitives::InboundHrmpMessage */ + /** + * Lookup112: polkadot_core_primitives::InboundHrmpMessage + **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup115: pallet_timestamp::pallet::Call */ + /** + * Lookup115: pallet_timestamp::pallet::Call + **/ PalletTimestampCall: { _enum: { set: { - now: "Compact", - }, - }, + now: "Compact" + } + } }, - /** Lookup116: pallet_root_testing::pallet::Call */ + /** + * Lookup116: pallet_root_testing::pallet::Call + **/ PalletRootTestingCall: { _enum: { fill_block: { - ratio: "Perbill", + ratio: "Perbill" }, - trigger_defensive: "Null", - }, + trigger_defensive: "Null" + } }, - /** Lookup117: pallet_balances::pallet::Call */ + /** + * Lookup117: pallet_balances::pallet::Call + **/ PalletBalancesCall: { _enum: { transfer_allow_death: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, __Unused1: "Null", force_transfer: { source: "AccountId20", dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_keep_alive: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_all: { dest: "AccountId20", - keepAlive: "bool", + keepAlive: "bool" }, force_unreserve: { who: "AccountId20", - amount: "u128", + amount: "u128" }, upgrade_accounts: { - who: "Vec", + who: "Vec" }, __Unused7: "Null", force_set_balance: { who: "AccountId20", - newFree: "Compact", + newFree: "Compact" }, force_adjust_total_issuance: { direction: "PalletBalancesAdjustmentDirection", - delta: "Compact", + delta: "Compact" }, burn: { value: "Compact", - keepAlive: "bool", - }, - }, + keepAlive: "bool" + } + } }, - /** Lookup120: pallet_balances::types::AdjustmentDirection */ + /** + * Lookup120: pallet_balances::types::AdjustmentDirection + **/ PalletBalancesAdjustmentDirection: { - _enum: ["Increase", "Decrease"], + _enum: ["Increase", "Decrease"] }, - /** Lookup121: pallet_parachain_staking::pallet::Call */ + /** + * Lookup121: pallet_parachain_staking::pallet::Call + **/ PalletParachainStakingCall: { _enum: { set_staking_expectations: { expectations: { min: "u128", ideal: "u128", - max: "u128", - }, + max: "u128" + } }, set_inflation: { schedule: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, set_parachain_bond_account: { _alias: { - new_: "new", + new_: "new" }, - new_: "AccountId20", + new_: "AccountId20" }, set_parachain_bond_reserve_percent: { _alias: { - new_: "new", + new_: "new" }, - new_: "Percent", + new_: "Percent" }, set_total_selected: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, set_collator_commission: { _alias: { - new_: "new", + new_: "new" }, - new_: "Perbill", + new_: "Perbill" }, set_blocks_per_round: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, join_candidates: { bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, schedule_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, execute_leave_candidates: { candidate: "AccountId20", - candidateDelegationCount: "u32", + candidateDelegationCount: "u32" }, cancel_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, go_offline: "Null", go_online: "Null", candidate_bond_more: { - more: "u128", + more: "u128" }, schedule_candidate_bond_less: { - less: "u128", + less: "u128" }, execute_candidate_bond_less: { - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_candidate_bond_less: "Null", delegate: { candidate: "AccountId20", amount: "u128", candidateDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, delegate_with_auto_compound: { candidate: "AccountId20", @@ -1315,145 +1454,157 @@ export default { autoCompound: "Percent", candidateDelegationCount: "u32", candidateAutoCompoundingDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, removed_call_19: "Null", removed_call_20: "Null", removed_call_21: "Null", schedule_revoke_delegation: { - collator: "AccountId20", + collator: "AccountId20" }, delegator_bond_more: { candidate: "AccountId20", - more: "u128", + more: "u128" }, schedule_delegator_bond_less: { candidate: "AccountId20", - less: "u128", + less: "u128" }, execute_delegation_request: { delegator: "AccountId20", - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_delegation_request: { - candidate: "AccountId20", + candidate: "AccountId20" }, set_auto_compound: { candidate: "AccountId20", value: "Percent", candidateAutoCompoundingDelegationCountHint: "u32", - delegationCountHint: "u32", + delegationCountHint: "u32" }, hotfix_remove_delegation_requests_exited_candidates: { - candidates: "Vec", + candidates: "Vec" }, notify_inactive_collator: { - collator: "AccountId20", + collator: "AccountId20" }, enable_marking_offline: { - value: "bool", + value: "bool" }, force_join_candidates: { account: "AccountId20", bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, set_inflation_distribution_config: { _alias: { - new_: "new", + new_: "new" }, - new_: "PalletParachainStakingInflationDistributionConfig", - }, - }, + new_: "PalletParachainStakingInflationDistributionConfig" + } + } }, - /** Lookup124: pallet_author_inherent::pallet::Call */ + /** + * Lookup124: pallet_author_inherent::pallet::Call + **/ PalletAuthorInherentCall: { - _enum: ["kick_off_authorship_validation"], + _enum: ["kick_off_authorship_validation"] }, - /** Lookup125: pallet_author_slot_filter::pallet::Call */ + /** + * Lookup125: pallet_author_slot_filter::pallet::Call + **/ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", - }, - }, + new_: "u32" + } + } }, - /** Lookup126: pallet_author_mapping::pallet::Call */ + /** + * Lookup126: pallet_author_mapping::pallet::Call + **/ PalletAuthorMappingCall: { _enum: { add_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, update_association: { oldNimbusId: "NimbusPrimitivesNimbusCryptoPublic", - newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", + newNimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, clear_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, remove_keys: "Null", set_keys: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Bytes", - }, - }, + keys_: "Bytes" + } + } }, - /** Lookup127: pallet_moonbeam_orbiters::pallet::Call */ + /** + * Lookup127: pallet_moonbeam_orbiters::pallet::Call + **/ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, collator_remove_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, orbiter_leave_collator_pool: { - collator: "AccountId20", + collator: "AccountId20" }, orbiter_register: "Null", orbiter_unregister: { - collatorsPoolCount: "u32", + collatorsPoolCount: "u32" }, add_collator: { - collator: "AccountId20", + collator: "AccountId20" }, remove_collator: { - collator: "AccountId20", - }, - }, + collator: "AccountId20" + } + } }, - /** Lookup128: pallet_utility::pallet::Call */ + /** + * Lookup128: pallet_utility::pallet::Call + **/ PalletUtilityCall: { _enum: { batch: { - calls: "Vec", + calls: "Vec" }, as_derivative: { index: "u16", - call: "Call", + call: "Call" }, batch_all: { - calls: "Vec", + calls: "Vec" }, dispatch_as: { asOrigin: "MoonbeamRuntimeOriginCaller", - call: "Call", + call: "Call" }, force_batch: { - calls: "Vec", + calls: "Vec" }, with_weight: { call: "Call", - weight: "SpWeightsWeightV2Weight", - }, - }, + weight: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup130: moonbeam_runtime::OriginCaller */ + /** + * Lookup130: moonbeam_runtime::OriginCaller + **/ MoonbeamRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -1565,61 +1716,77 @@ export default { __Unused106: "Null", __Unused107: "Null", __Unused108: "Null", - EthereumXcm: "PalletEthereumXcmRawOrigin", - }, + EthereumXcm: "PalletEthereumXcmRawOrigin" + } }, - /** Lookup131: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** + * Lookup131: frame_support::dispatch::RawOrigin + **/ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", Signed: "AccountId20", - None: "Null", - }, + None: "Null" + } }, - /** Lookup132: pallet_ethereum::RawOrigin */ + /** + * Lookup132: pallet_ethereum::RawOrigin + **/ PalletEthereumRawOrigin: { _enum: { - EthereumTransaction: "H160", - }, + EthereumTransaction: "H160" + } }, - /** Lookup133: moonbeam_runtime::governance::origins::custom_origins::Origin */ + /** + * Lookup133: moonbeam_runtime::governance::origins::custom_origins::Origin + **/ MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", "GeneralAdmin", "ReferendumCanceller", "ReferendumKiller", - "FastGeneralAdmin", - ], + "FastGeneralAdmin" + ] }, - /** Lookup134: pallet_collective::RawOrigin */ + /** + * Lookup134: pallet_collective::RawOrigin + **/ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", Member: "AccountId20", - _Phantom: "Null", - }, + _Phantom: "Null" + } }, - /** Lookup136: cumulus_pallet_xcm::pallet::Origin */ + /** + * Lookup136: cumulus_pallet_xcm::pallet::Origin + **/ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", - SiblingParachain: "u32", - }, + SiblingParachain: "u32" + } }, - /** Lookup137: pallet_xcm::pallet::Origin */ + /** + * Lookup137: pallet_xcm::pallet::Origin + **/ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", - Response: "StagingXcmV4Location", - }, + Response: "StagingXcmV4Location" + } }, - /** Lookup138: staging_xcm::v4::location::Location */ + /** + * Lookup138: staging_xcm::v4::location::Location + **/ StagingXcmV4Location: { parents: "u8", - interior: "StagingXcmV4Junctions", + interior: "StagingXcmV4Junctions" }, - /** Lookup139: staging_xcm::v4::junctions::Junctions */ + /** + * Lookup139: staging_xcm::v4::junctions::Junctions + **/ StagingXcmV4Junctions: { _enum: { Here: "Null", @@ -1630,46 +1797,50 @@ export default { X5: "[Lookup141;5]", X6: "[Lookup141;6]", X7: "[Lookup141;7]", - X8: "[Lookup141;8]", - }, + X8: "[Lookup141;8]" + } }, - /** Lookup141: staging_xcm::v4::junction::Junction */ + /** + * Lookup141: staging_xcm::v4::junction::Junction + **/ StagingXcmV4Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "StagingXcmV4JunctionNetworkId", - }, + GlobalConsensus: "StagingXcmV4JunctionNetworkId" + } }, - /** Lookup144: staging_xcm::v4::junction::NetworkId */ + /** + * Lookup144: staging_xcm::v4::junction::NetworkId + **/ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -1677,14 +1848,16 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup145: xcm::v3::junction::BodyId */ + /** + * Lookup145: xcm::v3::junction::BodyId + **/ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1696,177 +1869,191 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup146: xcm::v3::junction::BodyPart */ + /** + * Lookup146: xcm::v3::junction::BodyPart + **/ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup154: pallet_ethereum_xcm::RawOrigin */ + /** + * Lookup154: pallet_ethereum_xcm::RawOrigin + **/ PalletEthereumXcmRawOrigin: { _enum: { - XcmEthereumTransaction: "H160", - }, + XcmEthereumTransaction: "H160" + } }, - /** Lookup155: sp_core::Void */ + /** + * Lookup155: sp_core::Void + **/ SpCoreVoid: "Null", - /** Lookup156: pallet_proxy::pallet::Call */ + /** + * Lookup156: pallet_proxy::pallet::Call + **/ PalletProxyCall: { _enum: { proxy: { real: "AccountId20", forceProxyType: "Option", - call: "Call", + call: "Call" }, add_proxy: { delegate: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxy: { delegate: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxies: "Null", create_pure: { proxyType: "MoonbeamRuntimeProxyType", delay: "u32", - index: "u16", + index: "u16" }, kill_pure: { spawner: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", index: "u16", height: "Compact", - extIndex: "Compact", + extIndex: "Compact" }, announce: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, remove_announcement: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, reject_announcement: { delegate: "AccountId20", - callHash: "H256", + callHash: "H256" }, proxy_announced: { delegate: "AccountId20", real: "AccountId20", forceProxyType: "Option", - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup158: pallet_maintenance_mode::pallet::Call */ + /** + * Lookup158: pallet_maintenance_mode::pallet::Call + **/ PalletMaintenanceModeCall: { - _enum: ["enter_maintenance_mode", "resume_normal_operation"], + _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, - /** Lookup159: pallet_identity::pallet::Call */ + /** + * Lookup159: pallet_identity::pallet::Call + **/ PalletIdentityCall: { _enum: { add_registrar: { - account: "AccountId20", + account: "AccountId20" }, set_identity: { - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, set_subs: { - subs: "Vec<(AccountId20,Data)>", + subs: "Vec<(AccountId20,Data)>" }, clear_identity: "Null", request_judgement: { regIndex: "Compact", - maxFee: "Compact", + maxFee: "Compact" }, cancel_request: { - regIndex: "u32", + regIndex: "u32" }, set_fee: { index: "Compact", - fee: "Compact", + fee: "Compact" }, set_account_id: { _alias: { - new_: "new", + new_: "new" }, index: "Compact", - new_: "AccountId20", + new_: "AccountId20" }, set_fields: { index: "Compact", - fields: "u64", + fields: "u64" }, provide_judgement: { regIndex: "Compact", target: "AccountId20", judgement: "PalletIdentityJudgement", - identity: "H256", + identity: "H256" }, kill_identity: { - target: "AccountId20", + target: "AccountId20" }, add_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, rename_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, remove_sub: { - sub: "AccountId20", + sub: "AccountId20" }, quit_sub: "Null", add_username_authority: { authority: "AccountId20", suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, remove_username_authority: { - authority: "AccountId20", + authority: "AccountId20" }, set_username_for: { who: "AccountId20", username: "Bytes", - signature: "Option", + signature: "Option" }, accept_username: { - username: "Bytes", + username: "Bytes" }, remove_expired_approval: { - username: "Bytes", + username: "Bytes" }, set_primary_username: { - username: "Bytes", + username: "Bytes" }, remove_dangling_username: { - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup160: pallet_identity::legacy::IdentityInfo */ + /** + * Lookup160: pallet_identity::legacy::IdentityInfo + **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -1876,9 +2063,11 @@ export default { email: "Data", pgpFingerprint: "Option<[u8;20]>", image: "Data", - twitter: "Data", + twitter: "Data" }, - /** Lookup198: pallet_identity::types::Judgement */ + /** + * Lookup198: pallet_identity::types::Judgement + **/ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -1887,97 +2076,113 @@ export default { KnownGood: "Null", OutOfDate: "Null", LowQuality: "Null", - Erroneous: "Null", - }, + Erroneous: "Null" + } }, - /** Lookup200: account::EthereumSignature */ + /** + * Lookup200: account::EthereumSignature + **/ AccountEthereumSignature: "[u8;65]", - /** Lookup202: pallet_multisig::pallet::Call */ + /** + * Lookup202: pallet_multisig::pallet::Call + **/ PalletMultisigCall: { _enum: { as_multi_threshold_1: { otherSignatories: "Vec", - call: "Call", + call: "Call" }, as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", call: "Call", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, approve_as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", callHash: "[u8;32]", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, cancel_as_multi: { threshold: "u16", otherSignatories: "Vec", timepoint: "PalletMultisigTimepoint", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** + * Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call + **/ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", __Unused1: "Null", create_contract_metadata: { - address: "H160", + address: "H160" }, approve_assets_to_migrate: { - assets: "Vec", + assets: "Vec" }, start_foreign_assets_migration: { - assetId: "u128", + assetId: "u128" }, migrate_foreign_asset_balances: { - limit: "u32", + limit: "u32" }, migrate_foreign_asset_approvals: { - limit: "u32", + limit: "u32" }, - finish_foreign_assets_migration: "Null", - }, + finish_foreign_assets_migration: "Null" + } }, - /** Lookup207: pallet_parameters::pallet::Call */ + /** + * Lookup207: pallet_parameters::pallet::Call + **/ PalletParametersCall: { _enum: { set_parameter: { - keyValue: "MoonbeamRuntimeRuntimeParamsRuntimeParameters", - }, - }, + keyValue: "MoonbeamRuntimeRuntimeParamsRuntimeParameters" + } + } }, - /** Lookup208: moonbeam_runtime::runtime_params::RuntimeParameters */ + /** + * Lookup208: moonbeam_runtime::runtime_params::RuntimeParameters + **/ MoonbeamRuntimeRuntimeParamsRuntimeParameters: { _enum: { RuntimeConfig: "MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters", - PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters", - }, + PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters" + } }, - /** Lookup209: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::Parameters */ + /** + * Lookup209: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::Parameters + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters: { _enum: { FeesTreasuryProportion: - "(MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)", - }, + "(MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)" + } }, - /** Lookup211: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters */ + /** + * Lookup211: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters: { _enum: { - Deposit: "(MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)", - }, + Deposit: "(MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)" + } }, - /** Lookup213: pallet_evm::pallet::Call */ + /** + * Lookup213: pallet_evm::pallet::Call + **/ PalletEvmCall: { _enum: { withdraw: { address: "H160", - value: "u128", + value: "u128" }, call: { source: "H160", @@ -1988,7 +2193,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create: { source: "H160", @@ -1998,7 +2203,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create2: { source: "H160", @@ -2009,27 +2214,33 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", - }, - }, + accessList: "Vec<(H160,Vec)>" + } + } }, - /** Lookup219: pallet_ethereum::pallet::Call */ + /** + * Lookup219: pallet_ethereum::pallet::Call + **/ PalletEthereumCall: { _enum: { transact: { - transaction: "EthereumTransactionTransactionV2", - }, - }, + transaction: "EthereumTransactionTransactionV2" + } + } }, - /** Lookup220: ethereum::transaction::TransactionV2 */ + /** + * Lookup220: ethereum::transaction::TransactionV2 + **/ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", EIP2930: "EthereumTransactionEip2930Transaction", - EIP1559: "EthereumTransactionEip1559Transaction", - }, + EIP1559: "EthereumTransactionEip1559Transaction" + } }, - /** Lookup221: ethereum::transaction::LegacyTransaction */ + /** + * Lookup221: ethereum::transaction::LegacyTransaction + **/ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -2037,22 +2248,28 @@ export default { action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - signature: "EthereumTransactionTransactionSignature", + signature: "EthereumTransactionTransactionSignature" }, - /** Lookup222: ethereum::transaction::TransactionAction */ + /** + * Lookup222: ethereum::transaction::TransactionAction + **/ EthereumTransactionTransactionAction: { _enum: { Call: "H160", - Create: "Null", - }, + Create: "Null" + } }, - /** Lookup223: ethereum::transaction::TransactionSignature */ + /** + * Lookup223: ethereum::transaction::TransactionSignature + **/ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup225: ethereum::transaction::EIP2930Transaction */ + /** + * Lookup225: ethereum::transaction::EIP2930Transaction + **/ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -2064,14 +2281,18 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup227: ethereum::transaction::AccessListItem */ + /** + * Lookup227: ethereum::transaction::AccessListItem + **/ EthereumTransactionAccessListItem: { address: "H160", - storageKeys: "Vec", + storageKeys: "Vec" }, - /** Lookup228: ethereum::transaction::EIP1559Transaction */ + /** + * Lookup228: ethereum::transaction::EIP1559Transaction + **/ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -2084,240 +2305,260 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup229: pallet_scheduler::pallet::Call */ + /** + * Lookup229: pallet_scheduler::pallet::Call + **/ PalletSchedulerCall: { _enum: { schedule: { when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel: { when: "u32", - index: "u32", + index: "u32" }, schedule_named: { id: "[u8;32]", when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel_named: { - id: "[u8;32]", + id: "[u8;32]" }, schedule_after: { after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, schedule_named_after: { id: "[u8;32]", after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, set_retry: { task: "(u32,u32)", retries: "u8", - period: "u32", + period: "u32" }, set_retry_named: { id: "[u8;32]", retries: "u8", - period: "u32", + period: "u32" }, cancel_retry: { - task: "(u32,u32)", + task: "(u32,u32)" }, cancel_retry_named: { - id: "[u8;32]", - }, - }, + id: "[u8;32]" + } + } }, - /** Lookup231: pallet_preimage::pallet::Call */ + /** + * Lookup231: pallet_preimage::pallet::Call + **/ PalletPreimageCall: { _enum: { note_preimage: { - bytes: "Bytes", + bytes: "Bytes" }, unnote_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, request_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, unrequest_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, ensure_updated: { - hashes: "Vec", - }, - }, + hashes: "Vec" + } + } }, - /** Lookup232: pallet_conviction_voting::pallet::Call */ + /** + * Lookup232: pallet_conviction_voting::pallet::Call + **/ PalletConvictionVotingCall: { _enum: { vote: { pollIndex: "Compact", - vote: "PalletConvictionVotingVoteAccountVote", + vote: "PalletConvictionVotingVoteAccountVote" }, delegate: { class: "u16", to: "AccountId20", conviction: "PalletConvictionVotingConviction", - balance: "u128", + balance: "u128" }, undelegate: { - class: "u16", + class: "u16" }, unlock: { class: "u16", - target: "AccountId20", + target: "AccountId20" }, remove_vote: { class: "Option", - index: "u32", + index: "u32" }, remove_other_vote: { target: "AccountId20", class: "u16", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup233: pallet_conviction_voting::vote::AccountVote */ + /** + * Lookup233: pallet_conviction_voting::vote::AccountVote + **/ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { vote: "Vote", - balance: "u128", + balance: "u128" }, Split: { aye: "u128", - nay: "u128", + nay: "u128" }, SplitAbstain: { aye: "u128", nay: "u128", - abstain: "u128", - }, - }, + abstain: "u128" + } + } }, - /** Lookup235: pallet_conviction_voting::conviction::Conviction */ + /** + * Lookup235: pallet_conviction_voting::conviction::Conviction + **/ PalletConvictionVotingConviction: { - _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], + _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"] }, - /** Lookup237: pallet_referenda::pallet::Call */ + /** + * Lookup237: pallet_referenda::pallet::Call + **/ PalletReferendaCall: { _enum: { submit: { proposalOrigin: "MoonbeamRuntimeOriginCaller", proposal: "FrameSupportPreimagesBounded", - enactmentMoment: "FrameSupportScheduleDispatchTime", + enactmentMoment: "FrameSupportScheduleDispatchTime" }, place_decision_deposit: { - index: "u32", + index: "u32" }, refund_decision_deposit: { - index: "u32", + index: "u32" }, cancel: { - index: "u32", + index: "u32" }, kill: { - index: "u32", + index: "u32" }, nudge_referendum: { - index: "u32", + index: "u32" }, one_fewer_deciding: { - track: "u16", + track: "u16" }, refund_submission_deposit: { - index: "u32", + index: "u32" }, set_metadata: { index: "u32", - maybeHash: "Option", - }, - }, + maybeHash: "Option" + } + } }, - /** Lookup238: frame_support::traits::schedule::DispatchTime */ + /** + * Lookup238: frame_support::traits::schedule::DispatchTime + **/ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", - After: "u32", - }, + After: "u32" + } }, - /** Lookup240: pallet_whitelist::pallet::Call */ + /** + * Lookup240: pallet_whitelist::pallet::Call + **/ PalletWhitelistCall: { _enum: { whitelist_call: { - callHash: "H256", + callHash: "H256" }, remove_whitelisted_call: { - callHash: "H256", + callHash: "H256" }, dispatch_whitelisted_call: { callHash: "H256", callEncodedLen: "u32", - callWeightWitness: "SpWeightsWeightV2Weight", + callWeightWitness: "SpWeightsWeightV2Weight" }, dispatch_whitelisted_call_with_preimage: { - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup241: pallet_collective::pallet::Call */ + /** + * Lookup241: pallet_collective::pallet::Call + **/ PalletCollectiveCall: { _enum: { set_members: { newMembers: "Vec", prime: "Option", - oldCount: "u32", + oldCount: "u32" }, execute: { proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, propose: { threshold: "Compact", proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, vote: { proposal: "H256", index: "Compact", - approve: "bool", + approve: "bool" }, __Unused4: "Null", disapprove_proposal: { - proposalHash: "H256", + proposalHash: "H256" }, close: { proposalHash: "H256", index: "Compact", proposalWeightBound: "SpWeightsWeightV2Weight", - lengthBound: "Compact", - }, - }, + lengthBound: "Compact" + } + } }, - /** Lookup243: pallet_treasury::pallet::Call */ + /** + * Lookup243: pallet_treasury::pallet::Call + **/ PalletTreasuryCall: { _enum: { __Unused0: "Null", @@ -2325,124 +2566,130 @@ export default { __Unused2: "Null", spend_local: { amount: "Compact", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, remove_approval: { - proposalId: "Compact", + proposalId: "Compact" }, spend: { assetKind: "Null", amount: "Compact", beneficiary: "AccountId20", - validFrom: "Option", + validFrom: "Option" }, payout: { - index: "u32", + index: "u32" }, check_status: { - index: "u32", + index: "u32" }, void_spend: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup245: pallet_crowdloan_rewards::pallet::Call */ + /** + * Lookup245: pallet_crowdloan_rewards::pallet::Call + **/ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { rewardAccount: "AccountId20", relayAccount: "[u8;32]", - proof: "SpRuntimeMultiSignature", + proof: "SpRuntimeMultiSignature" }, change_association_with_relay_keys: { rewardAccount: "AccountId20", previousAccount: "AccountId20", - proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>", + proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>" }, claim: "Null", update_reward_address: { - newRewardAccount: "AccountId20", + newRewardAccount: "AccountId20" }, complete_initialization: { - leaseEndingBlock: "u32", + leaseEndingBlock: "u32" }, initialize_reward_vec: { - rewards: "Vec<([u8;32],Option,u128)>", - }, - }, + rewards: "Vec<([u8;32],Option,u128)>" + } + } }, - /** Lookup246: sp_runtime::MultiSignature */ + /** + * Lookup246: sp_runtime::MultiSignature + **/ SpRuntimeMultiSignature: { _enum: { Ed25519: "[u8;64]", Sr25519: "[u8;64]", - Ecdsa: "[u8;65]", - }, + Ecdsa: "[u8;65]" + } }, - /** Lookup252: pallet_xcm::pallet::Call */ + /** + * Lookup252: pallet_xcm::pallet::Call + **/ PalletXcmCall: { _enum: { send: { dest: "XcmVersionedLocation", - message: "XcmVersionedXcm", + message: "XcmVersionedXcm" }, teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, execute: { message: "XcmVersionedXcm", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, force_xcm_version: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, force_default_xcm_version: { - maybeXcmVersion: "Option", + maybeXcmVersion: "Option" }, force_subscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, force_unsubscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, limited_reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, limited_teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, force_suspension: { - suspended: "bool", + suspended: "bool" }, transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, claim_assets: { assets: "XcmVersionedAssets", - beneficiary: "XcmVersionedLocation", + beneficiary: "XcmVersionedLocation" }, transfer_assets_using_type_and_then: { dest: "XcmVersionedLocation", @@ -2451,26 +2698,32 @@ export default { remoteFeesId: "XcmVersionedAssetId", feesTransferType: "StagingXcmExecutorAssetTransferTransferType", customXcmOnDest: "XcmVersionedXcm", - weightLimit: "XcmV3WeightLimit", - }, - }, + weightLimit: "XcmV3WeightLimit" + } + } }, - /** Lookup253: xcm::VersionedLocation */ + /** + * Lookup253: xcm::VersionedLocation + **/ XcmVersionedLocation: { _enum: { __Unused0: "Null", V2: "XcmV2MultiLocation", __Unused2: "Null", V3: "StagingXcmV3MultiLocation", - V4: "StagingXcmV4Location", - }, + V4: "StagingXcmV4Location" + } }, - /** Lookup254: xcm::v2::multilocation::MultiLocation */ + /** + * Lookup254: xcm::v2::multilocation::MultiLocation + **/ XcmV2MultiLocation: { parents: "u8", - interior: "XcmV2MultilocationJunctions", + interior: "XcmV2MultilocationJunctions" }, - /** Lookup255: xcm::v2::multilocation::Junctions */ + /** + * Lookup255: xcm::v2::multilocation::Junctions + **/ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -2481,24 +2734,26 @@ export default { 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)", - }, + X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)" + } }, - /** Lookup256: xcm::v2::junction::Junction */ + /** + * Lookup256: xcm::v2::junction::Junction + **/ XcmV2Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "XcmV2NetworkId", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "XcmV2NetworkId", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "XcmV2NetworkId", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", @@ -2506,20 +2761,24 @@ export default { OnlyChild: "Null", Plurality: { id: "XcmV2BodyId", - part: "XcmV2BodyPart", - }, - }, + part: "XcmV2BodyPart" + } + } }, - /** Lookup257: xcm::v2::NetworkId */ + /** + * Lookup257: xcm::v2::NetworkId + **/ XcmV2NetworkId: { _enum: { Any: "Null", Named: "Bytes", Polkadot: "Null", - Kusama: "Null", - }, + Kusama: "Null" + } }, - /** Lookup259: xcm::v2::BodyId */ + /** + * Lookup259: xcm::v2::BodyId + **/ XcmV2BodyId: { _enum: { Unit: "Null", @@ -2531,36 +2790,42 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup260: xcm::v2::BodyPart */ + /** + * Lookup260: xcm::v2::BodyPart + **/ XcmV2BodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup261: staging_xcm::v3::multilocation::MultiLocation */ + /** + * Lookup261: staging_xcm::v3::multilocation::MultiLocation + **/ StagingXcmV3MultiLocation: { parents: "u8", - interior: "XcmV3Junctions", + interior: "XcmV3Junctions" }, - /** Lookup262: xcm::v3::junctions::Junctions */ + /** + * Lookup262: xcm::v3::junctions::Junctions + **/ XcmV3Junctions: { _enum: { Here: "Null", @@ -2571,46 +2836,50 @@ export default { 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)", - }, + X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)" + } }, - /** Lookup263: xcm::v3::junction::Junction */ + /** + * Lookup263: xcm::v3::junction::Junction + **/ XcmV3Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "XcmV3JunctionNetworkId", - }, + GlobalConsensus: "XcmV3JunctionNetworkId" + } }, - /** Lookup265: xcm::v3::junction::NetworkId */ + /** + * Lookup265: xcm::v3::junction::NetworkId + **/ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -2618,26 +2887,32 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup266: xcm::VersionedXcm */ + /** + * Lookup266: xcm::VersionedXcm + **/ XcmVersionedXcm: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Xcm", V3: "XcmV3Xcm", - V4: "StagingXcmV4Xcm", - }, + V4: "StagingXcmV4Xcm" + } }, - /** Lookup267: xcm::v2::Xcm */ + /** + * Lookup267: xcm::v2::Xcm + **/ XcmV2Xcm: "Vec", - /** Lookup269: xcm::v2::Instruction */ + /** + * Lookup269: xcm::v2::Instruction + **/ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -2646,76 +2921,76 @@ export default { QueryResponse: { queryId: "Compact", response: "XcmV2Response", - maxWeight: "Compact", + maxWeight: "Compact" }, TransferAsset: { assets: "XcmV2MultiassetMultiAssets", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, TransferReserveAsset: { assets: "XcmV2MultiassetMultiAssets", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, Transact: { originType: "XcmV2OriginKind", requireWeightAtMost: "Compact", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV2MultilocationJunctions", ReportError: { queryId: "Compact", dest: "XcmV2MultiLocation", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, DepositAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, DepositReserveAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, ExchangeAsset: { give: "XcmV2MultiassetMultiAssetFilter", - receive: "XcmV2MultiassetMultiAssets", + receive: "XcmV2MultiassetMultiAssets" }, InitiateReserveWithdraw: { assets: "XcmV2MultiassetMultiAssetFilter", reserve: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, InitiateTeleport: { assets: "XcmV2MultiassetMultiAssetFilter", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, QueryHolding: { queryId: "Compact", dest: "XcmV2MultiLocation", assets: "XcmV2MultiassetMultiAssetFilter", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, BuyExecution: { fees: "XcmV2MultiAsset", - weightLimit: "XcmV2WeightLimit", + weightLimit: "XcmV2WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV2Xcm", @@ -2723,38 +2998,48 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV2MultiassetMultiAssets", - ticket: "XcmV2MultiLocation", + ticket: "XcmV2MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, - UnsubscribeVersion: "Null", - }, + UnsubscribeVersion: "Null" + } }, - /** Lookup270: xcm::v2::multiasset::MultiAssets */ + /** + * Lookup270: xcm::v2::multiasset::MultiAssets + **/ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup272: xcm::v2::multiasset::MultiAsset */ + /** + * Lookup272: xcm::v2::multiasset::MultiAsset + **/ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetFungibility", + fun: "XcmV2MultiassetFungibility" }, - /** Lookup273: xcm::v2::multiasset::AssetId */ + /** + * Lookup273: xcm::v2::multiasset::AssetId + **/ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", - Abstract: "Bytes", - }, + Abstract: "Bytes" + } }, - /** Lookup274: xcm::v2::multiasset::Fungibility */ + /** + * Lookup274: xcm::v2::multiasset::Fungibility + **/ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV2MultiassetAssetInstance", - }, + NonFungible: "XcmV2MultiassetAssetInstance" + } }, - /** Lookup275: xcm::v2::multiasset::AssetInstance */ + /** + * Lookup275: xcm::v2::multiasset::AssetInstance + **/ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -2763,19 +3048,23 @@ export default { Array8: "[u8;8]", Array16: "[u8;16]", Array32: "[u8;32]", - Blob: "Bytes", - }, + Blob: "Bytes" + } }, - /** Lookup276: xcm::v2::Response */ + /** + * Lookup276: xcm::v2::Response + **/ XcmV2Response: { _enum: { Null: "Null", Assets: "XcmV2MultiassetMultiAssets", ExecutionResult: "Option<(u32,XcmV2TraitsError)>", - Version: "u32", - }, + Version: "u32" + } }, - /** Lookup279: xcm::v2::traits::Error */ + /** + * Lookup279: xcm::v2::traits::Error + **/ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -2803,48 +3092,64 @@ export default { UnhandledXcmVersion: "Null", WeightLimitReached: "u64", Barrier: "Null", - WeightNotComputable: "Null", - }, + WeightNotComputable: "Null" + } }, - /** Lookup280: xcm::v2::OriginKind */ + /** + * Lookup280: xcm::v2::OriginKind + **/ XcmV2OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup281: xcm::double_encoded::DoubleEncoded */ + /** + * Lookup281: xcm::double_encoded::DoubleEncoded + **/ XcmDoubleEncoded: { - encoded: "Bytes", + encoded: "Bytes" }, - /** Lookup282: xcm::v2::multiasset::MultiAssetFilter */ + /** + * Lookup282: xcm::v2::multiasset::MultiAssetFilter + **/ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", - Wild: "XcmV2MultiassetWildMultiAsset", - }, + Wild: "XcmV2MultiassetWildMultiAsset" + } }, - /** Lookup283: xcm::v2::multiasset::WildMultiAsset */ + /** + * Lookup283: xcm::v2::multiasset::WildMultiAsset + **/ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetWildFungibility", - }, - }, + fun: "XcmV2MultiassetWildFungibility" + } + } }, - /** Lookup284: xcm::v2::multiasset::WildFungibility */ + /** + * Lookup284: xcm::v2::multiasset::WildFungibility + **/ XcmV2MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup285: xcm::v2::WeightLimit */ + /** + * Lookup285: xcm::v2::WeightLimit + **/ XcmV2WeightLimit: { _enum: { Unlimited: "Null", - Limited: "Compact", - }, + Limited: "Compact" + } }, - /** Lookup286: xcm::v3::Xcm */ + /** + * Lookup286: xcm::v3::Xcm + **/ XcmV3Xcm: "Vec", - /** Lookup288: xcm::v3::Instruction */ + /** + * Lookup288: xcm::v3::Instruction + **/ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -2854,69 +3159,69 @@ export default { queryId: "Compact", response: "XcmV3Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "XcmV3MultiassetMultiAssets", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, TransferReserveAsset: { assets: "XcmV3MultiassetMultiAssets", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV3Junctions", ReportError: "XcmV3QueryResponseInfo", DepositAsset: { assets: "XcmV3MultiassetMultiAssetFilter", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, DepositReserveAsset: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ExchangeAsset: { give: "XcmV3MultiassetMultiAssetFilter", want: "XcmV3MultiassetMultiAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "XcmV3MultiassetMultiAssetFilter", reserve: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, InitiateTeleport: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ReportHolding: { responseInfo: "XcmV3QueryResponseInfo", - assets: "XcmV3MultiassetMultiAssetFilter", + assets: "XcmV3MultiassetMultiAssetFilter" }, BuyExecution: { fees: "XcmV3MultiAsset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV3Xcm", @@ -2924,12 +3229,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV3MultiassetMultiAssets", - ticket: "StagingXcmV3MultiLocation", + ticket: "StagingXcmV3MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "XcmV3MultiassetMultiAssets", @@ -2939,14 +3244,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "XcmV3QueryResponseInfo", + responseInfo: "XcmV3QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "XcmV3QueryResponseInfo", ClearTransactStatus: "Null", @@ -2954,58 +3259,68 @@ export default { ExportMessage: { network: "XcmV3JunctionNetworkId", destination: "XcmV3Junctions", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, LockAsset: { asset: "XcmV3MultiAsset", - unlocker: "StagingXcmV3MultiLocation", + unlocker: "StagingXcmV3MultiLocation" }, UnlockAsset: { asset: "XcmV3MultiAsset", - target: "StagingXcmV3MultiLocation", + target: "StagingXcmV3MultiLocation" }, NoteUnlockable: { asset: "XcmV3MultiAsset", - owner: "StagingXcmV3MultiLocation", + owner: "StagingXcmV3MultiLocation" }, RequestUnlock: { asset: "XcmV3MultiAsset", - locker: "StagingXcmV3MultiLocation", + locker: "StagingXcmV3MultiLocation" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV3MultiLocation", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup289: xcm::v3::multiasset::MultiAssets */ + /** + * Lookup289: xcm::v3::multiasset::MultiAssets + **/ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup291: xcm::v3::multiasset::MultiAsset */ + /** + * Lookup291: xcm::v3::multiasset::MultiAsset + **/ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetFungibility", + fun: "XcmV3MultiassetFungibility" }, - /** Lookup292: xcm::v3::multiasset::AssetId */ + /** + * Lookup292: xcm::v3::multiasset::AssetId + **/ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", - Abstract: "[u8;32]", - }, + Abstract: "[u8;32]" + } }, - /** Lookup293: xcm::v3::multiasset::Fungibility */ + /** + * Lookup293: xcm::v3::multiasset::Fungibility + **/ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV3MultiassetAssetInstance", - }, + NonFungible: "XcmV3MultiassetAssetInstance" + } }, - /** Lookup294: xcm::v3::multiasset::AssetInstance */ + /** + * Lookup294: xcm::v3::multiasset::AssetInstance + **/ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -3013,10 +3328,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup295: xcm::v3::Response */ + /** + * Lookup295: xcm::v3::Response + **/ XcmV3Response: { _enum: { Null: "Null", @@ -3024,10 +3341,12 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup298: xcm::v3::traits::Error */ + /** + * Lookup298: xcm::v3::traits::Error + **/ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -3069,73 +3388,93 @@ export default { WeightLimitReached: "SpWeightsWeightV2Weight", Barrier: "Null", WeightNotComputable: "Null", - ExceedsStackLimit: "Null", - }, + ExceedsStackLimit: "Null" + } }, - /** Lookup300: xcm::v3::PalletInfo */ + /** + * Lookup300: xcm::v3::PalletInfo + **/ XcmV3PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup303: xcm::v3::MaybeErrorCode */ + /** + * Lookup303: xcm::v3::MaybeErrorCode + **/ XcmV3MaybeErrorCode: { _enum: { Success: "Null", Error: "Bytes", - TruncatedError: "Bytes", - }, + TruncatedError: "Bytes" + } }, - /** Lookup306: xcm::v3::OriginKind */ + /** + * Lookup306: xcm::v3::OriginKind + **/ XcmV3OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup307: xcm::v3::QueryResponseInfo */ + /** + * Lookup307: xcm::v3::QueryResponseInfo + **/ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup308: xcm::v3::multiasset::MultiAssetFilter */ + /** + * Lookup308: xcm::v3::multiasset::MultiAssetFilter + **/ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", - Wild: "XcmV3MultiassetWildMultiAsset", - }, + Wild: "XcmV3MultiassetWildMultiAsset" + } }, - /** Lookup309: xcm::v3::multiasset::WildMultiAsset */ + /** + * Lookup309: xcm::v3::multiasset::WildMultiAsset + **/ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetWildFungibility", + fun: "XcmV3MultiassetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup310: xcm::v3::multiasset::WildFungibility */ + /** + * Lookup310: xcm::v3::multiasset::WildFungibility + **/ XcmV3MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup311: xcm::v3::WeightLimit */ + /** + * Lookup311: xcm::v3::WeightLimit + **/ XcmV3WeightLimit: { _enum: { Unlimited: "Null", - Limited: "SpWeightsWeightV2Weight", - }, + Limited: "SpWeightsWeightV2Weight" + } }, - /** Lookup312: staging_xcm::v4::Xcm */ + /** + * Lookup312: staging_xcm::v4::Xcm + **/ StagingXcmV4Xcm: "Vec", - /** Lookup314: staging_xcm::v4::Instruction */ + /** + * Lookup314: staging_xcm::v4::Instruction + **/ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -3145,69 +3484,69 @@ export default { queryId: "Compact", response: "StagingXcmV4Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "StagingXcmV4AssetAssets", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, TransferReserveAsset: { assets: "StagingXcmV4AssetAssets", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "StagingXcmV4Junctions", ReportError: "StagingXcmV4QueryResponseInfo", DepositAsset: { assets: "StagingXcmV4AssetAssetFilter", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, DepositReserveAsset: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ExchangeAsset: { give: "StagingXcmV4AssetAssetFilter", want: "StagingXcmV4AssetAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "StagingXcmV4AssetAssetFilter", reserve: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, InitiateTeleport: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ReportHolding: { responseInfo: "StagingXcmV4QueryResponseInfo", - assets: "StagingXcmV4AssetAssetFilter", + assets: "StagingXcmV4AssetAssetFilter" }, BuyExecution: { fees: "StagingXcmV4Asset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "StagingXcmV4Xcm", @@ -3215,12 +3554,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "StagingXcmV4AssetAssets", - ticket: "StagingXcmV4Location", + ticket: "StagingXcmV4Location" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "StagingXcmV4AssetAssets", @@ -3230,14 +3569,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "StagingXcmV4QueryResponseInfo", + responseInfo: "StagingXcmV4QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "StagingXcmV4QueryResponseInfo", ClearTransactStatus: "Null", @@ -3245,53 +3584,63 @@ export default { ExportMessage: { network: "StagingXcmV4JunctionNetworkId", destination: "StagingXcmV4Junctions", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, LockAsset: { asset: "StagingXcmV4Asset", - unlocker: "StagingXcmV4Location", + unlocker: "StagingXcmV4Location" }, UnlockAsset: { asset: "StagingXcmV4Asset", - target: "StagingXcmV4Location", + target: "StagingXcmV4Location" }, NoteUnlockable: { asset: "StagingXcmV4Asset", - owner: "StagingXcmV4Location", + owner: "StagingXcmV4Location" }, RequestUnlock: { asset: "StagingXcmV4Asset", - locker: "StagingXcmV4Location", + locker: "StagingXcmV4Location" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV4Location", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup315: staging_xcm::v4::asset::Assets */ + /** + * Lookup315: staging_xcm::v4::asset::Assets + **/ StagingXcmV4AssetAssets: "Vec", - /** Lookup317: staging_xcm::v4::asset::Asset */ + /** + * Lookup317: staging_xcm::v4::asset::Asset + **/ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetFungibility", + fun: "StagingXcmV4AssetFungibility" }, - /** Lookup318: staging_xcm::v4::asset::AssetId */ + /** + * Lookup318: staging_xcm::v4::asset::AssetId + **/ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup319: staging_xcm::v4::asset::Fungibility */ + /** + * Lookup319: staging_xcm::v4::asset::Fungibility + **/ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "StagingXcmV4AssetAssetInstance", - }, + NonFungible: "StagingXcmV4AssetAssetInstance" + } }, - /** Lookup320: staging_xcm::v4::asset::AssetInstance */ + /** + * Lookup320: staging_xcm::v4::asset::AssetInstance + **/ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -3299,10 +3648,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup321: staging_xcm::v4::Response */ + /** + * Lookup321: staging_xcm::v4::Response + **/ StagingXcmV4Response: { _enum: { Null: "Null", @@ -3310,174 +3661,192 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup323: staging_xcm::v4::PalletInfo */ + /** + * Lookup323: staging_xcm::v4::PalletInfo + **/ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup327: staging_xcm::v4::QueryResponseInfo */ + /** + * Lookup327: staging_xcm::v4::QueryResponseInfo + **/ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup328: staging_xcm::v4::asset::AssetFilter */ + /** + * Lookup328: staging_xcm::v4::asset::AssetFilter + **/ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", - Wild: "StagingXcmV4AssetWildAsset", - }, + Wild: "StagingXcmV4AssetWildAsset" + } }, - /** Lookup329: staging_xcm::v4::asset::WildAsset */ + /** + * Lookup329: staging_xcm::v4::asset::WildAsset + **/ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", AllOf: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetWildFungibility", + fun: "StagingXcmV4AssetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup330: staging_xcm::v4::asset::WildFungibility */ + /** + * Lookup330: staging_xcm::v4::asset::WildFungibility + **/ StagingXcmV4AssetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup331: xcm::VersionedAssets */ + /** + * Lookup331: xcm::VersionedAssets + **/ XcmVersionedAssets: { _enum: { __Unused0: "Null", V2: "XcmV2MultiassetMultiAssets", __Unused2: "Null", V3: "XcmV3MultiassetMultiAssets", - V4: "StagingXcmV4AssetAssets", - }, + V4: "StagingXcmV4AssetAssets" + } }, - /** Lookup343: staging_xcm_executor::traits::asset_transfer::TransferType */ + /** + * Lookup343: staging_xcm_executor::traits::asset_transfer::TransferType + **/ StagingXcmExecutorAssetTransferTransferType: { _enum: { Teleport: "Null", LocalReserve: "Null", DestinationReserve: "Null", - RemoteReserve: "XcmVersionedLocation", - }, + RemoteReserve: "XcmVersionedLocation" + } }, - /** Lookup344: xcm::VersionedAssetId */ + /** + * Lookup344: xcm::VersionedAssetId + **/ XcmVersionedAssetId: { _enum: { __Unused0: "Null", __Unused1: "Null", __Unused2: "Null", V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, + V4: "StagingXcmV4AssetAssetId" + } }, - /** Lookup345: pallet_assets::pallet::Call */ + /** + * Lookup345: pallet_assets::pallet::Call + **/ PalletAssetsCall: { _enum: { create: { id: "Compact", admin: "AccountId20", - minBalance: "u128", + minBalance: "u128" }, force_create: { id: "Compact", owner: "AccountId20", isSufficient: "bool", - minBalance: "Compact", + minBalance: "Compact" }, start_destroy: { - id: "Compact", + id: "Compact" }, destroy_accounts: { - id: "Compact", + id: "Compact" }, destroy_approvals: { - id: "Compact", + id: "Compact" }, finish_destroy: { - id: "Compact", + id: "Compact" }, mint: { id: "Compact", beneficiary: "AccountId20", - amount: "Compact", + amount: "Compact" }, burn: { id: "Compact", who: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer_keep_alive: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, force_transfer: { id: "Compact", source: "AccountId20", dest: "AccountId20", - amount: "Compact", + amount: "Compact" }, freeze: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, thaw: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, freeze_asset: { - id: "Compact", + id: "Compact" }, thaw_asset: { - id: "Compact", + id: "Compact" }, transfer_ownership: { id: "Compact", - owner: "AccountId20", + owner: "AccountId20" }, set_team: { id: "Compact", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", - decimals: "u8", + decimals: "u8" }, clear_metadata: { - id: "Compact", + id: "Compact" }, force_set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, force_clear_metadata: { - id: "Compact", + id: "Compact" }, force_asset_status: { id: "Compact", @@ -3487,102 +3856,110 @@ export default { freezer: "AccountId20", minBalance: "Compact", isSufficient: "bool", - isFrozen: "bool", + isFrozen: "bool" }, approve_transfer: { id: "Compact", delegate: "AccountId20", - amount: "Compact", + amount: "Compact" }, cancel_approval: { id: "Compact", - delegate: "AccountId20", + delegate: "AccountId20" }, force_cancel_approval: { id: "Compact", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, transfer_approved: { id: "Compact", owner: "AccountId20", destination: "AccountId20", - amount: "Compact", + amount: "Compact" }, touch: { - id: "Compact", + id: "Compact" }, refund: { id: "Compact", - allowBurn: "bool", + allowBurn: "bool" }, set_min_balance: { id: "Compact", - minBalance: "u128", + minBalance: "u128" }, touch_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, refund_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, block: { id: "Compact", - who: "AccountId20", - }, - }, + who: "AccountId20" + } + } }, - /** Lookup346: pallet_asset_manager::pallet::Call */ + /** + * Lookup346: pallet_asset_manager::pallet::Call + **/ PalletAssetManagerCall: { _enum: { register_foreign_asset: { asset: "MoonbeamRuntimeXcmConfigAssetType", metadata: "MoonbeamRuntimeAssetConfigAssetRegistrarMetadata", minAmount: "u128", - isSufficient: "bool", + isSufficient: "bool" }, __Unused1: "Null", change_existing_asset_type: { assetId: "u128", newAssetType: "MoonbeamRuntimeXcmConfigAssetType", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused3: "Null", remove_existing_asset_type: { assetId: "u128", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused5: "Null", destroy_foreign_asset: { assetId: "u128", - numAssetsWeightHint: "u32", - }, - }, + numAssetsWeightHint: "u32" + } + } }, - /** Lookup347: moonbeam_runtime::xcm_config::AssetType */ + /** + * Lookup347: moonbeam_runtime::xcm_config::AssetType + **/ MoonbeamRuntimeXcmConfigAssetType: { _enum: { - Xcm: "StagingXcmV3MultiLocation", - }, + Xcm: "StagingXcmV3MultiLocation" + } }, - /** Lookup348: moonbeam_runtime::asset_config::AssetRegistrarMetadata */ + /** + * Lookup348: moonbeam_runtime::asset_config::AssetRegistrarMetadata + **/ MoonbeamRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup349: pallet_xcm_transactor::pallet::Call */ + /** + * Lookup349: pallet_xcm_transactor::pallet::Call + **/ PalletXcmTransactorCall: { _enum: { register: { who: "AccountId20", - index: "u16", + index: "u16" }, deregister: { - index: "u16", + index: "u16" }, transact_through_derivative: { dest: "MoonbeamRuntimeXcmConfigTransactors", @@ -3590,7 +3967,7 @@ export default { fee: "PalletXcmTransactorCurrencyPayment", innerCall: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, transact_through_sovereign: { dest: "XcmVersionedLocation", @@ -3599,173 +3976,207 @@ export default { call: "Bytes", originKind: "XcmV3OriginKind", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_transact_info: { location: "XcmVersionedLocation", transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, remove_transact_info: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, transact_through_signed: { dest: "XcmVersionedLocation", fee: "PalletXcmTransactorCurrencyPayment", call: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_fee_per_second: { assetLocation: "XcmVersionedLocation", - feePerSecond: "u128", + feePerSecond: "u128" }, remove_fee_per_second: { - assetLocation: "XcmVersionedLocation", + assetLocation: "XcmVersionedLocation" }, hrmp_manage: { action: "PalletXcmTransactorHrmpOperation", fee: "PalletXcmTransactorCurrencyPayment", - weightInfo: "PalletXcmTransactorTransactWeights", - }, - }, + weightInfo: "PalletXcmTransactorTransactWeights" + } + } }, - /** Lookup350: moonbeam_runtime::xcm_config::Transactors */ + /** + * Lookup350: moonbeam_runtime::xcm_config::Transactors + **/ MoonbeamRuntimeXcmConfigTransactors: { - _enum: ["Relay"], + _enum: ["Relay"] }, - /** Lookup351: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** + * Lookup351: pallet_xcm_transactor::pallet::CurrencyPayment + **/ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", - feeAmount: "Option", + feeAmount: "Option" }, - /** Lookup352: moonbeam_runtime::xcm_config::CurrencyId */ + /** + * Lookup352: moonbeam_runtime::xcm_config::CurrencyId + **/ MoonbeamRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", ForeignAsset: "u128", Erc20: { - contractAddress: "H160", - }, - }, + contractAddress: "H160" + } + } }, - /** Lookup353: pallet_xcm_transactor::pallet::Currency */ + /** + * Lookup353: pallet_xcm_transactor::pallet::Currency + **/ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonbeamRuntimeXcmConfigCurrencyId", - AsMultiLocation: "XcmVersionedLocation", - }, + AsMultiLocation: "XcmVersionedLocation" + } }, - /** Lookup355: pallet_xcm_transactor::pallet::TransactWeights */ + /** + * Lookup355: pallet_xcm_transactor::pallet::TransactWeights + **/ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", - overallWeight: "Option", + overallWeight: "Option" }, - /** Lookup358: pallet_xcm_transactor::pallet::HrmpOperation */ + /** + * Lookup358: pallet_xcm_transactor::pallet::HrmpOperation + **/ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", Accept: { - paraId: "u32", + paraId: "u32" }, Close: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", Cancel: { channelId: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", - openRequests: "u32", - }, - }, + openRequests: "u32" + } + } }, - /** Lookup359: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** + * Lookup359: pallet_xcm_transactor::pallet::HrmpInitParams + **/ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", - proposedMaxMessageSize: "u32", + proposedMaxMessageSize: "u32" }, - /** Lookup360: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** + * Lookup360: polkadot_parachain_primitives::primitives::HrmpChannelId + **/ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", - recipient: "u32", + recipient: "u32" }, - /** Lookup361: pallet_ethereum_xcm::pallet::Call */ + /** + * Lookup361: pallet_ethereum_xcm::pallet::Call + **/ PalletEthereumXcmCall: { _enum: { transact: { - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, transact_through_proxy: { transactAs: "H160", - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, suspend_ethereum_xcm_execution: "Null", resume_ethereum_xcm_execution: "Null", force_transact_as: { transactAs: "H160", xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", - forceCreateAddress: "Option", - }, - }, + forceCreateAddress: "Option" + } + } }, - /** Lookup362: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** + * Lookup362: xcm_primitives::ethereum_xcm::EthereumXcmTransaction + **/ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", - V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", - }, + V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2" + } }, - /** Lookup363: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** + * Lookup363: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup364: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** + * Lookup364: xcm_primitives::ethereum_xcm::EthereumXcmFee + **/ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", - Auto: "Null", - }, + Auto: "Null" + } }, - /** Lookup365: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** + * Lookup365: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee + **/ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", - maxFeePerGas: "Option", + maxFeePerGas: "Option" }, - /** Lookup368: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** + * Lookup368: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup370: pallet_message_queue::pallet::Call */ + /** + * Lookup370: pallet_message_queue::pallet::Call + **/ PalletMessageQueueCall: { _enum: { reap_page: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", - pageIndex: "u32", + pageIndex: "u32" }, execute_overweight: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", page: "u32", index: "u32", - weightLimit: "SpWeightsWeightV2Weight", - }, - }, + weightLimit: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup371: cumulus_primitives_core::AggregateMessageOrigin */ + /** + * Lookup371: cumulus_primitives_core::AggregateMessageOrigin + **/ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", Parent: "Null", - Sibling: "u32", - }, + Sibling: "u32" + } }, - /** Lookup372: pallet_moonbeam_foreign_assets::pallet::Call */ + /** + * Lookup372: pallet_moonbeam_foreign_assets::pallet::Call + **/ PalletMoonbeamForeignAssetsCall: { _enum: { create_foreign_asset: { @@ -3773,154 +4184,174 @@ export default { xcmLocation: "StagingXcmV4Location", decimals: "u8", symbol: "Bytes", - name: "Bytes", + name: "Bytes" }, change_xcm_location: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, freeze_foreign_asset: { assetId: "u128", - allowXcmDeposit: "bool", + allowXcmDeposit: "bool" }, unfreeze_foreign_asset: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup374: pallet_xcm_weight_trader::pallet::Call */ + /** + * Lookup374: pallet_xcm_weight_trader::pallet::Call + **/ PalletXcmWeightTraderCall: { _enum: { add_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, edit_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, pause_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, resume_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, remove_asset: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup375: pallet_emergency_para_xcm::pallet::Call */ + /** + * Lookup375: pallet_emergency_para_xcm::pallet::Call + **/ PalletEmergencyParaXcmCall: { _enum: { paused_to_normal: "Null", fast_authorize_upgrade: { - codeHash: "H256", - }, - }, + codeHash: "H256" + } + } }, - /** Lookup376: pallet_randomness::pallet::Call */ + /** + * Lookup376: pallet_randomness::pallet::Call + **/ PalletRandomnessCall: { - _enum: ["set_babe_randomness_results"], + _enum: ["set_babe_randomness_results"] }, - /** Lookup377: sp_runtime::traits::BlakeTwo256 */ + /** + * Lookup377: sp_runtime::traits::BlakeTwo256 + **/ SpRuntimeBlakeTwo256: "Null", - /** Lookup379: pallet_conviction_voting::types::Tally */ + /** + * Lookup379: pallet_conviction_voting::types::Tally + **/ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", - support: "u128", + support: "u128" }, - /** Lookup380: pallet_whitelist::pallet::Event */ + /** + * Lookup380: pallet_whitelist::pallet::Event + **/ PalletWhitelistEvent: { _enum: { CallWhitelisted: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallRemoved: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallDispatched: { callHash: "H256", - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup382: frame_support::dispatch::PostDispatchInfo */ + /** + * Lookup382: frame_support::dispatch::PostDispatchInfo + **/ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup383: sp_runtime::DispatchErrorWithPostInfo */ + /** + * Lookup383: sp_runtime::DispatchErrorWithPostInfo + **/ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, - /** Lookup384: pallet_collective::pallet::Event */ + /** + * Lookup384: pallet_collective::pallet::Event + **/ PalletCollectiveEvent: { _enum: { Proposed: { account: "AccountId20", proposalIndex: "u32", proposalHash: "H256", - threshold: "u32", + threshold: "u32" }, Voted: { account: "AccountId20", proposalHash: "H256", voted: "bool", yes: "u32", - no: "u32", + no: "u32" }, Approved: { - proposalHash: "H256", + proposalHash: "H256" }, Disapproved: { - proposalHash: "H256", + proposalHash: "H256" }, Executed: { proposalHash: "H256", - result: "Result", + result: "Result" }, MemberExecuted: { proposalHash: "H256", - result: "Result", + result: "Result" }, Closed: { proposalHash: "H256", yes: "u32", - no: "u32", - }, - }, + no: "u32" + } + } }, - /** Lookup386: pallet_treasury::pallet::Event */ + /** + * Lookup386: pallet_treasury::pallet::Event + **/ PalletTreasuryEvent: { _enum: { Spending: { - budgetRemaining: "u128", + budgetRemaining: "u128" }, Awarded: { proposalIndex: "u32", award: "u128", - account: "AccountId20", + account: "AccountId20" }, Burnt: { - burntFunds: "u128", + burntFunds: "u128" }, Rollover: { - rolloverBalance: "u128", + rolloverBalance: "u128" }, Deposit: { - value: "u128", + value: "u128" }, SpendApproved: { proposalIndex: "u32", amount: "u128", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, UpdatedInactive: { reactivated: "u128", - deactivated: "u128", + deactivated: "u128" }, AssetSpendApproved: { index: "u32", @@ -3928,25 +4359,27 @@ export default { amount: "u128", beneficiary: "AccountId20", validFrom: "u32", - expireAt: "u32", + expireAt: "u32" }, AssetSpendVoided: { - index: "u32", + index: "u32" }, Paid: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, PaymentFailed: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, SpendProcessed: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup387: pallet_crowdloan_rewards::pallet::Event */ + /** + * Lookup387: pallet_crowdloan_rewards::pallet::Event + **/ PalletCrowdloanRewardsEvent: { _enum: { InitialPaymentMade: "(AccountId20,u128)", @@ -3954,406 +4387,428 @@ export default { RewardsPaid: "(AccountId20,u128)", RewardAddressUpdated: "(AccountId20,AccountId20)", InitializedAlreadyInitializedAccount: "([u8;32],Option,u128)", - InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)", - }, + InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)" + } }, - /** Lookup388: cumulus_pallet_xcmp_queue::pallet::Event */ + /** + * Lookup388: cumulus_pallet_xcmp_queue::pallet::Event + **/ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { - messageHash: "[u8;32]", - }, - }, + messageHash: "[u8;32]" + } + } }, - /** Lookup389: cumulus_pallet_xcm::pallet::Event */ + /** + * Lookup389: cumulus_pallet_xcm::pallet::Event + **/ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", UnsupportedVersion: "[u8;32]", - ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", - }, + ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)" + } }, - /** Lookup390: staging_xcm::v4::traits::Outcome */ + /** + * Lookup390: staging_xcm::v4::traits::Outcome + **/ StagingXcmV4TraitsOutcome: { _enum: { Complete: { - used: "SpWeightsWeightV2Weight", + used: "SpWeightsWeightV2Weight" }, Incomplete: { used: "SpWeightsWeightV2Weight", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, Error: { - error: "XcmV3TraitsError", - }, - }, + error: "XcmV3TraitsError" + } + } }, - /** Lookup391: pallet_xcm::pallet::Event */ + /** + * Lookup391: pallet_xcm::pallet::Event + **/ PalletXcmEvent: { _enum: { Attempted: { - outcome: "StagingXcmV4TraitsOutcome", + outcome: "StagingXcmV4TraitsOutcome" }, Sent: { origin: "StagingXcmV4Location", destination: "StagingXcmV4Location", message: "StagingXcmV4Xcm", - messageId: "[u8;32]", + messageId: "[u8;32]" }, UnexpectedResponse: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseReady: { queryId: "u64", - response: "StagingXcmV4Response", + response: "StagingXcmV4Response" }, Notified: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyOverweight: { queryId: "u64", palletIndex: "u8", callIndex: "u8", actualWeight: "SpWeightsWeightV2Weight", - maxBudgetedWeight: "SpWeightsWeightV2Weight", + maxBudgetedWeight: "SpWeightsWeightV2Weight" }, NotifyDispatchError: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyDecodeFailed: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, InvalidResponder: { origin: "StagingXcmV4Location", queryId: "u64", - expectedLocation: "Option", + expectedLocation: "Option" }, InvalidResponderVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseTaken: { - queryId: "u64", + queryId: "u64" }, AssetsTrapped: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionChangeNotified: { destination: "StagingXcmV4Location", result: "u32", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, SupportedVersionChanged: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, NotifyTargetSendFail: { location: "StagingXcmV4Location", queryId: "u64", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, NotifyTargetMigrationFail: { location: "XcmVersionedLocation", - queryId: "u64", + queryId: "u64" }, InvalidQuerierVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, InvalidQuerier: { origin: "StagingXcmV4Location", queryId: "u64", expectedQuerier: "StagingXcmV4Location", - maybeActualQuerier: "Option", + maybeActualQuerier: "Option" }, VersionNotifyStarted: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyRequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyUnrequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, FeesPaid: { paying: "StagingXcmV4Location", - fees: "StagingXcmV4AssetAssets", + fees: "StagingXcmV4AssetAssets" }, AssetsClaimed: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionMigrationFinished: { - version: "u32", - }, - }, + version: "u32" + } + } }, - /** Lookup392: pallet_assets::pallet::Event */ + /** + * Lookup392: pallet_assets::pallet::Event + **/ PalletAssetsEvent: { _enum: { Created: { assetId: "u128", creator: "AccountId20", - owner: "AccountId20", + owner: "AccountId20" }, Issued: { assetId: "u128", owner: "AccountId20", - amount: "u128", + amount: "u128" }, Transferred: { assetId: "u128", from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { assetId: "u128", owner: "AccountId20", - balance: "u128", + balance: "u128" }, TeamChanged: { assetId: "u128", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, OwnerChanged: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, Frozen: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Thawed: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, AssetFrozen: { - assetId: "u128", + assetId: "u128" }, AssetThawed: { - assetId: "u128", + assetId: "u128" }, AccountsDestroyed: { assetId: "u128", accountsDestroyed: "u32", - accountsRemaining: "u32", + accountsRemaining: "u32" }, ApprovalsDestroyed: { assetId: "u128", approvalsDestroyed: "u32", - approvalsRemaining: "u32", + approvalsRemaining: "u32" }, DestructionStarted: { - assetId: "u128", + assetId: "u128" }, Destroyed: { - assetId: "u128", + assetId: "u128" }, ForceCreated: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, MetadataSet: { assetId: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, MetadataCleared: { - assetId: "u128", + assetId: "u128" }, ApprovedTransfer: { assetId: "u128", source: "AccountId20", delegate: "AccountId20", - amount: "u128", + amount: "u128" }, ApprovalCancelled: { assetId: "u128", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, TransferredApproved: { assetId: "u128", owner: "AccountId20", delegate: "AccountId20", destination: "AccountId20", - amount: "u128", + amount: "u128" }, AssetStatusChanged: { - assetId: "u128", + assetId: "u128" }, AssetMinBalanceChanged: { assetId: "u128", - newMinBalance: "u128", + newMinBalance: "u128" }, Touched: { assetId: "u128", who: "AccountId20", - depositor: "AccountId20", + depositor: "AccountId20" }, Blocked: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Deposited: { assetId: "u128", who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdrawn: { assetId: "u128", who: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup393: pallet_asset_manager::pallet::Event */ + /** + * Lookup393: pallet_asset_manager::pallet::Event + **/ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { assetId: "u128", asset: "MoonbeamRuntimeXcmConfigAssetType", - metadata: "MoonbeamRuntimeAssetConfigAssetRegistrarMetadata", + metadata: "MoonbeamRuntimeAssetConfigAssetRegistrarMetadata" }, UnitsPerSecondChanged: "Null", ForeignAssetXcmLocationChanged: { assetId: "u128", - newAssetType: "MoonbeamRuntimeXcmConfigAssetType", + newAssetType: "MoonbeamRuntimeXcmConfigAssetType" }, ForeignAssetRemoved: { assetId: "u128", - assetType: "MoonbeamRuntimeXcmConfigAssetType", + assetType: "MoonbeamRuntimeXcmConfigAssetType" }, SupportedAssetRemoved: { - assetType: "MoonbeamRuntimeXcmConfigAssetType", + assetType: "MoonbeamRuntimeXcmConfigAssetType" }, ForeignAssetDestroyed: { assetId: "u128", - assetType: "MoonbeamRuntimeXcmConfigAssetType", + assetType: "MoonbeamRuntimeXcmConfigAssetType" }, LocalAssetDestroyed: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup394: pallet_xcm_transactor::pallet::Event */ + /** + * Lookup394: pallet_xcm_transactor::pallet::Event + **/ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { accountId: "AccountId20", dest: "StagingXcmV4Location", call: "Bytes", - index: "u16", + index: "u16" }, TransactedSovereign: { feePayer: "Option", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, TransactedSigned: { feePayer: "AccountId20", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, RegisteredDerivative: { accountId: "AccountId20", - index: "u16", + index: "u16" }, DeRegisteredDerivative: { - index: "u16", + index: "u16" }, TransactFailed: { - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, TransactInfoChanged: { location: "StagingXcmV4Location", - remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight", + remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight" }, TransactInfoRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, DestFeePerSecondChanged: { location: "StagingXcmV4Location", - feePerSecond: "u128", + feePerSecond: "u128" }, DestFeePerSecondRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, HrmpManagementSent: { - action: "PalletXcmTransactorHrmpOperation", - }, - }, + action: "PalletXcmTransactorHrmpOperation" + } + } }, - /** Lookup395: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** + * Lookup395: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight + **/ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, - /** Lookup396: pallet_ethereum_xcm::pallet::Event */ + /** + * Lookup396: pallet_ethereum_xcm::pallet::Event + **/ PalletEthereumXcmEvent: { _enum: { ExecutedFromXcm: { xcmMsgHash: "H256", - ethTxHash: "H256", - }, - }, + ethTxHash: "H256" + } + } }, - /** Lookup397: pallet_message_queue::pallet::Event */ + /** + * Lookup397: pallet_message_queue::pallet::Event + **/ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - error: "FrameSupportMessagesProcessMessageError", + error: "FrameSupportMessagesProcessMessageError" }, Processed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", weightUsed: "SpWeightsWeightV2Weight", - success: "bool", + success: "bool" }, OverweightEnqueued: { id: "[u8;32]", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", pageIndex: "u32", - messageIndex: "u32", + messageIndex: "u32" }, PageReaped: { origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup398: frame_support::traits::messages::ProcessMessageError */ + /** + * Lookup398: frame_support::traits::messages::ProcessMessageError + **/ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4361,58 +4816,66 @@ export default { Unsupported: "Null", Overweight: "SpWeightsWeightV2Weight", Yield: "Null", - StackLimitReached: "Null", - }, + StackLimitReached: "Null" + } }, - /** Lookup399: pallet_moonbeam_foreign_assets::pallet::Event */ + /** + * Lookup399: pallet_moonbeam_foreign_assets::pallet::Event + **/ PalletMoonbeamForeignAssetsEvent: { _enum: { ForeignAssetCreated: { contractAddress: "H160", assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetXcmLocationChanged: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, ForeignAssetFrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetUnfrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", - }, - }, + xcmLocation: "StagingXcmV4Location" + } + } }, - /** Lookup400: pallet_xcm_weight_trader::pallet::Event */ + /** + * Lookup400: pallet_xcm_weight_trader::pallet::Event + **/ PalletXcmWeightTraderEvent: { _enum: { SupportedAssetAdded: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, SupportedAssetEdited: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, PauseAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, ResumeAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, SupportedAssetRemoved: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup401: pallet_emergency_para_xcm::pallet::Event */ + /** + * Lookup401: pallet_emergency_para_xcm::pallet::Event + **/ PalletEmergencyParaXcmEvent: { - _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"], + _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"] }, - /** Lookup402: pallet_randomness::pallet::Event */ + /** + * Lookup402: pallet_randomness::pallet::Event + **/ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -4423,7 +4886,7 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestEpoch: "u64", + earliestEpoch: "u64" }, RandomnessRequestedLocal: { id: "u64", @@ -4433,73 +4896,93 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestBlock: "u32", + earliestBlock: "u32" }, RequestFulfilled: { - id: "u64", + id: "u64" }, RequestFeeIncreased: { id: "u64", - newFee: "u128", + newFee: "u128" }, RequestExpirationExecuted: { - id: "u64", - }, - }, + id: "u64" + } + } }, - /** Lookup403: frame_system::Phase */ + /** + * Lookup403: frame_system::Phase + **/ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", Finalization: "Null", - Initialization: "Null", - }, + Initialization: "Null" + } }, - /** Lookup405: frame_system::LastRuntimeUpgradeInfo */ + /** + * Lookup405: frame_system::LastRuntimeUpgradeInfo + **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", - specName: "Text", + specName: "Text" }, - /** Lookup406: frame_system::CodeUpgradeAuthorization */ + /** + * Lookup406: frame_system::CodeUpgradeAuthorization + **/ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, - /** Lookup407: frame_system::limits::BlockWeights */ + /** + * Lookup407: frame_system::limits::BlockWeights + **/ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", - perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", + perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass" }, - /** Lookup408: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup408: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", - mandatory: "FrameSystemLimitsWeightsPerClass", + mandatory: "FrameSystemLimitsWeightsPerClass" }, - /** Lookup409: frame_system::limits::WeightsPerClass */ + /** + * Lookup409: frame_system::limits::WeightsPerClass + **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", - reserved: "Option", + reserved: "Option" }, - /** Lookup410: frame_system::limits::BlockLength */ + /** + * Lookup410: frame_system::limits::BlockLength + **/ FrameSystemLimitsBlockLength: { - max: "FrameSupportDispatchPerDispatchClassU32", + max: "FrameSupportDispatchPerDispatchClassU32" }, - /** Lookup411: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup411: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", - mandatory: "u32", + mandatory: "u32" }, - /** Lookup412: sp_weights::RuntimeDbWeight */ + /** + * Lookup412: sp_weights::RuntimeDbWeight + **/ SpWeightsRuntimeDbWeight: { read: "u64", - write: "u64", + write: "u64" }, - /** Lookup413: sp_version::RuntimeVersion */ + /** + * Lookup413: sp_version::RuntimeVersion + **/ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4508,9 +4991,11 @@ export default { implVersion: "u32", apis: "Vec<([u8;8],u32)>", transactionVersion: "u32", - stateVersion: "u8", + stateVersion: "u8" }, - /** Lookup417: frame_system::pallet::Error */ + /** + * Lookup417: frame_system::pallet::Error + **/ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4521,63 +5006,83 @@ export default { "CallFiltered", "MultiBlockMigrationsOngoing", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** + * Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** + * Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", - hrmpOutgoing: "BTreeMap", + hrmpOutgoing: "BTreeMap" }, - /** Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** + * Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", - totalBytes: "u32", + totalBytes: "u32" }, - /** Lookup426: polkadot_primitives::v7::UpgradeGoAhead */ + /** + * Lookup426: polkadot_primitives::v7::UpgradeGoAhead + **/ PolkadotPrimitivesV7UpgradeGoAhead: { - _enum: ["Abort", "GoAhead"], + _enum: ["Abort", "GoAhead"] }, - /** Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** + * Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup429: polkadot_primitives::v7::UpgradeRestriction */ + /** + * Lookup429: polkadot_primitives::v7::UpgradeRestriction + **/ PolkadotPrimitivesV7UpgradeRestriction: { - _enum: ["Present"], + _enum: ["Present"] }, - /** Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** + * Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" }, - /** Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** + * Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", - remainingSize: "u32", + remainingSize: "u32" }, - /** Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel */ + /** + * Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel + **/ PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", msgCount: "u32", totalSize: "u32", - mqcHead: "Option", + mqcHead: "Option" }, - /** Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration */ + /** + * Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration + **/ PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", @@ -4588,19 +5093,25 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" }, - /** Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + /** + * Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams + **/ PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", - allowedAncestryLen: "u32", + allowedAncestryLen: "u32" }, - /** Lookup442: polkadot_core_primitives::OutboundHrmpMessage */ + /** + * Lookup442: polkadot_core_primitives::OutboundHrmpMessage + **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup444: cumulus_pallet_parachain_system::pallet::Error */ + /** + * Lookup444: cumulus_pallet_parachain_system::pallet::Error + **/ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4610,25 +5121,33 @@ export default { "HostConfigurationNotAvailable", "NotScheduled", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup446: pallet_balances::types::BalanceLock */ + /** + * Lookup446: pallet_balances::types::BalanceLock + **/ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", - reasons: "PalletBalancesReasons", + reasons: "PalletBalancesReasons" }, - /** Lookup447: pallet_balances::types::Reasons */ + /** + * Lookup447: pallet_balances::types::Reasons + **/ PalletBalancesReasons: { - _enum: ["Fee", "Misc", "All"], + _enum: ["Fee", "Misc", "All"] }, - /** Lookup450: pallet_balances::types::ReserveData */ + /** + * Lookup450: pallet_balances::types::ReserveData + **/ PalletBalancesReserveData: { id: "[u8;4]", - amount: "u128", + amount: "u128" }, - /** Lookup454: moonbeam_runtime::RuntimeHoldReason */ + /** + * Lookup454: moonbeam_runtime::RuntimeHoldReason + **/ MoonbeamRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4693,19 +5212,25 @@ export default { __Unused59: "Null", __Unused60: "Null", __Unused61: "Null", - Preimage: "PalletPreimageHoldReason", - }, + Preimage: "PalletPreimageHoldReason" + } }, - /** Lookup455: pallet_preimage::pallet::HoldReason */ + /** + * Lookup455: pallet_preimage::pallet::HoldReason + **/ PalletPreimageHoldReason: { - _enum: ["Preimage"], + _enum: ["Preimage"] }, - /** Lookup458: frame_support::traits::tokens::misc::IdAmount */ + /** + * Lookup458: frame_support::traits::tokens::misc::IdAmount + **/ FrameSupportTokensMiscIdAmount: { id: "Null", - amount: "u128", + amount: "u128" }, - /** Lookup460: pallet_balances::pallet::Error */ + /** + * Lookup460: pallet_balances::pallet::Error + **/ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4719,47 +5244,57 @@ export default { "TooManyHolds", "TooManyFreezes", "IssuanceDeactivated", - "DeltaZero", - ], + "DeltaZero" + ] }, - /** Lookup461: pallet_transaction_payment::Releases */ + /** + * Lookup461: pallet_transaction_payment::Releases + **/ PalletTransactionPaymentReleases: { - _enum: ["V1Ancient", "V2"], + _enum: ["V1Ancient", "V2"] }, - /** Lookup462: pallet_parachain_staking::types::RoundInfo */ + /** + * Lookup462: pallet_parachain_staking::types::RoundInfo + **/ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", - firstSlot: "u64", + firstSlot: "u64" }, - /** Lookup463: pallet_parachain_staking::types::Delegator */ + /** + * Lookup463: pallet_parachain_staking::types::Delegator + **/ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", total: "u128", lessTotal: "u128", - status: "PalletParachainStakingDelegatorStatus", + status: "PalletParachainStakingDelegatorStatus" }, /** - * Lookup464: - * pallet_parachain_staking::set::OrderedSet> - */ + * Lookup464: pallet_parachain_staking::set::OrderedSet> + **/ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup465: pallet_parachain_staking::types::Bond */ + /** + * Lookup465: pallet_parachain_staking::types::Bond + **/ PalletParachainStakingBond: { owner: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup467: pallet_parachain_staking::types::DelegatorStatus */ + /** + * Lookup467: pallet_parachain_staking::types::DelegatorStatus + **/ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup468: pallet_parachain_staking::types::CandidateMetadata */ + /** + * Lookup468: pallet_parachain_staking::types::CandidateMetadata + **/ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4770,87 +5305,104 @@ export default { topCapacity: "PalletParachainStakingCapacityStatus", bottomCapacity: "PalletParachainStakingCapacityStatus", request: "Option", - status: "PalletParachainStakingCollatorStatus", + status: "PalletParachainStakingCollatorStatus" }, - /** Lookup469: pallet_parachain_staking::types::CapacityStatus */ + /** + * Lookup469: pallet_parachain_staking::types::CapacityStatus + **/ PalletParachainStakingCapacityStatus: { - _enum: ["Full", "Empty", "Partial"], + _enum: ["Full", "Empty", "Partial"] }, - /** Lookup471: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** + * Lookup471: pallet_parachain_staking::types::CandidateBondLessRequest + **/ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", - whenExecutable: "u32", + whenExecutable: "u32" }, - /** Lookup472: pallet_parachain_staking::types::CollatorStatus */ + /** + * Lookup472: pallet_parachain_staking::types::CollatorStatus + **/ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", Idle: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup474: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** + * Lookup474: pallet_parachain_staking::delegation_requests::ScheduledRequest + **/ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, /** - * Lookup477: - * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) - */ + * Lookup477: pallet_parachain_staking::auto_compound::AutoCompoundConfig + **/ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", - value: "Percent", + value: "Percent" }, - /** Lookup479: pallet_parachain_staking::types::Delegations */ + /** + * Lookup479: pallet_parachain_staking::types::Delegations + **/ PalletParachainStakingDelegations: { delegations: "Vec", - total: "u128", + total: "u128" }, /** - * Lookup481: - * pallet_parachain_staking::set::BoundedOrderedSet, S> - */ + * Lookup481: pallet_parachain_staking::set::BoundedOrderedSet, S> + **/ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup484: pallet_parachain_staking::types::CollatorSnapshot */ + /** + * Lookup484: pallet_parachain_staking::types::CollatorSnapshot + **/ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", - total: "u128", + total: "u128" }, - /** Lookup486: pallet_parachain_staking::types::BondWithAutoCompound */ + /** + * Lookup486: pallet_parachain_staking::types::BondWithAutoCompound + **/ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", - autoCompound: "Percent", + autoCompound: "Percent" }, - /** Lookup487: pallet_parachain_staking::types::DelayedPayout */ + /** + * Lookup487: pallet_parachain_staking::types::DelayedPayout + **/ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", - collatorCommission: "Perbill", + collatorCommission: "Perbill" }, - /** Lookup488: pallet_parachain_staking::inflation::InflationInfo */ + /** + * Lookup488: pallet_parachain_staking::inflation::InflationInfo + **/ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", ideal: "u128", - max: "u128", + max: "u128" }, annual: { min: "Perbill", ideal: "Perbill", - max: "Perbill", + max: "Perbill" }, round: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, - /** Lookup489: pallet_parachain_staking::pallet::Error */ + /** + * Lookup489: pallet_parachain_staking::pallet::Error + **/ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4908,23 +5460,29 @@ export default { "CannotSetAboveMaxCandidates", "RemovedCall", "MarkingOfflineNotEnabled", - "CurrentRoundTooLow", - ], + "CurrentRoundTooLow" + ] }, - /** Lookup490: pallet_author_inherent::pallet::Error */ + /** + * Lookup490: pallet_author_inherent::pallet::Error + **/ PalletAuthorInherentError: { - _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], + _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"] }, - /** Lookup491: pallet_author_mapping::pallet::RegistrationInfo */ + /** + * Lookup491: pallet_author_mapping::pallet::RegistrationInfo + **/ PalletAuthorMappingRegistrationInfo: { _alias: { - keys_: "keys", + keys_: "keys" }, account: "AccountId20", deposit: "u128", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, - /** Lookup492: pallet_author_mapping::pallet::Error */ + /** + * Lookup492: pallet_author_mapping::pallet::Error + **/ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -4934,21 +5492,27 @@ export default { "OldAuthorIdNotFound", "WrongKeySize", "DecodeNimbusFailed", - "DecodeKeysFailed", - ], + "DecodeKeysFailed" + ] }, - /** Lookup493: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** + * Lookup493: pallet_moonbeam_orbiters::types::CollatorPoolInfo + **/ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", - nextOrbiter: "u32", + nextOrbiter: "u32" }, - /** Lookup495: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** + * Lookup495: pallet_moonbeam_orbiters::types::CurrentOrbiter + **/ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", - removed: "bool", + removed: "bool" }, - /** Lookup496: pallet_moonbeam_orbiters::pallet::Error */ + /** + * Lookup496: pallet_moonbeam_orbiters::pallet::Error + **/ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -4959,26 +5523,34 @@ export default { "OrbiterAlreadyInPool", "OrbiterDepositNotFound", "OrbiterNotFound", - "OrbiterStillInAPool", - ], + "OrbiterStillInAPool" + ] }, - /** Lookup499: pallet_utility::pallet::Error */ + /** + * Lookup499: pallet_utility::pallet::Error + **/ PalletUtilityError: { - _enum: ["TooManyCalls"], + _enum: ["TooManyCalls"] }, - /** Lookup502: pallet_proxy::ProxyDefinition */ + /** + * Lookup502: pallet_proxy::ProxyDefinition + **/ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", + delay: "u32" }, - /** Lookup506: pallet_proxy::Announcement */ + /** + * Lookup506: pallet_proxy::Announcement + **/ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", - height: "u32", + height: "u32" }, - /** Lookup508: pallet_proxy::pallet::Error */ + /** + * Lookup508: pallet_proxy::pallet::Error + **/ PalletProxyError: { _enum: [ "TooMany", @@ -4988,37 +5560,41 @@ export default { "Duplicate", "NoPermission", "Unannounced", - "NoSelfProxy", - ], + "NoSelfProxy" + ] }, - /** Lookup509: pallet_maintenance_mode::pallet::Error */ + /** + * Lookup509: pallet_maintenance_mode::pallet::Error + **/ PalletMaintenanceModeError: { - _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], + _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"] }, /** - * Lookup511: pallet_identity::types::Registration> - */ + * Lookup511: pallet_identity::types::Registration> + **/ PalletIdentityRegistration: { judgements: "Vec<(u32,PalletIdentityJudgement)>", deposit: "u128", - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, - /** Lookup520: pallet_identity::types::RegistrarInfo */ + /** + * Lookup520: pallet_identity::types::RegistrarInfo + **/ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", - fields: "u64", + fields: "u64" }, /** - * Lookup522: - * pallet_identity::types::AuthorityProperties> - */ + * Lookup522: pallet_identity::types::AuthorityProperties> + **/ PalletIdentityAuthorityProperties: { suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, - /** Lookup525: pallet_identity::pallet::Error */ + /** + * Lookup525: pallet_identity::pallet::Error + **/ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -5046,21 +5622,27 @@ export default { "InvalidUsername", "UsernameTaken", "NoUsername", - "NotExpired", - ], + "NotExpired" + ] }, - /** Lookup526: pallet_migrations::pallet::Error */ + /** + * Lookup526: pallet_migrations::pallet::Error + **/ PalletMigrationsError: { - _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], + _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"] }, - /** Lookup528: pallet_multisig::Multisig */ + /** + * Lookup528: pallet_multisig::Multisig + **/ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", - approvals: "Vec", + approvals: "Vec" }, - /** Lookup530: pallet_multisig::pallet::Error */ + /** + * Lookup530: pallet_multisig::pallet::Error + **/ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -5076,32 +5658,40 @@ export default { "WrongTimepoint", "UnexpectedTimepoint", "MaxWeightTooLow", - "AlreadyStored", - ], + "AlreadyStored" + ] }, - /** Lookup532: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus */ + /** + * Lookup532: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus + **/ PalletMoonbeamLazyMigrationsStateMigrationStatus: { _enum: { NotStarted: "Null", Started: "Bytes", Error: "Bytes", - Complete: "Null", - }, + Complete: "Null" + } }, - /** Lookup534: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus */ + /** + * Lookup534: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus: { _enum: { Idle: "Null", - Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo", - }, + Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo" + } }, - /** Lookup535: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo */ + /** + * Lookup535: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo: { assetId: "u128", remainingBalances: "u32", - remainingApprovals: "u32", + remainingApprovals: "u32" }, - /** Lookup536: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** + * Lookup536: pallet_moonbeam_lazy_migrations::pallet::Error + **/ PalletMoonbeamLazyMigrationsError: { _enum: [ "LimitCannotBeZero", @@ -5116,19 +5706,23 @@ export default { "MigrationNotFinished", "NoMigrationInProgress", "MintFailed", - "ApprovalFailed", - ], + "ApprovalFailed" + ] }, - /** Lookup537: pallet_evm::CodeMetadata */ + /** + * Lookup537: pallet_evm::CodeMetadata + **/ PalletEvmCodeMetadata: { _alias: { size_: "size", - hash_: "hash", + hash_: "hash" }, size_: "u64", - hash_: "H256", + hash_: "H256" }, - /** Lookup539: pallet_evm::pallet::Error */ + /** + * Lookup539: pallet_evm::pallet::Error + **/ PalletEvmError: { _enum: [ "BalanceLow", @@ -5143,10 +5737,12 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "Undefined", - ], + "Undefined" + ] }, - /** Lookup542: fp_rpc::TransactionStatus */ + /** + * Lookup542: fp_rpc::TransactionStatus + **/ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -5154,35 +5750,42 @@ export default { to: "Option", contractAddress: "Option", logs: "Vec", - logsBloom: "EthbloomBloom", + logsBloom: "EthbloomBloom" }, - /** Lookup544: ethbloom::Bloom */ + /** + * Lookup544: ethbloom::Bloom + **/ EthbloomBloom: "[u8;256]", - /** Lookup546: ethereum::receipt::ReceiptV3 */ + /** + * Lookup546: ethereum::receipt::ReceiptV3 + **/ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", EIP2930: "EthereumReceiptEip658ReceiptData", - EIP1559: "EthereumReceiptEip658ReceiptData", - }, + EIP1559: "EthereumReceiptEip658ReceiptData" + } }, - /** Lookup547: ethereum::receipt::EIP658ReceiptData */ + /** + * Lookup547: ethereum::receipt::EIP658ReceiptData + **/ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", logsBloom: "EthbloomBloom", - logs: "Vec", + logs: "Vec" }, /** - * Lookup548: - * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) - */ + * Lookup548: ethereum::block::Block + **/ EthereumBlock: { header: "EthereumHeader", transactions: "Vec", - ommers: "Vec", + ommers: "Vec" }, - /** Lookup549: ethereum::header::Header */ + /** + * Lookup549: ethereum::header::Header + **/ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -5198,74 +5801,83 @@ export default { timestamp: "u64", extraData: "Bytes", mixHash: "H256", - nonce: "EthereumTypesHashH64", + nonce: "EthereumTypesHashH64" }, - /** Lookup550: ethereum_types::hash::H64 */ + /** + * Lookup550: ethereum_types::hash::H64 + **/ EthereumTypesHashH64: "[u8;8]", - /** Lookup555: pallet_ethereum::pallet::Error */ + /** + * Lookup555: pallet_ethereum::pallet::Error + **/ PalletEthereumError: { - _enum: ["InvalidSignature", "PreLogExists"], + _enum: ["InvalidSignature", "PreLogExists"] }, /** - * Lookup558: pallet_scheduler::Scheduled, BlockNumber, moonbeam_runtime::OriginCaller, account::AccountId20> - */ + * Lookup558: pallet_scheduler::Scheduled, BlockNumber, moonbeam_runtime::OriginCaller, account::AccountId20> + **/ PalletSchedulerScheduled: { maybeId: "Option<[u8;32]>", priority: "u8", call: "FrameSupportPreimagesBounded", maybePeriodic: "Option<(u32,u32)>", - origin: "MoonbeamRuntimeOriginCaller", + origin: "MoonbeamRuntimeOriginCaller" }, - /** Lookup560: pallet_scheduler::RetryConfig */ + /** + * Lookup560: pallet_scheduler::RetryConfig + **/ PalletSchedulerRetryConfig: { totalRetries: "u8", remaining: "u8", - period: "u32", + period: "u32" }, - /** Lookup561: pallet_scheduler::pallet::Error */ + /** + * Lookup561: pallet_scheduler::pallet::Error + **/ PalletSchedulerError: { _enum: [ "FailedToSchedule", "NotFound", "TargetBlockNumberInPast", "RescheduleNoChange", - "Named", - ], + "Named" + ] }, - /** Lookup562: pallet_preimage::OldRequestStatus */ + /** + * Lookup562: pallet_preimage::OldRequestStatus + **/ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { deposit: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { deposit: "Option<(AccountId20,u128)>", count: "u32", - len: "Option", - }, - }, + len: "Option" + } + } }, /** - * Lookup565: pallet_preimage::RequestStatus> - */ + * Lookup565: pallet_preimage::RequestStatus> + **/ PalletPreimageRequestStatus: { _enum: { Unrequested: { ticket: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { maybeTicket: "Option<(AccountId20,u128)>", count: "u32", - maybeLen: "Option", - }, - }, + maybeLen: "Option" + } + } }, - /** Lookup571: pallet_preimage::pallet::Error */ + /** + * Lookup571: pallet_preimage::pallet::Error + **/ PalletPreimageError: { _enum: [ "TooBig", @@ -5276,41 +5888,50 @@ export default { "NotRequested", "TooMany", "TooFew", - "NoCost", - ], + "NoCost" + ] }, /** - * Lookup573: pallet_conviction_voting::vote::Voting - */ + * Lookup573: pallet_conviction_voting::vote::Voting + **/ PalletConvictionVotingVoteVoting: { _enum: { Casting: "PalletConvictionVotingVoteCasting", - Delegating: "PalletConvictionVotingVoteDelegating", - }, + Delegating: "PalletConvictionVotingVoteDelegating" + } }, - /** Lookup574: pallet_conviction_voting::vote::Casting */ + /** + * Lookup574: pallet_conviction_voting::vote::Casting + **/ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup578: pallet_conviction_voting::types::Delegations */ + /** + * Lookup578: pallet_conviction_voting::types::Delegations + **/ PalletConvictionVotingDelegations: { votes: "u128", - capital: "u128", + capital: "u128" }, - /** Lookup579: pallet_conviction_voting::vote::PriorLock */ + /** + * Lookup579: pallet_conviction_voting::vote::PriorLock + **/ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup580: pallet_conviction_voting::vote::Delegating */ + /** + * Lookup580: pallet_conviction_voting::vote::Delegating + **/ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", conviction: "PalletConvictionVotingConviction", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup584: pallet_conviction_voting::pallet::Error */ + /** + * Lookup584: pallet_conviction_voting::pallet::Error + **/ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5324,15 +5945,12 @@ export default { "Nonsense", "MaxVotesReached", "ClassNeeded", - "BadClass", - ], + "BadClass" + ] }, /** - * Lookup585: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup585: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumInfo: { _enum: { Ongoing: "PalletReferendaReferendumStatus", @@ -5340,15 +5958,12 @@ export default { Rejected: "(u32,Option,Option)", Cancelled: "(u32,Option,Option)", TimedOut: "(u32,Option,Option)", - Killed: "u32", - }, + Killed: "u32" + } }, /** - * Lookup586: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup586: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumStatus: { track: "u16", origin: "MoonbeamRuntimeOriginCaller", @@ -5360,19 +5975,25 @@ export default { deciding: "Option", tally: "PalletConvictionVotingTally", inQueue: "bool", - alarm: "Option<(u32,(u32,u32))>", + alarm: "Option<(u32,(u32,u32))>" }, - /** Lookup587: pallet_referenda::types::Deposit */ + /** + * Lookup587: pallet_referenda::types::Deposit + **/ PalletReferendaDeposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup590: pallet_referenda::types::DecidingStatus */ + /** + * Lookup590: pallet_referenda::types::DecidingStatus + **/ PalletReferendaDecidingStatus: { since: "u32", - confirming: "Option", + confirming: "Option" }, - /** Lookup598: pallet_referenda::types::TrackInfo */ + /** + * Lookup598: pallet_referenda::types::TrackInfo + **/ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5382,30 +6003,34 @@ export default { confirmPeriod: "u32", minEnactmentPeriod: "u32", minApproval: "PalletReferendaCurve", - minSupport: "PalletReferendaCurve", + minSupport: "PalletReferendaCurve" }, - /** Lookup599: pallet_referenda::types::Curve */ + /** + * Lookup599: pallet_referenda::types::Curve + **/ PalletReferendaCurve: { _enum: { LinearDecreasing: { length: "Perbill", floor: "Perbill", - ceil: "Perbill", + ceil: "Perbill" }, SteppedDecreasing: { begin: "Perbill", end: "Perbill", step: "Perbill", - period: "Perbill", + period: "Perbill" }, Reciprocal: { factor: "i64", xOffset: "i64", - yOffset: "i64", - }, - }, + yOffset: "i64" + } + } }, - /** Lookup602: pallet_referenda::pallet::Error */ + /** + * Lookup602: pallet_referenda::pallet::Error + **/ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5421,28 +6046,34 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", - "PreimageStoredWithDifferentLength", - ], + "PreimageStoredWithDifferentLength" + ] }, - /** Lookup603: pallet_whitelist::pallet::Error */ + /** + * Lookup603: pallet_whitelist::pallet::Error + **/ PalletWhitelistError: { _enum: [ "UnavailablePreImage", "UndecodableCall", "InvalidCallWeightWitness", "CallIsNotWhitelisted", - "CallAlreadyWhitelisted", - ], + "CallAlreadyWhitelisted" + ] }, - /** Lookup605: pallet_collective::Votes */ + /** + * Lookup605: pallet_collective::Votes + **/ PalletCollectiveVotes: { index: "u32", threshold: "u32", ayes: "Vec", nays: "Vec", - end: "u32", + end: "u32" }, - /** Lookup606: pallet_collective::pallet::Error */ + /** + * Lookup606: pallet_collective::pallet::Error + **/ PalletCollectiveError: { _enum: [ "NotMember", @@ -5455,41 +6086,48 @@ export default { "TooManyProposals", "WrongProposalWeight", "WrongProposalLength", - "PrimeAccountNotMember", - ], + "PrimeAccountNotMember" + ] }, - /** Lookup609: pallet_treasury::Proposal */ + /** + * Lookup609: pallet_treasury::Proposal + **/ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", beneficiary: "AccountId20", - bond: "u128", + bond: "u128" }, /** - * Lookup612: pallet_treasury::SpendStatus - */ + * Lookup612: pallet_treasury::SpendStatus + **/ PalletTreasurySpendStatus: { assetKind: "Null", amount: "u128", beneficiary: "AccountId20", validFrom: "u32", expireAt: "u32", - status: "PalletTreasuryPaymentState", + status: "PalletTreasuryPaymentState" }, - /** Lookup613: pallet_treasury::PaymentState */ + /** + * Lookup613: pallet_treasury::PaymentState + **/ PalletTreasuryPaymentState: { _enum: { Pending: "Null", Attempted: { - id: "Null", + id: "Null" }, - Failed: "Null", - }, + Failed: "Null" + } }, - /** Lookup615: frame_support::PalletId */ + /** + * Lookup615: frame_support::PalletId + **/ FrameSupportPalletId: "[u8;8]", - /** Lookup616: pallet_treasury::pallet::Error */ + /** + * Lookup616: pallet_treasury::pallet::Error + **/ PalletTreasuryError: { _enum: [ "InvalidIndex", @@ -5502,16 +6140,20 @@ export default { "AlreadyAttempted", "PayoutError", "NotAttempted", - "Inconclusive", - ], + "Inconclusive" + ] }, - /** Lookup617: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** + * Lookup617: pallet_crowdloan_rewards::pallet::RewardInfo + **/ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", - contributedRelayAddresses: "Vec<[u8;32]>", + contributedRelayAddresses: "Vec<[u8;32]>" }, - /** Lookup619: pallet_crowdloan_rewards::pallet::Error */ + /** + * Lookup619: pallet_crowdloan_rewards::pallet::Error + **/ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -5528,83 +6170,101 @@ export default { "TooManyContributors", "VestingPeriodNonValid", "NonContributedAddressProvided", - "InsufficientNumberOfValidProofs", - ], + "InsufficientNumberOfValidProofs" + ] }, - /** Lookup624: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** + * Lookup624: cumulus_pallet_xcmp_queue::OutboundChannelDetails + **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", signalsExist: "bool", firstIndex: "u16", - lastIndex: "u16", + lastIndex: "u16" }, - /** Lookup625: cumulus_pallet_xcmp_queue::OutboundState */ + /** + * Lookup625: cumulus_pallet_xcmp_queue::OutboundState + **/ CumulusPalletXcmpQueueOutboundState: { - _enum: ["Ok", "Suspended"], + _enum: ["Ok", "Suspended"] }, - /** Lookup629: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** + * Lookup629: cumulus_pallet_xcmp_queue::QueueConfigData + **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", - resumeThreshold: "u32", + resumeThreshold: "u32" }, - /** Lookup630: cumulus_pallet_xcmp_queue::pallet::Error */ + /** + * Lookup630: cumulus_pallet_xcmp_queue::pallet::Error + **/ CumulusPalletXcmpQueueError: { _enum: [ "BadQueueConfig", "AlreadySuspended", "AlreadyResumed", "TooManyActiveOutboundChannels", - "TooBig", - ], + "TooBig" + ] }, - /** Lookup631: pallet_xcm::pallet::QueryStatus */ + /** + * Lookup631: pallet_xcm::pallet::QueryStatus + **/ PalletXcmQueryStatus: { _enum: { Pending: { responder: "XcmVersionedLocation", maybeMatchQuerier: "Option", maybeNotify: "Option<(u8,u8)>", - timeout: "u32", + timeout: "u32" }, VersionNotifier: { origin: "XcmVersionedLocation", - isActive: "bool", + isActive: "bool" }, Ready: { response: "XcmVersionedResponse", - at: "u32", - }, - }, + at: "u32" + } + } }, - /** Lookup635: xcm::VersionedResponse */ + /** + * Lookup635: xcm::VersionedResponse + **/ XcmVersionedResponse: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Response", V3: "XcmV3Response", - V4: "StagingXcmV4Response", - }, + V4: "StagingXcmV4Response" + } }, - /** Lookup641: pallet_xcm::pallet::VersionMigrationStage */ + /** + * Lookup641: pallet_xcm::pallet::VersionMigrationStage + **/ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", MigrateVersionNotifiers: "Null", NotifyCurrentTargets: "Option", - MigrateAndNotifyOldTargets: "Null", - }, + MigrateAndNotifyOldTargets: "Null" + } }, - /** Lookup644: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** + * Lookup644: pallet_xcm::pallet::RemoteLockedFungibleRecord + **/ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", - consumers: "Vec<(Null,u128)>", + consumers: "Vec<(Null,u128)>" }, - /** Lookup651: pallet_xcm::pallet::Error */ + /** + * Lookup651: pallet_xcm::pallet::Error + **/ PalletXcmError: { _enum: [ "Unreachable", @@ -5631,10 +6291,12 @@ export default { "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", - "LocalExecutionIncomplete", - ], + "LocalExecutionIncomplete" + ] }, - /** Lookup652: pallet_assets::types::AssetDetails */ + /** + * Lookup652: pallet_assets::types::AssetDetails + **/ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5647,50 +6309,61 @@ export default { accounts: "u32", sufficients: "u32", approvals: "u32", - status: "PalletAssetsAssetStatus", + status: "PalletAssetsAssetStatus" }, - /** Lookup653: pallet_assets::types::AssetStatus */ + /** + * Lookup653: pallet_assets::types::AssetStatus + **/ PalletAssetsAssetStatus: { - _enum: ["Live", "Frozen", "Destroying"], + _enum: ["Live", "Frozen", "Destroying"] }, - /** Lookup655: pallet_assets::types::AssetAccount */ + /** + * Lookup655: pallet_assets::types::AssetAccount + **/ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", - extra: "Null", + extra: "Null" }, - /** Lookup656: pallet_assets::types::AccountStatus */ + /** + * Lookup656: pallet_assets::types::AccountStatus + **/ PalletAssetsAccountStatus: { - _enum: ["Liquid", "Frozen", "Blocked"], + _enum: ["Liquid", "Frozen", "Blocked"] }, - /** Lookup657: pallet_assets::types::ExistenceReason */ + /** + * Lookup657: pallet_assets::types::ExistenceReason + **/ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", Sufficient: "Null", DepositHeld: "u128", DepositRefunded: "Null", - DepositFrom: "(AccountId20,u128)", - }, + DepositFrom: "(AccountId20,u128)" + } }, - /** Lookup659: pallet_assets::types::Approval */ + /** + * Lookup659: pallet_assets::types::Approval + **/ PalletAssetsApproval: { amount: "u128", - deposit: "u128", + deposit: "u128" }, /** - * Lookup660: pallet_assets::types::AssetMetadata> - */ + * Lookup660: pallet_assets::types::AssetMetadata> + **/ PalletAssetsAssetMetadata: { deposit: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup662: pallet_assets::pallet::Error */ + /** + * Lookup662: pallet_assets::pallet::Error + **/ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5713,10 +6386,12 @@ export default { "IncorrectStatus", "NotFrozen", "CallbackFailed", - "BadAssetId", - ], + "BadAssetId" + ] }, - /** Lookup663: pallet_asset_manager::pallet::Error */ + /** + * Lookup663: pallet_asset_manager::pallet::Error + **/ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5726,10 +6401,12 @@ export default { "LocalAssetLimitReached", "ErrorDestroyingAsset", "NotSufficientDeposit", - "NonExistentLocalAsset", - ], + "NonExistentLocalAsset" + ] }, - /** Lookup664: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** + * Lookup664: pallet_xcm_transactor::relay_indices::RelayChainIndices + **/ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5748,9 +6425,11 @@ export default { initOpenChannel: "u8", acceptOpenChannel: "u8", closeChannel: "u8", - cancelOpenRequest: "u8", + cancelOpenRequest: "u8" }, - /** Lookup665: pallet_xcm_transactor::pallet::Error */ + /** + * Lookup665: pallet_xcm_transactor::pallet::Error + **/ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5779,40 +6458,50 @@ export default { "HrmpHandlerNotImplemented", "TooMuchFeeUsed", "ErrorValidating", - "RefundNotSupportedWithTransactInfo", - ], + "RefundNotSupportedWithTransactInfo" + ] }, - /** Lookup666: pallet_ethereum_xcm::pallet::Error */ + /** + * Lookup666: pallet_ethereum_xcm::pallet::Error + **/ PalletEthereumXcmError: { - _enum: ["EthereumXcmExecutionSuspended"], + _enum: ["EthereumXcmExecutionSuspended"] }, - /** Lookup667: pallet_message_queue::BookState */ + /** + * Lookup667: pallet_message_queue::BookState + **/ PalletMessageQueueBookState: { _alias: { - size_: "size", + size_: "size" }, begin: "u32", end: "u32", count: "u32", readyNeighbours: "Option", messageCount: "u64", - size_: "u64", + size_: "u64" }, - /** Lookup669: pallet_message_queue::Neighbours */ + /** + * Lookup669: pallet_message_queue::Neighbours + **/ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", - next: "CumulusPrimitivesCoreAggregateMessageOrigin", + next: "CumulusPrimitivesCoreAggregateMessageOrigin" }, - /** Lookup671: pallet_message_queue::Page */ + /** + * Lookup671: pallet_message_queue::Page + **/ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", firstIndex: "u32", first: "u32", last: "u32", - heap: "Bytes", + heap: "Bytes" }, - /** Lookup673: pallet_message_queue::pallet::Error */ + /** + * Lookup673: pallet_message_queue::pallet::Error + **/ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5823,14 +6512,18 @@ export default { "InsufficientWeight", "TemporarilyUnprocessable", "QueuePaused", - "RecursiveDisallowed", - ], + "RecursiveDisallowed" + ] }, - /** Lookup675: pallet_moonbeam_foreign_assets::AssetStatus */ + /** + * Lookup675: pallet_moonbeam_foreign_assets::AssetStatus + **/ PalletMoonbeamForeignAssetsAssetStatus: { - _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"], + _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"] }, - /** Lookup676: pallet_moonbeam_foreign_assets::pallet::Error */ + /** + * Lookup676: pallet_moonbeam_foreign_assets::pallet::Error + **/ PalletMoonbeamForeignAssetsError: { _enum: [ "AssetAlreadyExists", @@ -5846,10 +6539,12 @@ export default { "InvalidSymbol", "InvalidTokenName", "LocationAlreadyExists", - "TooManyForeignAssets", - ], + "TooManyForeignAssets" + ] }, - /** Lookup678: pallet_xcm_weight_trader::pallet::Error */ + /** + * Lookup678: pallet_xcm_weight_trader::pallet::Error + **/ PalletXcmWeightTraderError: { _enum: [ "AssetAlreadyAdded", @@ -5857,27 +6552,37 @@ export default { "AssetNotFound", "AssetNotPaused", "XcmLocationFiltered", - "PriceCannotBeZero", - ], + "PriceCannotBeZero" + ] }, - /** Lookup679: pallet_emergency_para_xcm::XcmMode */ + /** + * Lookup679: pallet_emergency_para_xcm::XcmMode + **/ PalletEmergencyParaXcmXcmMode: { - _enum: ["Normal", "Paused"], + _enum: ["Normal", "Paused"] }, - /** Lookup680: pallet_emergency_para_xcm::pallet::Error */ + /** + * Lookup680: pallet_emergency_para_xcm::pallet::Error + **/ PalletEmergencyParaXcmError: { - _enum: ["NotInPausedMode"], + _enum: ["NotInPausedMode"] }, - /** Lookup682: pallet_precompile_benchmarks::pallet::Error */ + /** + * Lookup682: pallet_precompile_benchmarks::pallet::Error + **/ PalletPrecompileBenchmarksError: { - _enum: ["BenchmarkError"], + _enum: ["BenchmarkError"] }, - /** Lookup683: pallet_randomness::types::RequestState */ + /** + * Lookup683: pallet_randomness::types::RequestState + **/ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", - deposit: "u128", + deposit: "u128" }, - /** Lookup684: pallet_randomness::types::Request> */ + /** + * Lookup684: pallet_randomness::types::Request> + **/ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5885,28 +6590,36 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - info: "PalletRandomnessRequestInfo", + info: "PalletRandomnessRequestInfo" }, - /** Lookup685: pallet_randomness::types::RequestInfo */ + /** + * Lookup685: pallet_randomness::types::RequestInfo + **/ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", - Local: "(u32,u32)", - }, + Local: "(u32,u32)" + } }, - /** Lookup686: pallet_randomness::types::RequestType */ + /** + * Lookup686: pallet_randomness::types::RequestType + **/ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", - Local: "u32", - }, + Local: "u32" + } }, - /** Lookup687: pallet_randomness::types::RandomnessResult */ + /** + * Lookup687: pallet_randomness::types::RandomnessResult + **/ PalletRandomnessRandomnessResult: { randomness: "Option", - requestCount: "u64", + requestCount: "u64" }, - /** Lookup688: pallet_randomness::pallet::Error */ + /** + * Lookup688: pallet_randomness::pallet::Error + **/ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5920,33 +6633,55 @@ export default { "OnlyRequesterCanIncreaseFee", "RequestHasNotExpired", "RandomnessResultDNE", - "RandomnessResultNotFilled", - ], + "RandomnessResultNotFilled" + ] }, - /** Lookup691: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** + * Lookup691: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender + **/ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup692: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** + * Lookup692: frame_system::extensions::check_spec_version::CheckSpecVersion + **/ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup693: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** + * Lookup693: frame_system::extensions::check_tx_version::CheckTxVersion + **/ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup694: frame_system::extensions::check_genesis::CheckGenesis */ + /** + * Lookup694: frame_system::extensions::check_genesis::CheckGenesis + **/ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup697: frame_system::extensions::check_nonce::CheckNonce */ + /** + * Lookup697: frame_system::extensions::check_nonce::CheckNonce + **/ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup698: frame_system::extensions::check_weight::CheckWeight */ + /** + * Lookup698: frame_system::extensions::check_weight::CheckWeight + **/ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup699: pallet_transaction_payment::ChargeTransactionPayment */ + /** + * Lookup699: pallet_transaction_payment::ChargeTransactionPayment + **/ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup700: frame_metadata_hash_extension::CheckMetadataHash */ + /** + * Lookup700: frame_metadata_hash_extension::CheckMetadataHash + **/ FrameMetadataHashExtensionCheckMetadataHash: { - mode: "FrameMetadataHashExtensionMode", + mode: "FrameMetadataHashExtensionMode" }, - /** Lookup701: frame_metadata_hash_extension::Mode */ + /** + * Lookup701: frame_metadata_hash_extension::Mode + **/ FrameMetadataHashExtensionMode: { - _enum: ["Disabled", "Enabled"], + _enum: ["Disabled", "Enabled"] }, - /** Lookup702: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim */ + /** + * Lookup702: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim + **/ CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim: "Null", - /** Lookup704: moonbeam_runtime::Runtime */ - MoonbeamRuntimeRuntime: "Null", + /** + * Lookup704: moonbeam_runtime::Runtime + **/ + MoonbeamRuntimeRuntime: "Null" }; diff --git a/typescript-api/src/moonbeam/interfaces/moon/definitions.ts b/typescript-api/src/moonbeam/interfaces/moon/definitions.ts index 745e4404ef..9f581c812e 100644 --- a/typescript-api/src/moonbeam/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonbeam/interfaces/moon/definitions.ts @@ -3,6 +3,6 @@ import { moonbeamDefinitions } from "moonbeam-types-bundle"; export default { types: {}, rpc: { - ...moonbeamDefinitions.rpc?.moon, - }, + ...moonbeamDefinitions.rpc?.moon + } }; diff --git a/typescript-api/src/moonbeam/interfaces/registry.ts b/typescript-api/src/moonbeam/interfaces/registry.ts index 7262583994..4b6b841562 100644 --- a/typescript-api/src/moonbeam/interfaces/registry.ts +++ b/typescript-api/src/moonbeam/interfaces/registry.ts @@ -400,7 +400,7 @@ import type { XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; declare module "@polkadot/types/types/registry" { diff --git a/typescript-api/src/moonbeam/interfaces/types-lookup.ts b/typescript-api/src/moonbeam/interfaces/types-lookup.ts index 4d29418dce..ebd0d54229 100644 --- a/typescript-api/src/moonbeam/interfaces/types-lookup.ts +++ b/typescript-api/src/moonbeam/interfaces/types-lookup.ts @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { Vote } from "@polkadot/types/interfaces/elections"; @@ -36,7 +36,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { Event } from "@polkadot/types/interfaces/system"; diff --git a/typescript-api/src/moonriver/interfaces/augment-api-consts.ts b/typescript-api/src/moonriver/interfaces/augment-api-consts.ts index 7f2154f1da..4406481db6 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-consts.ts @@ -17,7 +17,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, - StagingXcmV4Location, + StagingXcmV4Location } from "@polkadot/types/lookup"; export type __AugmentedConst = AugmentedConst; @@ -25,125 +25,168 @@ export type __AugmentedConst = AugmentedConst declare module "@polkadot/api-base/types/consts" { interface AugmentedConsts { assets: { - /** The amount of funds that must be reserved when creating a new approval. */ + /** + * The amount of funds that must be reserved when creating a new approval. + **/ approvalDeposit: u128 & AugmentedConst; - /** The amount of funds that must be reserved for a non-provider asset account to be maintained. */ + /** + * The amount of funds that must be reserved for a non-provider asset account to be + * maintained. + **/ assetAccountDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved for an asset. */ + /** + * The basic amount of funds that must be reserved for an asset. + **/ assetDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved when adding metadata to your asset. */ + /** + * The basic amount of funds that must be reserved when adding metadata to your asset. + **/ metadataDepositBase: u128 & AugmentedConst; - /** The additional funds that must be reserved for the number of bytes you store in your metadata. */ + /** + * The additional funds that must be reserved for the number of bytes you store in your + * metadata. + **/ metadataDepositPerByte: u128 & AugmentedConst; /** * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call. * * Must be configured to result in a weight that makes each call fit in a block. - */ + **/ removeItemsLimit: u32 & AugmentedConst; - /** The maximum length of a name or symbol stored on-chain. */ + /** + * The maximum length of a name or symbol stored on-chain. + **/ stringLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; asyncBacking: { - /** Purely informative, but used by mocking tools like chospticks to allow knowing how to mock blocks */ + /** + * Purely informative, but used by mocking tools like chospticks to allow knowing how to mock + * blocks + **/ expectedBlockTime: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; balances: { /** * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! * - * If you _really_ need it to be zero, you can enable the feature `insecure_zero_ed` for this - * pallet. However, you do so at your own risk: this will open up a major DoS vector. In case - * you have multiple sources of provider references, you may also get unexpected behaviour if - * you set this to zero. + * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for + * this pallet. However, you do so at your own risk: this will open up a major DoS vector. + * In case you have multiple sources of provider references, you may also get unexpected + * behaviour if you set this to zero. * * Bottom line: Do yourself a favour and make it at least one! - */ + **/ existentialDeposit: u128 & AugmentedConst; - /** The maximum number of individual freeze locks that can exist on an account at any time. */ + /** + * The maximum number of individual freeze locks that can exist on an account at any time. + **/ maxFreezes: u32 & AugmentedConst; /** - * The maximum number of locks that should exist on an account. Not strictly enforced, but - * used for weight estimation. + * The maximum number of locks that should exist on an account. + * Not strictly enforced, but used for weight estimation. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxLocks: u32 & AugmentedConst; /** * The maximum number of named reserves that can exist on an account. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxReserves: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; convictionVoting: { /** * The maximum number of concurrent votes an account may have. * - * Also used to compute weight, an overly large value can lead to extrinsics with large weight - * estimation: see `delegate` for instance. - */ + * Also used to compute weight, an overly large value can lead to extrinsics with large + * weight estimation: see `delegate` for instance. + **/ maxVotes: u32 & AugmentedConst; /** * The minimum period of vote locking. * * It should be no shorter than enactment period to ensure that in the case of an approval, * those successful voters are locked into the consequences that their votes entail. - */ + **/ voteLockingPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; crowdloanRewards: { - /** Percentage to be payed at initialization */ + /** + * Percentage to be payed at initialization + **/ initializationPayment: Perbill & AugmentedConst; maxInitContributors: u32 & AugmentedConst; /** - * A fraction representing the percentage of proofs that need to be presented to change a - * reward address through the relay keys - */ + * A fraction representing the percentage of proofs + * that need to be presented to change a reward address through the relay keys + **/ rewardAddressRelayVoteThreshold: Perbill & AugmentedConst; /** * Network Identifier to be appended into the signatures for reward address change/association * Prevents replay attacks from one network to the other - */ + **/ signatureNetworkIdentifier: Bytes & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; identity: { - /** The amount held on deposit for a registered identity. */ + /** + * The amount held on deposit for a registered identity. + **/ basicDeposit: u128 & AugmentedConst; - /** The amount held on deposit per encoded byte for a registered identity. */ + /** + * The amount held on deposit per encoded byte for a registered identity. + **/ byteDeposit: u128 & AugmentedConst; /** - * Maximum number of registrars allowed in the system. Needed to bound the complexity of, - * e.g., updating judgements. - */ + * Maximum number of registrars allowed in the system. Needed to bound the complexity + * of, e.g., updating judgements. + **/ maxRegistrars: u32 & AugmentedConst; - /** The maximum number of sub-accounts allowed per identified account. */ + /** + * The maximum number of sub-accounts allowed per identified account. + **/ maxSubAccounts: u32 & AugmentedConst; - /** The maximum length of a suffix. */ + /** + * The maximum length of a suffix. + **/ maxSuffixLength: u32 & AugmentedConst; - /** The maximum length of a username, including its suffix and any system-added delimiters. */ + /** + * The maximum length of a username, including its suffix and any system-added delimiters. + **/ maxUsernameLength: u32 & AugmentedConst; - /** The number of blocks within which a username grant must be accepted. */ + /** + * The number of blocks within which a username grant must be accepted. + **/ pendingUsernameExpiration: u32 & AugmentedConst; /** * The amount held on deposit for a registered subaccount. This should account for the fact - * that one storage item's value will increase by the size of an account ID, and there will be - * another trie item whose value is the size of an account ID plus 32 bytes. - */ + * that one storage item's value will increase by the size of an account ID, and there will + * be another trie item whose value is the size of an account ID plus 32 bytes. + **/ subAccountDeposit: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; messageQueue: { @@ -151,179 +194,251 @@ declare module "@polkadot/api-base/types/consts" { * The size of the page; this implies the maximum message size which can be sent. * * A good value depends on the expected message sizes, their weights, the weight that is - * available for processing them and the maximal needed message size. The maximal message size - * is slightly lower than this as defined by [`MaxMessageLenOf`]. - */ + * available for processing them and the maximal needed message size. The maximal message + * size is slightly lower than this as defined by [`MaxMessageLenOf`]. + **/ heapSize: u32 & AugmentedConst; /** * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which - * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for - * parachains to process messages at the same block they are received. + * should be provided to the message queue for servicing enqueued items `on_idle`. + * Useful for parachains to process messages at the same block they are received. * * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. - */ + **/ idleMaxServiceWeight: Option & AugmentedConst; /** - * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can - * happen. Once there are more stale pages than this, then historical pages may be dropped, - * even if they contain unprocessed overweight messages. - */ + * The maximum number of stale pages (i.e. of overweight messages) allowed before culling + * can happen. Once there are more stale pages than this, then historical pages may be + * dropped, even if they contain unprocessed overweight messages. + **/ maxStale: u32 & AugmentedConst; /** - * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items `on_initialize`. + * The amount of weight (if any) which should be provided to the message queue for + * servicing enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it - * run in `on_idle`. - */ + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have + * it run in `on_idle`. + **/ serviceWeight: Option & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; moonbeamOrbiters: { - /** Maximum number of orbiters per collator. */ + /** + * Maximum number of orbiters per collator. + **/ maxPoolSize: u32 & AugmentedConst; - /** Maximum number of round to keep on storage. */ + /** + * Maximum number of round to keep on storage. + **/ maxRoundArchive: u32 & AugmentedConst; /** - * Number of rounds before changing the selected orbiter. WARNING: when changing - * `RotatePeriod`, you need a migration code that sets `ForceRotation` to true to avoid holes - * in `OrbiterPerRound`. - */ + * Number of rounds before changing the selected orbiter. + * WARNING: when changing `RotatePeriod`, you need a migration code that sets + * `ForceRotation` to true to avoid holes in `OrbiterPerRound`. + **/ rotatePeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; multisig: { /** - * The base amount of currency needed to reserve for creating a multisig execution or to store - * a dispatch call for later. + * The base amount of currency needed to reserve for creating a multisig execution or to + * store a dispatch call for later. * - * This is held for an additional storage item whose value size is `4 + sizeof((BlockNumber, - * Balance, AccountId))` bytes and whose key size is `32 + sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + * `32 + sizeof(AccountId)` bytes. + **/ depositBase: u128 & AugmentedConst; /** * The amount of currency needed per unit threshold when creating a multisig execution. * * This is held for adding 32 bytes more into a pre-existing storage value. - */ + **/ depositFactor: u128 & AugmentedConst; - /** The maximum amount of signatories allowed in the multisig. */ + /** + * The maximum amount of signatories allowed in the multisig. + **/ maxSignatories: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; openTechCommitteeCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainStaking: { - /** Get the average time beetween 2 blocks in milliseconds */ + /** + * Get the average time beetween 2 blocks in milliseconds + **/ blockTime: u64 & AugmentedConst; - /** Number of rounds candidate requests to decrease self-bond must wait to be executable */ + /** + * Number of rounds candidate requests to decrease self-bond must wait to be executable + **/ candidateBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that delegation less requests must wait before executable */ + /** + * Number of rounds that delegation less requests must wait before executable + **/ delegationBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that candidates remain bonded before exit request is executable */ + /** + * Number of rounds that candidates remain bonded before exit request is executable + **/ leaveCandidatesDelay: u32 & AugmentedConst; - /** Number of rounds that delegators remain bonded before exit request is executable */ + /** + * Number of rounds that delegators remain bonded before exit request is executable + **/ leaveDelegatorsDelay: u32 & AugmentedConst; - /** Maximum bottom delegations (not counted) per candidate */ + /** + * Maximum bottom delegations (not counted) per candidate + **/ maxBottomDelegationsPerCandidate: u32 & AugmentedConst; - /** Maximum candidates */ + /** + * Maximum candidates + **/ maxCandidates: u32 & AugmentedConst; - /** Maximum delegations per delegator */ + /** + * Maximum delegations per delegator + **/ maxDelegationsPerDelegator: u32 & AugmentedConst; /** - * If a collator doesn't produce any block on this number of rounds, it is notified as - * inactive. This value must be less than or equal to RewardPaymentDelay. - */ + * If a collator doesn't produce any block on this number of rounds, it is notified as inactive. + * This value must be less than or equal to RewardPaymentDelay. + **/ maxOfflineRounds: u32 & AugmentedConst; - /** Maximum top delegations counted per candidate */ + /** + * Maximum top delegations counted per candidate + **/ maxTopDelegationsPerCandidate: u32 & AugmentedConst; - /** Minimum number of blocks per round */ + /** + * Minimum number of blocks per round + **/ minBlocksPerRound: u32 & AugmentedConst; - /** Minimum stake required for any account to be a collator candidate */ + /** + * Minimum stake required for any account to be a collator candidate + **/ minCandidateStk: u128 & AugmentedConst; - /** Minimum stake for any registered on-chain account to delegate */ + /** + * Minimum stake for any registered on-chain account to delegate + **/ minDelegation: u128 & AugmentedConst; - /** Minimum number of selected candidates every round */ + /** + * Minimum number of selected candidates every round + **/ minSelectedCandidates: u32 & AugmentedConst; - /** Number of rounds that delegations remain bonded before revocation request is executable */ + /** + * Number of rounds that delegations remain bonded before revocation request is executable + **/ revokeDelegationDelay: u32 & AugmentedConst; - /** Number of rounds after which block authors are rewarded */ + /** + * Number of rounds after which block authors are rewarded + **/ rewardPaymentDelay: u32 & AugmentedConst; - /** Get the slot duration in milliseconds */ + /** + * Get the slot duration in milliseconds + **/ slotDuration: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainSystem: { - /** Returns the parachain ID we are running with. */ + /** + * Returns the parachain ID we are running with. + **/ selfParaId: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. * - * This is held when a new storage item holding a `Balance` is created (typically 16 bytes). - */ + * This is held when a new storage item holding a `Balance` is created (typically 16 + * bytes). + **/ announcementDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per announcement made. * - * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) into - * a pre-existing storage value. - */ + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. + **/ announcementDepositFactor: u128 & AugmentedConst; - /** The maximum amount of time-delayed announcements that are allowed to be pending. */ + /** + * The maximum amount of time-delayed announcements that are allowed to be pending. + **/ maxPending: u32 & AugmentedConst; - /** The maximum amount of proxies allowed for a single account. */ + /** + * The maximum amount of proxies allowed for a single account. + **/ maxProxies: u32 & AugmentedConst; /** * The base amount of currency needed to reserve for creating a proxy. * - * This is held for an additional storage item whose value size is `sizeof(Balance)` bytes and - * whose key size is `sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + **/ proxyDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per proxy added. * - * This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing - * storage value. Thus, when configuring `ProxyDepositFactor` one should take into account `32 - * + proxy_type.encode().len()` bytes of data. - */ + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a + * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + * into account `32 + proxy_type.encode().len()` bytes of data. + **/ proxyDepositFactor: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; randomness: { - /** Local requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Local requests expire and can be purged from storage after this many blocks/epochs + **/ blockExpirationDelay: u32 & AugmentedConst; - /** The amount that should be taken as a security deposit when requesting randomness. */ + /** + * The amount that should be taken as a security deposit when requesting randomness. + **/ deposit: u128 & AugmentedConst; - /** Babe requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Babe requests expire and can be purged from storage after this many blocks/epochs + **/ epochExpirationDelay: u64 & AugmentedConst; /** - * Local per-block VRF requests must be at most this many blocks after the block in which they - * were requested - */ + * Local per-block VRF requests must be at most this many blocks after the block in which + * they were requested + **/ maxBlockDelay: u32 & AugmentedConst; - /** Maximum number of random words that can be requested per request */ + /** + * Maximum number of random words that can be requested per request + **/ maxRandomWords: u8 & AugmentedConst; /** * Local per-block VRF requests must be at least this many blocks after the block in which * they were requested - */ + **/ minBlockDelay: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; referenda: { @@ -331,89 +446,119 @@ declare module "@polkadot/api-base/types/consts" { * Quantization level for the referendum wakeup scheduler. A higher number will result in * fewer storage reads/writes needed for smaller voters, but also result in delays to the * automatic referendum status changes. Explicit servicing instructions are unaffected. - */ + **/ alarmInterval: u32 & AugmentedConst; - /** Maximum size of the referendum queue for a single track. */ + /** + * Maximum size of the referendum queue for a single track. + **/ maxQueued: u32 & AugmentedConst; - /** The minimum amount to be used as a deposit for a public referendum proposal. */ + /** + * The minimum amount to be used as a deposit for a public referendum proposal. + **/ submissionDeposit: u128 & AugmentedConst; - /** Information concerning the different referendum tracks. */ + /** + * Information concerning the different referendum tracks. + **/ tracks: Vec> & AugmentedConst; /** - * The number of blocks after submission that a referendum must begin being decided by. Once - * this passes, then anyone may cancel the referendum. - */ + * The number of blocks after submission that a referendum must begin being decided by. + * Once this passes, then anyone may cancel the referendum. + **/ undecidingTimeout: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; relayStorageRoots: { /** - * Limit the number of relay storage roots that will be stored. This limit applies to the - * number of items, not to their age. Decreasing the value of `MaxStorageRoots` is a breaking - * change and needs a migration to clean the `RelayStorageRoots` mapping. - */ + * Limit the number of relay storage roots that will be stored. + * This limit applies to the number of items, not to their age. Decreasing the value of + * `MaxStorageRoots` is a breaking change and needs a migration to clean the + * `RelayStorageRoots` mapping. + **/ maxStorageRoots: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; scheduler: { - /** The maximum weight that may be scheduled per block for any dispatchables. */ + /** + * The maximum weight that may be scheduled per block for any dispatchables. + **/ maximumWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * The maximum number of scheduled calls in the queue for a single block. * * NOTE: - * - * - Dependent pallets' benchmarks might require a higher limit for the setting. Set a higher - * limit under `runtime-benchmarks` feature. - */ + * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a + * higher limit under `runtime-benchmarks` feature. + **/ maxScheduledPerBlock: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; system: { - /** Maximum number of block number to block hash mappings to keep (oldest pruned first). */ + /** + * Maximum number of block number to block hash mappings to keep (oldest pruned first). + **/ blockHashCount: u32 & AugmentedConst; - /** The maximum length of a block (in bytes). */ + /** + * The maximum length of a block (in bytes). + **/ blockLength: FrameSystemLimitsBlockLength & AugmentedConst; - /** Block & extrinsics weights: base values and limits. */ + /** + * Block & extrinsics weights: base values and limits. + **/ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; - /** The weight of runtime database operations the runtime can invoke. */ + /** + * The weight of runtime database operations the runtime can invoke. + **/ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst; /** * The designated SS58 prefix of this chain. * - * This replaces the "ss58Format" property declared in the chain spec. Reason is that the - * runtime should know about the prefix in order to make use of it as an identifier of the chain. - */ + * This replaces the "ss58Format" property declared in the chain spec. Reason is + * that the runtime should know about the prefix in order to make use of it as + * an identifier of the chain. + **/ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's in-code version. */ + /** + * Get the chain's in-code version. + **/ version: SpVersionRuntimeVersion & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; timestamp: { /** * The minimum period between blocks. * - * Be aware that this is different to the _expected_ period that the block production - * apparatus provides. Your chosen consensus system will generally work with this to determine - * a sensible block time. For example, in the Aura pallet it will be double this period on - * default settings. - */ + * Be aware that this is different to the *expected* period that the block production + * apparatus provides. Your chosen consensus system will generally work with this to + * determine a sensible block time. For example, in the Aura pallet it will be double this + * period on default settings. + **/ minimumPeriod: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; transactionPayment: { /** - * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their `priority` + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their + * `priority` * - * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later added - * to a tip component in regular `priority` calculations. It means that a `Normal` transaction - * can front-run a similarly-sized `Operational` extrinsic (with no tip), by including a tip - * value greater than the virtual tip. + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later + * added to a tip component in regular `priority` calculations. + * It means that a `Normal` transaction can front-run a similarly-sized `Operational` + * extrinsic (with no tip), by including a tip value greater than the virtual tip. * * ```rust,ignore * // For `Normal` @@ -424,55 +569,76 @@ declare module "@polkadot/api-base/types/consts" { * let priority = priority_calc(tip + virtual_tip); * ``` * - * Note that since we use `final_fee` the multiplier applies also to the regular `tip` sent - * with the transaction. So, not only does the transaction get a priority bump based on the - * `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` transactions. - */ + * Note that since we use `final_fee` the multiplier applies also to the regular `tip` + * sent with the transaction. So, not only does the transaction get a priority bump based + * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + * transactions. + **/ operationalFeeMultiplier: u8 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasury: { - /** Percentage of spare funds (if any) that are burnt per spend period. */ + /** + * Percentage of spare funds (if any) that are burnt per spend period. + **/ burn: Permill & AugmentedConst; /** * The maximum number of approvals that can wait in the spending queue. * * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. - */ + **/ maxApprovals: u32 & AugmentedConst; - /** The treasury's pallet id, used for deriving its sovereign account ID. */ + /** + * The treasury's pallet id, used for deriving its sovereign account ID. + **/ palletId: FrameSupportPalletId & AugmentedConst; - /** The period during which an approved treasury spend has to be claimed. */ + /** + * The period during which an approved treasury spend has to be claimed. + **/ payoutPeriod: u32 & AugmentedConst; - /** Period between successive spends. */ + /** + * Period between successive spends. + **/ spendPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasuryCouncilCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; utility: { - /** The limit on the number of batched calls. */ + /** + * The limit on the number of batched calls. + **/ batchedCallsLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmpQueue: { /** * Maximal number of outbound XCMP channels that can have messages queued at the same time. * - * If this is reached, then no further messages can be sent to channels that do not yet have a - * message queued. This should be set to the expected maximum of outbound channels which is - * determined by [`Self::ChannelInfo`]. It is important to set this large enough, since - * otherwise the congestion control protocol will not work as intended and messages may be - * dropped. This value increases the PoV and should therefore not be picked too high. - * Governance needs to pay attention to not open more channels than this value. - */ + * If this is reached, then no further messages can be sent to channels that do not yet + * have a message queued. This should be set to the expected maximum of outbound channels + * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough, + * since otherwise the congestion control protocol will not work as intended and messages + * may be dropped. This value increases the PoV and should therefore not be picked too + * high. Governance needs to pay attention to not open more channels than this value. + **/ maxActiveOutboundChannels: u32 & AugmentedConst; /** * The maximum number of inbound XCMP channels that can be suspended simultaneously. @@ -480,7 +646,7 @@ declare module "@polkadot/api-base/types/consts" { * Any further channel suspensions will fail and messages may get dropped without further * notice. Choosing a high value (1000) is okay; the trade-off that is described in * [`InboundXcmpSuspended`] still applies at that scale. - */ + **/ maxInboundSuspended: u32 & AugmentedConst; /** * The maximal page size for HRMP message pages. @@ -488,17 +654,27 @@ declare module "@polkadot/api-base/types/consts" { * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case * benchmarking. The limit for the size of a message is slightly below this, since some * overhead is incurred for encoding the format. - */ + **/ maxPageSize: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmTransactor: { - /** The actual weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ + /** + * + * The actual weight for an XCM message is `T::BaseXcmWeight + + * T::Weigher::weight(&msg)`. + **/ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Self chain location. */ + /** + * Self chain location. + **/ selfLocation: StagingXcmV4Location & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; } // AugmentedConsts diff --git a/typescript-api/src/moonriver/interfaces/augment-api-errors.ts b/typescript-api/src/moonriver/interfaces/augment-api-errors.ts index d64ef4b4ad..26967c2553 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-errors.ts @@ -20,246 +20,430 @@ declare module "@polkadot/api-base/types/errors" { NonExistentLocalAsset: AugmentedError; NotSufficientDeposit: AugmentedError; TooLowNumAssetsWeightHint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; assets: { - /** The asset-account already exists. */ + /** + * The asset-account already exists. + **/ AlreadyExists: AugmentedError; - /** The asset is not live, and likely being destroyed. */ + /** + * The asset is not live, and likely being destroyed. + **/ AssetNotLive: AugmentedError; - /** The asset ID must be equal to the [`NextAssetId`]. */ + /** + * The asset ID must be equal to the [`NextAssetId`]. + **/ BadAssetId: AugmentedError; - /** Invalid metadata given. */ + /** + * Invalid metadata given. + **/ BadMetadata: AugmentedError; - /** Invalid witness data given. */ + /** + * Invalid witness data given. + **/ BadWitness: AugmentedError; - /** Account balance must be greater than or equal to the transfer amount. */ + /** + * Account balance must be greater than or equal to the transfer amount. + **/ BalanceLow: AugmentedError; - /** Callback action resulted in error */ + /** + * Callback action resulted in error + **/ CallbackFailed: AugmentedError; - /** The origin account is frozen. */ + /** + * The origin account is frozen. + **/ Frozen: AugmentedError; - /** The asset status is not the expected status. */ + /** + * The asset status is not the expected status. + **/ IncorrectStatus: AugmentedError; - /** The asset ID is already taken. */ + /** + * The asset ID is already taken. + **/ InUse: AugmentedError; /** - * The asset is a live asset and is actively being used. Usually emit for operations such as - * `start_destroy` which require the asset to be in a destroying state. - */ + * The asset is a live asset and is actively being used. Usually emit for operations such + * as `start_destroy` which require the asset to be in a destroying state. + **/ LiveAsset: AugmentedError; - /** Minimum balance should be non-zero. */ + /** + * Minimum balance should be non-zero. + **/ MinBalanceZero: AugmentedError; - /** The account to alter does not exist. */ + /** + * The account to alter does not exist. + **/ NoAccount: AugmentedError; - /** The asset-account doesn't have an associated deposit. */ + /** + * The asset-account doesn't have an associated deposit. + **/ NoDeposit: AugmentedError; - /** The signing account has no permission to do the operation. */ + /** + * The signing account has no permission to do the operation. + **/ NoPermission: AugmentedError; - /** The asset should be frozen before the given operation. */ + /** + * The asset should be frozen before the given operation. + **/ NotFrozen: AugmentedError; - /** No approval exists that would allow the transfer. */ + /** + * No approval exists that would allow the transfer. + **/ Unapproved: AugmentedError; /** * Unable to increment the consumer reference counters on the account. Either no provider - * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer - * then the maximum number of consumers has been reached. - */ + * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one + * fewer then the maximum number of consumers has been reached. + **/ UnavailableConsumer: AugmentedError; - /** The given asset ID is unknown. */ + /** + * The given asset ID is unknown. + **/ Unknown: AugmentedError; - /** The operation would result in funds being burned. */ + /** + * The operation would result in funds being burned. + **/ WouldBurn: AugmentedError; - /** The source account would not survive the transfer and it needs to stay alive. */ + /** + * The source account would not survive the transfer and it needs to stay alive. + **/ WouldDie: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorInherent: { - /** Author already set in block. */ + /** + * Author already set in block. + **/ AuthorAlreadySet: AugmentedError; - /** The author in the inherent is not an eligible author. */ + /** + * The author in the inherent is not an eligible author. + **/ CannotBeAuthor: AugmentedError; - /** No AccountId was found to be associated with this author */ + /** + * No AccountId was found to be associated with this author + **/ NoAccountId: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorMapping: { - /** The NimbusId in question is already associated and cannot be overwritten */ + /** + * The NimbusId in question is already associated and cannot be overwritten + **/ AlreadyAssociated: AugmentedError; - /** The association can't be cleared because it is not found. */ + /** + * The association can't be cleared because it is not found. + **/ AssociationNotFound: AugmentedError; - /** This account cannot set an author because it cannon afford the security deposit */ + /** + * This account cannot set an author because it cannon afford the security deposit + **/ CannotAffordSecurityDeposit: AugmentedError; - /** Failed to decode T::Keys for `set_keys` */ + /** + * Failed to decode T::Keys for `set_keys` + **/ DecodeKeysFailed: AugmentedError; - /** Failed to decode NimbusId for `set_keys` */ + /** + * Failed to decode NimbusId for `set_keys` + **/ DecodeNimbusFailed: AugmentedError; - /** The association can't be cleared because it belongs to another account. */ + /** + * The association can't be cleared because it belongs to another account. + **/ NotYourAssociation: AugmentedError; - /** No existing NimbusId can be found for the account */ + /** + * No existing NimbusId can be found for the account + **/ OldAuthorIdNotFound: AugmentedError; - /** Keys have wrong size */ + /** + * Keys have wrong size + **/ WrongKeySize: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; balances: { - /** Beneficiary account must pre-exist. */ + /** + * Beneficiary account must pre-exist. + **/ DeadAccount: AugmentedError; - /** The delta cannot be zero. */ + /** + * The delta cannot be zero. + **/ DeltaZero: AugmentedError; - /** Value too low to create account due to existential deposit. */ + /** + * Value too low to create account due to existential deposit. + **/ ExistentialDeposit: AugmentedError; - /** A vesting schedule already exists for this account. */ + /** + * A vesting schedule already exists for this account. + **/ ExistingVestingSchedule: AugmentedError; - /** Transfer/payment would kill account. */ + /** + * Transfer/payment would kill account. + **/ Expendability: AugmentedError; - /** Balance too low to send value. */ + /** + * Balance too low to send value. + **/ InsufficientBalance: AugmentedError; - /** The issuance cannot be modified since it is already deactivated. */ + /** + * The issuance cannot be modified since it is already deactivated. + **/ IssuanceDeactivated: AugmentedError; - /** Account liquidity restrictions prevent withdrawal. */ + /** + * Account liquidity restrictions prevent withdrawal. + **/ LiquidityRestrictions: AugmentedError; - /** Number of freezes exceed `MaxFreezes`. */ + /** + * Number of freezes exceed `MaxFreezes`. + **/ TooManyFreezes: AugmentedError; - /** Number of holds exceed `VariantCountOf`. */ + /** + * Number of holds exceed `VariantCountOf`. + **/ TooManyHolds: AugmentedError; - /** Number of named reserves exceed `MaxReserves`. */ + /** + * Number of named reserves exceed `MaxReserves`. + **/ TooManyReserves: AugmentedError; - /** Vesting balance too high to send value. */ + /** + * Vesting balance too high to send value. + **/ VestingBalance: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; convictionVoting: { - /** The account is already delegating. */ + /** + * The account is already delegating. + **/ AlreadyDelegating: AugmentedError; /** - * The account currently has votes attached to it and the operation cannot succeed until these - * are removed through `remove_vote`. - */ + * The account currently has votes attached to it and the operation cannot succeed until + * these are removed through `remove_vote`. + **/ AlreadyVoting: AugmentedError; - /** The class ID supplied is invalid. */ + /** + * The class ID supplied is invalid. + **/ BadClass: AugmentedError; - /** The class must be supplied since it is not easily determinable from the state. */ + /** + * The class must be supplied since it is not easily determinable from the state. + **/ ClassNeeded: AugmentedError; - /** Too high a balance was provided that the account cannot afford. */ + /** + * Too high a balance was provided that the account cannot afford. + **/ InsufficientFunds: AugmentedError; - /** Maximum number of votes reached. */ + /** + * Maximum number of votes reached. + **/ MaxVotesReached: AugmentedError; - /** Delegation to oneself makes no sense. */ + /** + * Delegation to oneself makes no sense. + **/ Nonsense: AugmentedError; - /** The actor has no permission to conduct the action. */ + /** + * The actor has no permission to conduct the action. + **/ NoPermission: AugmentedError; - /** The actor has no permission to conduct the action right now but will do in the future. */ + /** + * The actor has no permission to conduct the action right now but will do in the future. + **/ NoPermissionYet: AugmentedError; - /** The account is not currently delegating. */ + /** + * The account is not currently delegating. + **/ NotDelegating: AugmentedError; - /** Poll is not ongoing. */ + /** + * Poll is not ongoing. + **/ NotOngoing: AugmentedError; - /** The given account did not vote on the poll. */ + /** + * The given account did not vote on the poll. + **/ NotVoter: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; crowdloanRewards: { /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided an already associated relay chain identity - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided an already associated relay chain identity + **/ AlreadyAssociated: AugmentedError; - /** Trying to introduce a batch that goes beyond the limits of the funds */ + /** + * Trying to introduce a batch that goes beyond the limits of the funds + **/ BatchBeyondFundPot: AugmentedError; - /** First claim already done */ + /** + * First claim already done + **/ FirstClaimAlreadyDone: AugmentedError; - /** User submitted an unsifficient number of proofs to change the reward address */ + /** + * User submitted an unsifficient number of proofs to change the reward address + **/ InsufficientNumberOfValidProofs: AugmentedError; /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided a wrong signature - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided a wrong signature + **/ InvalidClaimSignature: AugmentedError; - /** User trying to claim the first free reward provided the wrong signature */ + /** + * User trying to claim the first free reward provided the wrong signature + **/ InvalidFreeClaimSignature: AugmentedError; /** - * User trying to claim an award did not have an claim associated with it. This may mean they - * did not contribute to the crowdloan, or they have not yet associated a native id with their - * contribution - */ + * User trying to claim an award did not have an claim associated with it. This may mean + * they did not contribute to the crowdloan, or they have not yet associated a native id + * with their contribution + **/ NoAssociatedClaim: AugmentedError; - /** User provided a signature from a non-contributor relay account */ + /** + * User provided a signature from a non-contributor relay account + **/ NonContributedAddressProvided: AugmentedError; - /** The contribution is not high enough to be eligible for rewards */ + /** + * The contribution is not high enough to be eligible for rewards + **/ RewardNotHighEnough: AugmentedError; /** - * User trying to claim rewards has already claimed all rewards associated with its identity - * and contribution - */ + * User trying to claim rewards has already claimed all rewards associated with its + * identity and contribution + **/ RewardsAlreadyClaimed: AugmentedError; - /** Rewards should match funds of the pallet */ + /** + * Rewards should match funds of the pallet + **/ RewardsDoNotMatchFund: AugmentedError; - /** Reward vec has already been initialized */ + /** + * Reward vec has already been initialized + **/ RewardVecAlreadyInitialized: AugmentedError; - /** Reward vec has not yet been fully initialized */ + /** + * Reward vec has not yet been fully initialized + **/ RewardVecNotFullyInitializedYet: AugmentedError; - /** Initialize_reward_vec received too many contributors */ + /** + * Initialize_reward_vec received too many contributors + **/ TooManyContributors: AugmentedError; - /** Provided vesting period is not valid */ + /** + * Provided vesting period is not valid + **/ VestingPeriodNonValid: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; emergencyParaXcm: { - /** The current XCM Mode is not Paused */ + /** + * The current XCM Mode is not Paused + **/ NotInPausedMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereum: { - /** Signature is invalid. */ + /** + * Signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Pre-log is present, therefore transact is not allowed. */ + /** + * Pre-log is present, therefore transact is not allowed. + **/ PreLogExists: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereumXcm: { - /** Xcm to Ethereum execution is suspended */ + /** + * Xcm to Ethereum execution is suspended + **/ EthereumXcmExecutionSuspended: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evm: { - /** Not enough balance to perform action */ + /** + * Not enough balance to perform action + **/ BalanceLow: AugmentedError; - /** Calculating total fee overflowed */ + /** + * Calculating total fee overflowed + **/ FeeOverflow: AugmentedError; - /** Gas limit is too high. */ + /** + * Gas limit is too high. + **/ GasLimitTooHigh: AugmentedError; - /** Gas limit is too low. */ + /** + * Gas limit is too low. + **/ GasLimitTooLow: AugmentedError; - /** Gas price is too low. */ + /** + * Gas price is too low. + **/ GasPriceTooLow: AugmentedError; - /** The chain id is invalid. */ + /** + * The chain id is invalid. + **/ InvalidChainId: AugmentedError; - /** Nonce is invalid */ + /** + * Nonce is invalid + **/ InvalidNonce: AugmentedError; - /** The signature is invalid. */ + /** + * the signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Calculating total payment overflowed */ + /** + * Calculating total payment overflowed + **/ PaymentOverflow: AugmentedError; - /** EVM reentrancy */ + /** + * EVM reentrancy + **/ Reentrancy: AugmentedError; - /** EIP-3607, */ + /** + * EIP-3607, + **/ TransactionMustComeFromEOA: AugmentedError; - /** Undefined error. */ + /** + * Undefined error. + **/ Undefined: AugmentedError; - /** Withdraw fee failed */ + /** + * Withdraw fee failed + **/ WithdrawFailed: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evmForeignAssets: { @@ -277,226 +461,416 @@ declare module "@polkadot/api-base/types/errors" { InvalidTokenName: AugmentedError; LocationAlreadyExists: AugmentedError; TooManyForeignAssets: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; identity: { - /** Account ID is already named. */ + /** + * Account ID is already named. + **/ AlreadyClaimed: AugmentedError; - /** Empty index. */ + /** + * Empty index. + **/ EmptyIndex: AugmentedError; - /** Fee is changed. */ + /** + * Fee is changed. + **/ FeeChanged: AugmentedError; - /** The index is invalid. */ + /** + * The index is invalid. + **/ InvalidIndex: AugmentedError; - /** Invalid judgement. */ + /** + * Invalid judgement. + **/ InvalidJudgement: AugmentedError; - /** The signature on a username was not valid. */ + /** + * The signature on a username was not valid. + **/ InvalidSignature: AugmentedError; - /** The provided suffix is too long. */ + /** + * The provided suffix is too long. + **/ InvalidSuffix: AugmentedError; - /** The target is invalid. */ + /** + * The target is invalid. + **/ InvalidTarget: AugmentedError; - /** The username does not meet the requirements. */ + /** + * The username does not meet the requirements. + **/ InvalidUsername: AugmentedError; - /** The provided judgement was for a different identity. */ + /** + * The provided judgement was for a different identity. + **/ JudgementForDifferentIdentity: AugmentedError; - /** Judgement given. */ + /** + * Judgement given. + **/ JudgementGiven: AugmentedError; - /** Error that occurs when there is an issue paying for judgement. */ + /** + * Error that occurs when there is an issue paying for judgement. + **/ JudgementPaymentFailed: AugmentedError; - /** The authority cannot allocate any more usernames. */ + /** + * The authority cannot allocate any more usernames. + **/ NoAllocation: AugmentedError; - /** No identity found. */ + /** + * No identity found. + **/ NoIdentity: AugmentedError; - /** The username cannot be forcefully removed because it can still be accepted. */ + /** + * The username cannot be forcefully removed because it can still be accepted. + **/ NotExpired: AugmentedError; - /** Account isn't found. */ + /** + * Account isn't found. + **/ NotFound: AugmentedError; - /** Account isn't named. */ + /** + * Account isn't named. + **/ NotNamed: AugmentedError; - /** Sub-account isn't owned by sender. */ + /** + * Sub-account isn't owned by sender. + **/ NotOwned: AugmentedError; - /** Sender is not a sub-account. */ + /** + * Sender is not a sub-account. + **/ NotSub: AugmentedError; - /** The sender does not have permission to issue a username. */ + /** + * The sender does not have permission to issue a username. + **/ NotUsernameAuthority: AugmentedError; - /** The requested username does not exist. */ + /** + * The requested username does not exist. + **/ NoUsername: AugmentedError; - /** Setting this username requires a signature, but none was provided. */ + /** + * Setting this username requires a signature, but none was provided. + **/ RequiresSignature: AugmentedError; - /** Sticky judgement. */ + /** + * Sticky judgement. + **/ StickyJudgement: AugmentedError; - /** Maximum amount of registrars reached. Cannot add any more. */ + /** + * Maximum amount of registrars reached. Cannot add any more. + **/ TooManyRegistrars: AugmentedError; - /** Too many subs-accounts. */ + /** + * Too many subs-accounts. + **/ TooManySubAccounts: AugmentedError; - /** The username is already taken. */ + /** + * The username is already taken. + **/ UsernameTaken: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; maintenanceMode: { - /** The chain cannot enter maintenance mode because it is already in maintenance mode */ + /** + * The chain cannot enter maintenance mode because it is already in maintenance mode + **/ AlreadyInMaintenanceMode: AugmentedError; - /** The chain cannot resume normal operation because it is not in maintenance mode */ + /** + * The chain cannot resume normal operation because it is not in maintenance mode + **/ NotInMaintenanceMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; messageQueue: { - /** The message was already processed and cannot be processed again. */ + /** + * The message was already processed and cannot be processed again. + **/ AlreadyProcessed: AugmentedError; - /** There is temporarily not enough weight to continue servicing messages. */ + /** + * There is temporarily not enough weight to continue servicing messages. + **/ InsufficientWeight: AugmentedError; - /** The referenced message could not be found. */ + /** + * The referenced message could not be found. + **/ NoMessage: AugmentedError; - /** Page to be reaped does not exist. */ + /** + * Page to be reaped does not exist. + **/ NoPage: AugmentedError; - /** Page is not reapable because it has items remaining to be processed and is not old enough. */ + /** + * Page is not reapable because it has items remaining to be processed and is not old + * enough. + **/ NotReapable: AugmentedError; - /** The message is queued for future execution. */ + /** + * The message is queued for future execution. + **/ Queued: AugmentedError; /** * The queue is paused and no message can be executed from it. * * This can change at any time and may resolve in the future by re-trying. - */ + **/ QueuePaused: AugmentedError; - /** Another call is in progress and needs to finish before this call can happen. */ + /** + * Another call is in progress and needs to finish before this call can happen. + **/ RecursiveDisallowed: AugmentedError; /** * This message is temporarily unprocessable. * - * Such errors are expected, but not guaranteed, to resolve themselves eventually through retrying. - */ + * Such errors are expected, but not guaranteed, to resolve themselves eventually through + * retrying. + **/ TemporarilyUnprocessable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; migrations: { - /** Preimage already exists in the new storage. */ + /** + * Preimage already exists in the new storage. + **/ PreimageAlreadyExists: AugmentedError; - /** Preimage is larger than the new max size. */ + /** + * Preimage is larger than the new max size. + **/ PreimageIsTooBig: AugmentedError; - /** Missing preimage in original democracy storage */ + /** + * Missing preimage in original democracy storage + **/ PreimageMissing: AugmentedError; - /** Provided upper bound is too low. */ + /** + * Provided upper bound is too low. + **/ WrongUpperBound: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamLazyMigrations: { - /** Fail to add an approval */ + /** + * Fail to add an approval + **/ ApprovalFailed: AugmentedError; - /** Asset not found */ + /** + * Asset not found + **/ AssetNotFound: AugmentedError; - /** The asset type was not found */ + /** + * The asset type was not found + **/ AssetTypeNotFound: AugmentedError; - /** The contract already have metadata */ + /** + * The contract already have metadata + **/ ContractMetadataAlreadySet: AugmentedError; - /** Contract not exist */ + /** + * Contract not exist + **/ ContractNotExist: AugmentedError; - /** The key lengths exceeds the maximum allowed */ + /** + * The key lengths exceeds the maximum allowed + **/ KeyTooLong: AugmentedError; - /** The limit cannot be zero */ + /** + * The limit cannot be zero + **/ LimitCannotBeZero: AugmentedError; - /** The location of the asset was not found */ + /** + * The location of the asset was not found + **/ LocationNotFound: AugmentedError; - /** Migration is not finished yet */ + /** + * Migration is not finished yet + **/ MigrationNotFinished: AugmentedError; - /** Fail to mint the foreign asset */ + /** + * Fail to mint the foreign asset + **/ MintFailed: AugmentedError; - /** The name length exceeds the maximum allowed */ + /** + * The name length exceeds the maximum allowed + **/ NameTooLong: AugmentedError; - /** No migration in progress */ + /** + * No migration in progress + **/ NoMigrationInProgress: AugmentedError; - /** The symbol length exceeds the maximum allowed */ + /** + * The symbol length exceeds the maximum allowed + **/ SymbolTooLong: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamOrbiters: { - /** The collator is already added in orbiters program. */ + /** + * The collator is already added in orbiters program. + **/ CollatorAlreadyAdded: AugmentedError; - /** This collator is not in orbiters program. */ + /** + * This collator is not in orbiters program. + **/ CollatorNotFound: AugmentedError; - /** There are already too many orbiters associated with this collator. */ + /** + * There are already too many orbiters associated with this collator. + **/ CollatorPoolTooLarge: AugmentedError; - /** There are more collator pools than the number specified in the parameter. */ + /** + * There are more collator pools than the number specified in the parameter. + **/ CollatorsPoolCountTooLow: AugmentedError; /** * The minimum deposit required to register as an orbiter has not yet been included in the * onchain storage - */ + **/ MinOrbiterDepositNotSet: AugmentedError; - /** This orbiter is already associated with this collator. */ + /** + * This orbiter is already associated with this collator. + **/ OrbiterAlreadyInPool: AugmentedError; - /** This orbiter has not made a deposit */ + /** + * This orbiter has not made a deposit + **/ OrbiterDepositNotFound: AugmentedError; - /** This orbiter is not found */ + /** + * This orbiter is not found + **/ OrbiterNotFound: AugmentedError; - /** The orbiter is still at least in one pool */ + /** + * The orbiter is still at least in one pool + **/ OrbiterStillInAPool: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; multisig: { - /** Call is already approved by this signatory. */ + /** + * Call is already approved by this signatory. + **/ AlreadyApproved: AugmentedError; - /** The data to be stored is already stored. */ + /** + * The data to be stored is already stored. + **/ AlreadyStored: AugmentedError; - /** The maximum weight information provided was too low. */ + /** + * The maximum weight information provided was too low. + **/ MaxWeightTooLow: AugmentedError; - /** Threshold must be 2 or greater. */ + /** + * Threshold must be 2 or greater. + **/ MinimumThreshold: AugmentedError; - /** Call doesn't need any (more) approvals. */ + /** + * Call doesn't need any (more) approvals. + **/ NoApprovalsNeeded: AugmentedError; - /** Multisig operation not found when attempting to cancel. */ + /** + * Multisig operation not found when attempting to cancel. + **/ NotFound: AugmentedError; - /** No timepoint was given, yet the multisig operation is already underway. */ + /** + * No timepoint was given, yet the multisig operation is already underway. + **/ NoTimepoint: AugmentedError; - /** Only the account that originally created the multisig is able to cancel it. */ + /** + * Only the account that originally created the multisig is able to cancel it. + **/ NotOwner: AugmentedError; - /** The sender was contained in the other signatories; it shouldn't be. */ + /** + * The sender was contained in the other signatories; it shouldn't be. + **/ SenderInSignatories: AugmentedError; - /** The signatories were provided out of order; they should be ordered. */ + /** + * The signatories were provided out of order; they should be ordered. + **/ SignatoriesOutOfOrder: AugmentedError; - /** There are too few signatories in the list. */ + /** + * There are too few signatories in the list. + **/ TooFewSignatories: AugmentedError; - /** There are too many signatories in the list. */ + /** + * There are too many signatories in the list. + **/ TooManySignatories: AugmentedError; - /** A timepoint was given, yet no multisig operation is underway. */ + /** + * A timepoint was given, yet no multisig operation is underway. + **/ UnexpectedTimepoint: AugmentedError; - /** A different timepoint was given to the multisig operation that is underway. */ + /** + * A different timepoint was given to the multisig operation that is underway. + **/ WrongTimepoint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; openTechCommitteeCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainStaking: { @@ -556,132 +930,240 @@ declare module "@polkadot/api-base/types/errors" { TooLowDelegationCountToDelegate: AugmentedError; TooLowDelegationCountToLeaveDelegators: AugmentedError; TotalInflationDistributionPercentExceeds100: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainSystem: { - /** The inherent which supplies the host configuration did not run this block. */ + /** + * The inherent which supplies the host configuration did not run this block. + **/ HostConfigurationNotAvailable: AugmentedError; - /** No code upgrade has been authorized. */ + /** + * No code upgrade has been authorized. + **/ NothingAuthorized: AugmentedError; - /** No validation function upgrade is currently scheduled. */ + /** + * No validation function upgrade is currently scheduled. + **/ NotScheduled: AugmentedError; - /** Attempt to upgrade validation function while existing upgrade pending. */ + /** + * Attempt to upgrade validation function while existing upgrade pending. + **/ OverlappingUpgrades: AugmentedError; - /** Polkadot currently prohibits this parachain from upgrading its validation function. */ + /** + * Polkadot currently prohibits this parachain from upgrading its validation function. + **/ ProhibitedByPolkadot: AugmentedError; - /** The supplied validation function has compiled into a blob larger than Polkadot is willing to run. */ + /** + * The supplied validation function has compiled into a blob larger than Polkadot is + * willing to run. + **/ TooBig: AugmentedError; - /** The given code upgrade has not been authorized. */ + /** + * The given code upgrade has not been authorized. + **/ Unauthorized: AugmentedError; - /** The inherent which supplies the validation data did not run this block. */ + /** + * The inherent which supplies the validation data did not run this block. + **/ ValidationDataNotAvailable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; polkadotXcm: { - /** The given account is not an identifiable sovereign account for any location. */ + /** + * The given account is not an identifiable sovereign account for any location. + **/ AccountNotSovereign: AugmentedError; - /** The location is invalid since it already has a subscription from us. */ + /** + * The location is invalid since it already has a subscription from us. + **/ AlreadySubscribed: AugmentedError; /** - * The given location could not be used (e.g. because it cannot be expressed in the desired - * version of XCM). - */ + * The given location could not be used (e.g. because it cannot be expressed in the + * desired version of XCM). + **/ BadLocation: AugmentedError; - /** The version of the `Versioned` value used is not able to be interpreted. */ + /** + * The version of the `Versioned` value used is not able to be interpreted. + **/ BadVersion: AugmentedError; - /** Could not check-out the assets for teleportation to the destination chain. */ + /** + * Could not check-out the assets for teleportation to the destination chain. + **/ CannotCheckOutTeleport: AugmentedError; - /** Could not re-anchor the assets to declare the fees for the destination chain. */ + /** + * Could not re-anchor the assets to declare the fees for the destination chain. + **/ CannotReanchor: AugmentedError; - /** The destination `Location` provided cannot be inverted. */ + /** + * The destination `Location` provided cannot be inverted. + **/ DestinationNotInvertible: AugmentedError; - /** The assets to be sent are empty. */ + /** + * The assets to be sent are empty. + **/ Empty: AugmentedError; - /** The operation required fees to be paid which the initiator could not meet. */ + /** + * The operation required fees to be paid which the initiator could not meet. + **/ FeesNotMet: AugmentedError; - /** The message execution fails the filter. */ + /** + * The message execution fails the filter. + **/ Filtered: AugmentedError; - /** The unlock operation cannot succeed because there are still consumers of the lock. */ + /** + * The unlock operation cannot succeed because there are still consumers of the lock. + **/ InUse: AugmentedError; - /** Invalid asset, reserve chain could not be determined for it. */ + /** + * Invalid asset, reserve chain could not be determined for it. + **/ InvalidAssetUnknownReserve: AugmentedError; - /** Invalid asset, do not support remote asset reserves with different fees reserves. */ + /** + * Invalid asset, do not support remote asset reserves with different fees reserves. + **/ InvalidAssetUnsupportedReserve: AugmentedError; - /** Origin is invalid for sending. */ + /** + * Origin is invalid for sending. + **/ InvalidOrigin: AugmentedError; - /** Local XCM execution incomplete. */ + /** + * Local XCM execution incomplete. + **/ LocalExecutionIncomplete: AugmentedError; - /** A remote lock with the corresponding data could not be found. */ + /** + * A remote lock with the corresponding data could not be found. + **/ LockNotFound: AugmentedError; - /** The owner does not own (all) of the asset that they wish to do the operation on. */ + /** + * The owner does not own (all) of the asset that they wish to do the operation on. + **/ LowBalance: AugmentedError; - /** The referenced subscription could not be found. */ + /** + * The referenced subscription could not be found. + **/ 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; - /** Too many assets have been attempted for transfer. */ + /** + * Too many assets have been attempted for transfer. + **/ TooManyAssets: AugmentedError; - /** The asset owner has too many locks on the asset. */ + /** + * The asset owner has too many locks on the asset. + **/ TooManyLocks: AugmentedError; - /** Too many assets with different reserve locations have been attempted for transfer. */ + /** + * Too many assets with different reserve locations have been attempted for transfer. + **/ TooManyReserves: AugmentedError; - /** The desired destination was unreachable, generally because there is a no way of routing to it. */ + /** + * The desired destination was unreachable, generally because there is a no way of routing + * to it. + **/ Unreachable: AugmentedError; - /** The message's weight could not be determined. */ + /** + * The message's weight could not be determined. + **/ UnweighableMessage: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; precompileBenchmarks: { BenchmarkError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; preimage: { - /** Preimage has already been noted on-chain. */ + /** + * Preimage has already been noted on-chain. + **/ AlreadyNoted: AugmentedError; - /** No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. */ + /** + * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. + **/ NoCost: AugmentedError; - /** The user is not authorized to perform this action. */ + /** + * The user is not authorized to perform this action. + **/ NotAuthorized: AugmentedError; - /** The preimage cannot be removed since it has not yet been noted. */ + /** + * The preimage cannot be removed since it has not yet been noted. + **/ NotNoted: AugmentedError; - /** The preimage request cannot be removed since no outstanding requests exist. */ + /** + * The preimage request cannot be removed since no outstanding requests exist. + **/ NotRequested: AugmentedError; - /** A preimage may not be removed when there are outstanding requests. */ + /** + * A preimage may not be removed when there are outstanding requests. + **/ Requested: AugmentedError; - /** Preimage is too large to store on-chain. */ + /** + * Preimage is too large to store on-chain. + **/ TooBig: AugmentedError; - /** Too few hashes were requested to be upgraded (i.e. zero). */ + /** + * Too few hashes were requested to be upgraded (i.e. zero). + **/ TooFew: AugmentedError; - /** More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. */ + /** + * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + **/ TooMany: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; proxy: { - /** Account is already a proxy. */ + /** + * Account is already a proxy. + **/ Duplicate: AugmentedError; - /** Call may not be made by proxy because it may escalate its privileges. */ + /** + * Call may not be made by proxy because it may escalate its privileges. + **/ NoPermission: AugmentedError; - /** Cannot add self as proxy. */ + /** + * Cannot add self as proxy. + **/ NoSelfProxy: AugmentedError; - /** Proxy registration not found. */ + /** + * Proxy registration not found. + **/ NotFound: AugmentedError; - /** Sender is not a proxy of the account to be proxied. */ + /** + * Sender is not a proxy of the account to be proxied. + **/ NotProxy: AugmentedError; - /** There are too many proxies registered or too many announcements pending. */ + /** + * There are too many proxies registered or too many announcements pending. + **/ TooMany: AugmentedError; - /** Announcement, if made at all, was made too recently. */ + /** + * Announcement, if made at all, was made too recently. + **/ Unannounced: AugmentedError; - /** A call which is incompatible with the proxy type's filter was attempted. */ + /** + * A call which is incompatible with the proxy type's filter was attempted. + **/ Unproxyable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; randomness: { @@ -697,165 +1179,306 @@ declare module "@polkadot/api-base/types/errors" { RequestDNE: AugmentedError; RequestFeeOverflowed: AugmentedError; RequestHasNotExpired: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; referenda: { - /** The referendum index provided is invalid in this context. */ + /** + * The referendum index provided is invalid in this context. + **/ BadReferendum: AugmentedError; - /** The referendum status is invalid for this operation. */ + /** + * The referendum status is invalid for this operation. + **/ BadStatus: AugmentedError; - /** The track identifier given was invalid. */ + /** + * The track identifier given was invalid. + **/ BadTrack: AugmentedError; - /** There are already a full complement of referenda in progress for this track. */ + /** + * There are already a full complement of referenda in progress for this track. + **/ Full: AugmentedError; - /** Referendum's decision deposit is already paid. */ + /** + * Referendum's decision deposit is already paid. + **/ HasDeposit: AugmentedError; - /** The deposit cannot be refunded since none was made. */ + /** + * The deposit cannot be refunded since none was made. + **/ NoDeposit: AugmentedError; - /** The deposit refunder is not the depositor. */ + /** + * The deposit refunder is not the depositor. + **/ NoPermission: AugmentedError; - /** There was nothing to do in the advancement. */ + /** + * There was nothing to do in the advancement. + **/ NothingToDo: AugmentedError; - /** Referendum is not ongoing. */ + /** + * Referendum is not ongoing. + **/ NotOngoing: AugmentedError; - /** No track exists for the proposal origin. */ + /** + * No track exists for the proposal origin. + **/ NoTrack: AugmentedError; - /** The preimage does not exist. */ + /** + * The preimage does not exist. + **/ PreimageNotExist: AugmentedError; - /** The preimage is stored with a different length than the one provided. */ + /** + * The preimage is stored with a different length than the one provided. + **/ PreimageStoredWithDifferentLength: AugmentedError; - /** The queue of the track is empty. */ + /** + * The queue of the track is empty. + **/ QueueEmpty: AugmentedError; - /** Any deposit cannot be refunded until after the decision is over. */ + /** + * Any deposit cannot be refunded until after the decision is over. + **/ Unfinished: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; scheduler: { - /** Failed to schedule a call */ + /** + * Failed to schedule a call + **/ FailedToSchedule: AugmentedError; - /** Attempt to use a non-named function on a named task. */ + /** + * Attempt to use a non-named function on a named task. + **/ Named: AugmentedError; - /** Cannot find the scheduled call. */ + /** + * Cannot find the scheduled call. + **/ NotFound: AugmentedError; - /** Reschedule failed because it does not change scheduled time. */ + /** + * Reschedule failed because it does not change scheduled time. + **/ RescheduleNoChange: AugmentedError; - /** Given target block number is in the past. */ + /** + * Given target block number is in the past. + **/ TargetBlockNumberInPast: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; system: { - /** The origin filter prevent the call to be dispatched. */ + /** + * The origin filter prevent the call to be dispatched. + **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. - */ + **/ FailedToExtractRuntimeVersion: AugmentedError; - /** The name of specification does not match between the current runtime and the new runtime. */ + /** + * The name of specification does not match between the current runtime + * and the new runtime. + **/ InvalidSpecName: AugmentedError; - /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + /** + * A multi-block migration is ongoing and prevents the current code from being replaced. + **/ MultiBlockMigrationsOngoing: AugmentedError; - /** Suicide called when the account has non-default composite data. */ + /** + * Suicide called when the account has non-default composite data. + **/ NonDefaultComposite: AugmentedError; - /** There is a non-zero reference count preventing the account from being purged. */ + /** + * There is a non-zero reference count preventing the account from being purged. + **/ NonZeroRefCount: AugmentedError; - /** No upgrade authorized. */ + /** + * No upgrade authorized. + **/ NothingAuthorized: AugmentedError; - /** The specification version is not allowed to decrease between the current runtime and the new runtime. */ + /** + * The specification version is not allowed to decrease between the current runtime + * and the new runtime. + **/ SpecVersionNeedsToIncrease: AugmentedError; - /** The submitted code is not authorized. */ + /** + * The submitted code is not authorized. + **/ Unauthorized: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasury: { - /** The payment has already been attempted. */ + /** + * The payment has already been attempted. + **/ AlreadyAttempted: AugmentedError; - /** The spend is not yet eligible for payout. */ + /** + * The spend is not yet eligible for payout. + **/ EarlyPayout: AugmentedError; - /** The balance of the asset kind is not convertible to the balance of the native asset. */ + /** + * The balance of the asset kind is not convertible to the balance of the native asset. + **/ FailedToConvertBalance: AugmentedError; - /** The payment has neither failed nor succeeded yet. */ + /** + * The payment has neither failed nor succeeded yet. + **/ Inconclusive: AugmentedError; - /** The spend origin is valid but the amount it is allowed to spend is lower than the amount to be spent. */ + /** + * The spend origin is valid but the amount it is allowed to spend is lower than the + * amount to be spent. + **/ InsufficientPermission: AugmentedError; - /** No proposal, bounty or spend at that index. */ + /** + * No proposal, bounty or spend at that index. + **/ InvalidIndex: AugmentedError; - /** The payout was not yet attempted/claimed. */ + /** + * The payout was not yet attempted/claimed. + **/ NotAttempted: AugmentedError; - /** There was some issue with the mechanism of payment. */ + /** + * There was some issue with the mechanism of payment. + **/ PayoutError: AugmentedError; - /** Proposal has not been approved. */ + /** + * Proposal has not been approved. + **/ ProposalNotApproved: AugmentedError; - /** The spend has expired and cannot be claimed. */ + /** + * The spend has expired and cannot be claimed. + **/ SpendExpired: AugmentedError; - /** Too many approvals in the queue. */ + /** + * Too many approvals in the queue. + **/ TooManyApprovals: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasuryCouncilCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; utility: { - /** Too many calls batched. */ + /** + * Too many calls batched. + **/ TooManyCalls: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; whitelist: { - /** The call was already whitelisted; No-Op. */ + /** + * The call was already whitelisted; No-Op. + **/ CallAlreadyWhitelisted: AugmentedError; - /** The call was not whitelisted. */ + /** + * The call was not whitelisted. + **/ CallIsNotWhitelisted: AugmentedError; - /** The weight of the decoded call was higher than the witness. */ + /** + * The weight of the decoded call was higher than the witness. + **/ InvalidCallWeightWitness: AugmentedError; - /** The preimage of the call hash could not be loaded. */ + /** + * The preimage of the call hash could not be loaded. + **/ UnavailablePreImage: AugmentedError; - /** The call could not be decoded. */ + /** + * The call could not be decoded. + **/ UndecodableCall: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmpQueue: { - /** The execution is already resumed. */ + /** + * The execution is already resumed. + **/ AlreadyResumed: AugmentedError; - /** The execution is already suspended. */ + /** + * The execution is already suspended. + **/ AlreadySuspended: AugmentedError; - /** Setting the queue config failed since one of its values was invalid. */ + /** + * Setting the queue config failed since one of its values was invalid. + **/ BadQueueConfig: AugmentedError; - /** The message is too big. */ + /** + * The message is too big. + **/ TooBig: AugmentedError; - /** There are too many active outbound channels. */ + /** + * There are too many active outbound channels. + **/ TooManyActiveOutboundChannels: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmTransactor: { @@ -886,23 +1509,39 @@ declare module "@polkadot/api-base/types/errors" { UnweighableMessage: AugmentedError; WeightOverflow: AugmentedError; XcmExecuteError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmWeightTrader: { - /** The given asset was already added */ + /** + * The given asset was already added + **/ AssetAlreadyAdded: AugmentedError; - /** The given asset was already paused */ + /** + * The given asset was already paused + **/ AssetAlreadyPaused: AugmentedError; - /** The given asset was not found */ + /** + * The given asset was not found + **/ AssetNotFound: AugmentedError; - /** The given asset is not paused */ + /** + * The given asset is not paused + **/ AssetNotPaused: AugmentedError; - /** The relative price cannot be zero */ + /** + * The relative price cannot be zero + **/ PriceCannotBeZero: AugmentedError; - /** XCM location filtered */ + /** + * XCM location filtered + **/ XcmLocationFiltered: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; } // AugmentedErrors diff --git a/typescript-api/src/moonriver/interfaces/augment-api-events.ts b/typescript-api/src/moonriver/interfaces/augment-api-events.ts index 08c1e2b1c1..886883fc35 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-events.ts @@ -17,7 +17,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { AccountId20, H160, H256, Perbill, Percent } from "@polkadot/types/interfaces/runtime"; @@ -54,7 +54,7 @@ import type { StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; export type __AugmentedEvent = AugmentedEvent; @@ -62,13 +62,17 @@ export type __AugmentedEvent = AugmentedEvent declare module "@polkadot/api-base/types/events" { interface AugmentedEvents { assetManager: { - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ ForeignAssetDestroyed: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonriverRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonriverRuntimeXcmConfigAssetType } >; - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetRegistered: AugmentedEvent< ApiType, [ @@ -82,153 +86,216 @@ declare module "@polkadot/api-base/types/events" { metadata: MoonriverRuntimeAssetConfigAssetRegistrarMetadata; } >; - /** Removed all information related to an assetId */ + /** + * Removed all information related to an assetId + **/ ForeignAssetRemoved: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonriverRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonriverRuntimeXcmConfigAssetType } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newAssetType: MoonriverRuntimeXcmConfigAssetType], { assetId: u128; newAssetType: MoonriverRuntimeXcmConfigAssetType } >; - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ LocalAssetDestroyed: AugmentedEvent; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [assetType: MoonriverRuntimeXcmConfigAssetType], { assetType: MoonriverRuntimeXcmConfigAssetType } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ UnitsPerSecondChanged: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; assets: { - /** Accounts were destroyed for given asset. */ + /** + * Accounts were destroyed for given asset. + **/ AccountsDestroyed: AugmentedEvent< ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u128; accountsDestroyed: u32; accountsRemaining: u32 } >; - /** An approval for account `delegate` was cancelled by `owner`. */ + /** + * An approval for account `delegate` was cancelled by `owner`. + **/ ApprovalCancelled: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, delegate: AccountId20], { assetId: u128; owner: AccountId20; delegate: AccountId20 } >; - /** Approvals were destroyed for given asset. */ + /** + * Approvals were destroyed for given asset. + **/ ApprovalsDestroyed: AugmentedEvent< ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u128; approvalsDestroyed: u32; approvalsRemaining: u32 } >; - /** (Additional) funds have been approved for transfer to a destination account. */ + /** + * (Additional) funds have been approved for transfer to a destination account. + **/ ApprovedTransfer: AugmentedEvent< ApiType, [assetId: u128, source: AccountId20, delegate: AccountId20, amount: u128], { assetId: u128; source: AccountId20; delegate: AccountId20; amount: u128 } >; - /** Some asset `asset_id` was frozen. */ + /** + * Some asset `asset_id` was frozen. + **/ AssetFrozen: AugmentedEvent; - /** The min_balance of an asset has been updated by the asset owner. */ + /** + * The min_balance of an asset has been updated by the asset owner. + **/ AssetMinBalanceChanged: AugmentedEvent< ApiType, [assetId: u128, newMinBalance: u128], { assetId: u128; newMinBalance: u128 } >; - /** An asset has had its attributes changed by the `Force` origin. */ + /** + * An asset has had its attributes changed by the `Force` origin. + **/ AssetStatusChanged: AugmentedEvent; - /** Some asset `asset_id` was thawed. */ + /** + * Some asset `asset_id` was thawed. + **/ AssetThawed: AugmentedEvent; - /** Some account `who` was blocked. */ + /** + * Some account `who` was blocked. + **/ Blocked: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were destroyed. */ + /** + * Some assets were destroyed. + **/ Burned: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, balance: u128], { assetId: u128; owner: AccountId20; balance: u128 } >; - /** Some asset class was created. */ + /** + * Some asset class was created. + **/ Created: AugmentedEvent< ApiType, [assetId: u128, creator: AccountId20, owner: AccountId20], { assetId: u128; creator: AccountId20; owner: AccountId20 } >; - /** Some assets were deposited (e.g. for transaction fees). */ + /** + * Some assets were deposited (e.g. for transaction fees). + **/ Deposited: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** An asset class was destroyed. */ + /** + * An asset class was destroyed. + **/ Destroyed: AugmentedEvent; - /** An asset class is in the process of being destroyed. */ + /** + * An asset class is in the process of being destroyed. + **/ DestructionStarted: AugmentedEvent; - /** Some asset class was force-created. */ + /** + * Some asset class was force-created. + **/ ForceCreated: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** Some account `who` was frozen. */ + /** + * Some account `who` was frozen. + **/ Frozen: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were issued. */ + /** + * Some assets were issued. + **/ Issued: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, amount: u128], { assetId: u128; owner: AccountId20; amount: u128 } >; - /** Metadata has been cleared for an asset. */ + /** + * Metadata has been cleared for an asset. + **/ MetadataCleared: AugmentedEvent; - /** New metadata has been set for an asset. */ + /** + * New metadata has been set for an asset. + **/ MetadataSet: AugmentedEvent< ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u128; name: Bytes; symbol: Bytes; decimals: u8; isFrozen: bool } >; - /** The owner changed. */ + /** + * The owner changed. + **/ OwnerChanged: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** The management team changed. */ + /** + * The management team changed. + **/ TeamChanged: AugmentedEvent< ApiType, [assetId: u128, issuer: AccountId20, admin: AccountId20, freezer: AccountId20], { assetId: u128; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 } >; - /** Some account `who` was thawed. */ + /** + * Some account `who` was thawed. + **/ Thawed: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some account `who` was created with a deposit from `depositor`. */ + /** + * Some account `who` was created with a deposit from `depositor`. + **/ Touched: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, depositor: AccountId20], { assetId: u128; who: AccountId20; depositor: AccountId20 } >; - /** Some assets were transferred. */ + /** + * Some assets were transferred. + **/ Transferred: AugmentedEvent< ApiType, [assetId: u128, from: AccountId20, to: AccountId20, amount: u128], { assetId: u128; from: AccountId20; to: AccountId20; amount: u128 } >; - /** An `amount` was transferred in its entirety from `owner` to `destination` by the approved `delegate`. */ + /** + * An `amount` was transferred in its entirety from `owner` to `destination` by + * the approved `delegate`. + **/ TransferredApproved: AugmentedEvent< ApiType, [ @@ -246,23 +313,33 @@ declare module "@polkadot/api-base/types/events" { amount: u128; } >; - /** Some assets were withdrawn from the account (e.g. for transaction fees). */ + /** + * Some assets were withdrawn from the account (e.g. for transaction fees). + **/ Withdrawn: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorFilter: { - /** The amount of eligible authors for the filter to select has been changed. */ + /** + * The amount of eligible authors for the filter to select has been changed. + **/ EligibleUpdated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorMapping: { - /** A NimbusId has been registered and mapped to an AccountId. */ + /** + * A NimbusId has been registered and mapped to an AccountId. + **/ KeysRegistered: AugmentedEvent< ApiType, [ @@ -276,7 +353,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been de-registered, and its AccountId mapping removed. */ + /** + * An NimbusId has been de-registered, and its AccountId mapping removed. + **/ KeysRemoved: AugmentedEvent< ApiType, [ @@ -290,7 +369,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been registered, replacing a previous registration and its mapping. */ + /** + * An NimbusId has been registered, replacing a previous registration and its mapping. + **/ KeysRotated: AugmentedEvent< ApiType, [ @@ -304,75 +385,97 @@ declare module "@polkadot/api-base/types/events" { newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; balances: { - /** A balance was set by root. */ + /** + * A balance was set by root. + **/ BalanceSet: AugmentedEvent< ApiType, [who: AccountId20, free: u128], { who: AccountId20; free: u128 } >; - /** Some amount was burned from an account. */ + /** + * Some amount was burned from an account. + **/ Burned: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was deposited (e.g. for transaction fees). */ + /** + * Some amount was deposited (e.g. for transaction fees). + **/ Deposit: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * An account was removed whose balance was non-zero but below ExistentialDeposit, resulting - * in an outright loss. - */ + * An account was removed whose balance was non-zero but below ExistentialDeposit, + * resulting in an outright loss. + **/ DustLost: AugmentedEvent< ApiType, [account: AccountId20, amount: u128], { account: AccountId20; amount: u128 } >; - /** An account was created with some free balance. */ + /** + * An account was created with some free balance. + **/ Endowed: AugmentedEvent< ApiType, [account: AccountId20, freeBalance: u128], { account: AccountId20; freeBalance: u128 } >; - /** Some balance was frozen. */ + /** + * Some balance was frozen. + **/ Frozen: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was increased by `amount`, creating a credit to be balanced. */ + /** + * Total issuance was increased by `amount`, creating a credit to be balanced. + **/ Issued: AugmentedEvent; - /** Some balance was locked. */ + /** + * Some balance was locked. + **/ Locked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was minted into an account. */ + /** + * Some amount was minted into an account. + **/ Minted: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was decreased by `amount`, creating a debt to be balanced. */ + /** + * Total issuance was decreased by `amount`, creating a debt to be balanced. + **/ Rescinded: AugmentedEvent; - /** Some balance was reserved (moved from free to reserved). */ + /** + * Some balance was reserved (moved from free to reserved). + **/ Reserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * Some balance was moved from the reserve of the first account to the second account. Final - * argument indicates the destination balance type. - */ + * Some balance was moved from the reserve of the first account to the second account. + * Final argument indicates the destination balance type. + **/ ReserveRepatriated: AugmentedEvent< ApiType, [ @@ -388,121 +491,178 @@ declare module "@polkadot/api-base/types/events" { destinationStatus: FrameSupportTokensMiscBalanceStatus; } >; - /** Some amount was restored into an account. */ + /** + * Some amount was restored into an account. + **/ Restored: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was removed from the account (e.g. for misbehavior). */ + /** + * Some amount was removed from the account (e.g. for misbehavior). + **/ Slashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was suspended from an account (it can be restored later). */ + /** + * Some amount was suspended from an account (it can be restored later). + **/ Suspended: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was thawed. */ + /** + * Some balance was thawed. + **/ Thawed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** The `TotalIssuance` was forcefully changed. */ + /** + * The `TotalIssuance` was forcefully changed. + **/ TotalIssuanceForced: AugmentedEvent< ApiType, [old: u128, new_: u128], { old: u128; new_: u128 } >; - /** Transfer succeeded. */ + /** + * Transfer succeeded. + **/ Transfer: AugmentedEvent< ApiType, [from: AccountId20, to: AccountId20, amount: u128], { from: AccountId20; to: AccountId20; amount: u128 } >; - /** Some balance was unlocked. */ + /** + * Some balance was unlocked. + **/ Unlocked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was unreserved (moved from reserved to free). */ + /** + * Some balance was unreserved (moved from reserved to free). + **/ Unreserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** An account was upgraded. */ + /** + * An account was upgraded. + **/ Upgraded: AugmentedEvent; - /** Some amount was withdrawn from the account (e.g. for transaction fees). */ + /** + * Some amount was withdrawn from the account (e.g. for transaction fees). + **/ Withdraw: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; convictionVoting: { - /** An account has delegated their vote to another account. [who, target] */ + /** + * An account has delegated their vote to another account. \[who, target\] + **/ Delegated: AugmentedEvent; - /** An [account] has cancelled a previous delegation operation. */ + /** + * An \[account\] has cancelled a previous delegation operation. + **/ Undelegated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; crowdloanRewards: { - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAccountWithNotEnoughContribution: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAlreadyInitializedAccount: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** The initial payment of InitializationPayment % was paid */ + /** + * The initial payment of InitializationPayment % was paid + **/ InitialPaymentMade: AugmentedEvent; /** - * Someone has proven they made a contribution and associated a native identity with it. Data - * is the relay account, native account and the total amount of _rewards_ that will be paid - */ + * Someone has proven they made a contribution and associated a native identity with it. + * Data is the relay account, native account and the total amount of _rewards_ that will be paid + **/ NativeIdentityAssociated: AugmentedEvent; - /** A contributor has updated the reward address. */ + /** + * A contributor has updated the reward address. + **/ RewardAddressUpdated: AugmentedEvent; /** - * A contributor has claimed some rewards. Data is the account getting paid and the amount of - * rewards paid. - */ + * A contributor has claimed some rewards. + * Data is the account getting paid and the amount of rewards paid. + **/ RewardsPaid: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; cumulusXcm: { - /** Downward message executed with the given outcome. [ id, outcome ] */ + /** + * Downward message executed with the given outcome. + * \[ id, outcome \] + **/ ExecutedDownward: AugmentedEvent; - /** Downward message is invalid XCM. [ id ] */ + /** + * Downward message is invalid XCM. + * \[ id \] + **/ InvalidFormat: AugmentedEvent; - /** Downward message is unsupported version of XCM. [ id ] */ + /** + * Downward message is unsupported version of XCM. + * \[ id \] + **/ UnsupportedVersion: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; emergencyParaXcm: { - /** The XCM incoming execution was Paused */ + /** + * The XCM incoming execution was Paused + **/ EnteredPausedXcmMode: AugmentedEvent; - /** The XCM incoming execution returned to normal operation */ + /** + * The XCM incoming execution returned to normal operation + **/ NormalXcmOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereum: { - /** An ethereum transaction was successfully executed. */ + /** + * An ethereum transaction was successfully executed. + **/ Executed: AugmentedEvent< ApiType, [ @@ -520,35 +680,55 @@ declare module "@polkadot/api-base/types/events" { extraData: Bytes; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereumXcm: { - /** Ethereum transaction executed from XCM */ + /** + * Ethereum transaction executed from XCM + **/ ExecutedFromXcm: AugmentedEvent< ApiType, [xcmMsgHash: H256, ethTxHash: H256], { xcmMsgHash: H256; ethTxHash: H256 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evm: { - /** A contract has been created at given address. */ + /** + * A contract has been created at given address. + **/ Created: AugmentedEvent; - /** A contract was attempted to be created, but the execution failed. */ + /** + * A contract was attempted to be created, but the execution failed. + **/ CreatedFailed: AugmentedEvent; - /** A contract has been executed successfully with states applied. */ + /** + * A contract has been executed successfully with states applied. + **/ Executed: AugmentedEvent; - /** A contract has been executed with errors. States are reverted with only gas fees applied. */ + /** + * A contract has been executed with errors. States are reverted with only gas fees applied. + **/ ExecutedFailed: AugmentedEvent; - /** Ethereum events from contracts. */ + /** + * Ethereum events from contracts. + **/ Log: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evmForeignAssets: { - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetCreated: AugmentedEvent< ApiType, [contractAddress: H160, assetId: u128, xcmLocation: StagingXcmV4Location], @@ -564,19 +744,27 @@ declare module "@polkadot/api-base/types/events" { [assetId: u128, xcmLocation: StagingXcmV4Location], { assetId: u128; xcmLocation: StagingXcmV4Location } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newXcmLocation: StagingXcmV4Location], { assetId: u128; newXcmLocation: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; identity: { - /** A username authority was added. */ + /** + * A username authority was added. + **/ AuthorityAdded: AugmentedEvent; - /** A username authority was removed. */ + /** + * A username authority was removed. + **/ AuthorityRemoved: AugmentedEvent< ApiType, [authority: AccountId20], @@ -585,112 +773,152 @@ declare module "@polkadot/api-base/types/events" { /** * A dangling username (as in, a username corresponding to an account that has removed its * identity) has been removed. - */ + **/ DanglingUsernameRemoved: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A name was cleared, and the given balance returned. */ + /** + * A name was cleared, and the given balance returned. + **/ IdentityCleared: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was removed and the given balance slashed. */ + /** + * A name was removed and the given balance slashed. + **/ IdentityKilled: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was set or reset (which will remove all judgements). */ + /** + * A name was set or reset (which will remove all judgements). + **/ IdentitySet: AugmentedEvent; - /** A judgement was given by a registrar. */ + /** + * A judgement was given by a registrar. + **/ JudgementGiven: AugmentedEvent< ApiType, [target: AccountId20, registrarIndex: u32], { target: AccountId20; registrarIndex: u32 } >; - /** A judgement was asked from a registrar. */ + /** + * A judgement was asked from a registrar. + **/ JudgementRequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A judgement request was retracted. */ + /** + * A judgement request was retracted. + **/ JudgementUnrequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A queued username passed its expiration without being claimed and was removed. */ + /** + * A queued username passed its expiration without being claimed and was removed. + **/ PreapprovalExpired: AugmentedEvent; - /** A username was set as a primary and can be looked up from `who`. */ + /** + * A username was set as a primary and can be looked up from `who`. + **/ PrimaryUsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A registrar was added. */ + /** + * A registrar was added. + **/ RegistrarAdded: AugmentedEvent; - /** A sub-identity was added to an identity and the deposit paid. */ + /** + * A sub-identity was added to an identity and the deposit paid. + **/ SubIdentityAdded: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A sub-identity was removed from an identity and the deposit freed. */ + /** + * A sub-identity was removed from an identity and the deposit freed. + **/ SubIdentityRemoved: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; /** - * A sub-identity was cleared, and the given deposit repatriated from the main identity - * account to the sub-identity account. - */ + * A sub-identity was cleared, and the given deposit repatriated from the + * main identity account to the sub-identity account. + **/ SubIdentityRevoked: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A username was queued, but `who` must accept it prior to `expiration`. */ + /** + * A username was queued, but `who` must accept it prior to `expiration`. + **/ UsernameQueued: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes, expiration: u32], { who: AccountId20; username: Bytes; expiration: u32 } >; - /** A username was set for `who`. */ + /** + * A username was set for `who`. + **/ UsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; maintenanceMode: { - /** The chain was put into Maintenance Mode */ + /** + * The chain was put into Maintenance Mode + **/ EnteredMaintenanceMode: AugmentedEvent; - /** The call to resume on_idle XCM execution failed with inner error */ + /** + * The call to resume on_idle XCM execution failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The call to suspend on_idle XCM execution failed with inner error */ + /** + * The call to suspend on_idle XCM execution failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The chain returned to its normal operating state */ + /** + * The chain returned to its normal operating state + **/ NormalOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; messageQueue: { - /** Message placed in overweight queue. */ + /** + * Message placed in overweight queue. + **/ OverweightEnqueued: AugmentedEvent< ApiType, [ @@ -706,13 +934,17 @@ declare module "@polkadot/api-base/types/events" { messageIndex: u32; } >; - /** This page was reaped. */ + /** + * This page was reaped. + **/ PageReaped: AugmentedEvent< ApiType, [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32], { origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 } >; - /** Message is processed. */ + /** + * Message is processed. + **/ Processed: AugmentedEvent< ApiType, [ @@ -728,7 +960,9 @@ declare module "@polkadot/api-base/types/events" { success: bool; } >; - /** Message discarded due to an error in the `MessageProcessor` (usually a format error). */ + /** + * Message discarded due to an error in the `MessageProcessor` (usually a format error). + **/ ProcessingFailed: AugmentedEvent< ApiType, [ @@ -742,61 +976,85 @@ declare module "@polkadot/api-base/types/events" { error: FrameSupportMessagesProcessMessageError; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; migrations: { - /** XCM execution resume failed with inner error */ + /** + * XCM execution resume failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** XCM execution suspension failed with inner error */ + /** + * XCM execution suspension failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Migration completed */ + /** + * Migration completed + **/ MigrationCompleted: AugmentedEvent< ApiType, [migrationName: Bytes, consumedWeight: SpWeightsWeightV2Weight], { migrationName: Bytes; consumedWeight: SpWeightsWeightV2Weight } >; - /** Migration started */ + /** + * Migration started + **/ MigrationStarted: AugmentedEvent; - /** Runtime upgrade completed */ + /** + * Runtime upgrade completed + **/ RuntimeUpgradeCompleted: AugmentedEvent< ApiType, [weight: SpWeightsWeightV2Weight], { weight: SpWeightsWeightV2Weight } >; - /** Runtime upgrade started */ + /** + * Runtime upgrade started + **/ RuntimeUpgradeStarted: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; moonbeamOrbiters: { - /** An orbiter join a collator pool */ + /** + * An orbiter join a collator pool + **/ OrbiterJoinCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter leave a collator pool */ + /** + * An orbiter leave a collator pool + **/ OrbiterLeaveCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter has registered */ + /** + * An orbiter has registered + **/ OrbiterRegistered: AugmentedEvent< ApiType, [account: AccountId20, deposit: u128], { account: AccountId20; deposit: u128 } >; - /** Paid the orbiter account the balance as liquid rewards. */ + /** + * Paid the orbiter account the balance as liquid rewards. + **/ OrbiterRewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], @@ -807,17 +1065,23 @@ declare module "@polkadot/api-base/types/events" { [collator: AccountId20, oldOrbiter: Option, newOrbiter: Option], { collator: AccountId20; oldOrbiter: Option; newOrbiter: Option } >; - /** An orbiter has unregistered */ + /** + * An orbiter has unregistered + **/ OrbiterUnregistered: AugmentedEvent< ApiType, [account: AccountId20], { account: AccountId20 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; multisig: { - /** A multisig operation has been approved by someone. */ + /** + * A multisig operation has been approved by someone. + **/ MultisigApproval: AugmentedEvent< ApiType, [ @@ -833,7 +1097,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been cancelled. */ + /** + * A multisig operation has been cancelled. + **/ MultisigCancelled: AugmentedEvent< ApiType, [ @@ -849,7 +1115,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been executed. */ + /** + * A multisig operation has been executed. + **/ MultisigExecuted: AugmentedEvent< ApiType, [ @@ -867,64 +1135,87 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** A new multisig operation has begun. */ + /** + * A new multisig operation has begun. + **/ NewMultisig: AugmentedEvent< ApiType, [approving: AccountId20, multisig: AccountId20, callHash: U8aFixed], { approving: AccountId20; multisig: AccountId20; callHash: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; openTechCommitteeCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainStaking: { - /** Auto-compounding reward percent was set for a delegation. */ + /** + * Auto-compounding reward percent was set for a delegation. + **/ AutoCompoundSet: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, value: Percent], { candidate: AccountId20; delegator: AccountId20; value: Percent } >; - /** Set blocks per round */ + /** + * Set blocks per round + **/ BlocksPerRoundSet: AugmentedEvent< ApiType, [ @@ -946,19 +1237,25 @@ declare module "@polkadot/api-base/types/events" { newPerRoundInflationMax: Perbill; } >; - /** Cancelled request to decrease candidate's bond. */ + /** + * Cancelled request to decrease candidate's bond. + **/ CancelledCandidateBondLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, executeRound: u32], { candidate: AccountId20; amount: u128; executeRound: u32 } >; - /** Cancelled request to leave the set of candidates. */ + /** + * Cancelled request to leave the set of candidates. + **/ CancelledCandidateExit: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Cancelled request to change an existing delegation. */ + /** + * Cancelled request to change an existing delegation. + **/ CancelledDelegationRequest: AugmentedEvent< ApiType, [ @@ -972,67 +1269,89 @@ declare module "@polkadot/api-base/types/events" { collator: AccountId20; } >; - /** Candidate rejoins the set of collator candidates. */ + /** + * Candidate rejoins the set of collator candidates. + **/ CandidateBackOnline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate has decreased a self bond. */ + /** + * Candidate has decreased a self bond. + **/ CandidateBondedLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newBond: u128], { candidate: AccountId20; amount: u128; newBond: u128 } >; - /** Candidate has increased a self bond. */ + /** + * Candidate has increased a self bond. + **/ CandidateBondedMore: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newTotalBond: u128], { candidate: AccountId20; amount: u128; newTotalBond: u128 } >; - /** Candidate requested to decrease a self bond. */ + /** + * Candidate requested to decrease a self bond. + **/ CandidateBondLessRequested: AugmentedEvent< ApiType, [candidate: AccountId20, amountToDecrease: u128, executeRound: u32], { candidate: AccountId20; amountToDecrease: u128; executeRound: u32 } >; - /** Candidate has left the set of candidates. */ + /** + * Candidate has left the set of candidates. + **/ CandidateLeft: AugmentedEvent< ApiType, [exCandidate: AccountId20, unlockedAmount: u128, newTotalAmtLocked: u128], { exCandidate: AccountId20; unlockedAmount: u128; newTotalAmtLocked: u128 } >; - /** Candidate has requested to leave the set of candidates. */ + /** + * Candidate has requested to leave the set of candidates. + **/ CandidateScheduledExit: AugmentedEvent< ApiType, [exitAllowedRound: u32, candidate: AccountId20, scheduledExit: u32], { exitAllowedRound: u32; candidate: AccountId20; scheduledExit: u32 } >; - /** Candidate temporarily leave the set of collator candidates without unbonding. */ + /** + * Candidate temporarily leave the set of collator candidates without unbonding. + **/ CandidateWentOffline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate selected for collators. Total Exposed Amount includes all delegations. */ + /** + * Candidate selected for collators. Total Exposed Amount includes all delegations. + **/ CollatorChosen: AugmentedEvent< ApiType, [round: u32, collatorAccount: AccountId20, totalExposedAmount: u128], { round: u32; collatorAccount: AccountId20; totalExposedAmount: u128 } >; - /** Set collator commission to this value. */ + /** + * Set collator commission to this value. + **/ CollatorCommissionSet: AugmentedEvent< ApiType, [old: Perbill, new_: Perbill], { old: Perbill; new_: Perbill } >; - /** Compounded a portion of rewards towards the delegation. */ + /** + * Compounded a portion of rewards towards the delegation. + **/ Compounded: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, amount: u128], { candidate: AccountId20; delegator: AccountId20; amount: u128 } >; - /** New delegation (increase of the existing one). */ + /** + * New delegation (increase of the existing one). + **/ Delegation: AugmentedEvent< ApiType, [ @@ -1055,7 +1374,9 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegator requested to decrease a bond for the collator candidate. */ + /** + * Delegator requested to decrease a bond for the collator candidate. + **/ DelegationDecreaseScheduled: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, amountToDecrease: u128, executeRound: u32], @@ -1071,43 +1392,57 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegation kicked. */ + /** + * Delegation kicked. + **/ DelegationKicked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Delegator requested to revoke delegation. */ + /** + * Delegator requested to revoke delegation. + **/ DelegationRevocationScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, candidate: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; candidate: AccountId20; scheduledExit: u32 } >; - /** Delegation revoked. */ + /** + * Delegation revoked. + **/ DelegationRevoked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Cancelled a pending request to exit the set of delegators. */ + /** + * Cancelled a pending request to exit the set of delegators. + **/ DelegatorExitCancelled: AugmentedEvent< ApiType, [delegator: AccountId20], { delegator: AccountId20 } >; - /** Delegator requested to leave the set of delegators. */ + /** + * Delegator requested to leave the set of delegators. + **/ DelegatorExitScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; scheduledExit: u32 } >; - /** Delegator has left the set of delegators. */ + /** + * Delegator has left the set of delegators. + **/ DelegatorLeft: AugmentedEvent< ApiType, [delegator: AccountId20, unstakedAmount: u128], { delegator: AccountId20; unstakedAmount: u128 } >; - /** Delegation from candidate state has been remove. */ + /** + * Delegation from candidate state has been remove. + **/ DelegatorLeftCandidate: AugmentedEvent< ApiType, [ @@ -1123,7 +1458,9 @@ declare module "@polkadot/api-base/types/events" { totalCandidateStaked: u128; } >; - /** Transferred to account which holds funds reserved for parachain bond. */ + /** + * Transferred to account which holds funds reserved for parachain bond. + **/ InflationDistributed: AugmentedEvent< ApiType, [index: u32, account: AccountId20, value: u128], @@ -1140,7 +1477,9 @@ declare module "@polkadot/api-base/types/events" { new_: PalletParachainStakingInflationDistributionConfig; } >; - /** Annual inflation input (first 3) was used to derive new per-round inflation (last 3) */ + /** + * Annual inflation input (first 3) was used to derive new per-round inflation (last 3) + **/ InflationSet: AugmentedEvent< ApiType, [ @@ -1160,61 +1499,87 @@ declare module "@polkadot/api-base/types/events" { roundMax: Perbill; } >; - /** Account joined the set of collator candidates. */ + /** + * Account joined the set of collator candidates. + **/ JoinedCollatorCandidates: AugmentedEvent< ApiType, [account: AccountId20, amountLocked: u128, newTotalAmtLocked: u128], { account: AccountId20; amountLocked: u128; newTotalAmtLocked: u128 } >; - /** Started new round. */ + /** + * Started new round. + **/ NewRound: AugmentedEvent< ApiType, [startingBlock: u32, round: u32, selectedCollatorsNumber: u32, totalBalance: u128], { startingBlock: u32; round: u32; selectedCollatorsNumber: u32; totalBalance: u128 } >; - /** Paid the account (delegator or collator) the balance as liquid rewards. */ + /** + * Paid the account (delegator or collator) the balance as liquid rewards. + **/ Rewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], { account: AccountId20; rewards: u128 } >; - /** Staking expectations set. */ + /** + * Staking expectations set. + **/ StakeExpectationsSet: AugmentedEvent< ApiType, [expectMin: u128, expectIdeal: u128, expectMax: u128], { expectMin: u128; expectIdeal: u128; expectMax: u128 } >; - /** Set total selected candidates to this value. */ + /** + * Set total selected candidates to this value. + **/ TotalSelectedSet: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainSystem: { - /** Downward messages were processed using the given weight. */ + /** + * Downward messages were processed using the given weight. + **/ DownwardMessagesProcessed: AugmentedEvent< ApiType, [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256], { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 } >; - /** Some downward messages have been received and will be processed. */ + /** + * Some downward messages have been received and will be processed. + **/ DownwardMessagesReceived: AugmentedEvent; - /** An upward message was sent to the relay chain. */ + /** + * An upward message was sent to the relay chain. + **/ UpwardMessageSent: AugmentedEvent< ApiType, [messageHash: Option], { messageHash: Option } >; - /** The validation function was applied as of the contained relay chain block number. */ + /** + * The validation function was applied as of the contained relay chain block number. + **/ ValidationFunctionApplied: AugmentedEvent< ApiType, [relayChainBlockNum: u32], { relayChainBlockNum: u32 } >; - /** The relay-chain aborted the upgrade process. */ + /** + * The relay-chain aborted the upgrade process. + **/ ValidationFunctionDiscarded: AugmentedEvent; - /** The validation function has been scheduled to apply. */ + /** + * The validation function has been scheduled to apply. + **/ ValidationFunctionStored: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parameters: { @@ -1222,7 +1587,7 @@ declare module "@polkadot/api-base/types/events" { * A Parameter was set. * * Is also emitted when the value was not changed. - */ + **/ Updated: AugmentedEvent< ApiType, [ @@ -1236,39 +1601,49 @@ declare module "@polkadot/api-base/types/events" { newValue: Option; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; polkadotXcm: { - /** Some assets have been claimed from an asset trap */ + /** + * Some assets have been claimed from an asset trap + **/ AssetsClaimed: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Some assets have been placed in an asset trap. */ + /** + * Some assets have been placed in an asset trap. + **/ AssetsTrapped: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Execution of an XCM message was attempted. */ + /** + * Execution of an XCM message was attempted. + **/ Attempted: AugmentedEvent< ApiType, [outcome: StagingXcmV4TraitsOutcome], { outcome: StagingXcmV4TraitsOutcome } >; - /** Fees were paid from a location for an operation (often for using `SendXcm`). */ + /** + * Fees were paid from a location for an operation (often for using `SendXcm`). + **/ FeesPaid: AugmentedEvent< ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } >; /** - * 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. - */ + * 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. + **/ InvalidQuerier: AugmentedEvent< ApiType, [ @@ -1288,20 +1663,21 @@ declare module "@polkadot/api-base/types/events" { * 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. * - * This is unexpected (since a location placed in storage in a previously executing 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. - */ + * This is unexpected (since a location placed in storage in a previously executing + * 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. + **/ InvalidQuerierVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * 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. - */ + * 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. + **/ InvalidResponder: AugmentedEvent< ApiType, [ @@ -1319,19 +1695,20 @@ declare module "@polkadot/api-base/types/events" { * 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. * - * This is unexpected (since a location placed in storage in a previously executing 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. - */ + * This is unexpected (since a location placed in storage in a previously executing + * 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. + **/ InvalidResponderVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Query response has been received and query is removed. The registered notification has been - * dispatched and executed successfully. - */ + * Query response has been received and query is removed. The registered notification has + * been dispatched and executed successfully. + **/ Notified: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1339,9 +1716,9 @@ declare module "@polkadot/api-base/types/events" { >; /** * 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)`. - */ + * decoded into a `Call`; this might be due to dispatch function having a signature which + * is not `(origin, QueryId, Response)`. + **/ NotifyDecodeFailed: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1350,17 +1727,17 @@ declare module "@polkadot/api-base/types/events" { /** * Query response has been received and query is removed. There was a general error with * dispatching the notification call. - */ + **/ NotifyDispatchError: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], { queryId: u64; palletIndex: u8; callIndex: u8 } >; /** - * 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. - */ + * 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. + **/ NotifyOverweight: AugmentedEvent< ApiType, [ @@ -1381,7 +1758,7 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. - */ + **/ NotifyTargetMigrationFail: AugmentedEvent< ApiType, [location: XcmVersionedLocation, queryId: u64], @@ -1390,24 +1767,28 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. - */ + **/ NotifyTargetSendFail: AugmentedEvent< ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], { location: StagingXcmV4Location; queryId: u64; error: XcmV3TraitsError } >; /** - * Query response has been received and is ready for taking with `take_response`. There is no - * registered notification call. - */ + * Query response has been received and is ready for taking with `take_response`. There is + * no registered notification call. + **/ ResponseReady: AugmentedEvent< ApiType, [queryId: u64, response: StagingXcmV4Response], { queryId: u64; response: StagingXcmV4Response } >; - /** Received query response has been read and removed. */ + /** + * Received query response has been read and removed. + **/ ResponseTaken: AugmentedEvent; - /** A XCM message was sent. */ + /** + * A XCM message was sent. + **/ Sent: AugmentedEvent< ApiType, [ @@ -1424,9 +1805,9 @@ declare module "@polkadot/api-base/types/events" { } >; /** - * The supported version of a location has been changed. This might be through an automatic - * notification or a manual intervention. - */ + * The supported version of a location has been changed. This might be through an + * automatic notification or a manual intervention. + **/ SupportedVersionChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, version: u32], @@ -1436,7 +1817,7 @@ declare module "@polkadot/api-base/types/events" { * 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. - */ + **/ UnexpectedResponse: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], @@ -1446,7 +1827,7 @@ declare module "@polkadot/api-base/types/events" { * An XCM version change notification message has been attempted to be sent. * * The cost of sending it (borne by the chain) is included. - */ + **/ VersionChangeNotified: AugmentedEvent< ApiType, [ @@ -1462,50 +1843,71 @@ declare module "@polkadot/api-base/types/events" { messageId: U8aFixed; } >; - /** A XCM version migration finished. */ + /** + * A XCM version migration finished. + **/ VersionMigrationFinished: AugmentedEvent; - /** We have requested that a remote chain send us XCM version change notifications. */ + /** + * We have requested that a remote chain send us XCM version change notifications. + **/ VersionNotifyRequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; /** - * 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. - */ + * 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. + **/ VersionNotifyStarted: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** We have requested that a remote chain stops sending us XCM version change notifications. */ + /** + * We have requested that a remote chain stops sending us XCM version change + * notifications. + **/ VersionNotifyUnrequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; preimage: { - /** A preimage has ben cleared. */ + /** + * A preimage has ben cleared. + **/ Cleared: AugmentedEvent; - /** A preimage has been noted. */ + /** + * A preimage has been noted. + **/ Noted: AugmentedEvent; - /** A preimage has been requested. */ + /** + * A preimage has been requested. + **/ Requested: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; proxy: { - /** An announcement was placed to make a call in the future. */ + /** + * An announcement was placed to make a call in the future. + **/ Announced: AugmentedEvent< ApiType, [real: AccountId20, proxy: AccountId20, callHash: H256], { real: AccountId20; proxy: AccountId20; callHash: H256 } >; - /** A proxy was added. */ + /** + * A proxy was added. + **/ ProxyAdded: AugmentedEvent< ApiType, [ @@ -1521,13 +1923,17 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A proxy was executed correctly, with the given. */ + /** + * A proxy was executed correctly, with the given. + **/ ProxyExecuted: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A proxy was removed. */ + /** + * A proxy was removed. + **/ ProxyRemoved: AugmentedEvent< ApiType, [ @@ -1543,7 +1949,10 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A pure account has been created by new proxy with given disambiguation index and proxy type. */ + /** + * A pure account has been created by new proxy with given + * disambiguation index and proxy type. + **/ PureCreated: AugmentedEvent< ApiType, [ @@ -1559,7 +1968,9 @@ declare module "@polkadot/api-base/types/events" { disambiguationIndex: u16; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; randomness: { @@ -1616,39 +2027,53 @@ declare module "@polkadot/api-base/types/events" { { id: u64; newFee: u128 } >; RequestFulfilled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; referenda: { - /** A referendum has been approved and its proposal has been scheduled. */ + /** + * A referendum has been approved and its proposal has been scheduled. + **/ Approved: AugmentedEvent; - /** A referendum has been cancelled. */ + /** + * A referendum has been cancelled. + **/ Cancelled: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmAborted: AugmentedEvent; - /** A referendum has ended its confirmation phase and is ready for approval. */ + /** + * A referendum has ended its confirmation phase and is ready for approval. + **/ Confirmed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmStarted: AugmentedEvent; - /** The decision deposit has been placed. */ + /** + * The decision deposit has been placed. + **/ DecisionDepositPlaced: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** The decision deposit has been refunded. */ + /** + * The decision deposit has been refunded. + **/ DecisionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has moved into the deciding phase. */ + /** + * A referendum has moved into the deciding phase. + **/ DecisionStarted: AugmentedEvent< ApiType, [ @@ -1664,69 +2089,97 @@ declare module "@polkadot/api-base/types/events" { tally: PalletConvictionVotingTally; } >; - /** A deposit has been slashed. */ + /** + * A deposit has been slashed. + **/ DepositSlashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** A referendum has been killed. */ + /** + * A referendum has been killed. + **/ Killed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Metadata for a referendum has been cleared. */ + /** + * Metadata for a referendum has been cleared. + **/ MetadataCleared: AugmentedEvent< ApiType, [index: u32, hash_: H256], { index: u32; hash_: H256 } >; - /** Metadata for a referendum has been set. */ + /** + * Metadata for a referendum has been set. + **/ MetadataSet: AugmentedEvent; - /** A proposal has been rejected by referendum. */ + /** + * A proposal has been rejected by referendum. + **/ Rejected: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** The submission deposit has been refunded. */ + /** + * The submission deposit has been refunded. + **/ SubmissionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has been submitted. */ + /** + * A referendum has been submitted. + **/ Submitted: AugmentedEvent< ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32; track: u16; proposal: FrameSupportPreimagesBounded } >; - /** A referendum has been timed out without being decided. */ + /** + * A referendum has been timed out without being decided. + **/ TimedOut: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; rootTesting: { - /** Event dispatched when the trigger_defensive extrinsic is called. */ + /** + * Event dispatched when the trigger_defensive extrinsic is called. + **/ DefensiveTestCall: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; scheduler: { - /** The call for the provided hash was not found so the task has been aborted. */ + /** + * The call for the provided hash was not found so the task has been aborted. + **/ CallUnavailable: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Canceled some task. */ + /** + * Canceled some task. + **/ Canceled: AugmentedEvent; - /** Dispatched some task. */ + /** + * Dispatched some task. + **/ Dispatched: AugmentedEvent< ApiType, [ @@ -1740,93 +2193,125 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** The given task was unable to be renewed since the agenda is full at that block. */ + /** + * The given task was unable to be renewed since the agenda is full at that block. + **/ PeriodicFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** The given task can never be executed since it is overweight. */ + /** + * The given task can never be executed since it is overweight. + **/ PermanentlyOverweight: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Cancel a retry configuration for some task. */ + /** + * Cancel a retry configuration for some task. + **/ RetryCancelled: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; /** - * The given task was unable to be retried since the agenda is full at that block or there was - * not enough weight to reschedule it. - */ + * The given task was unable to be retried since the agenda is full at that block or there + * was not enough weight to reschedule it. + **/ RetryFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Set a retry configuration for some task. */ + /** + * Set a retry configuration for some task. + **/ RetrySet: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } >; - /** Scheduled some task. */ + /** + * Scheduled some task. + **/ Scheduled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; system: { - /** `:code` was updated. */ + /** + * `:code` was updated. + **/ CodeUpdated: AugmentedEvent; - /** An extrinsic failed. */ + /** + * An extrinsic failed. + **/ ExtrinsicFailed: AugmentedEvent< ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An extrinsic completed successfully. */ + /** + * An extrinsic completed successfully. + **/ ExtrinsicSuccess: AugmentedEvent< ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An account was reaped. */ + /** + * An account was reaped. + **/ KilledAccount: AugmentedEvent; - /** A new account was created. */ + /** + * A new account was created. + **/ NewAccount: AugmentedEvent; - /** On on-chain remark happened. */ + /** + * On on-chain remark happened. + **/ Remarked: AugmentedEvent< ApiType, [sender: AccountId20, hash_: H256], { sender: AccountId20; hash_: H256 } >; - /** An upgrade was authorized. */ + /** + * An upgrade was authorized. + **/ UpgradeAuthorized: AugmentedEvent< ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256; checkVersion: bool } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; transactionPayment: { /** - * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, has - * been paid by `who`. - */ + * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + * has been paid by `who`. + **/ TransactionFeePaid: AugmentedEvent< ApiType, [who: AccountId20, actualFee: u128, tip: u128], { who: AccountId20; actualFee: u128; tip: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasury: { - /** A new asset spend proposal has been approved. */ + /** + * A new asset spend proposal has been approved. + **/ AssetSpendApproved: AugmentedEvent< ApiType, [ @@ -1846,120 +2331,169 @@ declare module "@polkadot/api-base/types/events" { expireAt: u32; } >; - /** An approved spend was voided. */ + /** + * An approved spend was voided. + **/ AssetSpendVoided: AugmentedEvent; - /** Some funds have been allocated. */ + /** + * Some funds have been allocated. + **/ Awarded: AugmentedEvent< ApiType, [proposalIndex: u32, award: u128, account: AccountId20], { proposalIndex: u32; award: u128; account: AccountId20 } >; - /** Some of our funds have been burnt. */ + /** + * Some of our funds have been burnt. + **/ Burnt: AugmentedEvent; - /** Some funds have been deposited. */ + /** + * Some funds have been deposited. + **/ Deposit: AugmentedEvent; - /** A payment happened. */ + /** + * A payment happened. + **/ Paid: AugmentedEvent; - /** A payment failed and can be retried. */ + /** + * A payment failed and can be retried. + **/ PaymentFailed: AugmentedEvent< ApiType, [index: u32, paymentId: Null], { index: u32; paymentId: Null } >; - /** Spending has finished; this is the amount that rolls over until next spend. */ + /** + * Spending has finished; this is the amount that rolls over until next spend. + **/ Rollover: AugmentedEvent; - /** A new spend proposal has been approved. */ + /** + * A new spend proposal has been approved. + **/ SpendApproved: AugmentedEvent< ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId20], { proposalIndex: u32; amount: u128; beneficiary: AccountId20 } >; - /** We have ended a spend period and will now allocate funds. */ + /** + * We have ended a spend period and will now allocate funds. + **/ Spending: AugmentedEvent; /** - * A spend was processed and removed from the storage. It might have been successfully paid or - * it may have expired. - */ + * A spend was processed and removed from the storage. It might have been successfully + * paid or it may have expired. + **/ SpendProcessed: AugmentedEvent; - /** The inactive funds of the pallet have been updated. */ + /** + * The inactive funds of the pallet have been updated. + **/ UpdatedInactive: AugmentedEvent< ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128; deactivated: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasuryCouncilCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; utility: { - /** Batch of dispatches completed fully with no error. */ + /** + * Batch of dispatches completed fully with no error. + **/ BatchCompleted: AugmentedEvent; - /** Batch of dispatches completed but has errors. */ + /** + * 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. - */ + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ BatchInterrupted: AugmentedEvent< ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32; error: SpRuntimeDispatchError } >; - /** A call was dispatched. */ + /** + * A call was dispatched. + **/ DispatchedAs: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A single item within a Batch of dispatches has completed with no error. */ + /** + * 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. */ + /** + * A single item within a Batch of dispatches has completed with error. + **/ ItemFailed: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; whitelist: { @@ -1976,66 +2510,90 @@ declare module "@polkadot/api-base/types/events" { } >; WhitelistedCallRemoved: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmpQueue: { - /** An HRMP message was sent to a sibling parachain. */ + /** + * An HRMP message was sent to a sibling parachain. + **/ XcmpMessageSent: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmTransactor: { DeRegisteredDerivative: AugmentedEvent; - /** Set dest fee per second */ + /** + * Set dest fee per second + **/ DestFeePerSecondChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, feePerSecond: u128], { location: StagingXcmV4Location; feePerSecond: u128 } >; - /** Remove dest fee per second */ + /** + * Remove dest fee per second + **/ DestFeePerSecondRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** HRMP manage action succesfully sent */ + /** + * HRMP manage action succesfully sent + **/ HrmpManagementSent: AugmentedEvent< ApiType, [action: PalletXcmTransactorHrmpOperation], { action: PalletXcmTransactorHrmpOperation } >; - /** Registered a derivative index for an account id. */ + /** + * Registered a derivative index for an account id. + **/ RegisteredDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, index: u16], { accountId: AccountId20; index: u16 } >; - /** Transacted the inner call through a derivative account in a destination chain. */ + /** + * Transacted the inner call through a derivative account in a destination chain. + **/ TransactedDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, dest: StagingXcmV4Location, call: Bytes, index: u16], { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: u16 } >; - /** Transacted the call through a signed account in a destination chain. */ + /** + * Transacted the call through a signed account in a destination chain. + **/ TransactedSigned: AugmentedEvent< ApiType, [feePayer: AccountId20, dest: StagingXcmV4Location, call: Bytes], { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes } >; - /** Transacted the call through the sovereign account in a destination chain. */ + /** + * Transacted the call through the sovereign account in a destination chain. + **/ TransactedSovereign: AugmentedEvent< ApiType, [feePayer: Option, dest: StagingXcmV4Location, call: Bytes], { feePayer: Option; dest: StagingXcmV4Location; call: Bytes } >; - /** Transact failed */ + /** + * Transact failed + **/ TransactFailed: AugmentedEvent< ApiType, [error: XcmV3TraitsError], { error: XcmV3TraitsError } >; - /** Changed the transact info of a location */ + /** + * Changed the transact info of a location + **/ TransactInfoChanged: AugmentedEvent< ApiType, [ @@ -2047,47 +2605,63 @@ declare module "@polkadot/api-base/types/events" { remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight; } >; - /** Removed the transact info of a location */ + /** + * Removed the transact info of a location + **/ TransactInfoRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmWeightTrader: { - /** Pause support for a given asset */ + /** + * Pause support for a given asset + **/ PauseAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Resume support for a given asset */ + /** + * Resume support for a given asset + **/ ResumeAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** New supported asset is registered */ + /** + * New supported asset is registered + **/ SupportedAssetAdded: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ SupportedAssetEdited: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; } // AugmentedEvents diff --git a/typescript-api/src/moonriver/interfaces/augment-api-query.ts b/typescript-api/src/moonriver/interfaces/augment-api-query.ts index d2e4b517ed..08ce4d35a8 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-query.ts @@ -21,7 +21,7 @@ import type { u128, u16, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, ITuple } from "@polkadot/types-codec/types"; import type { @@ -30,7 +30,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, @@ -121,7 +121,7 @@ import type { StagingXcmV4Location, StagingXcmV4Xcm, XcmVersionedAssetId, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; import type { Observable } from "@polkadot/types/types"; @@ -132,9 +132,10 @@ declare module "@polkadot/api-base/types/storage" { interface AugmentedQueries { assetManager: { /** - * Mapping from an asset id to asset type. This is mostly used when receiving transaction - * specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetIdType: AugmentedQuery< ApiType, ( @@ -144,10 +145,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetTypeId: AugmentedQuery< ApiType, ( @@ -156,11 +157,15 @@ declare module "@polkadot/api-base/types/storage" { [MoonriverRuntimeXcmConfigAssetType] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; assets: { - /** The holdings of a specific account for a specific asset. */ + /** + * The holdings of a specific account for a specific asset. + **/ account: AugmentedQuery< ApiType, ( @@ -171,10 +176,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Approved balance transfers. First balance is the amount approved for transfer. Second is - * the amount of `T::Currency` reserved for storing this. First key is the asset ID, second - * key is the owner and third key is the delegate. - */ + * Approved balance transfers. First balance is the amount approved for transfer. Second + * is the amount of `T::Currency` reserved for storing this. + * First key is the asset ID, second key is the owner and third key is the delegate. + **/ approvals: AugmentedQuery< ApiType, ( @@ -185,14 +190,18 @@ declare module "@polkadot/api-base/types/storage" { [u128, AccountId20, AccountId20] > & QueryableStorageEntry; - /** Details of an asset. */ + /** + * Details of an asset. + **/ asset: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, [u128] > & QueryableStorageEntry; - /** Metadata of an asset. */ + /** + * Metadata of an asset. + **/ metadata: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable, @@ -209,44 +218,61 @@ declare module "@polkadot/api-base/types/storage" { * * The initial next asset ID can be set using the [`GenesisConfig`] or the * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration. - */ + **/ nextAssetId: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; asyncBacking: { /** * First tuple element is the highest slot that has been seen in the history of this chain. - * Second tuple element is the number of authored blocks so far. This is a strictly-increasing - * value if T::AllowMultipleBlocksPerSlot = false. - */ + * Second tuple element is the number of authored blocks so far. + * This is a strictly-increasing value if T::AllowMultipleBlocksPerSlot = false. + **/ slotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorFilter: { - /** The number of active authors that will be eligible at each height. */ + /** + * The number of active authors that will be eligible at each height. + **/ eligibleCount: AugmentedQuery Observable, []> & QueryableStorageEntry; eligibleRatio: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorInherent: { - /** Author of current block. */ + /** + * Author of current block. + **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Check if the inherent was included */ + /** + * Check if the inherent was included + **/ inherentIncluded: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorMapping: { - /** We maintain a mapping from the NimbusIds used in the consensus layer to the AccountIds runtime. */ + /** + * We maintain a mapping from the NimbusIds used in the consensus layer + * to the AccountIds runtime. + **/ mappingWithDeposit: AugmentedQuery< ApiType, ( @@ -255,7 +281,9 @@ declare module "@polkadot/api-base/types/storage" { [NimbusPrimitivesNimbusCryptoPublic] > & QueryableStorageEntry; - /** We maintain a reverse mapping from AccountIds to NimbusIDS */ + /** + * We maintain a reverse mapping from AccountIds to NimbusIDS + **/ nimbusLookup: AugmentedQuery< ApiType, ( @@ -264,7 +292,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; balances: { @@ -291,23 +321,27 @@ declare module "@polkadot/api-base/types/storage" { * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the - * `Balances` pallet, which uses a `StorageMap` to store balances data only. NOTE: This is - * only used in the case that this pallet is used to store balances. - */ + * `Balances` pallet, which uses a `StorageMap` to store balances data only. + * NOTE: This is only used in the case that this pallet is used to store balances. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Freeze locks on account balances. */ + /** + * Freeze locks on account balances. + **/ freezes: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Holds on account balances. */ + /** + * Holds on account balances. + **/ holds: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable< @@ -321,16 +355,17 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The total units of outstanding deactivated balance in the system. */ + /** + * The total units of outstanding deactivated balance in the system. + **/ inactiveIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, - * changing and freeing a lock. + * Any liquidity locks on some account balances. + * NOTE: Should only be accessed when setting, changing and freeing a lock. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ locks: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -340,19 +375,22 @@ declare module "@polkadot/api-base/types/storage" { /** * Named reserves on some account balances. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** The total units issued in the system. */ + /** + * The total units issued in the system. + **/ totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; convictionVoting: { @@ -360,7 +398,7 @@ declare module "@polkadot/api-base/types/storage" { * The voting classes which have a non-zero lock requirement and the lock amounts which they * require. The actual amount locked on behalf of this pallet should always be the maximum of * this list. - */ + **/ classLocksFor: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, @@ -368,9 +406,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * All voting for a particular voter in a particular voting class. We store the balance for - * the number of votes that we have recorded. - */ + * All voting for a particular voter in a particular voting class. We store the balance for the + * number of votes that we have recorded. + **/ votingFor: AugmentedQuery< ApiType, ( @@ -380,7 +418,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; crowdloanRewards: { @@ -398,7 +438,9 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ endRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; initialized: AugmentedQuery Observable, []> & @@ -406,13 +448,17 @@ declare module "@polkadot/api-base/types/storage" { /** * Total initialized amount so far. We store this to make pallet funds == contributors reward * check easier and more efficient - */ + **/ initializedRewardAmount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ initRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Total number of contributors to aid hinting benchmarking */ + /** + * Total number of contributors to aid hinting benchmarking + **/ totalContributors: AugmentedQuery Observable, []> & QueryableStorageEntry; unassociatedContributions: AugmentedQuery< @@ -423,14 +469,20 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; emergencyParaXcm: { - /** Whether incoming XCM is enabled or paused */ + /** + * Whether incoming XCM is enabled or paused + **/ mode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereum: { @@ -440,24 +492,32 @@ declare module "@polkadot/api-base/types/storage" { [U256] > & QueryableStorageEntry; - /** The current Ethereum block. */ + /** + * The current Ethereum block. + **/ currentBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The current Ethereum receipts. */ + /** + * The current Ethereum receipts. + **/ currentReceipts: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** The current transaction statuses. */ + /** + * The current transaction statuses. + **/ currentTransactionStatuses: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Current building block's transactions and receipts. */ + /** + * Current building block's transactions and receipts. + **/ pending: AugmentedQuery< ApiType, () => Observable< @@ -470,24 +530,36 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumChainId: { - /** The EVM chain ID. */ + /** + * The EVM chain ID. + **/ chainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumXcm: { - /** Whether or not Ethereum-XCM is suspended from executing */ + /** + * Whether or not Ethereum-XCM is suspended from executing + **/ ethereumXcmSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Global nonce used for building Ethereum transaction payload. */ + /** + * Global nonce used for building Ethereum transaction payload. + **/ nonce: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evm: { @@ -515,14 +587,17 @@ declare module "@polkadot/api-base/types/storage" { [H160] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evmForeignAssets: { /** - * Mapping from an asset id to a Foreign asset type. This is mostly used when receiving - * transaction specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to a Foreign asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetsById: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, @@ -530,10 +605,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetsByLocation: AugmentedQuery< ApiType, ( @@ -542,10 +617,14 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForAssetsById: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; identity: { @@ -555,7 +634,7 @@ declare module "@polkadot/api-base/types/storage" { * * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one * primary username. - */ + **/ accountOfUsername: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>, @@ -567,7 +646,7 @@ declare module "@polkadot/api-base/types/storage" { * registration, second is the account's primary username. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ identityOf: AugmentedQuery< ApiType, ( @@ -583,7 +662,7 @@ declare module "@polkadot/api-base/types/storage" { * [`Call::accept_username`]. * * First tuple item is the account and second is the acceptance deadline. - */ + **/ pendingUsernames: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>>, @@ -591,11 +670,11 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of registrars. Not expected to get very big as can only be added through a special - * origin (likely a council motion). + * The set of registrars. Not expected to get very big as can only be added through a + * special origin (likely a council motion). * * The index into this can be cast to `RegistrarIndex` to get a valid value. - */ + **/ registrars: AugmentedQuery< ApiType, () => Observable>>, @@ -608,7 +687,7 @@ declare module "@polkadot/api-base/types/storage" { * The first item is the deposit, the second is a vector of the accounts. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ subsOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable]>>, @@ -618,14 +697,16 @@ declare module "@polkadot/api-base/types/storage" { /** * The super-identity of an alternative "sub" identity together with its name, within that * context. If the account is not some other account's sub-identity, then just `None`. - */ + **/ superOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** A map of the accounts who are authorized to grant usernames. */ + /** + * A map of the accounts who are authorized to grant usernames. + **/ usernameAuthorities: AugmentedQuery< ApiType, ( @@ -634,18 +715,26 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; maintenanceMode: { - /** Whether the site is in maintenance mode */ + /** + * Whether the site is in maintenance mode + **/ maintenanceMode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; messageQueue: { - /** The index of the first and last (non-empty) pages. */ + /** + * The index of the first and last (non-empty) pages. + **/ bookStateFor: AugmentedQuery< ApiType, ( @@ -660,7 +749,9 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin] > & QueryableStorageEntry; - /** The map of page indices to pages. */ + /** + * The map of page indices to pages. + **/ pages: AugmentedQuery< ApiType, ( @@ -676,24 +767,30 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin, u32] > & QueryableStorageEntry; - /** The origin at which we should begin servicing. */ + /** + * The origin at which we should begin servicing. + **/ serviceHead: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; migrations: { - /** True if all required migrations have completed */ + /** + * True if all required migrations have completed + **/ fullyUpgraded: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * MigrationState tracks the progress of a migration. Maps name (Vec) -> whether or not - * migration has been completed (bool) - */ + * MigrationState tracks the progress of a migration. + * Maps name (Vec) -> whether or not migration has been completed (bool) + **/ migrationState: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable, @@ -701,12 +798,14 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Temporary value that is set to true at the beginning of the block during which the - * execution of xcm messages must be paused. - */ + * Temporary value that is set to true at the beginning of the block during which the execution + * of xcm messages must be paused. + **/ shouldPauseXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamLazyMigrations: { @@ -728,18 +827,24 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamOrbiters: { - /** Account lookup override */ + /** + * Account lookup override + **/ accountLookupOverride: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** Current orbiters, with their "parent" collator */ + /** + * Current orbiters, with their "parent" collator + **/ collatorsPool: AugmentedQuery< ApiType, ( @@ -748,22 +853,31 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForCollatorsPool: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Current round index */ + /** + * Current round index + **/ currentRound: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If true, it forces the rotation at the next round. A use case: when changing RotatePeriod, - * you need a migration code that sets this value to true to avoid holes in OrbiterPerRound. - */ + * If true, it forces the rotation at the next round. + * A use case: when changing RotatePeriod, you need a migration code that sets this value to + * true to avoid holes in OrbiterPerRound. + **/ forceRotation: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Minimum deposit required to be registered as an orbiter */ + /** + * Minimum deposit required to be registered as an orbiter + **/ minOrbiterDeposit: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Store active orbiter per round and per parent collator */ + /** + * Store active orbiter per round and per parent collator + **/ orbiterPerRound: AugmentedQuery< ApiType, ( @@ -773,18 +887,24 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Check if account is an orbiter */ + /** + * Check if account is an orbiter + **/ registeredOrbiter: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; multisig: { - /** The set of open multisig operations. */ + /** + * The set of open multisig operations. + **/ multisigs: AugmentedQuery< ApiType, ( @@ -794,47 +914,67 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; openTechCommitteeCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainInfo: { parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainStaking: { - /** Snapshot of collator delegation stake at the start of the round */ + /** + * Snapshot of collator delegation stake at the start of the round + **/ atStake: AugmentedQuery< ApiType, ( @@ -844,7 +984,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Stores auto-compounding configuration per collator. */ + /** + * Stores auto-compounding configuration per collator. + **/ autoCompoundingDelegations: AugmentedQuery< ApiType, ( @@ -853,7 +995,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Points for each collator per round */ + /** + * Points for each collator per round + **/ awardedPts: AugmentedQuery< ApiType, ( @@ -863,7 +1007,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Bottom delegations for collator candidate */ + /** + * Bottom delegations for collator candidate + **/ bottomDelegations: AugmentedQuery< ApiType, ( @@ -872,7 +1018,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get collator candidate info associated with an account if account is candidate else None */ + /** + * Get collator candidate info associated with an account if account is candidate else None + **/ candidateInfo: AugmentedQuery< ApiType, ( @@ -881,17 +1029,23 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The pool of collator candidates, each with their total backing stake */ + /** + * The pool of collator candidates, each with their total backing stake + **/ candidatePool: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Commission percent taken off of rewards for all collators */ + /** + * Commission percent taken off of rewards for all collators + **/ collatorCommission: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Delayed payouts */ + /** + * Delayed payouts + **/ delayedPayouts: AugmentedQuery< ApiType, ( @@ -900,7 +1054,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; - /** Stores outstanding delegation requests per collator. */ + /** + * Stores outstanding delegation requests per collator. + **/ delegationScheduledRequests: AugmentedQuery< ApiType, ( @@ -909,7 +1065,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get delegator state associated with an account if account is delegating else None */ + /** + * Get delegator state associated with an account if account is delegating else None + **/ delegatorState: AugmentedQuery< ApiType, ( @@ -918,10 +1076,14 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Killswitch to enable/disable marking offline feature. */ + /** + * Killswitch to enable/disable marking offline feature. + **/ enableMarkingOffline: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Inflation configuration */ + /** + * Inflation configuration + **/ inflationConfig: AugmentedQuery< ApiType, () => Observable, @@ -933,27 +1095,35 @@ declare module "@polkadot/api-base/types/storage" { * before it is distributed to collators and delegators. * * The sum of the distribution percents must be less than or equal to 100. - */ + **/ inflationDistributionInfo: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Total points awarded to collators for block production in the round */ + /** + * Total points awarded to collators for block production in the round + **/ points: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Current round index and next round scheduled transition */ + /** + * Current round index and next round scheduled transition + **/ round: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The collator candidates selected for the current round */ + /** + * The collator candidates selected for the current round + **/ selectedCandidates: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Top delegations for collator candidate */ + /** + * Top delegations for collator candidate + **/ topDelegations: AugmentedQuery< ApiType, ( @@ -962,21 +1132,27 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Total capital locked by this staking pallet */ + /** + * Total capital locked by this staking pallet + **/ total: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The total candidates selected every round */ + /** + * The total candidates selected every round + **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainSystem: { /** * Storage field that keeps track of bandwidth used by the unincluded segment along with the - * latest HRMP watermark. Used for limiting the acceptance of new blocks with respect to relay - * chain constraints. - */ + * latest HRMP watermark. Used for limiting the acceptance of new blocks with + * respect to relay chain constraints. + **/ aggregatedUnincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -986,17 +1162,19 @@ declare module "@polkadot/api-base/types/storage" { /** * 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`. - */ + **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * * See `Pallet::set_custom_validation_head_data` for more information. - */ + **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Were the validation data set to notify the relay chain? */ + /** + * Were the validation data set to notify the relay chain? + **/ didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1006,7 +1184,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ hostConfiguration: AugmentedQuery< ApiType, () => Observable>, @@ -1017,7 +1195,7 @@ declare module "@polkadot/api-base/types/storage" { * HRMP messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpOutboundMessages: AugmentedQuery< ApiType, () => Observable>, @@ -1028,57 +1206,61 @@ declare module "@polkadot/api-base/types/storage" { * HRMP watermark that was set in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The last downward message queue chain head we have observed. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The message queue chain heads we have observed per each channel incoming channel. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The relay chain block number associated with the last parachain block. * * This is updated in `on_finalize`. - */ + **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Validation code that is set by the parachain and is to be communicated to collator and * consequently the relay-chain. * - * This will be cleared in `on_initialize` of each new block if no other pallet already set the value. - */ + * This will be cleared in `on_initialize` of each new block if no other pallet already set + * the value. + **/ newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Upward messages that are still pending and not yet send to the relay chain. */ + /** + * Upward messages that are still pending and not yet send to the relay chain. + **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * In case of a scheduled upgrade, this storage field contains the validation code to be applied. + * 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`][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; /** * Number of downward messages processed in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1088,7 +1270,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -1099,7 +1281,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relevantMessagingState: AugmentedQuery< ApiType, () => Observable< @@ -1111,7 +1293,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing DMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedDmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1121,7 +1303,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing XCMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedXcmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1129,12 +1311,13 @@ declare module "@polkadot/api-base/types/storage" { > & 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. + * 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. - */ + * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured + * in the pallet. + **/ unincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -1147,7 +1330,7 @@ declare module "@polkadot/api-base/types/storage" { * 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< ApiType, () => Observable>, @@ -1155,45 +1338,52 @@ declare module "@polkadot/api-base/types/storage" { > & 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 candidate will be invalid. + * 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 + * candidate will be invalid. * * 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. - */ + **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The factor to multiply the base delivery fee by for UMP. */ + /** + * The factor to multiply the base delivery fee by for UMP. + **/ upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The [`PersistedValidationData`] set for this block. This value is expected to be set only - * once per block and it's never stored in the trie. - */ + * The [`PersistedValidationData`] set for this block. + * This value is expected to be set only once per block and it's never stored + * in the trie. + **/ validationData: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parameters: { - /** Stored parameters. */ + /** + * Stored parameters. + **/ parameters: AugmentedQuery< ApiType, ( @@ -1207,7 +1397,9 @@ declare module "@polkadot/api-base/types/storage" { [MoonriverRuntimeRuntimeParamsRuntimeParametersKey] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; polkadotXcm: { @@ -1216,21 +1408,25 @@ declare module "@polkadot/api-base/types/storage" { * * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of * times this pair has been trapped (usually just 1 if it exists at all). - */ + **/ assetTraps: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable, [H256] > & QueryableStorageEntry; - /** The current migration's stage, if any. */ + /** + * The current migration's stage, if any. + **/ currentMigration: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on this chain. */ + /** + * Fungible assets which we know are locked on this chain. + **/ lockedFungibles: AugmentedQuery< ApiType, ( @@ -1239,30 +1435,37 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The ongoing queries. */ + /** + * The ongoing queries. + **/ queries: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** The latest available query index. */ + /** + * The latest available query index. + **/ queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally will be - * stored here. Runtime APIs can fetch the XCM that was executed by accessing this value. + * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally + * will be stored here. + * Runtime APIs can fetch the XCM that was executed by accessing this value. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ recordedXcm: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on a remote chain. */ + /** + * Fungible assets which we know are locked on a remote chain. + **/ remoteLockedFungibles: AugmentedQuery< ApiType, ( @@ -1276,20 +1479,23 @@ declare module "@polkadot/api-base/types/storage" { /** * 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. - */ + **/ safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Whether or not incoming XCMs (both executed locally and received) should be recorded. Only - * one XCM program will be recorded at a time. This is meant to be used in runtime APIs, and - * it's advised it stays false for all other use cases, so as to not degrade regular performance. + * Whether or not incoming XCMs (both executed locally and received) should be recorded. + * Only one XCM program will be recorded at a time. + * This is meant to be used in runtime APIs, and it's advised it stays false + * for all other use cases, so as to not degrade regular performance. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ shouldRecordXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The Latest versions that we know various locations support. */ + /** + * The Latest versions that we know various locations support. + **/ supportedVersion: AugmentedQuery< ApiType, ( @@ -1303,14 +1509,16 @@ declare module "@polkadot/api-base/types/storage" { * 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< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** All locations that we have requested version notifications from. */ + /** + * All locations that we have requested version notifications from. + **/ versionNotifiers: AugmentedQuery< ApiType, ( @@ -1323,7 +1531,7 @@ declare module "@polkadot/api-base/types/storage" { /** * 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< ApiType, ( @@ -1333,10 +1541,14 @@ declare module "@polkadot/api-base/types/storage" { [u32, XcmVersionedLocation] > & QueryableStorageEntry; - /** Global suspension state of the XCM executor. */ + /** + * Global suspension state of the XCM executor. + **/ xcmExecutionSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; preimage: { @@ -1348,25 +1560,33 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[H256, u32]>] > & QueryableStorageEntry]>; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ requestStatusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ statusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; proxy: { - /** The announcements made by the proxy (key). */ + /** + * The announcements made by the proxy (key). + **/ announcements: AugmentedQuery< ApiType, ( @@ -1376,9 +1596,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of account proxies. Maps the account which has delegated to the accounts which are - * being delegated to, together with the amount held on deposit. - */ + * The set of account proxies. Maps the account which has delegated to the accounts + * which are being delegated to, together with the amount held on deposit. + **/ proxies: AugmentedQuery< ApiType, ( @@ -1387,26 +1607,38 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; randomness: { - /** Ensures the mandatory inherent was included in the block */ + /** + * Ensures the mandatory inherent was included in the block + **/ inherentIncluded: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Current local per-block VRF randomness Set in `on_initialize` */ + /** + * Current local per-block VRF randomness + * Set in `on_initialize` + **/ localVrfOutput: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Records whether this is the first block (genesis or runtime upgrade) */ + /** + * Records whether this is the first block (genesis or runtime upgrade) + **/ notFirstBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Previous local per-block VRF randomness Set in `on_finalize` of last block */ + /** + * Previous local per-block VRF randomness + * Set in `on_finalize` of last block + **/ previousLocalVrfOutput: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Snapshot of randomness to fulfill all requests that are for the same raw randomness Removed - * once $value.request_count == 0 - */ + * Snapshot of randomness to fulfill all requests that are for the same raw randomness + * Removed once $value.request_count == 0 + **/ randomnessResults: AugmentedQuery< ApiType, ( @@ -1420,24 +1652,34 @@ declare module "@polkadot/api-base/types/storage" { [PalletRandomnessRequestType] > & QueryableStorageEntry; - /** Relay epoch */ + /** + * Relay epoch + **/ relayEpoch: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of randomness requests made so far, used to generate the next request's uid */ + /** + * Number of randomness requests made so far, used to generate the next request's uid + **/ requestCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Randomness requests not yet fulfilled or purged */ + /** + * Randomness requests not yet fulfilled or purged + **/ requests: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; referenda: { - /** The number of referenda being decided currently. */ + /** + * The number of referenda being decided currently. + **/ decidingCount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable, @@ -1445,22 +1687,27 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The metadata is a general information concerning the referendum. The `Hash` refers to the - * preimage of the `Preimages` provider which can be a JSON dump or IPFS hash of a JSON file. + * The metadata is a general information concerning the referendum. + * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + * dump or IPFS hash of a JSON file. * - * Consider a garbage collection for a metadata of finished referendums to `unrequest` - * (remove) large preimages. - */ + * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + * large preimages. + **/ metadataOf: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The next free referendum index, aka the number of referenda started so far. */ + /** + * The next free referendum index, aka the number of referenda started so far. + **/ referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Information concerning any given referendum. */ + /** + * Information concerning any given referendum. + **/ referendumInfoFor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1472,18 +1719,22 @@ declare module "@polkadot/api-base/types/storage" { * conviction-weighted approvals. * * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. - */ + **/ trackQueue: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>>, [u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; relayStorageRoots: { - /** Map of relay block number to relay storage root */ + /** + * Map of relay block number to relay storage root + **/ relayStorageRoot: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1491,20 +1742,26 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * List of all the keys in `RelayStorageRoot`. Used to remove the oldest key without having to - * iterate over all of them. - */ + * List of all the keys in `RelayStorageRoot`. + * Used to remove the oldest key without having to iterate over all of them. + **/ relayStorageRootKeys: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; rootTesting: { - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; scheduler: { - /** Items to be executed, indexed by the block number that they should be executed on. */ + /** + * Items to be executed, indexed by the block number that they should be executed on. + **/ agenda: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>>, @@ -1516,15 +1773,18 @@ declare module "@polkadot/api-base/types/storage" { /** * Lookup from a name to the block number and index of the task. * - * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 identities. - */ + * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 + * identities. + **/ lookup: AugmentedQuery< ApiType, (arg: U8aFixed | string | Uint8Array) => Observable>>, [U8aFixed] > & QueryableStorageEntry; - /** Retry configurations for items to be executed, indexed by task address. */ + /** + * Retry configurations for items to be executed, indexed by task address. + **/ retries: AugmentedQuery< ApiType, ( @@ -1533,129 +1793,167 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[u32, u32]>] > & QueryableStorageEntry]>; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; system: { - /** The full account information for a particular account ID. */ + /** + * The full account information for a particular account ID. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Total length (in bytes) for all extrinsics put together, for the current block. */ + /** + * Total length (in bytes) for all extrinsics put together, for the current block. + **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** `Some` if a code upgrade has been authorized. */ + /** + * `Some` if a code upgrade has been authorized. + **/ authorizedUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Map of block numbers to block hashes. */ + /** + * Map of block numbers to block hashes. + **/ blockHash: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** The current weight for the block. */ + /** + * The current weight for the block. + **/ blockWeight: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Digest of the current block, also part of the block header. */ + /** + * Digest of the current block, also part of the block header. + **/ digest: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The number of events in the `Events` list. */ + /** + * The number of events in the `Events` list. + **/ eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Events deposited for the current block. * - * NOTE: The item is unbound and should therefore never be read on chain. It could otherwise - * inflate the PoV size of a block. + * NOTE: The item is unbound and should therefore never be read on chain. + * It could otherwise inflate the PoV size of a block. * - * Events have a large in-memory size. Box the events to not go out-of-memory just in case - * someone still reads them from within the runtime. - */ + * Events have a large in-memory size. Box the events to not go out-of-memory + * just in case someone still reads them from within the runtime. + **/ events: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Mapping between a topic (represented by T::Hash) and a vector of indexes of events in the - * `>` list. + * Mapping between a topic (represented by T::Hash) and a vector of indexes + * of events in the `>` list. * - * All topic vectors have deterministic storage locations depending on the topic. This allows - * light-clients to leverage the changes trie storage tracking mechanism and in case of - * changes fetch the list of events of interest. + * All topic vectors have deterministic storage locations depending on the topic. This + * 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 `(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. - */ + * 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. + **/ eventTopics: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>>, [H256] > & QueryableStorageEntry; - /** The execution phase of the block. */ + /** + * The execution phase of the block. + **/ executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Total extrinsics count for the current block. */ + /** + * Total extrinsics count for the current block. + **/ extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Extrinsics data for the current block (maps an extrinsic's index to its data). */ + /** + * Extrinsics data for the current block (maps an extrinsic's index to its data). + **/ extrinsicData: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Whether all inherents have been applied. */ + /** + * Whether all inherents have been applied. + **/ inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ + /** + * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + **/ lastRuntimeUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The current block number being processed. Set by `execute_block`. */ + /** + * The current block number being processed. Set by `execute_block`. + **/ number: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Hash of the previous block. */ + /** + * Hash of the previous block. + **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. - */ + **/ upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. */ + /** + * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + **/ upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; timestamp: { /** * Whether the timestamp has been updated in this block. * - * This value is updated to `true` upon successful submission of a timestamp by a node. It is - * then checked at the end of each block execution in the `on_finalize` hook. - */ + * This value is updated to `true` upon successful submission of a timestamp by a node. + * It is then checked at the end of each block execution in the `on_finalize` hook. + **/ didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The current time for the current block. */ + /** + * The current time for the current block. + **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; transactionPayment: { @@ -1667,67 +1965,97 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasury: { - /** Proposal indices that have been approved but not yet awarded. */ + /** + * Proposal indices that have been approved but not yet awarded. + **/ approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The amount which has been reported as inactive to Currency. */ + /** + * The amount which has been reported as inactive to Currency. + **/ deactivated: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of proposals that have been made. */ + /** + * Number of proposals that have been made. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Proposals that have been made. */ + /** + * Proposals that have been made. + **/ proposals: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The count of spends that have been made. */ + /** + * The count of spends that have been made. + **/ spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Spends that have been approved and being processed. */ + /** + * Spends that have been approved and being processed. + **/ spends: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasuryCouncilCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; whitelist: { @@ -1737,11 +2065,15 @@ declare module "@polkadot/api-base/types/storage" { [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmpQueue: { - /** The factor to multiply the base delivery fee by. */ + /** + * The factor to multiply the base delivery fee by. + **/ deliveryFeeFactor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, @@ -1757,10 +2089,12 @@ declare module "@polkadot/api-base/types/storage" { * * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof * will be smaller. - */ + **/ inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The messages outbound in a given XCMP channel. */ + /** + * The messages outbound in a given XCMP channel. + **/ outboundXcmpMessages: AugmentedQuery< ApiType, ( @@ -1771,44 +2105,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The non-empty XCMP channels in order of becoming non-empty, and the index of the first and - * last outbound message. If the two indices are equal, then it indicates an empty queue and - * there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater than 65535 - * items. Queue indices for normal messages begin at one; zero is reserved in case of the need - * to send a high-priority signal message this block. The bool is true if there is a signal - * message waiting to be sent. - */ + * The non-empty XCMP channels in order of becoming non-empty, and the index of the first + * and last outbound message. If the two indices are equal, then it indicates an empty + * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater + * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in + * case of the need to send a high-priority signal message this block. + * The bool is true if there is a signal message waiting to be sent. + **/ outboundXcmpStatus: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The configuration which controls the dynamics of the outbound queue. */ + /** + * The configuration which controls the dynamics of the outbound queue. + **/ queueConfig: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Whether or not the XCMP queue is suspended from executing incoming XCMs or not. */ + /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Any signal messages waiting to be sent. */ + /** + * Any signal messages waiting to be sent. + **/ signalMessages: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmTransactor: { /** - * Stores the fee per second for an asset in its reserve chain. This allows us to convert from - * weight to fee - */ + * Stores the fee per second for an asset in its reserve chain. This allows us to convert + * from weight to fee + **/ destinationAssetFeePerSecond: AugmentedQuery< ApiType, ( @@ -1818,17 +2160,19 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Since we are using pallet-utility for account derivation (through AsDerivative), we need to - * provide an index for the account derivation. This storage item stores the index assigned - * for a given local account. These indices are usable as derivative in the relay chain - */ + * Since we are using pallet-utility for account derivation (through AsDerivative), + * we need to provide an index for the account derivation. This storage item stores the index + * assigned for a given local account. These indices are usable as derivative in the relay chain + **/ indexToAccount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>, [u16] > & QueryableStorageEntry; - /** Stores the indices of relay chain pallets */ + /** + * Stores the indices of relay chain pallets + **/ relayIndices: AugmentedQuery< ApiType, () => Observable, @@ -1836,10 +2180,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Stores the transact info of a Location. This defines how much extra weight we need to add - * when we want to transact in the destination chain and maximum amount of weight allowed by - * the destination chain - */ + * Stores the transact info of a Location. This defines how much extra weight we need to + * add when we want to transact in the destination chain and maximum amount of weight allowed + * by the destination chain + **/ transactInfoWithWeightLimit: AugmentedQuery< ApiType, ( @@ -1848,14 +2192,17 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmWeightTrader: { /** - * Stores all supported assets per XCM Location. The u128 is the asset price relative to - * native asset with 18 decimals The boolean specify if the support for this asset is active - */ + * Stores all supported assets per XCM Location. + * The u128 is the asset price relative to native asset with 18 decimals + * The boolean specify if the support for this asset is active + **/ supportedAssets: AugmentedQuery< ApiType, ( @@ -1864,7 +2211,9 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; } // AugmentedQueries diff --git a/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts b/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts index a71564cc61..7752ea2d20 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts @@ -20,7 +20,7 @@ import type { bool, f64, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, Codec } from "@polkadot/types-codec/types"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -35,7 +35,7 @@ import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, - InstantiateRequestV1, + InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; @@ -53,13 +53,13 @@ import type { EthSyncStatus, EthTransaction, EthTransactionRequest, - EthWork, + EthWork } from "@polkadot/types/interfaces/eth"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; import type { EncodedFinalityProofs, JustificationNotification, - ReportedRoundStates, + ReportedRoundStates } from "@polkadot/types/interfaces/grandpa"; import type { MmrHash, MmrLeafBatchProof } from "@polkadot/types/interfaces/mmr"; import type { StorageKind } from "@polkadot/types/interfaces/offchain"; @@ -77,13 +77,13 @@ import type { Justification, KeyValue, SignedBlock, - StorageData, + StorageData } from "@polkadot/types/interfaces/runtime"; import type { MigrationStatusResult, ReadProof, RuntimeVersion, - TraceBlockResponse, + TraceBlockResponse } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, @@ -93,7 +93,7 @@ import type { NetworkState, NodeRole, PeerInfo, - SyncState, + SyncState } from "@polkadot/types/interfaces/system"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -102,13 +102,19 @@ export type __AugmentedRpc = AugmentedRpc<() => unknown>; declare module "@polkadot/rpc-core/types/jsonrpc" { interface RpcInterface { author: { - /** Returns true if the keystore has private keys for the given public key and key type. */ + /** + * Returns true if the keystore has private keys for the given public key and key type. + **/ hasKey: AugmentedRpc< (publicKey: Bytes | string | Uint8Array, keyType: Text | string) => Observable >; - /** Returns true if the keystore has private keys for the given session public keys. */ + /** + * Returns true if the keystore has private keys for the given session public keys. + **/ hasSessionKeys: AugmentedRpc<(sessionKeys: Bytes | string | Uint8Array) => Observable>; - /** Insert a key into the keystore. */ + /** + * Insert a key into the keystore. + **/ insertKey: AugmentedRpc< ( keyType: Text | string, @@ -116,9 +122,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { publicKey: Bytes | string | Uint8Array ) => Observable >; - /** Returns all pending extrinsics, potentially grouped by sender */ + /** + * Returns all pending extrinsics, potentially grouped by sender + **/ pendingExtrinsics: AugmentedRpc<() => Observable>>; - /** Remove given extrinsic from the pool and temporarily ban it to prevent reimporting */ + /** + * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting + **/ removeExtrinsic: AugmentedRpc< ( bytesOrHash: @@ -126,50 +136,75 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[] ) => Observable> >; - /** Generate new session keys and returns the corresponding public keys */ + /** + * Generate new session keys and returns the corresponding public keys + **/ rotateKeys: AugmentedRpc<() => Observable>; - /** Submit and subscribe to watch an extrinsic until unsubscribed */ + /** + * Submit and subscribe to watch an extrinsic until unsubscribed + **/ submitAndWatchExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; - /** Submit a fully formatted extrinsic for block inclusion */ + /** + * Submit a fully formatted extrinsic for block inclusion + **/ submitExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; }; babe: { /** - * Returns data about which slots (primary or secondary) can be claimed in the current epoch - * with the keys in the keystore - */ + * Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore + **/ epochAuthorship: AugmentedRpc<() => Observable>>; }; beefy: { - /** Returns hash of the latest BEEFY finalized block as seen by this client. */ + /** + * Returns hash of the latest BEEFY finalized block as seen by this client. + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Returns the block most recently finalized by BEEFY, alongside its justification. */ + /** + * Returns the block most recently finalized by BEEFY, alongside its justification. + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; chain: { - /** Get header and body of a relay chain block */ + /** + * Get header and body of a relay chain block + **/ getBlock: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable>; - /** Get the block hash for a specific block */ + /** + * Get the block hash for a specific block + **/ getBlockHash: AugmentedRpc< (blockNumber?: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Get hash of the last finalized block in the canon chain */ + /** + * Get hash of the last finalized block in the canon chain + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Retrieves the header for a specific block */ + /** + * Retrieves the header for a specific block + **/ getHeader: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable
>; - /** Retrieves the newest header via subscription */ + /** + * Retrieves the newest header via subscription + **/ subscribeAllHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best finalized header via subscription */ + /** + * Retrieves the best finalized header via subscription + **/ subscribeFinalizedHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best header via subscription */ + /** + * Retrieves the best header via subscription + **/ subscribeNewHeads: AugmentedRpc<() => Observable
>; }; childstate: { - /** Returns the keys with prefix from a child storage, leave empty to get all the keys */ + /** + * Returns the keys with prefix from a child storage, leave empty to get all the keys + **/ getKeys: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -177,7 +212,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix from a child storage with pagination support */ + /** + * Returns the keys with prefix from a child storage with pagination support + **/ getKeysPaged: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -187,7 +224,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns a child storage entry at a specific block state */ + /** + * Returns a child storage entry at a specific block state + **/ getStorage: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -195,7 +234,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns child storage entries for multiple keys at a specific block state */ + /** + * Returns child storage entries for multiple keys at a specific block state + **/ getStorageEntries: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -203,7 +244,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable>> >; - /** Returns the hash of a child storage entry at a block state */ + /** + * Returns the hash of a child storage entry at a block state + **/ getStorageHash: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -211,7 +254,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the size of a child storage entry at a block state */ + /** + * Returns the size of a child storage entry at a block state + **/ getStorageSize: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -222,9 +267,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; contracts: { /** - * @deprecated Use the runtime interface `api.call.contractsApi.call` instead Executes a call - * to a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead + * Executes a call to a contract + **/ call: AugmentedRpc< ( callRequest: @@ -243,9 +288,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead Returns - * the value under a specified storage key in a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead + * Returns the value under a specified storage key in a contract + **/ getStorage: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -255,8 +300,8 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; /** * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead - * Instantiate a new contract - */ + * Instantiate a new contract + **/ instantiate: AugmentedRpc< ( request: @@ -268,9 +313,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Not available in newer versions of the contracts interfaces Returns the - * projected time a given contract will be able to sustain paying its rent - */ + * @deprecated Not available in newer versions of the contracts interfaces + * Returns the projected time a given contract will be able to sustain paying its rent + **/ rentProjection: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -278,9 +323,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable> >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead Upload new - * code without instantiating a contract from it - */ + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead + * Upload new code without instantiating a contract from it + **/ uploadCode: AugmentedRpc< ( uploadRequest: @@ -293,13 +338,17 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; dev: { - /** Reexecute the specified `block_hash` and gather statistics while doing so */ + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ getBlockStats: AugmentedRpc< (at: Hash | string | Uint8Array) => Observable> >; }; engine: { - /** Instructs the manual-seal authorship task to create a new block */ + /** + * Instructs the manual-seal authorship task to create a new block + **/ createBlock: AugmentedRpc< ( createEmpty: bool | boolean | Uint8Array, @@ -307,17 +356,25 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { parentHash?: BlockHash | string | Uint8Array ) => Observable >; - /** Instructs the manual-seal authorship task to finalize a block */ + /** + * Instructs the manual-seal authorship task to finalize a block + **/ finalizeBlock: AugmentedRpc< (hash: BlockHash | string | Uint8Array, justification?: Justification) => Observable >; }; eth: { - /** Returns accounts list. */ + /** + * Returns accounts list. + **/ accounts: AugmentedRpc<() => Observable>>; - /** Returns the blockNumber */ + /** + * Returns the blockNumber + **/ blockNumber: AugmentedRpc<() => Observable>; - /** Call contract, returning the output data. */ + /** + * Call contract, returning the output data. + **/ call: AugmentedRpc< ( request: @@ -337,13 +394,16 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * Returns the chain ID used for transaction signing at the current best block. None is - * returned if not available. - */ + * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. + **/ chainId: AugmentedRpc<() => Observable>; - /** Returns block author. */ + /** + * Returns block author. + **/ coinbase: AugmentedRpc<() => Observable>; - /** Estimate gas needed for execution of given contract. */ + /** + * Estimate gas needed for execution of given contract. + **/ estimateGas: AugmentedRpc< ( request: @@ -362,7 +422,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns fee history for given block count & reward percentiles */ + /** + * Returns fee history for given block count & reward percentiles + **/ feeHistory: AugmentedRpc< ( blockCount: U256 | AnyNumber | Uint8Array, @@ -370,53 +432,73 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { rewardPercentiles: Option> | null | Uint8Array | Vec | f64[] ) => Observable >; - /** Returns current gas price. */ + /** + * Returns current gas price. + **/ gasPrice: AugmentedRpc<() => Observable>; - /** Returns balance of the given account. */ + /** + * Returns balance of the given account. + **/ getBalance: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns block with given hash. */ + /** + * Returns block with given hash. + **/ getBlockByHash: AugmentedRpc< ( hash: H256 | string | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns block with given number. */ + /** + * Returns block with given number. + **/ getBlockByNumber: AugmentedRpc< ( block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns the number of transactions in a block with given hash. */ + /** + * Returns the number of transactions in a block with given hash. + **/ getBlockTransactionCountByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions in a block with given block number. */ + /** + * Returns the number of transactions in a block with given block number. + **/ getBlockTransactionCountByNumber: AugmentedRpc< (block: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the code at given address at given time (block number). */ + /** + * Returns the code at given address at given time (block number). + **/ getCode: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns filter changes since last poll. */ + /** + * Returns filter changes since last poll. + **/ getFilterChanges: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable >; - /** Returns all logs matching given filter (in a range 'from' - 'to'). */ + /** + * Returns all logs matching given filter (in a range 'from' - 'to'). + **/ getFilterLogs: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable> >; - /** Returns logs matching given filter object. */ + /** + * Returns logs matching given filter object. + **/ getLogs: AugmentedRpc< ( filter: @@ -426,7 +508,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable> >; - /** Returns proof for account and storage. */ + /** + * Returns proof for account and storage. + **/ getProof: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -434,7 +518,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns content of the storage at given address. */ + /** + * Returns content of the storage at given address. + **/ getStorageAt: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -442,68 +528,98 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction at given block hash and index. */ + /** + * Returns transaction at given block hash and index. + **/ getTransactionByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction by given block number and index. */ + /** + * Returns transaction by given block number and index. + **/ getTransactionByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Get transaction by its hash. */ + /** + * Get transaction by its hash. + **/ getTransactionByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions sent from given address at given time (block number). */ + /** + * Returns the number of transactions sent from given address at given time (block number). + **/ getTransactionCount: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction receipt by transaction hash. */ + /** + * Returns transaction receipt by transaction hash. + **/ getTransactionReceipt: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns the number of uncles in a block with given hash. */ + /** + * Returns the number of uncles in a block with given hash. + **/ getUncleCountByBlockHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of uncles in a block with given block number. */ + /** + * Returns the number of uncles in a block with given block number. + **/ getUncleCountByBlockNumber: AugmentedRpc< (number: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the hash of the current block, the seedHash, and the boundary condition to be met. */ + /** + * Returns the hash of the current block, the seedHash, and the boundary condition to be met. + **/ getWork: AugmentedRpc<() => Observable>; - /** Returns the number of hashes per second that the node is mining with. */ + /** + * Returns the number of hashes per second that the node is mining with. + **/ hashrate: AugmentedRpc<() => Observable>; - /** Returns max priority fee per gas */ + /** + * Returns max priority fee per gas + **/ maxPriorityFeePerGas: AugmentedRpc<() => Observable>; - /** Returns true if client is actively mining new blocks. */ + /** + * Returns true if client is actively mining new blocks. + **/ mining: AugmentedRpc<() => Observable>; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newBlockFilter: AugmentedRpc<() => Observable>; - /** Returns id of new filter. */ + /** + * Returns id of new filter. + **/ newFilter: AugmentedRpc< ( filter: @@ -513,13 +629,21 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newPendingTransactionFilter: AugmentedRpc<() => Observable>; - /** Returns protocol version encoded as a string (quotes are necessary). */ + /** + * Returns protocol version encoded as a string (quotes are necessary). + **/ protocolVersion: AugmentedRpc<() => Observable>; - /** Sends signed transaction, returning its hash. */ + /** + * Sends signed transaction, returning its hash. + **/ sendRawTransaction: AugmentedRpc<(bytes: Bytes | string | Uint8Array) => Observable>; - /** Sends transaction; will block waiting for signer to return the transaction hash */ + /** + * Sends transaction; will block waiting for signer to return the transaction hash + **/ sendTransaction: AugmentedRpc< ( tx: @@ -537,11 +661,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Used for submitting mining hashrate. */ + /** + * Used for submitting mining hashrate. + **/ submitHashrate: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => Observable >; - /** Used for submitting a proof-of-work solution. */ + /** + * Used for submitting a proof-of-work solution. + **/ submitWork: AugmentedRpc< ( nonce: H64 | string | Uint8Array, @@ -549,7 +677,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { mixDigest: H256 | string | Uint8Array ) => Observable >; - /** Subscribe to Eth subscription. */ + /** + * Subscribe to Eth subscription. + **/ subscribe: AugmentedRpc< ( kind: @@ -563,25 +693,37 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array ) => Observable >; - /** Returns an object with data about the sync status or false. */ + /** + * Returns an object with data about the sync status or false. + **/ syncing: AugmentedRpc<() => Observable>; - /** Uninstalls filter. */ + /** + * Uninstalls filter. + **/ uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; }; grandpa: { - /** Prove finality for the given block number, returning the Justification for the last block in the set. */ + /** + * Prove finality for the given block number, returning the Justification for the last block in the set. + **/ proveFinality: AugmentedRpc< ( blockNumber: BlockNumber | AnyNumber | Uint8Array ) => Observable> >; - /** Returns the state of the current best round state as well as the ongoing background rounds */ + /** + * Returns the state of the current best round state as well as the ongoing background rounds + **/ roundState: AugmentedRpc<() => Observable>; - /** Subscribes to grandpa justifications */ + /** + * Subscribes to grandpa justifications + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; mmr: { - /** Generate MMR proof for the given block numbers. */ + /** + * Generate MMR proof for the given block numbers. + **/ generateProof: AugmentedRpc< ( blockNumbers: Vec | (u64 | AnyNumber | Uint8Array)[], @@ -589,9 +731,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the MMR root hash for the current best block. */ + /** + * Get the MMR root hash for the current best block. + **/ root: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; - /** Verify an MMR proof */ + /** + * Verify an MMR proof + **/ verifyProof: AugmentedRpc< ( proof: @@ -601,7 +747,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Verify an MMR proof statelessly given an mmr_root */ + /** + * Verify an MMR proof statelessly given an mmr_root + **/ verifyProofStateless: AugmentedRpc< ( root: MmrHash | string | Uint8Array, @@ -614,30 +762,46 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from frontier's backend */ + /** + * Returns the latest synced block from frontier's backend + **/ getLatestSyncedBlock: AugmentedRpc<() => Observable>; - /** Returns whether an Ethereum block is finalized */ + /** + * Returns whether an Ethereum block is finalized + **/ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; - /** Returns whether an Ethereum transaction is finalized */ + /** + * Returns whether an Ethereum transaction is finalized + **/ isTxFinalized: AugmentedRpc<(txHash: Hash | string | Uint8Array) => Observable>; }; net: { - /** Returns true if client is actively listening for network connections. Otherwise false. */ + /** + * Returns true if client is actively listening for network connections. Otherwise false. + **/ listening: AugmentedRpc<() => Observable>; - /** Returns number of peers connected to node. */ + /** + * Returns number of peers connected to node. + **/ peerCount: AugmentedRpc<() => Observable>; - /** Returns protocol version. */ + /** + * Returns protocol version. + **/ version: AugmentedRpc<() => Observable>; }; offchain: { - /** Get offchain local storage under given key and prefix */ + /** + * Get offchain local storage under given key and prefix + **/ localStorageGet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array ) => Observable> >; - /** Set offchain local storage under given key and prefix */ + /** + * Set offchain local storage under given key and prefix + **/ localStorageSet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, @@ -648,9 +812,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; payment: { /** - * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead Query the detailed - * fee of a given encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead + * Query the detailed fee of a given encoded extrinsic + **/ queryFeeDetails: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -658,9 +822,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead Retrieves the fee - * information for an encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead + * Retrieves the fee information for an encoded extrinsic + **/ queryInfo: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -669,11 +833,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; rpc: { - /** Retrieves the list of RPC methods that are exposed by the node */ + /** + * Retrieves the list of RPC methods that are exposed by the node + **/ methods: AugmentedRpc<() => Observable>; }; state: { - /** Perform a call to a builtin on the chain */ + /** + * Perform a call to a builtin on the chain + **/ call: AugmentedRpc< ( method: Text | string, @@ -681,7 +849,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the keys with prefix of a specific child storage */ + /** + * Retrieves the keys with prefix of a specific child storage + **/ getChildKeys: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -691,7 +861,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage for child key entries at a specific block state. */ + /** + * Returns proof of storage for child key entries at a specific block state. + **/ getChildReadProof: AugmentedRpc< ( childStorageKey: PrefixedStorageKey | string | Uint8Array, @@ -699,7 +871,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage for a key */ + /** + * Retrieves the child storage for a key + **/ getChildStorage: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -709,7 +883,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage hash */ + /** + * Retrieves the child storage hash + **/ getChildStorageHash: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -719,7 +895,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage size */ + /** + * Retrieves the child storage size + **/ getChildStorageSize: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -730,16 +908,18 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Retrieves the keys with a - * certain prefix - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Retrieves the keys with a certain prefix + **/ getKeys: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix with pagination support. */ + /** + * Returns the keys with prefix with pagination support. + **/ getKeysPaged: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, @@ -748,51 +928,65 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the runtime metadata */ + /** + * Returns the runtime metadata + **/ getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Returns the keys with prefix, - * leave empty to get all the keys (deprecated: Use getKeysPaged) - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged) + **/ getPairs: AugmentedRpc< ( prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage entries at a specific block state */ + /** + * Returns proof of storage entries at a specific block state + **/ getReadProof: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the runtime version */ + /** + * Get the runtime version + **/ getRuntimeVersion: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; - /** Retrieves the storage for a key */ + /** + * Retrieves the storage for a key + **/ getStorage: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, block?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the storage hash */ + /** + * Retrieves the storage hash + **/ getStorageHash: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the storage size */ + /** + * Retrieves the storage size + **/ getStorageSize: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Query historical storage entries (by key) starting from a start block */ + /** + * Query historical storage entries (by key) starting from a start block + **/ queryStorage: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], @@ -800,22 +994,30 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { toBlock?: Hash | Uint8Array | string ) => Observable<[Hash, T][]> >; - /** Query storage entries (by key) starting at block hash given as the second parameter */ + /** + * Query storage entries (by key) starting at block hash given as the second parameter + **/ queryStorageAt: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the runtime version via subscription */ + /** + * Retrieves the runtime version via subscription + **/ subscribeRuntimeVersion: AugmentedRpc<() => Observable>; - /** Subscribes to storage changes for the provided keys */ + /** + * Subscribes to storage changes for the provided keys + **/ subscribeStorage: AugmentedRpc< ( keys?: Vec | (StorageKey | string | Uint8Array | any)[] ) => Observable >; - /** Provides a way to trace the re-execution of a single block */ + /** + * Provides a way to trace the re-execution of a single block + **/ traceBlock: AugmentedRpc< ( block: Hash | string | Uint8Array, @@ -824,69 +1026,112 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { methods: Option | null | Uint8Array | Text | string ) => Observable >; - /** Check current migration state */ + /** + * Check current migration state + **/ trieMigrationStatus: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; }; syncstate: { - /** Returns the json-serialized chainspec running the node, with a sync state. */ + /** + * Returns the json-serialized chainspec running the node, with a sync state. + **/ genSyncSpec: AugmentedRpc<(raw: bool | boolean | Uint8Array) => Observable>; }; system: { - /** Retrieves the next accountIndex as available on the node */ + /** + * Retrieves the next accountIndex as available on the node + **/ accountNextIndex: AugmentedRpc< (accountId: AccountId | string | Uint8Array) => Observable >; - /** Adds the supplied directives to the current log filter */ + /** + * Adds the supplied directives to the current log filter + **/ addLogFilter: AugmentedRpc<(directives: Text | string) => Observable>; - /** Adds a reserved peer */ + /** + * Adds a reserved peer + **/ addReservedPeer: AugmentedRpc<(peer: Text | string) => Observable>; - /** Retrieves the chain */ + /** + * Retrieves the chain + **/ chain: AugmentedRpc<() => Observable>; - /** Retrieves the chain type */ + /** + * Retrieves the chain type + **/ chainType: AugmentedRpc<() => Observable>; - /** Dry run an extrinsic at a given block */ + /** + * Dry run an extrinsic at a given block + **/ dryRun: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Return health status of the node */ + /** + * Return health status of the node + **/ health: AugmentedRpc<() => Observable>; /** - * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be - * passed to addReservedPeer or as a bootnode address for example - */ + * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example + **/ localListenAddresses: AugmentedRpc<() => Observable>>; - /** Returns the base58-encoded PeerId of the node */ + /** + * Returns the base58-encoded PeerId of the node + **/ localPeerId: AugmentedRpc<() => Observable>; - /** Retrieves the node name */ + /** + * Retrieves the node name + **/ name: AugmentedRpc<() => Observable>; - /** Returns current state of the network */ + /** + * Returns current state of the network + **/ networkState: AugmentedRpc<() => Observable>; - /** Returns the roles the node is running as */ + /** + * Returns the roles the node is running as + **/ nodeRoles: AugmentedRpc<() => Observable>>; - /** Returns the currently connected peers */ + /** + * Returns the currently connected peers + **/ peers: AugmentedRpc<() => Observable>>; - /** Get a custom set of properties as a JSON object, defined in the chain spec */ + /** + * Get a custom set of properties as a JSON object, defined in the chain spec + **/ properties: AugmentedRpc<() => Observable>; - /** Remove a reserved peer */ + /** + * Remove a reserved peer + **/ removeReservedPeer: AugmentedRpc<(peerId: Text | string) => Observable>; - /** Returns the list of reserved peers */ + /** + * Returns the list of reserved peers + **/ reservedPeers: AugmentedRpc<() => Observable>>; - /** Resets the log filter to Substrate defaults */ + /** + * Resets the log filter to Substrate defaults + **/ resetLogFilter: AugmentedRpc<() => Observable>; - /** Returns the state of the syncing of the node */ + /** + * Returns the state of the syncing of the node + **/ syncState: AugmentedRpc<() => Observable>; - /** Retrieves the version of the node */ + /** + * Retrieves the version of the node + **/ version: AugmentedRpc<() => Observable>; }; web3: { - /** Returns current client version. */ + /** + * Returns current client version. + **/ clientVersion: AugmentedRpc<() => Observable>; - /** Returns sha3 of the given data */ + /** + * Returns sha3 of the given data + **/ sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable>; }; } // RpcInterface diff --git a/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts b/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts index 798d1db8cc..aacce6b598 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts @@ -17,7 +17,7 @@ import type { u128, u256, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder"; @@ -26,13 +26,13 @@ import type { CollationInfo } from "@polkadot/types/interfaces/cumulus"; import type { CallDryRunEffects, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { BlockV2, EthReceiptV3, EthTransactionStatus, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from "@polkadot/types/interfaces/evm"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; @@ -53,7 +53,7 @@ import type { Permill, RuntimeCall, Weight, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { RuntimeVersion } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, DispatchError } from "@polkadot/types/interfaces/system"; @@ -64,7 +64,7 @@ import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; import type { XcmVersionedAssetId, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -75,24 +75,32 @@ declare module "@polkadot/api-base/types/calls" { interface AugmentedCalls { /** 0xbc9d89904f5b923f/1 */ accountNonceApi: { - /** The API to query account nonce (aka transaction index) */ + /** + * The API to query account nonce (aka transaction index) + **/ accountNonce: AugmentedCall< ApiType, (accountId: AccountId | string | Uint8Array) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x40fe3ad401f8959a/6 */ blockBuilder: { - /** Apply the given extrinsic. */ + /** + * Apply the given extrinsic. + **/ applyExtrinsic: AugmentedCall< ApiType, ( extrinsic: Extrinsic | IExtrinsic | string | Uint8Array ) => Observable >; - /** Check that the inherents are valid. */ + /** + * Check that the inherents are valid. + **/ checkInherents: AugmentedCall< ApiType, ( @@ -100,21 +108,29 @@ declare module "@polkadot/api-base/types/calls" { data: InherentData | { data?: any } | string | Uint8Array ) => Observable >; - /** Finish the current block. */ + /** + * Finish the current block. + **/ finalizeBlock: AugmentedCall Observable
>; - /** Generate inherent extrinsics. */ + /** + * Generate inherent extrinsics. + **/ inherentExtrinsics: AugmentedCall< ApiType, ( inherent: InherentData | { data?: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xea93e3f16f3d6962/2 */ collectCollationInfo: { - /** Collect information about a collation. */ + /** + * Collect information about a collation. + **/ collectCollationInfo: AugmentedCall< ApiType, ( @@ -131,12 +147,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xe65b00e46cedd0aa/2 */ convertTransactionRuntimeApi: { - /** Converts an Ethereum-style transaction to Extrinsic */ + /** + * Converts an Ethereum-style transaction to Extrinsic + **/ convertTransaction: AugmentedCall< ApiType, ( @@ -149,19 +169,25 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xdf6acb689907609b/5 */ core: { - /** Execute the given block. */ + /** + * Execute the given block. + **/ executeBlock: AugmentedCall< ApiType, ( block: Block | { header?: any; extrinsics?: any } | string | Uint8Array ) => Observable >; - /** Initialize a block with the given header. */ + /** + * Initialize a block with the given header. + **/ initializeBlock: AugmentedCall< ApiType, ( @@ -178,14 +204,20 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Returns the version of the runtime. */ + /** + * Returns the version of the runtime. + **/ version: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x91b1c8b16328eb92/1 */ dryRunApi: { - /** Dry run call */ + /** + * Dry run call + **/ dryRunCall: AugmentedCall< ApiType, ( @@ -193,7 +225,9 @@ declare module "@polkadot/api-base/types/calls" { call: RuntimeCall | IMethod | string | Uint8Array ) => Observable> >; - /** Dry run XCM program */ + /** + * Dry run XCM program + **/ dryRunXcm: AugmentedCall< ApiType, ( @@ -217,24 +251,34 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x582211f65bb14b89/5 */ ethereumRuntimeRPCApi: { - /** Returns pallet_evm::Accounts by address. */ + /** + * Returns pallet_evm::Accounts by address. + **/ accountBasic: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** For a given account address, returns pallet_evm::AccountCodes. */ + /** + * For a given account address, returns pallet_evm::AccountCodes. + **/ accountCodeAt: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** Returns the converted FindAuthor::find_author authority id. */ + /** + * Returns the converted FindAuthor::find_author authority id. + **/ author: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ call: AugmentedCall< ApiType, ( @@ -255,9 +299,13 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Returns runtime defined pallet_evm::ChainId. */ + /** + * Returns runtime defined pallet_evm::ChainId. + **/ chainId: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ create: AugmentedCall< ApiType, ( @@ -277,34 +325,50 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Return all the current data for a block in a single runtime call. */ + /** + * Return all the current data for a block in a single runtime call. + **/ currentAll: AugmentedCall< ApiType, () => Observable< ITuple<[Option, Option>, Option>]> > >; - /** Return the current block. */ + /** + * Return the current block. + **/ currentBlock: AugmentedCall Observable>; - /** Return the current receipt. */ + /** + * Return the current receipt. + **/ currentReceipts: AugmentedCall Observable>>>; - /** Return the current transaction status. */ + /** + * Return the current transaction status. + **/ currentTransactionStatuses: AugmentedCall< ApiType, () => Observable>> >; - /** Return the elasticity multiplier. */ + /** + * Return the elasticity multiplier. + **/ elasticity: AugmentedCall Observable>>; - /** Receives a `Vec` and filters all the ethereum transactions. */ + /** + * Receives a `Vec` and filters all the ethereum transactions. + **/ extrinsicFilter: AugmentedCall< ApiType, ( xts: Vec | (Extrinsic | IExtrinsic | string | Uint8Array)[] ) => Observable> >; - /** Returns FixedGasPrice::min_gas_price */ + /** + * Returns FixedGasPrice::min_gas_price + **/ gasPrice: AugmentedCall Observable>; - /** For a given account address and index, returns pallet_evm::AccountStorages. */ + /** + * For a given account address and index, returns pallet_evm::AccountStorages. + **/ storageAt: AugmentedCall< ApiType, ( @@ -312,24 +376,34 @@ declare module "@polkadot/api-base/types/calls" { index: u256 | AnyNumber | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xfbc577b9d747efd6/1 */ genesisBuilder: { - /** Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. */ + /** + * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. + **/ buildConfig: AugmentedCall< ApiType, (json: Bytes | string | Uint8Array) => Observable, GenesisBuildErr>> >; - /** Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. */ + /** + * Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. + **/ createDefaultConfig: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x9ffb505aa738d69c/1 */ locationToAccountApi: { - /** Converts `Location` to `AccountId` */ + /** + * Converts `Location` to `AccountId` + **/ convertLocation: AugmentedCall< ApiType, ( @@ -342,26 +416,38 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37e397fc7c91f5e4/2 */ metadata: { - /** Returns the metadata of a runtime */ + /** + * Returns the metadata of a runtime + **/ metadata: AugmentedCall Observable>; - /** Returns the metadata at a given version. */ + /** + * Returns the metadata at a given version. + **/ metadataAtVersion: AugmentedCall< ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable> >; - /** Returns the supported metadata versions. */ + /** + * Returns the supported metadata versions. + **/ metadataVersions: AugmentedCall Observable>>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x2aa62120049dd2d2/1 */ nimbusApi: { - /** The runtime api used to predict whether a Nimbus author will be eligible in the given slot */ + /** + * The runtime api used to predict whether a Nimbus author will be eligible in the given slot + **/ canAuthor: AugmentedCall< ApiType, ( @@ -380,12 +466,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { - /** Starts the off-chain task for given block header. */ + /** + * Starts the off-chain task for given block header. + **/ offchainWorker: AugmentedCall< ApiType, ( @@ -402,29 +492,39 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xab3c0572291feb8b/1 */ sessionKeys: { - /** Decode the given public session keys. */ + /** + * Decode the given public session keys. + **/ decodeSessionKeys: AugmentedCall< ApiType, ( encoded: Bytes | string | Uint8Array ) => Observable>>> >; - /** Generate a set of session keys with optionally using the given seed. */ + /** + * Generate a set of session keys with optionally using the given seed. + **/ generateSessionKeys: AugmentedCall< ApiType, (seed: Option | null | Uint8Array | Bytes | string) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { - /** Validate the transaction. */ + /** + * Validate the transaction. + **/ validateTransaction: AugmentedCall< ApiType, ( @@ -433,12 +533,16 @@ declare module "@polkadot/api-base/types/calls" { blockHash: BlockHash | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37c8bb1350a9a2a8/4 */ transactionPaymentApi: { - /** The transaction fee details */ + /** + * The transaction fee details + **/ queryFeeDetails: AugmentedCall< ApiType, ( @@ -446,7 +550,9 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** The transaction info */ + /** + * The transaction info + **/ queryInfo: AugmentedCall< ApiType, ( @@ -454,30 +560,41 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** Query the output of the current LengthToFee given some input */ + /** + * Query the output of the current LengthToFee given some input + **/ queryLengthToFee: AugmentedCall< ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable >; - /** Query the output of the current WeightToFee given some input */ + /** + * Query the output of the current WeightToFee given some input + **/ queryWeightToFee: AugmentedCall< ApiType, ( weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x6ff52ee858e6c5bd/1 */ xcmPaymentApi: { - /** The API to query acceptable payment assets */ + /** + * The API to query acceptable payment assets + **/ queryAcceptablePaymentAssets: AugmentedCall< ApiType, ( version: u32 | AnyNumber | Uint8Array ) => Observable, XcmPaymentApiError>> >; + /** + * + **/ queryWeightToAssetFee: AugmentedCall< ApiType, ( @@ -485,13 +602,18 @@ declare module "@polkadot/api-base/types/calls" { asset: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; + /** + * + **/ queryXcmWeight: AugmentedCall< ApiType, ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; } // AugmentedCalls diff --git a/typescript-api/src/moonriver/interfaces/augment-api-tx.ts b/typescript-api/src/moonriver/interfaces/augment-api-tx.ts index fea9f058c0..8b6985f2b2 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-tx.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, - SubmittableExtrinsicFunction, + SubmittableExtrinsicFunction } from "@polkadot/api-base/types"; import type { Data } from "@polkadot/types"; import type { @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { @@ -35,7 +35,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { AccountEthereumSignature, @@ -71,7 +71,7 @@ import type { XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; @@ -83,9 +83,10 @@ declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -95,9 +96,11 @@ declare module "@polkadot/api-base/types/submittable" { [u128, MoonriverRuntimeXcmConfigAssetType, u32] >; /** - * Destroy a given foreign assetId The weight in this case is the one returned by the trait - * plus the db writes and reads from removing all the associated data - */ + * Destroy a given foreign assetId + * The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated + * data + **/ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -105,7 +108,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Register new asset with the asset manager */ + /** + * Register new asset with the asset manager + **/ registerForeignAsset: AugmentedSubmittable< ( asset: MoonriverRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -124,7 +129,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Remove a given assetId -> assetType association */ + /** + * Remove a given assetId -> assetType association + **/ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -132,7 +139,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; assets: { @@ -141,21 +150,23 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed. * - * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the - * purpose of holding the approval. If some non-zero amount of assets is already approved from - * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account + * for the purpose of holding the approval. If some non-zero amount of assets is already + * approved from signing account to `delegate`, then it is topped up or unreserved to + * meet the right value. * - * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * NOTE: The signing account does not need to own `amount` of assets at the point of + * making this call. * * - `id`: The identifier of the asset. * - `delegate`: The account to delegate permission to transfer asset. - * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an - * approval in place, then this acts additively. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is + * already an approval in place, then this acts additively. * * Emits `ApprovedTransfer` on success. * * Weight: `O(1)` - */ + **/ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -175,7 +186,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Blocked`. * * Weight: `O(1)` - */ + **/ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -197,8 +208,9 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Burned` with the actual amount burned. If this takes the balance to below the * minimum for the asset, then the amount burned is increased to take it to zero. * - * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. - */ + * Weight: `O(1)` + * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + **/ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -210,7 +222,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * Origin must be Signed and there must be an approval in place between signer and + * `delegate`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -220,7 +233,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,7 +253,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -255,18 +268,17 @@ declare module "@polkadot/api-base/types/submittable" { * Funds of sender are reserved by `AssetDeposit`. * * Parameters: - * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `admin`: The admin of this class of assets. The admin is the initial address of each member - * of the asset class's admin team. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `admin`: The admin of this class of assets. The admin is the initial address of each + * member of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `Created` event when successful. * * Weight: `O(1)` - */ + **/ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,10 +296,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedAccounts` event. - */ + **/ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -301,10 +314,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedApprovals` event. - */ + **/ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -312,13 +326,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Complete destroying asset and unreserve currency. * - * `finish_destroy` should only be called after `start_destroy` has been called, and the asset - * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * `finish_destroy` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. All accounts or approvals should be destroyed before + * hand. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each successful call emits the `Event::Destroyed` event. - */ + **/ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -333,18 +349,20 @@ declare module "@polkadot/api-base/types/submittable" { * - `issuer`: The new Issuer of this asset. * - `admin`: The new Admin of this asset. * - `freezer`: The new Freezer of this asset. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. - * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to - * account for the state bloat associated with its balance storage. If set to `true`, then - * non-zero balances may be stored without a `consumer` reference (and thus an ED in the - * Balances pallet or whatever else is used to control user-account state growth). - * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient + * value to account for the state bloat associated with its balance storage. If set to + * `true`, then non-zero balances may be stored without a `consumer` reference (and thus + * an ED in the Balances pallet or whatever else is used to control user-account state + * growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin + * instructions. * * Emits `AssetStatusChanged` with the identity of the asset. * * Weight: `O(1)` - */ + **/ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -370,8 +388,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account - * of the asset `id`. + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin + * account of the asset `id`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -381,7 +399,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -402,7 +420,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -416,18 +434,18 @@ declare module "@polkadot/api-base/types/submittable" { * * Unlike `create`, no funds are reserved. * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `owner`: The owner of this class of assets. The owner has full superuser permissions over - * this asset, but may later change and configure the permissions using `transfer_ownership` - * and `set_team`. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions + * over this asset, but may later change and configure the permissions using + * `transfer_ownership` and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `ForceCreated` event when successful. * * Weight: `O(1)` - */ + **/ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -452,7 +470,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. - */ + **/ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -472,16 +490,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `source`: The account to be debited. * - `dest`: The account to be credited. * - `amount`: The amount by which the `source`'s balance of assets should be reduced and - * `dest`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the `source` balance above zero but below - * the minimum balance. Must be greater than zero. + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but + * below the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account - * pre-existence of `dest`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of + * `dest`. + **/ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -492,9 +512,9 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, AccountId20, Compact] >; /** - * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must - * already exist as an entry in `Account`s of the asset. If you want to freeze an account that - * does not have an entry, use `touch_other` first. + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` + * must already exist as an entry in `Account`s of the asset. If you want to freeze an + * account that does not have an entry, use `touch_other` first. * * Origin must be Signed and the sender should be the Freezer of the asset `id`. * @@ -504,7 +524,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -522,7 +542,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -538,8 +558,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Emits `Issued` event when successful. * - * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. - */ + * Weight: `O(1)` + * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + **/ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -549,15 +570,17 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an + * account. * * The origin must be Signed. * - * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `id`: The identifier of the asset for which the caller would like the deposit + * refunded. * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. * * Emits `Refunded` event when successful. - */ + **/ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -576,7 +599,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `who`: The account to refund. * * Emits `Refunded` event when successful. - */ + **/ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -589,8 +612,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed and the sender should be the Owner of the asset `id`. * - * Funds of sender are reserved according to the formula: `MetadataDepositBase + - * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * Funds of sender are reserved according to the formula: + * `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into + * account any already reserved funds. * * - `id`: The identifier of the asset to update. * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. @@ -600,7 +624,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(1)` - */ + **/ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -613,16 +637,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Sets the minimum balance of an asset. * - * Only works if there aren't any accounts that are holding the asset or if the new value of - * `min_balance` is less than the old one. + * Only works if there aren't any accounts that are holding the asset or if + * the new value of `min_balance` is less than the old one. * - * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * Origin must be Signed and the sender has to be the Owner of the + * asset `id`. * * - `id`: The identifier of the asset. * - `min_balance`: The new value of `min_balance`. * * Emits `AssetMinBalanceChanged` event when successful. - */ + **/ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -643,7 +668,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `TeamChanged`. * * Weight: `O(1)` - */ + **/ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -661,10 +686,11 @@ declare module "@polkadot/api-base/types/submittable" { * * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * The asset class must be frozen before calling `start_destroy`. - */ + **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -680,7 +706,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -698,7 +724,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -708,11 +734,12 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit + * to be taken. * - `id`: The identifier of the asset for the account to be created. * * Emits `Touched` event when successful. - */ + **/ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -722,13 +749,13 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must - * have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account + * must have sufficient funds for a deposit to be taken. * - `id`: The identifier of the asset for the account to be created. * - `who`: The account to be created. * * Emits `Touched` event when successful. - */ + **/ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -744,16 +771,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -763,23 +792,25 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Transfer some asset balance from a previously delegated account to some third-party account. + * Transfer some asset balance from a previously delegated account to some third-party + * account. * - * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * Origin must be Signed and there must be an approval in place by the `owner` to the + * signer. * * If the entire amount approved for transfer is transferred, then any deposit previously * reserved by `approve_transfer` is unreserved. * * - `id`: The identifier of the asset. - * - `owner`: The account which previously approved for a transfer of at least `amount` and from - * which the asset balance will be withdrawn. + * - `owner`: The account which previously approved for a transfer of at least `amount` and + * from which the asset balance will be withdrawn. * - `destination`: The account to which the asset balance of `amount` will be transferred. * - `amount`: The amount of assets to transfer. * * Emits `TransferredApproved` on success. * * Weight: `O(1)` - */ + **/ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -797,16 +828,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -826,7 +859,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `OwnerChanged`. * * Weight: `O(1)` - */ + **/ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -834,34 +867,42 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** Update the eligible count. Intended to be called by governance. */ + /** + * Update the eligible count. Intended to be called by governance. + **/ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { /** - * This inherent is a workaround to run code after the "real" inherents have executed, but - * before transactions are executed. - */ + * This inherent is a workaround to run code after the "real" inherents have executed, + * but before transactions are executed. + **/ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { /** * Register your NimbusId onchain so blocks you author are associated with your account. * - * Users who have been (or will soon be) elected active collators in staking, should submit - * this extrinsic to have their blocks accepted and earn rewards. - */ + * Users who have been (or will soon be) elected active collators in staking, + * should submit this extrinsic to have their blocks accepted and earn rewards. + **/ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -871,8 +912,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Clear your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -882,16 +924,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Set association and session keys at once. * - * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security - * deposit is required. Will replace `update_association` which is kept now for backwards - * compatibility reasons. - */ + * This is useful for key rotation to update Nimbus and VRF keys in one call. + * No new security deposit is required. Will replace `update_association` which is kept + * now for backwards compatibility reasons. + **/ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -900,9 +943,9 @@ declare module "@polkadot/api-base/types/submittable" { * Change your Mapping. * * This is useful for normal key rotation or for when switching from one physical collator - * machine to another. No new security deposit is required. This sets keys to - * new_nimbus_id.into() by default. - */ + * machine to another. No new security deposit is required. + * This sets keys to new_nimbus_id.into() by default. + **/ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -910,19 +953,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic, NimbusPrimitivesNimbusCryptoPublic] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; balances: { /** * Burn the specified liquid free balance from the origin account. * - * If the origin's account ends up below the existential deposit as a result of the burn and - * `keep_alive` is false, the account will be reaped. + * If the origin's account ends up below the existential deposit as a result + * of the burn and `keep_alive` is false, the account will be reaped. * - * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, this - * `burn` operation will reduce total issuance by the amount _burned_. - */ + * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, + * this `burn` operation will reduce total issuance by the amount _burned_. + **/ burn: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -936,7 +981,7 @@ declare module "@polkadot/api-base/types/submittable" { * Can only be called by root and always needs a positive `delta`. * * # Example - */ + **/ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -953,7 +998,7 @@ declare module "@polkadot/api-base/types/submittable" { * Set the regular balance of a given account. * * The dispatch origin for this call is `root`. - */ + **/ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -964,7 +1009,7 @@ declare module "@polkadot/api-base/types/submittable" { /** * Exactly as `transfer_allow_death`, except the origin must be root and the source account * may be specified. - */ + **/ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -977,7 +1022,7 @@ declare module "@polkadot/api-base/types/submittable" { * Unreserve some balance from a user by force. * * Can only be called by ROOT. - */ + **/ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -988,19 +1033,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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... + * 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). - */ + * - `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: AccountId20 | string | Uint8Array, @@ -1011,12 +1057,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * `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. - */ + **/ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1025,13 +1071,13 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Compact] >; /** - * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that - * the transfer will not kill the origin account. + * 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`][`transfer_allow_death`] instead. + * 99% of the time you want [`transfer_allow_death`] instead. * * [`transfer_allow_death`]: struct.Pallet.html#method.transfer - */ + **/ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1045,16 +1091,19 @@ declare module "@polkadot/api-base/types/submittable" { * - `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 possibility of churn). - */ + * 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 + * possibility of churn). + **/ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { @@ -1062,26 +1111,27 @@ declare module "@polkadot/api-base/types/submittable" { * Delegate the voting power (with some given conviction) of the sending account for a * particular class of polls. * - * 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 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 through + * `remove_vote`). * - * - Be delegating already; or - * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). * - `to`: The account whose voting the `target` account's voting power will follow. - * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to - * this function are required. - * - `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. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls + * to this function are required. + * - `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 polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1105,18 +1155,20 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * 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 poll was cancelled, because the voter lost the poll or because the conviction period is over. + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the poll was cancelled, because the voter lost the poll 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 poll `index`. + * - `target`: The account of the vote to be removed; this account must have voted for poll + * `index`. * - `index`: The index of poll of the vote to be removed. * - `class`: The class of the poll. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -1129,33 +1181,33 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If: - * - * - The poll was cancelled, or - * - The poll is ongoing, or - * - The poll 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. + * - the poll was cancelled, or + * - the poll is ongoing, or + * - the poll 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 poll 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). + * - 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 poll `index`. * * - `index`: The index of poll of the vote to be removed. - * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which - * have finished or are cancelled, this must be `Some`. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls + * which have finished or are cancelled, this must be `Some`. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -1166,25 +1218,26 @@ declare module "@polkadot/api-base/types/submittable" { /** * Undelegate the voting power of the sending account for a particular class of polls. * - * Tokens may be unlocked following once an amount of time consistent with the lock period of - * the conviction with which the delegation was issued has passed. + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued has passed. * - * The dispatch origin of this call must be _Signed_ and the signing account must be currently - * delegating. + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. * * - `class`: The class of polls to remove the delegation from. * * Emits `Undelegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; /** - * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * Remove the lock caused by prior voting/delegating which has expired within a particular + * class. * * The dispatch origin of this call must be _Signed_. * @@ -1192,7 +1245,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `target`: The account to remove the lock on. * * Weight: `O(R)` with R number of vote of target. - */ + **/ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1201,8 +1254,8 @@ declare module "@polkadot/api-base/types/submittable" { [u16, AccountId20] >; /** - * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a - * vote to keep the status quo. + * Vote in a poll. 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_. * @@ -1210,7 +1263,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `vote`: The vote configuration. * * Weight: `O(R)` where R is the number of polls the voter has voted on. - */ + **/ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -1224,16 +1277,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, PalletConvictionVotingVoteAccountVote] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { /** * Associate a native rewards_destination identity with a crowdloan contribution. * - * The caller needs to provide the unassociated relay account and a proof to succeed with the - * association The proof is nothing but a signature over the reward_address using the relay keys - */ + * The caller needs to provide the unassociated relay account and a proof to succeed + * with the association + * The proof is nothing but a signature over the reward_address using the relay keys + **/ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1251,10 +1307,10 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change reward account by submitting proofs from relay accounts * - * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The - * account to be changed needs to be submitted as 'previous_account' Origin must be - * RewardAddressChangeOrigin - */ + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' + * The account to be changed needs to be submitted as 'previous_account' + * Origin must be RewardAddressChangeOrigin + **/ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1275,22 +1331,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** Collect whatever portion of your reward are currently vested. */ + /** + * Collect whatever portion of your reward are currently vested. + **/ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * This extrinsic completes the initialization if some checks are fullfiled. These checks are: - * -The reward contribution money matches the crowdloan pot -The end vesting block is higher - * than the init vesting block -The initialization has not complete yet - */ + * -The reward contribution money matches the crowdloan pot + * -The end vesting block is higher than the init vesting block + * -The initialization has not complete yet + **/ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Initialize the reward distribution storage. It shortcuts whenever an error is found This - * does not enforce any checks other than making sure we dont go over funds + * Initialize the reward distribution storage. It shortcuts whenever an error is found + * This does not enforce any checks other than making sure we dont go over funds * complete_initialization should perform any additional - */ + **/ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -1303,27 +1362,39 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** Update reward address, proving that the caller owns the current native key */ + /** + * Update reward address, proving that the caller owns the current native key + **/ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; emergencyParaXcm: { - /** Authorize a runtime upgrade. Only callable in `Paused` mode */ + /** + * Authorize a runtime upgrade. Only callable in `Paused` mode + **/ fastAuthorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Resume `Normal` mode */ + /** + * Resume `Normal` mode + **/ pausedToNormal: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** Transact an Ethereum transaction. */ + /** + * Transact an Ethereum transaction. + **/ transact: AugmentedSubmittable< ( transaction: @@ -1336,15 +1407,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [EthereumTransactionTransactionV2] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { /** * Xcm Transact an Ethereum transaction, but allow to force the caller and create address. - * This call should be restricted (callable only by the runtime or governance). Weight: Gas - * limit plus the db reads involving the suspension and proxy checks - */ + * This call should be restricted (callable only by the runtime or governance). + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ forceTransactAs: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1362,18 +1435,18 @@ declare module "@polkadot/api-base/types/submittable" { * Resumes all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the - * suspension check - */ + * Xcm Transact an Ethereum transaction. + * Weight: Gas limit plus the db read involving the suspension check + **/ transact: AugmentedSubmittable< ( xcmTransaction: @@ -1386,9 +1459,9 @@ declare module "@polkadot/api-base/types/submittable" { [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; /** - * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads - * involving the suspension and proxy checks - */ + * Xcm Transact an Ethereum transaction through proxy. + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1401,11 +1474,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ + /** + * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. + **/ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1432,7 +1509,10 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ + /** + * Issue an EVM create operation. This is similar to a contract creation transaction in + * Ethereum. + **/ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1448,7 +1528,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** Issue an EVM create2 operation. */ + /** + * Issue an EVM create2 operation. + **/ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1475,7 +1557,9 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Withdraw balance from EVM into currency/balances pallet. */ + /** + * Withdraw balance from EVM into currency/balances pallet. + **/ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -1483,14 +1567,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evmForeignAssets: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeXcmLocation: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1502,7 +1589,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location] >; - /** Create new asset with the ForeignAssetCreator */ + /** + * Create new asset with the ForeignAssetCreator + **/ createForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1517,7 +1606,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location, u8, Bytes, Bytes] >; - /** Freeze a given foreign assetId */ + /** + * Freeze a given foreign assetId + **/ freezeForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1525,19 +1616,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, bool] >; - /** Unfreeze a given foreign assetId */ + /** + * Unfreeze a given foreign assetId + **/ unfreezeForeignAsset: AugmentedSubmittable< (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; identity: { /** * Accept a given username that an `authority` granted. The call must include the full * username, as in `username.suffix`. - */ + **/ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1550,7 +1645,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `account`: the account of the registrar. * * Emits `RegistrarAdded` if successful. - */ + **/ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1558,12 +1653,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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`. - */ + **/ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1585,7 +1680,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The authority can grant up to `allocation` usernames. To top up their allocation, they * should just issue (or request via governance) a new `add_username_authority` call. - */ + **/ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -1599,12 +1694,13 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. + * 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. - */ + **/ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1614,25 +1710,26 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * Emits `IdentityCleared` if successful. - */ + **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * 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`. + * `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. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * * Emits `IdentityKilled` if successful. - */ + **/ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1640,19 +1737,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. + * - `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 [`IdentityInformationProvider`] for that the judgement is provided. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is + * provided. * * Note: Judgements do not apply to a username. * * Emits `JudgementGiven` if successful. - */ + **/ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1675,29 +1773,29 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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). + * 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. - */ + **/ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a username that corresponds to an account with no identity. Exists when a user gets - * a username but then calls `clear_identity`. - */ + * Remove a username that corresponds to an account with no identity. Exists when a user + * gets a username but then calls `clear_identity`. + **/ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** * Remove an expired username approval. The username was approved by an authority but never - * accepted by the user and must now be beyond its expiration. The call must include the full - * username, as in `username.suffix`. - */ + * accepted by the user and must now be beyond its expiration. The call must include the + * full username, as in `username.suffix`. + **/ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1705,17 +1803,19 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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`. - */ + **/ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove `authority` from the username authorities. */ + /** + * Remove `authority` from the username authorities. + **/ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1725,7 +1825,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1745,19 +1845,21 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a judgement from a registrar. * - * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * 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. + * 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; + * Self::registrars().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. - */ + **/ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1768,12 +1870,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1784,12 +1886,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1800,12 +1902,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. - */ + **/ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1816,15 +1918,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + **/ setIdentity: AugmentedSubmittable< ( info: @@ -1845,7 +1947,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** Set a given username as the primary. The username should include the suffix. */ + /** + * Set a given username as the primary. The username should include the suffix. + **/ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1853,13 +1957,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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`. + * 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. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * - `subs`: The identity's (new) sub-accounts. - */ + **/ setSubs: AugmentedSubmittable< ( subs: @@ -1888,10 +1993,10 @@ declare module "@polkadot/api-base/types/submittable" { * accept them later. * * Usernames must: - * * - Only contain lowercase ASCII characters or digits. - * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. - */ + * - When combined with the suffix of the issuing authority be _less than_ the + * `MaxUsernameLength`. + **/ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1905,7 +2010,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, Option] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { @@ -1913,38 +2020,39 @@ declare module "@polkadot/api-base/types/submittable" { * Place the chain in maintenance mode * * Weight cost is: - * - * - One DB read to ensure we're not already in maintenance mode - * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event - */ + * * One DB read to ensure we're not already in maintenance mode + * * Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + **/ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Return the chain to normal operating mode * * Weight cost is: - * - * - One DB read to ensure we're in maintenance mode - * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event - */ + * * One DB read to ensure we're in maintenance mode + * * Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + **/ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { /** * Execute an overweight message. * - * Temporary processing errors will be propagated whereas permanent errors are treated as - * success condition. + * Temporary processing errors will be propagated whereas permanent errors are treated + * as success condition. * * - `origin`: Must be `Signed`. * - `message_origin`: The origin from which the message to be executed arrived. * - `page`: The page in the queue in which the message to be executed is sitting. * - `index`: The index into the queue of the message to be executed. - * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution + * of the message. * * Benchmark complexity considerations: O(index + weight_limit). - */ + **/ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1964,7 +2072,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** Remove a page which has no more messages remaining to be processed or is stale. */ + /** + * Remove a page which has no more messages remaining to be processed or is stale. + **/ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1978,7 +2088,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { @@ -2003,43 +2115,61 @@ declare module "@polkadot/api-base/types/submittable" { (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** Add a collator to orbiters program. */ + /** + * Add a collator to orbiters program. + **/ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Add an orbiter in a collator pool */ + /** + * Add an orbiter in a collator pool + **/ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove an orbiter from the caller collator pool */ + /** + * Remove an orbiter from the caller collator pool + **/ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove the caller from the specified collator pool */ + /** + * Remove the caller from the specified collator pool + **/ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Registering as an orbiter */ + /** + * Registering as an orbiter + **/ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Deregistering from orbiters */ + /** + * Deregistering from orbiters + **/ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Remove a collator from orbiters program. */ + /** + * Remove a collator from orbiters program. + **/ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; multisig: { @@ -2047,34 +2177,34 @@ declare module "@polkadot/api-base/types/submittable" { * Register approval for a dispatch to be made from a deterministic composite account if * approved by a total of `threshold - 1` of `other_signatories`. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call_hash`: The hash of the call to be executed. * * NOTE: If this is the final approval, you will want to use `as_multi` instead. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2101,41 +2231,41 @@ declare module "@polkadot/api-base/types/submittable" { * * If there are enough, then dispatch the call. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call`: The call to be executed. * - * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` - * instead, since it only requires a hash of the call. + * NOTE: Unless this is the final approval, you will generally want to use + * `approve_as_multi` instead, since it only requires a hash of the call. * - * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on - * success, result is `Ok` and the result from the interior call, if it was executed, may be - * found in the deposited `MultisigExecuted` event. + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise + * on success, result is `Ok` and the result from the interior call, if it was executed, + * may be found in the deposited `MultisigExecuted` event. * * ## Complexity - * * - `O(S + Z + Call)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. * - The weight of the `call`. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2162,15 +2292,14 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * - `other_signatories`: The accounts (other than the sender) who are part of the - * multi-signature, but do not participate in the approval process. + * multi-signature, but do not participate in the approval process. * - `call`: The call to be executed. * * Result is equivalent to the dispatched result. * * ## Complexity - * * O(Z + C) where Z is the length of the call and C its execution weight. - */ + **/ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -2179,29 +2308,28 @@ declare module "@polkadot/api-base/types/submittable" { [Vec, Call] >; /** - * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for - * this operation will be unreserved on success. + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously + * for this operation will be unreserved on success. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. * - `timepoint`: The timepoint (block number and transaction index) of the first approval - * transaction for this dispatch. + * transaction for this dispatch. * - `call_hash`: The hash of the call to be executed. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - One event. * - I/O: 1 read `O(S)`, one remove. * - Storage: removes one item. - */ + **/ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2211,7 +2339,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, PalletMultisigTimepoint, U8aFixed] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { @@ -2220,27 +2350,27 @@ declare module "@polkadot/api-base/types/submittable" { * * 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 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 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. + * 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. + * + `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) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2255,18 +2385,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * 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. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2277,12 +2406,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2295,18 +2423,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `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: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2320,27 +2447,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `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. + * - `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. + * 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. + * 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) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2354,13 +2481,12 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. - * + * 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) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2369,37 +2495,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** Cancel pending request to adjust the collator candidate self bond */ + /** + * Cancel pending request to adjust the collator candidate self bond + **/ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Cancel request to change an existing delegation. */ + /** + * Cancel request to change an existing delegation. + **/ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; /** * Cancel open request to leave candidates - * - * - Only callable by collator account - * - Result upon successful call is the candidate is active in the candidate pool - */ + * - only callable by collator account + * - result upon successful call is the candidate is active in the candidate pool + **/ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Increase collator candidate self bond by `more` */ + /** + * Increase collator candidate self bond by `more` + **/ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** - * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, - * then join the set of delegators If caller is a delegator, then makes delegation to change - * their delegation state - */ + * DEPRECATED use delegateWithAutoCompound + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + **/ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2410,10 +2543,10 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128, u32, u32] >; /** - * If caller is not a delegator and not a collator, then join the set of delegators If caller - * is a delegator, then makes delegation to change their delegation state Sets the - * auto-compound config for the delegation - */ + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + * Sets the auto-compound config for the delegation + **/ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2425,7 +2558,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** Bond more for delegators wrt a specific collator candidate. */ + /** + * Bond more for delegators wrt a specific collator candidate. + **/ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2433,17 +2568,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** Enable/Disable marking offline feature */ + /** + * Enable/Disable marking offline feature + **/ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** Execute pending request to adjust the collator candidate self bond */ + /** + * Execute pending request to adjust the collator candidate self bond + **/ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Execute pending request to change an existing delegation */ + /** + * Execute pending request to change an existing delegation + **/ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -2451,7 +2592,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** Execute leave candidates request */ + /** + * Execute leave candidates request + **/ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2459,7 +2602,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** Force join the set of collator candidates. It will skip the minimum required bond check. */ + /** + * Force join the set of collator candidates. + * It will skip the minimum required bond check. + **/ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -2468,18 +2614,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** Temporarily leave the set of collator candidates without unbonding */ + /** + * Temporarily leave the set of collator candidates without unbonding + **/ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Rejoin the set of collator candidates if previously had called `go_offline` */ + /** + * Rejoin the set of collator candidates if previously had called `go_offline` + **/ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Hotfix to remove existing empty entries for candidates that have left. */ + /** + * Hotfix to remove existing empty entries for candidates that have left. + **/ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Join the set of collator candidates */ + /** + * Join the set of collator candidates + **/ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -2487,27 +2641,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Notify a collator is inactive during MaxOfflineRounds */ + /** + * Notify a collator is inactive during MaxOfflineRounds + **/ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** REMOVED, was schedule_leave_delegators */ + /** + * REMOVED, was schedule_leave_delegators + **/ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was execute_leave_delegators */ + /** + * REMOVED, was execute_leave_delegators + **/ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was cancel_leave_delegators */ + /** + * REMOVED, was cancel_leave_delegators + **/ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Request by collator candidate to decrease self bond by `less` */ + /** + * Request by collator candidate to decrease self bond by `less` + **/ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** * Request bond less for delegators wrt a specific collator candidate. The delegation's - * rewards for rounds while the request is pending use the reduced bonded amount. A bond less - * may not be performed if any other scheduled request is pending. - */ + * rewards for rounds while the request is pending use the reduced bonded amount. + * A bond less may not be performed if any other scheduled request is pending. + **/ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2516,24 +2680,26 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128] >; /** - * Request to leave the set of candidates. If successful, the account is immediately removed - * from the candidate pool to prevent selection as a collator. - */ + * Request to leave the set of candidates. If successful, the account is immediately + * removed from the candidate pool to prevent selection as a collator. + **/ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Request to revoke an existing delegation. If successful, the delegation is scheduled to be - * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation - * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed - * if any other scheduled request is pending. - */ + * Request to revoke an existing delegation. If successful, the delegation is scheduled + * to be allowed to be revoked via the `execute_delegation_request` extrinsic. + * The delegation receives no rewards for the rounds while a revoke is pending. + * A revoke may not be performed if any other scheduled request is pending. + **/ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Sets the auto-compounding reward percentage for a delegation. */ + /** + * Sets the auto-compounding reward percentage for a delegation. + **/ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2545,20 +2711,24 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set blocks per round - * - * - If called with `new` less than length of current round, will transition immediately in the next block - * - Also updates per-round inflation config - */ + * - if called with `new` less than length of current round, will transition immediately + * in the next block + * - also updates per-round inflation config + **/ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Set the commission for all collators */ + /** + * Set the commission for all collators + **/ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** Set the annual inflation rate to derive per-round inflation */ + /** + * Set the annual inflation rate to derive per-round inflation + **/ setInflation: AugmentedSubmittable< ( schedule: @@ -2579,7 +2749,9 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** Set the inflation distribution configuration. */ + /** + * Set the inflation distribution configuration. + **/ setInflationDistributionConfig: AugmentedSubmittable< ( updated: PalletParachainStakingInflationDistributionConfig @@ -2590,7 +2762,7 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the account that will hold funds set aside for parachain bond - */ + **/ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -2599,15 +2771,15 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the percent of inflation set aside for parachain bond - */ + **/ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; /** - * Set the expectations for total staked. These expectations determine the issuance for the - * round according to logic in `fn compute_issuance` - */ + * Set the expectations for total staked. These expectations determine the issuance for + * the round according to logic in `fn compute_issuance` + **/ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -2630,26 +2802,28 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set the total number of collator candidates selected per round - * - * - Changes are not applied until the start of the next round - */ + * - changes are not applied until the start of the next round + **/ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * 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. + * 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. - */ + **/ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -2660,14 +2834,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + **/ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -2675,14 +2849,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * 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. - */ + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. + **/ setValidationData: AugmentedSubmittable< ( data: @@ -2702,7 +2876,9 @@ declare module "@polkadot/api-base/types/submittable" { (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parameters: { @@ -2711,7 +2887,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be * deleted by setting them to `None`. - */ + **/ setParameter: AugmentedSubmittable< ( keyValue: @@ -2723,7 +2899,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonriverRuntimeRuntimeParamsRuntimeParameters] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { @@ -2731,10 +2909,10 @@ declare module "@polkadot/api-base/types/submittable" { * Claims assets trapped on this pallet because of leftover assets during XCM execution. * * - `origin`: Anyone can call this extrinsic. - * - `assets`: The exact assets that were trapped. Use the version to specify what version was - * the latest when they were trapped. + * - `assets`: The exact assets that were trapped. Use the version to specify what version + * was the latest when they were trapped. * - `beneficiary`: The location/account where the claimed assets will be deposited. - */ + **/ claimAssets: AugmentedSubmittable< ( assets: @@ -2757,12 +2935,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Execute an XCM message from a local, signed, origin. * - * An event is deposited indicating whether `msg` could be executed completely or only partially. + * 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. - */ + * 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. + **/ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2780,7 +2959,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. - */ + **/ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber @@ -2792,7 +2971,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we should subscribe for XCM version notifications. - */ + **/ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2810,18 +2989,19 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `suspended`: `true` to suspend, `false` to resume. - */ + **/ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; /** - * Require that a particular destination should no longer notify us regarding any XCM version changes. + * 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. - */ + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2835,12 +3015,13 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation] >; /** - * Extoll that a particular destination can be communicated with through a particular version of XCM. + * 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: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -2853,30 +3034,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * - * 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 sent assets may be at risk. + * 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 sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `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: @@ -2913,20 +3097,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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 sent assets may be at risk. + * 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 sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `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: @@ -2965,31 +3152,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** * - * 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. + * 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 `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -3035,19 +3224,21 @@ declare module "@polkadot/api-base/types/submittable" { * * **This function is deprecated: Use `limited_teleport_assets` instead.** * - * 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. + * 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 `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[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` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ teleportAssets: AugmentedSubmittable< ( dest: @@ -3079,33 +3270,37 @@ declare module "@polkadot/api-base/types/submittable" { * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve, or through teleports. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item` (hence referred to as `fees`), 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 - * sent assets may be at risk. - * - * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to - * `dest`, no limitations imposed on `fees`. - * - * - For local reserve: transfer assets to sovereign account of destination chain and forward a - * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - For destination reserve: burn local assets and forward a notification to `dest` chain to - * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. - * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from - * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and - * deposit reserve-based assets to `beneficiary`. - * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets - * and deposit them to `beneficiary`. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item` (hence referred to as `fees`), 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 sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable + * to `dest`, no limitations imposed on `fees`. + * - for local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to + * `beneficiary`. + * - for destination reserve: burn local assets and forward a notification to `dest` chain + * to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves + * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint + * and deposit reserve-based assets to `beneficiary`. + * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport + * assets and deposit them to `beneficiary`. + * * - `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. + * - `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` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `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. - */ + **/ transferAssets: AugmentedSubmittable< ( dest: @@ -3140,53 +3335,55 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; /** - * Transfer assets from the local chain to the destination chain using explicit transfer types - * for assets and fees. + * Transfer assets from the local chain to the destination chain using explicit transfer + * types for assets and fees. * * `assets` must have same reserve location or may be teleportable to `dest`. Caller must * provide the `assets_transfer_type` to be used for `assets`: - * - * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. - * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain - * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to - * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote - * `reserve` is Asset Hub. + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` + * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another + * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically + * the remote `reserve` is Asset Hub. * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to - * mint/teleport assets and deposit them to `beneficiary`. + * mint/teleport assets and deposit them to `beneficiary`. * - * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy - * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of - * the specified `remote_fees_id` asset is included in the given list of `assets`. - * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than - * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to + * buy execution using transferred `assets` identified by `remote_fees_id`. + * Make sure enough of the specified `remote_fees_id` asset is included in the given list + * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * - * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified - * through `fees_transfer_type`. + * `remote_fees_id` may use different transfer type than rest of `assets` and can be + * specified through `fees_transfer_type`. * * The caller needs to specify what should happen to the transferred assets once they reach - * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains - * the instructions to execute on `dest` as a final step. This is usually as simple as: - * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but - * could be something more exotic like sending the `assets` even further. + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which + * contains the instructions to execute on `dest` as a final step. + * This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, + * but could be something more exotic like sending the `assets` even further. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, - * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to - * another ecosystem destination. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from + * parachain across a bridge to another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. * - `remote_fees_id`: One of the included `assets` to be used to pay fees. * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the - * transfer, which also determines what happens to the assets on the destination chain. + * transfer, which also determines what happens to the assets on the destination chain. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssetsUsingTypeAndThen: AugmentedSubmittable< ( dest: @@ -3244,7 +3441,9 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; preimage: { @@ -3252,7 +3451,7 @@ declare module "@polkadot/api-base/types/submittable" { * Ensure that the a bulk of pre-images is upgraded. * * The caller pays no fee if at least 90% of pre-images were successfully updated. - */ + **/ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3260,9 +3459,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * 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. + **/ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3270,9 +3469,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * 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. + **/ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3284,7 +3483,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `hash`: The hash of the preimage to be removed from the store. * - `len`: The length of the preimage of `hash`. - */ + **/ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3293,12 +3492,14 @@ declare module "@polkadot/api-base/types/submittable" { * Clear a previously made request for a preimage. * * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. - */ + **/ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; proxy: { @@ -3308,11 +3509,11 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to make a proxy. * - `proxy_type`: The permissions allowed for this proxy account. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. - */ + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + **/ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3335,8 +3536,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Publish the hash of a proxy-call that will be made in the future. * - * This must be called some number of blocks before the corresponding `proxy` is attempted if - * the delay associated with the proxy relationship is greater than zero. + * This must be called some number of blocks before the corresponding `proxy` is attempted + * if the delay associated with the proxy relationship is greater than zero. * * No more than `MaxPending` announcements may be made at any one time. * @@ -3346,10 +3547,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_ and a proxy of `real`. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3358,24 +3558,25 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, H256] >; /** - * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize - * it with a proxy of `proxy_type` for `origin` sender. + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and + * initialize it with a proxy of `proxy_type` for `origin` sender. * * Requires a `Signed` origin. * - * - `proxy_type`: The type of the proxy that the sender will be registered as over the new - * account. This will almost always be the most permissive `ProxyType` possible to allow for - * maximum flexibility. + * - `proxy_type`: The type of the proxy that the sender will be registered as over the + * new account. This will almost always be the most permissive `ProxyType` possible to + * allow for maximum flexibility. * - `index`: A disambiguation index, in case this is called multiple times in the same - * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just - * want to use `0`. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. * - * Fails with `Duplicate` if this has already been called in this transaction, from the same - * sender, with the same parameters. + * Fails with `Duplicate` if this has already been called in this transaction, from the + * same sender, with the same parameters. * * Fails if there are insufficient funds to pay for deposit. - */ + **/ createPure: AugmentedSubmittable< ( proxyType: @@ -3398,7 +3599,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Removes a previously spawned pure proxy. * - * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * WARNING: **All access to this account will be lost.** Any funds held in it will be + * inaccessible. * * Requires a `Signed` origin, and the sender account must have been created by a call to * `pure` with corresponding parameters. @@ -3409,9 +3611,9 @@ declare module "@polkadot/api-base/types/submittable" { * - `height`: The height of the chain when the call to `pure` was processed. * - `ext_index`: The extrinsic index in which the call to `pure` was processed. * - * Fails with `NoPermission` in case the caller is not a previously created pure account whose - * `pure` call has corresponding parameters. - */ + * Fails with `NoPermission` in case the caller is not a previously created pure + * account whose `pure` call has corresponding parameters. + **/ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -3434,16 +3636,16 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, MoonriverRuntimeProxyType, u16, Compact, Compact] >; /** - * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorised for through + * `add_proxy`. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3466,18 +3668,18 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Option, Call] >; /** - * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. * * Removes any corresponding announcement(s). * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3509,10 +3711,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `delegate`: The account that previously announced the call. * - `call_hash`: The hash of the call to be made. - */ + **/ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3523,15 +3724,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove a given announcement. * - * May be called by a proxy account to remove a call they previously announced and return the deposit. + * May be called by a proxy account to remove a call they previously announced and return + * the deposit. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3544,9 +3745,9 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_. * - * WARNING: This may be called on accounts created by `pure`, however if done, then the - * unreserved fees will be inaccessible. **All access to this account will be lost.** - */ + * WARNING: This may be called on accounts created by `pure`, however if done, then + * the unreserved fees will be inaccessible. **All access to this account will be lost.** + **/ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Unregister a proxy account for the sender. @@ -3554,10 +3755,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to remove as a proxy. * - `proxy_type`: The permissions currently enabled for the removed proxy account. - */ + **/ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3577,13 +3777,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonriverRuntimeProxyType, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ + /** + * Populates `RandomnessResults` due this epoch with BABE epoch randomness + **/ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; referenda: { @@ -3594,7 +3800,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Cancelled`. - */ + **/ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3606,7 +3812,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Killed` and `DepositSlashed`. - */ + **/ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3616,7 +3822,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: must be `Root`. * - `index`: the referendum to be advanced. - */ + **/ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3629,10 +3835,9 @@ declare module "@polkadot/api-base/types/submittable" { * * 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`. - */ + * - begin deciding another referendum (and leave `DecidingCount` alone); or + * - decrement `DecidingCount`. + **/ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] @@ -3640,12 +3845,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. + * - `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`. - */ + **/ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3654,10 +3860,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been + * refunded. * * Emits `DecisionDepositRefunded`. - */ + **/ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3666,10 +3873,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been + * refunded. * * Emits `SubmissionDepositRefunded`. - */ + **/ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3678,12 +3886,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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. + * - `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. - */ + **/ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -3694,13 +3901,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Propose a referendum on a privileged action. * - * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `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`. - */ + **/ submit: AugmentedSubmittable< ( proposalOrigin: @@ -3736,21 +3944,29 @@ declare module "@polkadot/api-base/types/submittable" { FrameSupportScheduleDispatchTime ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** A dispatch that will fill the block weight up to the given ratio. */ + /** + * A dispatch that will fill the block weight up to the given ratio. + **/ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** Cancel an anonymously scheduled task. */ + /** + * Cancel an anonymously scheduled task. + **/ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3758,24 +3974,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** Cancel a named scheduled task. */ + /** + * Cancel a named scheduled task. + **/ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Removes the retry configuration of a task. */ + /** + * Removes the retry configuration of a task. + **/ cancelRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] ) => SubmittableExtrinsic, [ITuple<[u32, u32]>] >; - /** Cancel the retry configuration of a named task. */ + /** + * Cancel the retry configuration of a named task. + **/ cancelRetryNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Anonymously schedule a task. */ + /** + * Anonymously schedule a task. + **/ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3790,7 +4014,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Anonymously schedule a task after a delay. */ + /** + * Anonymously schedule a task after a delay. + **/ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -3805,7 +4031,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Schedule a named task. */ + /** + * Schedule a named task. + **/ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3821,7 +4049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** Schedule a named task after a delay. */ + /** + * Schedule a named task after a delay. + **/ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3838,17 +4068,19 @@ declare module "@polkadot/api-base/types/submittable" { [U8aFixed, u32, Option>, u8, Call] >; /** - * Set a retry configuration for a task so that, in case its scheduled run fails, it will be - * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * Set a retry configuration for a task so that, in case its scheduled run fails, it will + * be retried after `period` blocks, for a total amount of `retries` retries or until it + * succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], @@ -3859,16 +4091,18 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set a retry configuration for a named task so that, in case its scheduled run fails, it - * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * will be retried after `period` blocks, for a total amount of `retries` retries or until + * it succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetryNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3877,43 +4111,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u8, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; system: { /** * 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. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * - * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the - * new `code` in the same block or attempt to schedule the upgrade. + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply + * the new `code` in the same block or attempt to schedule the upgrade. * * All origins are allowed. - */ + **/ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * WARNING: This authorizes an upgrade that will take place without any safety checks, for * example that the spec name remains the same and that the version number increases. Not * recommended for normal use. Use `authorize_upgrade` instead. * * This call requires Root origin. - */ + **/ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3921,9 +4159,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * 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. - */ + * **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. + **/ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -3931,7 +4169,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** Kill some items from storage. */ + /** + * Kill some items from storage. + **/ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3940,17 +4180,21 @@ declare module "@polkadot/api-base/types/submittable" { * Make some on-chain remark. * * Can be executed by every `origin`. - */ + **/ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Make some on-chain remark and emit event. */ + /** + * Make some on-chain remark and emit event. + **/ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the new runtime code. */ + /** + * Set the new runtime code. + **/ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3958,18 +4202,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the new runtime code without doing any checks of the given `code`. * - * Note that runtime upgrades will not run if this is called with a not-increasing spec version! - */ + * Note that runtime upgrades will not run if this is called with a not-increasing spec + * version! + **/ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the number of pages in the WebAssembly environment's heap. */ + /** + * Set the number of pages in the WebAssembly environment's heap. + **/ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** Set some items of storage. */ + /** + * Set some items of storage. + **/ setStorage: AugmentedSubmittable< ( items: @@ -3978,7 +4227,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; timestamp: { @@ -3993,21 +4244,23 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _None_. * - * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that - * changing the complexity of this call could result exhausting the resources in a block to - * execute any other calls. + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware + * that changing the complexity of this call could result exhausting the resources in a + * block to execute any other calls. * * ## 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 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)`. - */ + **/ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasury: { @@ -4020,19 +4273,18 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Details * - * The status check is a prerequisite for retrying a failed payout. If a spend has either - * succeeded or expired, it is removed from the storage by this function. In such instances, - * transaction fees are refunded. + * The status check is a prerequisite for retrying a failed payout. + * If a spend has either succeeded or expired, it is removed from the storage by this + * function. In such instances, transaction fees are refunded. * * ### Parameters - * * - `index`: The spend index. * * ## Events * - * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits - * [`Event::SpendProcessed`] if the spend payout has succeed. - */ + * Emits [`Event::PaymentFailed`] if the spend payout has failed. + * Emits [`Event::SpendProcessed`] if the spend payout has succeed. + **/ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4047,18 +4299,17 @@ declare module "@polkadot/api-base/types/submittable" { * ## Details * * Spends must be claimed within some temporal bounds. A spend may be claimed within one - * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the - * spend status must be updated with the `check_status` dispatchable before retrying with the - * current function. + * [`Config::PayoutPeriod`] from the `valid_from` block. + * In case of a payout failure, the spend status must be updated with the `check_status` + * dispatchable before retrying with the current function. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::Paid`] if successful. - */ + **/ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4075,19 +4326,17 @@ declare module "@polkadot/api-base/types/submittable" { * The original deposit will no longer be returned. * * ### Parameters - * * - `proposal_id`: The index of a proposal * * ### Complexity - * * - O(A) where `A` is the number of approvals * * ### Errors - * - * - [`Error::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. - */ + * - [`Error::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. + **/ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -4097,9 +4346,9 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Dispatch Origin * - * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of - * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion - * using the [`Config::BalanceConverter`]. + * Must be [`Config::SpendOrigin`] with the `Success` value being at least + * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted + * for assertion using the [`Config::BalanceConverter`]. * * ## Details * @@ -4108,18 +4357,18 @@ declare module "@polkadot/api-base/types/submittable" { * the [`Config::PayoutPeriod`]. * * ### Parameters - * * - `asset_kind`: An indicator of the specific asset class to be spent. * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The beneficiary of the spend. - * - `valid_from`: The block number from which the spend can be claimed. It can refer to the - * past if the resulting spend has not yet expired according to the - * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to + * the past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after + * approval. * * ## Events * * Emits [`Event::AssetSpendApproved`] if successful. - */ + **/ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -4137,18 +4386,17 @@ declare module "@polkadot/api-base/types/submittable" { * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. * * ### Details - * - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. * * ### Parameters - * * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The destination account for the transfer. * * ## Events * * Emits [`Event::SpendApproved`] if successful. - */ + **/ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -4168,18 +4416,19 @@ declare module "@polkadot/api-base/types/submittable" { * A spend void is only possible if the payout has not been attempted yet. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::AssetSpendVoided`] if successful. - */ + **/ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { @@ -4188,27 +4437,27 @@ declare module "@polkadot/api-base/types/submittable" { * * 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 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 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. + * 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. + * + `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) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -4223,18 +4472,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * 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. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -4245,12 +4493,11 @@ declare module "@polkadot/api-base/types/submittable" { * 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` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -4263,18 +4510,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `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: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -4288,27 +4534,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `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. + * - `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. + * 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. + * 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) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -4322,13 +4568,12 @@ declare module "@polkadot/api-base/types/submittable" { * * 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. - * + * 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) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -4337,25 +4582,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; utility: { /** * Send a call through an indexed pseudonym of the sender. * - * Filter from origin are passed along. The call will be dispatched with an origin which use - * the same filter as the origin of this call. + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. * - * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because - * you expect `proxy` to have been used prior in the call stack and you do not want the call - * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig - * pallet instead. + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. * * NOTE: Prior to version *12, this was called `as_limited_sub`. * * The dispatch origin for this call must be _Signed_. - */ + **/ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -4369,20 +4616,20 @@ declare module "@polkadot/api-base/types/submittable" { * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. * - * This will return `Ok` in all circumstances. To determine the success of the batch, an event - * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` - * event is deposited, along with the number of successful calls made and the error of the - * failed call. If all were successful, then the `BatchCompleted` event is deposited. - */ + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. + **/ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4390,21 +4637,20 @@ declare module "@polkadot/api-base/types/submittable" { [Vec] >; /** - * Send a batch of dispatch calls and atomically execute them. The whole transaction will - * rollback and fail if any of the calls failed. + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4417,9 +4663,8 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Root_. * * ## Complexity - * * - O(1). - */ + **/ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -4440,20 +4685,20 @@ declare module "@polkadot/api-base/types/submittable" { [MoonriverRuntimeOriginCaller, Call] >; /** - * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatch without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4463,11 +4708,11 @@ declare module "@polkadot/api-base/types/submittable" { /** * Dispatch a function call with a specified weight. * - * This function does not check the weight of the call, and instead allows the Root origin to - * specify the weight of the call. + * This function does not check the weight of the call, and instead allows the + * Root origin to specify the weight of the call. * * The dispatch origin for this call must be _Root_. - */ + **/ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -4475,7 +4720,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; whitelist: { @@ -4503,19 +4750,23 @@ declare module "@polkadot/api-base/types/submittable" { (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { /** * De-Register a derivative index. This prevents an account to use a derivative address * (represented by an index) from our of our sovereign accounts anymore - */ + **/ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** Manage HRMP operations */ + /** + * Manage HRMP operations + **/ hrmpManage: AugmentedSubmittable< ( action: @@ -4544,14 +4795,15 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * Register a derivative index for an account id. Dispatchable by + * DerivativeAddressRegistrationOrigin * - * We do not store the derivative address, but only the index. We do not need to store the - * derivative address to issue calls, only the index is enough + * We do not store the derivative address, but only the index. We do not need to store + * the derivative address to issue calls, only the index is enough * - * For now an index is registered for all possible destinations and not per-destination. We - * can change this in the future although it would just make things more complicated - */ + * For now an index is registered for all possible destinations and not per-destination. + * We can change this in the future although it would just make things more complicated + **/ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -4559,7 +4811,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** Remove the fee per second of an asset on its reserve chain */ + /** + * Remove the fee per second of an asset on its reserve chain + **/ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4572,7 +4826,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Remove the transact info of a location */ + /** + * Remove the transact info of a location + **/ removeTransactInfo: AugmentedSubmittable< ( location: @@ -4585,7 +4841,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Set the fee per second of an asset on its reserve chain */ + /** + * Set the fee per second of an asset on its reserve chain + **/ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4599,7 +4857,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** Change the transact info of a location */ + /** + * Change the transact info of a location + **/ setTransactInfo: AugmentedSubmittable< ( location: @@ -4635,12 +4895,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the inner call through a derivative account in a destination chain, using - * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * Transact the inner call through a derivative account in a destination chain, + * using 'fee_location' to pay for the fees. This fee_location is given as a multilocation * - * The caller needs to have the index registered in this pallet. The fee multiasset needs to - * be a reserve asset for the destination transactor::multilocation. - */ + * The caller needs to have the index registered in this pallet. The fee multiasset needs + * to be a reserve asset for the destination transactor::multilocation. + **/ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonriverRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -4668,12 +4928,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the a signed origin in this chain that should be converted to a - * transaction dispatch account in the destination chain by any method implemented in the - * destination chains runtime + * Transact the call through the a signed origin in this chain + * that should be converted to a transaction dispatch account in the destination chain + * by any method implemented in the destination chains runtime * * This time we are giving the currency as a currencyId instead of multilocation - */ + **/ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -4705,10 +4965,11 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * Transact the call through the sovereign account in a destination chain, + * 'fee_payer' pays for the fee * * SovereignAccountDispatcherOrigin callable only - */ + **/ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -4750,7 +5011,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmWeightTrader: { @@ -4786,7 +5049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; } // AugmentedSubmittables diff --git a/typescript-api/src/moonriver/interfaces/augment-types.ts b/typescript-api/src/moonriver/interfaces/augment-types.ts index 78a1a1dfc4..69009fb9c5 100644 --- a/typescript-api/src/moonriver/interfaces/augment-types.ts +++ b/typescript-api/src/moonriver/interfaces/augment-types.ts @@ -48,7 +48,7 @@ import type { u32, u64, u8, - usize, + usize } from "@polkadot/types-codec"; import type { TAssetConversion } from "@polkadot/types/interfaces/assetConversion"; import type { @@ -59,12 +59,12 @@ import type { AssetDetails, AssetMetadata, TAssetBalance, - TAssetDepositBalance, + TAssetDepositBalance } from "@polkadot/types/interfaces/assets"; import type { BlockAttestations, IncludedBlocks, - MoreAttestations, + MoreAttestations } from "@polkadot/types/interfaces/attestations"; import type { RawAuraPreDigest } from "@polkadot/types/interfaces/aura"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -97,7 +97,7 @@ import type { SlotNumber, VrfData, VrfOutput, - VrfProof, + VrfProof } from "@polkadot/types/interfaces/babe"; import type { AccountData, @@ -108,7 +108,7 @@ import type { ReserveData, ReserveIdentifier, VestingSchedule, - WithdrawReasons, + WithdrawReasons } from "@polkadot/types/interfaces/balances"; import type { BeefyAuthoritySet, @@ -124,7 +124,7 @@ import type { BeefyVoteMessage, MmrRootHash, ValidatorSet, - ValidatorSetId, + ValidatorSetId } from "@polkadot/types/interfaces/beefy"; import type { BenchmarkBatch, @@ -132,12 +132,12 @@ import type { BenchmarkList, BenchmarkMetadata, BenchmarkParameter, - BenchmarkResult, + BenchmarkResult } from "@polkadot/types/interfaces/benchmark"; import type { CheckInherentsResult, InherentData, - InherentIdentifier, + InherentIdentifier } from "@polkadot/types/interfaces/blockbuilder"; import type { BridgeMessageId, @@ -164,7 +164,7 @@ import type { Parameter, RelayerId, UnrewardedRelayer, - UnrewardedRelayersState, + UnrewardedRelayersState } from "@polkadot/types/interfaces/bridges"; import type { BlockHash } from "@polkadot/types/interfaces/chain"; import type { PrefixedStorageKey } from "@polkadot/types/interfaces/childstate"; @@ -174,7 +174,7 @@ import type { MemberCount, ProposalIndex, Votes, - VotesTo230, + VotesTo230 } from "@polkadot/types/interfaces/collective"; import type { AuthorityId, RawVRFOutput } from "@polkadot/types/interfaces/consensus"; import type { @@ -225,7 +225,7 @@ import type { SeedOf, StorageDeposit, TombstoneContractInfo, - TrieId, + TrieId } from "@polkadot/types/interfaces/contracts"; import type { ContractConstructorSpecLatest, @@ -283,13 +283,13 @@ import type { ContractProjectV0, ContractSelector, ContractStorageLayout, - ContractTypeSpec, + ContractTypeSpec } from "@polkadot/types/interfaces/contractsAbi"; import type { FundIndex, FundInfo, LastContribution, - TrieIndex, + TrieIndex } from "@polkadot/types/interfaces/crowdloan"; import type { CollationInfo, @@ -298,7 +298,7 @@ import type { MessageId, OverweightIndex, PageCounter, - PageIndexData, + PageIndexData } from "@polkadot/types/interfaces/cumulus"; import type { AccountVote, @@ -321,7 +321,7 @@ import type { Voting, VotingDelegating, VotingDirect, - VotingDirectVote, + VotingDirectVote } from "@polkadot/types/interfaces/democracy"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { @@ -329,7 +329,7 @@ import type { DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { ApprovalFlag, @@ -339,7 +339,7 @@ import type { Vote, VoteIndex, VoteThreshold, - VoterInfo, + VoterInfo } from "@polkadot/types/interfaces/elections"; import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; import type { @@ -389,7 +389,7 @@ import type { LegacyTransaction, TransactionV0, TransactionV1, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, @@ -404,7 +404,7 @@ import type { ExitFatal, ExitReason, ExitRevert, - ExitSucceed, + ExitSucceed } from "@polkadot/types/interfaces/evm"; import type { AnySignature, @@ -428,7 +428,7 @@ import type { MultiSignature, Signature, SignerPayload, - Sr25519Signature, + Sr25519Signature } from "@polkadot/types/interfaces/extrinsics"; import type { FungiblesAccessError } from "@polkadot/types/interfaces/fungibles"; import type { @@ -436,14 +436,14 @@ import type { Owner, PermissionLatest, PermissionVersions, - PermissionsV1, + PermissionsV1 } from "@polkadot/types/interfaces/genericAsset"; import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder"; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, - GiltBid, + GiltBid } from "@polkadot/types/interfaces/gilt"; import type { AuthorityIndex, @@ -477,7 +477,7 @@ import type { RoundState, SetId, StoredPendingChange, - StoredState, + StoredState } from "@polkadot/types/interfaces/grandpa"; import type { IdentityFields, @@ -489,7 +489,7 @@ import type { RegistrarInfo, Registration, RegistrationJudgement, - RegistrationTo198, + RegistrationTo198 } from "@polkadot/types/interfaces/identity"; import type { AuthIndex, @@ -498,7 +498,7 @@ import type { HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, - OpaquePeerId, + OpaquePeerId } from "@polkadot/types/interfaces/imOnline"; import type { CallIndex, LotteryConfig } from "@polkadot/types/interfaces/lottery"; import type { @@ -612,13 +612,13 @@ import type { StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, - StorageMetadataV9, + StorageMetadataV9 } from "@polkadot/types/interfaces/metadata"; import type { Mixnode, MixnodesErr, SessionPhase, - SessionStatus, + SessionStatus } from "@polkadot/types/interfaces/mixnet"; import type { MmrBatchProof, @@ -629,7 +629,7 @@ import type { MmrLeafIndex, MmrLeafProof, MmrNodeIndex, - MmrProof, + MmrProof } from "@polkadot/types/interfaces/mmr"; import type { NftCollectionId, NftItemId } from "@polkadot/types/interfaces/nfts"; import type { NpApiError, NpPoolId } from "@polkadot/types/interfaces/nompools"; @@ -641,7 +641,7 @@ import type { Offender, OpaqueTimeSlot, ReportIdOf, - Reporter, + Reporter } from "@polkadot/types/interfaces/offences"; import type { AbridgedCandidateReceipt, @@ -782,20 +782,20 @@ import type { WinnersDataTuple10, WinningData, WinningData10, - WinningDataEntry, + WinningDataEntry } from "@polkadot/types/interfaces/parachains"; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, - RuntimeDispatchInfoV2, + RuntimeDispatchInfoV2 } from "@polkadot/types/interfaces/payment"; import type { Approvals } from "@polkadot/types/interfaces/poll"; import type { ProxyAnnouncement, ProxyDefinition, - ProxyType, + ProxyType } from "@polkadot/types/interfaces/proxy"; import type { AccountStatus, AccountValidity } from "@polkadot/types/interfaces/purchase"; import type { ActiveRecovery, RecoveryConfig } from "@polkadot/types/interfaces/recovery"; @@ -901,7 +901,7 @@ import type { WeightMultiplier, WeightV0, WeightV1, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { Si0Field, @@ -949,7 +949,7 @@ import type { SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, - SiVariant, + SiVariant } from "@polkadot/types/interfaces/scaleInfo"; import type { Period, @@ -958,7 +958,7 @@ import type { SchedulePriority, Scheduled, ScheduledTo254, - TaskAddress, + TaskAddress } from "@polkadot/types/interfaces/scheduler"; import type { BeefyKey, @@ -982,7 +982,7 @@ import type { SessionKeys8B, SessionKeys9, SessionKeys9B, - ValidatorCount, + ValidatorCount } from "@polkadot/types/interfaces/session"; import type { Bid, @@ -990,7 +990,7 @@ import type { SocietyJudgement, SocietyVote, StrikeCount, - VouchingStatus, + VouchingStatus } from "@polkadot/types/interfaces/society"; import type { ActiveEraInfo, @@ -1060,7 +1060,7 @@ import type { ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, - Voter, + Voter } from "@polkadot/types/interfaces/staking"; import type { ApiId, @@ -1079,12 +1079,12 @@ import type { SpecVersion, StorageChangeSet, TraceBlockResponse, - TraceError, + TraceError } from "@polkadot/types/interfaces/state"; import type { StatementStoreInvalidStatement, StatementStoreStatementSource, - StatementStoreValidStatement, + StatementStoreValidStatement } from "@polkadot/types/interfaces/statement"; import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; import type { @@ -1151,7 +1151,7 @@ import type { TransactionValidityError, TransactionalError, UnknownTransaction, - WeightPerClass, + WeightPerClass } from "@polkadot/types/interfaces/system"; import type { Bounty, @@ -1164,13 +1164,13 @@ import type { OpenTipFinderTo225, OpenTipTip, OpenTipTo225, - TreasuryProposal, + TreasuryProposal } from "@polkadot/types/interfaces/treasury"; import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; import type { TransactionSource, TransactionValidity, - ValidTransaction, + ValidTransaction } from "@polkadot/types/interfaces/txqueue"; import type { ClassDetails, @@ -1181,7 +1181,7 @@ import type { DestroyWitness, InstanceDetails, InstanceId, - InstanceMetadata, + InstanceMetadata } from "@polkadot/types/interfaces/uniques"; import type { Multisig, Timepoint } from "@polkadot/types/interfaces/utility"; import type { VestingInfo } from "@polkadot/types/interfaces/vesting"; @@ -1319,7 +1319,7 @@ import type { XcmV3, XcmV4, XcmVersion, - XcmpMessageFormat, + XcmpMessageFormat } from "@polkadot/types/interfaces/xcm"; import type { XcmPaymentApiError } from "@polkadot/types/interfaces/xcmPaymentApi"; import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; diff --git a/typescript-api/src/moonriver/interfaces/lookup.ts b/typescript-api/src/moonriver/interfaces/lookup.ts index 59fd041721..50be4c7a41 100644 --- a/typescript-api/src/moonriver/interfaces/lookup.ts +++ b/typescript-api/src/moonriver/interfaces/lookup.ts @@ -4,37 +4,49 @@ /* eslint-disable sort-keys */ export default { - /** Lookup3: frame_system::AccountInfo> */ + /** + * Lookup3: frame_system::AccountInfo> + **/ FrameSystemAccountInfo: { nonce: "u32", consumers: "u32", providers: "u32", sufficients: "u32", - data: "PalletBalancesAccountData", + data: "PalletBalancesAccountData" }, - /** Lookup5: pallet_balances::types::AccountData */ + /** + * Lookup5: pallet_balances::types::AccountData + **/ PalletBalancesAccountData: { free: "u128", reserved: "u128", frozen: "u128", - flags: "u128", + flags: "u128" }, - /** Lookup9: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup9: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", - mandatory: "SpWeightsWeightV2Weight", + mandatory: "SpWeightsWeightV2Weight" }, - /** Lookup10: sp_weights::weight_v2::Weight */ + /** + * Lookup10: sp_weights::weight_v2::Weight + **/ SpWeightsWeightV2Weight: { refTime: "Compact", - proofSize: "Compact", + proofSize: "Compact" }, - /** Lookup16: sp_runtime::generic::digest::Digest */ + /** + * Lookup16: sp_runtime::generic::digest::Digest + **/ SpRuntimeDigest: { - logs: "Vec", + logs: "Vec" }, - /** Lookup18: sp_runtime::generic::digest::DigestItem */ + /** + * Lookup18: sp_runtime::generic::digest::DigestItem + **/ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -45,60 +57,72 @@ export default { Seal: "([u8;4],Bytes)", PreRuntime: "([u8;4],Bytes)", __Unused7: "Null", - RuntimeEnvironmentUpdated: "Null", - }, + RuntimeEnvironmentUpdated: "Null" + } }, - /** Lookup21: frame_system::EventRecord */ + /** + * Lookup21: frame_system::EventRecord + **/ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", - topics: "Vec", + topics: "Vec" }, - /** Lookup23: frame_system::pallet::Event */ + /** + * Lookup23: frame_system::pallet::Event + **/ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, ExtrinsicFailed: { dispatchError: "SpRuntimeDispatchError", - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, CodeUpdated: "Null", NewAccount: { - account: "AccountId20", + account: "AccountId20" }, KilledAccount: { - account: "AccountId20", + account: "AccountId20" }, Remarked: { _alias: { - hash_: "hash", + hash_: "hash" }, sender: "AccountId20", - hash_: "H256", + hash_: "H256" }, UpgradeAuthorized: { codeHash: "H256", - checkVersion: "bool", - }, - }, + checkVersion: "bool" + } + } }, - /** Lookup24: frame_support::dispatch::DispatchInfo */ + /** + * Lookup24: frame_support::dispatch::DispatchInfo + **/ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup25: frame_support::dispatch::DispatchClass */ + /** + * Lookup25: frame_support::dispatch::DispatchClass + **/ FrameSupportDispatchDispatchClass: { - _enum: ["Normal", "Operational", "Mandatory"], + _enum: ["Normal", "Operational", "Mandatory"] }, - /** Lookup26: frame_support::dispatch::Pays */ + /** + * Lookup26: frame_support::dispatch::Pays + **/ FrameSupportDispatchPays: { - _enum: ["Yes", "No"], + _enum: ["Yes", "No"] }, - /** Lookup27: sp_runtime::DispatchError */ + /** + * Lookup27: sp_runtime::DispatchError + **/ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -114,15 +138,19 @@ export default { Exhausted: "Null", Corruption: "Null", Unavailable: "Null", - RootNotAllowed: "Null", - }, + RootNotAllowed: "Null" + } }, - /** Lookup28: sp_runtime::ModuleError */ + /** + * Lookup28: sp_runtime::ModuleError + **/ SpRuntimeModuleError: { index: "u8", - error: "[u8;4]", + error: "[u8;4]" }, - /** Lookup29: sp_runtime::TokenError */ + /** + * Lookup29: sp_runtime::TokenError + **/ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -134,288 +162,304 @@ export default { "Unsupported", "CannotCreateHold", "NotExpendable", - "Blocked", - ], + "Blocked" + ] }, - /** Lookup30: sp_arithmetic::ArithmeticError */ + /** + * Lookup30: sp_arithmetic::ArithmeticError + **/ SpArithmeticArithmeticError: { - _enum: ["Underflow", "Overflow", "DivisionByZero"], + _enum: ["Underflow", "Overflow", "DivisionByZero"] }, - /** Lookup31: sp_runtime::TransactionalError */ + /** + * Lookup31: sp_runtime::TransactionalError + **/ SpRuntimeTransactionalError: { - _enum: ["LimitReached", "NoLayer"], + _enum: ["LimitReached", "NoLayer"] }, - /** Lookup32: cumulus_pallet_parachain_system::pallet::Event */ + /** + * Lookup32: cumulus_pallet_parachain_system::pallet::Event + **/ CumulusPalletParachainSystemEvent: { _enum: { ValidationFunctionStored: "Null", ValidationFunctionApplied: { - relayChainBlockNum: "u32", + relayChainBlockNum: "u32" }, ValidationFunctionDiscarded: "Null", DownwardMessagesReceived: { - count: "u32", + count: "u32" }, DownwardMessagesProcessed: { weightUsed: "SpWeightsWeightV2Weight", - dmqHead: "H256", + dmqHead: "H256" }, UpwardMessageSent: { - messageHash: "Option<[u8;32]>", - }, - }, + messageHash: "Option<[u8;32]>" + } + } }, - /** Lookup34: pallet_root_testing::pallet::Event */ + /** + * Lookup34: pallet_root_testing::pallet::Event + **/ PalletRootTestingEvent: { - _enum: ["DefensiveTestCall"], + _enum: ["DefensiveTestCall"] }, - /** Lookup35: pallet_balances::pallet::Event */ + /** + * Lookup35: pallet_balances::pallet::Event + **/ PalletBalancesEvent: { _enum: { Endowed: { account: "AccountId20", - freeBalance: "u128", + freeBalance: "u128" }, DustLost: { account: "AccountId20", - amount: "u128", + amount: "u128" }, Transfer: { from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, BalanceSet: { who: "AccountId20", - free: "u128", + free: "u128" }, Reserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unreserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, ReserveRepatriated: { from: "AccountId20", to: "AccountId20", amount: "u128", - destinationStatus: "FrameSupportTokensMiscBalanceStatus", + destinationStatus: "FrameSupportTokensMiscBalanceStatus" }, Deposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdraw: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Slashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Minted: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Suspended: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Restored: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Upgraded: { - who: "AccountId20", + who: "AccountId20" }, Issued: { - amount: "u128", + amount: "u128" }, Rescinded: { - amount: "u128", + amount: "u128" }, Locked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unlocked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Frozen: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Thawed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, TotalIssuanceForced: { _alias: { - new_: "new", + new_: "new" }, old: "u128", - new_: "u128", - }, - }, + new_: "u128" + } + } }, - /** Lookup36: frame_support::traits::tokens::misc::BalanceStatus */ + /** + * Lookup36: frame_support::traits::tokens::misc::BalanceStatus + **/ FrameSupportTokensMiscBalanceStatus: { - _enum: ["Free", "Reserved"], + _enum: ["Free", "Reserved"] }, - /** Lookup37: pallet_transaction_payment::pallet::Event */ + /** + * Lookup37: pallet_transaction_payment::pallet::Event + **/ PalletTransactionPaymentEvent: { _enum: { TransactionFeePaid: { who: "AccountId20", actualFee: "u128", - tip: "u128", - }, - }, + tip: "u128" + } + } }, - /** Lookup38: pallet_parachain_staking::pallet::Event */ + /** + * Lookup38: pallet_parachain_staking::pallet::Event + **/ PalletParachainStakingEvent: { _enum: { NewRound: { startingBlock: "u32", round: "u32", selectedCollatorsNumber: "u32", - totalBalance: "u128", + totalBalance: "u128" }, JoinedCollatorCandidates: { account: "AccountId20", amountLocked: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, CollatorChosen: { round: "u32", collatorAccount: "AccountId20", - totalExposedAmount: "u128", + totalExposedAmount: "u128" }, CandidateBondLessRequested: { candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateBondedMore: { candidate: "AccountId20", amount: "u128", - newTotalBond: "u128", + newTotalBond: "u128" }, CandidateBondedLess: { candidate: "AccountId20", amount: "u128", - newBond: "u128", + newBond: "u128" }, CandidateWentOffline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateBackOnline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateScheduledExit: { exitAllowedRound: "u32", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, CancelledCandidateExit: { - candidate: "AccountId20", + candidate: "AccountId20" }, CancelledCandidateBondLess: { candidate: "AccountId20", amount: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateLeft: { exCandidate: "AccountId20", unlockedAmount: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, DelegationDecreaseScheduled: { delegator: "AccountId20", candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, DelegationIncreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegationDecreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegatorExitScheduled: { round: "u32", delegator: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegationRevocationScheduled: { round: "u32", delegator: "AccountId20", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegatorLeft: { delegator: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationRevoked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationKicked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegatorExitCancelled: { - delegator: "AccountId20", + delegator: "AccountId20" }, CancelledDelegationRequest: { delegator: "AccountId20", cancelledRequest: "PalletParachainStakingDelegationRequestsCancelledScheduledRequest", - collator: "AccountId20", + collator: "AccountId20" }, Delegation: { delegator: "AccountId20", lockedAmount: "u128", candidate: "AccountId20", delegatorPosition: "PalletParachainStakingDelegatorAdded", - autoCompound: "Percent", + autoCompound: "Percent" }, DelegatorLeftCandidate: { delegator: "AccountId20", candidate: "AccountId20", unstakedAmount: "u128", - totalCandidateStaked: "u128", + totalCandidateStaked: "u128" }, Rewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, InflationDistributed: { index: "u32", account: "AccountId20", - value: "u128", + value: "u128" }, InflationDistributionConfigUpdated: { _alias: { - new_: "new", + new_: "new" }, old: "PalletParachainStakingInflationDistributionConfig", - new_: "PalletParachainStakingInflationDistributionConfig", + new_: "PalletParachainStakingInflationDistributionConfig" }, InflationSet: { annualMin: "Perbill", @@ -423,30 +467,30 @@ export default { annualMax: "Perbill", roundMin: "Perbill", roundIdeal: "Perbill", - roundMax: "Perbill", + roundMax: "Perbill" }, StakeExpectationsSet: { expectMin: "u128", expectIdeal: "u128", - expectMax: "u128", + expectMax: "u128" }, TotalSelectedSet: { _alias: { - new_: "new", + new_: "new" }, old: "u32", - new_: "u32", + new_: "u32" }, CollatorCommissionSet: { _alias: { - new_: "new", + new_: "new" }, old: "Perbill", - new_: "Perbill", + new_: "Perbill" }, BlocksPerRoundSet: { _alias: { - new_: "new", + new_: "new" }, currentRound: "u32", firstBlock: "u32", @@ -454,169 +498,189 @@ export default { new_: "u32", newPerRoundInflationMin: "Perbill", newPerRoundInflationIdeal: "Perbill", - newPerRoundInflationMax: "Perbill", + newPerRoundInflationMax: "Perbill" }, AutoCompoundSet: { candidate: "AccountId20", delegator: "AccountId20", - value: "Percent", + value: "Percent" }, Compounded: { candidate: "AccountId20", delegator: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup39: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest */ + /** + * Lookup39: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest + **/ PalletParachainStakingDelegationRequestsCancelledScheduledRequest: { whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, - /** Lookup40: pallet_parachain_staking::delegation_requests::DelegationAction */ + /** + * Lookup40: pallet_parachain_staking::delegation_requests::DelegationAction + **/ PalletParachainStakingDelegationRequestsDelegationAction: { _enum: { Revoke: "u128", - Decrease: "u128", - }, + Decrease: "u128" + } }, - /** Lookup41: pallet_parachain_staking::types::DelegatorAdded */ + /** + * Lookup41: pallet_parachain_staking::types::DelegatorAdded + **/ PalletParachainStakingDelegatorAdded: { _enum: { AddedToTop: { - newTotal: "u128", + newTotal: "u128" }, - AddedToBottom: "Null", - }, + AddedToBottom: "Null" + } }, /** - * Lookup43: - * pallet_parachain_staking::types::InflationDistributionConfig[account::AccountId20](account::AccountId20) - */ + * Lookup43: pallet_parachain_staking::types::InflationDistributionConfig + **/ PalletParachainStakingInflationDistributionConfig: "[Lookup45;2]", /** - * Lookup45: - * pallet_parachain_staking::types::InflationDistributionAccount[account::AccountId20](account::AccountId20) - */ + * Lookup45: pallet_parachain_staking::types::InflationDistributionAccount + **/ PalletParachainStakingInflationDistributionAccount: { account: "AccountId20", - percent: "Percent", + percent: "Percent" }, - /** Lookup47: pallet_author_slot_filter::pallet::Event */ + /** + * Lookup47: pallet_author_slot_filter::pallet::Event + **/ PalletAuthorSlotFilterEvent: { _enum: { - EligibleUpdated: "u32", - }, + EligibleUpdated: "u32" + } }, - /** Lookup49: pallet_author_mapping::pallet::Event */ + /** + * Lookup49: pallet_author_mapping::pallet::Event + **/ PalletAuthorMappingEvent: { _enum: { KeysRegistered: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRemoved: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRotated: { newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic", - }, - }, + newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic" + } + } }, - /** Lookup50: nimbus_primitives::nimbus_crypto::Public */ + /** + * Lookup50: nimbus_primitives::nimbus_crypto::Public + **/ NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", - /** Lookup51: session_keys_primitives::vrf::vrf_crypto::Public */ + /** + * Lookup51: session_keys_primitives::vrf::vrf_crypto::Public + **/ SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", - /** Lookup52: pallet_moonbeam_orbiters::pallet::Event */ + /** + * Lookup52: pallet_moonbeam_orbiters::pallet::Event + **/ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterLeaveCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterRewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, OrbiterRotation: { collator: "AccountId20", oldOrbiter: "Option", - newOrbiter: "Option", + newOrbiter: "Option" }, OrbiterRegistered: { account: "AccountId20", - deposit: "u128", + deposit: "u128" }, OrbiterUnregistered: { - account: "AccountId20", - }, - }, + account: "AccountId20" + } + } }, - /** Lookup54: pallet_utility::pallet::Event */ + /** + * Lookup54: pallet_utility::pallet::Event + **/ PalletUtilityEvent: { _enum: { BatchInterrupted: { index: "u32", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, BatchCompleted: "Null", BatchCompletedWithErrors: "Null", ItemCompleted: "Null", ItemFailed: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, DispatchedAs: { - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup57: pallet_proxy::pallet::Event */ + /** + * Lookup57: pallet_proxy::pallet::Event + **/ PalletProxyEvent: { _enum: { ProxyExecuted: { - result: "Result", + result: "Result" }, PureCreated: { pure: "AccountId20", who: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - disambiguationIndex: "u16", + disambiguationIndex: "u16" }, Announced: { real: "AccountId20", proxy: "AccountId20", - callHash: "H256", + callHash: "H256" }, ProxyAdded: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", + delay: "u32" }, ProxyRemoved: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", - }, - }, + delay: "u32" + } + } }, - /** Lookup58: moonriver_runtime::ProxyType */ + /** + * Lookup58: moonriver_runtime::ProxyType + **/ MoonriverRuntimeProxyType: { _enum: [ "Any", @@ -626,225 +690,259 @@ export default { "CancelProxy", "Balances", "AuthorMapping", - "IdentityJudgement", - ], + "IdentityJudgement" + ] }, - /** Lookup60: pallet_maintenance_mode::pallet::Event */ + /** + * Lookup60: pallet_maintenance_mode::pallet::Event + **/ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", NormalOperationResumed: "Null", FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup61: pallet_identity::pallet::Event */ + /** + * Lookup61: pallet_identity::pallet::Event + **/ PalletIdentityEvent: { _enum: { IdentitySet: { - who: "AccountId20", + who: "AccountId20" }, IdentityCleared: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, IdentityKilled: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, JudgementRequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementUnrequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementGiven: { target: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, RegistrarAdded: { - registrarIndex: "u32", + registrarIndex: "u32" }, SubIdentityAdded: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRemoved: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRevoked: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, AuthorityAdded: { - authority: "AccountId20", + authority: "AccountId20" }, AuthorityRemoved: { - authority: "AccountId20", + authority: "AccountId20" }, UsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, UsernameQueued: { who: "AccountId20", username: "Bytes", - expiration: "u32", + expiration: "u32" }, PreapprovalExpired: { - whose: "AccountId20", + whose: "AccountId20" }, PrimaryUsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, DanglingUsernameRemoved: { who: "AccountId20", - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup63: pallet_migrations::pallet::Event */ + /** + * Lookup63: pallet_migrations::pallet::Event + **/ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", RuntimeUpgradeCompleted: { - weight: "SpWeightsWeightV2Weight", + weight: "SpWeightsWeightV2Weight" }, MigrationStarted: { - migrationName: "Bytes", + migrationName: "Bytes" }, MigrationCompleted: { migrationName: "Bytes", - consumedWeight: "SpWeightsWeightV2Weight", + consumedWeight: "SpWeightsWeightV2Weight" }, FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup64: pallet_multisig::pallet::Event */ + /** + * Lookup64: pallet_multisig::pallet::Event + **/ PalletMultisigEvent: { _enum: { NewMultisig: { approving: "AccountId20", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigApproval: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigExecuted: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", callHash: "[u8;32]", - result: "Result", + result: "Result" }, MultisigCancelled: { cancelling: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup65: pallet_multisig::Timepoint */ + /** + * Lookup65: pallet_multisig::Timepoint + **/ PalletMultisigTimepoint: { height: "u32", - index: "u32", + index: "u32" }, - /** Lookup66: pallet_parameters::pallet::Event */ + /** + * Lookup66: pallet_parameters::pallet::Event + **/ PalletParametersEvent: { _enum: { Updated: { key: "MoonriverRuntimeRuntimeParamsRuntimeParametersKey", oldValue: "Option", - newValue: "Option", - }, - }, + newValue: "Option" + } + } }, - /** Lookup67: moonriver_runtime::runtime_params::RuntimeParametersKey */ + /** + * Lookup67: moonriver_runtime::runtime_params::RuntimeParametersKey + **/ MoonriverRuntimeRuntimeParamsRuntimeParametersKey: { _enum: { RuntimeConfig: "MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey", - PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey", - }, + PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey" + } }, - /** Lookup68: moonriver_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey */ + /** + * Lookup68: moonriver_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey + **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey: { - _enum: ["FeesTreasuryProportion"], + _enum: ["FeesTreasuryProportion"] }, - /** Lookup69: moonriver_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion */ + /** + * Lookup69: moonriver_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion + **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion: "Null", - /** Lookup70: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey */ + /** + * Lookup70: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey + **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey: { - _enum: ["Deposit"], + _enum: ["Deposit"] }, - /** Lookup71: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit */ + /** + * Lookup71: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit + **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit: "Null", - /** Lookup73: moonriver_runtime::runtime_params::RuntimeParametersValue */ + /** + * Lookup73: moonriver_runtime::runtime_params::RuntimeParametersValue + **/ MoonriverRuntimeRuntimeParamsRuntimeParametersValue: { _enum: { RuntimeConfig: "MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue", - PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue", - }, + PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue" + } }, - /** Lookup74: moonriver_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue */ + /** + * Lookup74: moonriver_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue + **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue: { _enum: { - FeesTreasuryProportion: "Perbill", - }, + FeesTreasuryProportion: "Perbill" + } }, - /** Lookup75: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue */ + /** + * Lookup75: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue + **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue: { _enum: { - Deposit: "u128", - }, + Deposit: "u128" + } }, - /** Lookup77: pallet_evm::pallet::Event */ + /** + * Lookup77: pallet_evm::pallet::Event + **/ PalletEvmEvent: { _enum: { Log: { - log: "EthereumLog", + log: "EthereumLog" }, Created: { - address: "H160", + address: "H160" }, CreatedFailed: { - address: "H160", + address: "H160" }, Executed: { - address: "H160", + address: "H160" }, ExecutedFailed: { - address: "H160", - }, - }, + address: "H160" + } + } }, - /** Lookup78: ethereum::log::Log */ + /** + * Lookup78: ethereum::log::Log + **/ EthereumLog: { address: "H160", topics: "Vec", - data: "Bytes", + data: "Bytes" }, - /** Lookup81: pallet_ethereum::pallet::Event */ + /** + * Lookup81: pallet_ethereum::pallet::Event + **/ PalletEthereumEvent: { _enum: { Executed: { @@ -852,24 +950,30 @@ export default { to: "H160", transactionHash: "H256", exitReason: "EvmCoreErrorExitReason", - extraData: "Bytes", - }, - }, + extraData: "Bytes" + } + } }, - /** Lookup82: evm_core::error::ExitReason */ + /** + * Lookup82: evm_core::error::ExitReason + **/ EvmCoreErrorExitReason: { _enum: { Succeed: "EvmCoreErrorExitSucceed", Error: "EvmCoreErrorExitError", Revert: "EvmCoreErrorExitRevert", - Fatal: "EvmCoreErrorExitFatal", - }, + Fatal: "EvmCoreErrorExitFatal" + } }, - /** Lookup83: evm_core::error::ExitSucceed */ + /** + * Lookup83: evm_core::error::ExitSucceed + **/ EvmCoreErrorExitSucceed: { - _enum: ["Stopped", "Returned", "Suicided"], + _enum: ["Stopped", "Returned", "Suicided"] }, - /** Lookup84: evm_core::error::ExitError */ + /** + * Lookup84: evm_core::error::ExitError + **/ EvmCoreErrorExitError: { _enum: { StackUnderflow: "Null", @@ -887,427 +991,462 @@ export default { CreateEmpty: "Null", Other: "Text", MaxNonce: "Null", - InvalidCode: "u8", - }, + InvalidCode: "u8" + } }, - /** Lookup88: evm_core::error::ExitRevert */ + /** + * Lookup88: evm_core::error::ExitRevert + **/ EvmCoreErrorExitRevert: { - _enum: ["Reverted"], + _enum: ["Reverted"] }, - /** Lookup89: evm_core::error::ExitFatal */ + /** + * Lookup89: evm_core::error::ExitFatal + **/ EvmCoreErrorExitFatal: { _enum: { NotSupported: "Null", UnhandledInterrupt: "Null", CallErrorAsFatal: "EvmCoreErrorExitError", - Other: "Text", - }, + Other: "Text" + } }, - /** Lookup90: pallet_scheduler::pallet::Event */ + /** + * Lookup90: pallet_scheduler::pallet::Event + **/ PalletSchedulerEvent: { _enum: { Scheduled: { when: "u32", - index: "u32", + index: "u32" }, Canceled: { when: "u32", - index: "u32", + index: "u32" }, Dispatched: { task: "(u32,u32)", id: "Option<[u8;32]>", - result: "Result", + result: "Result" }, RetrySet: { task: "(u32,u32)", id: "Option<[u8;32]>", period: "u32", - retries: "u8", + retries: "u8" }, RetryCancelled: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, CallUnavailable: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PeriodicFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, RetryFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PermanentlyOverweight: { task: "(u32,u32)", - id: "Option<[u8;32]>", - }, - }, + id: "Option<[u8;32]>" + } + } }, - /** Lookup92: pallet_preimage::pallet::Event */ + /** + * Lookup92: pallet_preimage::pallet::Event + **/ PalletPreimageEvent: { _enum: { Noted: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Requested: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Cleared: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, - /** Lookup93: pallet_conviction_voting::pallet::Event */ + /** + * Lookup93: pallet_conviction_voting::pallet::Event + **/ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20", - }, + Undelegated: "AccountId20" + } }, - /** Lookup94: pallet_referenda::pallet::Event */ + /** + * Lookup94: pallet_referenda::pallet::Event + **/ PalletReferendaEvent: { _enum: { Submitted: { index: "u32", track: "u16", - proposal: "FrameSupportPreimagesBounded", + proposal: "FrameSupportPreimagesBounded" }, DecisionDepositPlaced: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DepositSlashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionStarted: { index: "u32", track: "u16", proposal: "FrameSupportPreimagesBounded", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, ConfirmStarted: { - index: "u32", + index: "u32" }, ConfirmAborted: { - index: "u32", + index: "u32" }, Confirmed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Approved: { - index: "u32", + index: "u32" }, Rejected: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, TimedOut: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Cancelled: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Killed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, SubmissionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, MetadataSet: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", + hash_: "H256" }, MetadataCleared: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, /** - * Lookup95: frame_support::traits::preimages::Bounded - */ + * Lookup95: frame_support::traits::preimages::Bounded + **/ FrameSupportPreimagesBounded: { _enum: { Legacy: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Inline: "Bytes", Lookup: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", - len: "u32", - }, - }, + len: "u32" + } + } }, - /** Lookup97: frame_system::pallet::Call */ + /** + * Lookup97: frame_system::pallet::Call + **/ FrameSystemCall: { _enum: { remark: { - remark: "Bytes", + remark: "Bytes" }, set_heap_pages: { - pages: "u64", + pages: "u64" }, set_code: { - code: "Bytes", + code: "Bytes" }, set_code_without_checks: { - code: "Bytes", + code: "Bytes" }, set_storage: { - items: "Vec<(Bytes,Bytes)>", + items: "Vec<(Bytes,Bytes)>" }, kill_storage: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Vec", + keys_: "Vec" }, kill_prefix: { prefix: "Bytes", - subkeys: "u32", + subkeys: "u32" }, remark_with_event: { - remark: "Bytes", + remark: "Bytes" }, __Unused8: "Null", authorize_upgrade: { - codeHash: "H256", + codeHash: "H256" }, authorize_upgrade_without_checks: { - codeHash: "H256", + codeHash: "H256" }, apply_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup101: cumulus_pallet_parachain_system::pallet::Call */ + /** + * Lookup101: cumulus_pallet_parachain_system::pallet::Call + **/ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { - data: "CumulusPrimitivesParachainInherentParachainInherentData", + data: "CumulusPrimitivesParachainInherentParachainInherentData" }, sudo_send_upward_message: { - message: "Bytes", + message: "Bytes" }, authorize_upgrade: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, enact_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** + * Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData + **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", - horizontalMessages: "BTreeMap>", + horizontalMessages: "BTreeMap>" }, - /** Lookup103: polkadot_primitives::v7::PersistedValidationData */ + /** + * Lookup103: polkadot_primitives::v7::PersistedValidationData + **/ PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", - maxPovSize: "u32", + maxPovSize: "u32" }, - /** Lookup105: sp_trie::storage_proof::StorageProof */ + /** + * Lookup105: sp_trie::storage_proof::StorageProof + **/ SpTrieStorageProof: { - trieNodes: "BTreeSet", + trieNodes: "BTreeSet" }, - /** Lookup108: polkadot_core_primitives::InboundDownwardMessage */ + /** + * Lookup108: polkadot_core_primitives::InboundDownwardMessage + **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", - msg: "Bytes", + msg: "Bytes" }, - /** Lookup112: polkadot_core_primitives::InboundHrmpMessage */ + /** + * Lookup112: polkadot_core_primitives::InboundHrmpMessage + **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup115: pallet_timestamp::pallet::Call */ + /** + * Lookup115: pallet_timestamp::pallet::Call + **/ PalletTimestampCall: { _enum: { set: { - now: "Compact", - }, - }, + now: "Compact" + } + } }, - /** Lookup116: pallet_root_testing::pallet::Call */ + /** + * Lookup116: pallet_root_testing::pallet::Call + **/ PalletRootTestingCall: { _enum: { fill_block: { - ratio: "Perbill", + ratio: "Perbill" }, - trigger_defensive: "Null", - }, + trigger_defensive: "Null" + } }, - /** Lookup117: pallet_balances::pallet::Call */ + /** + * Lookup117: pallet_balances::pallet::Call + **/ PalletBalancesCall: { _enum: { transfer_allow_death: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, __Unused1: "Null", force_transfer: { source: "AccountId20", dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_keep_alive: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_all: { dest: "AccountId20", - keepAlive: "bool", + keepAlive: "bool" }, force_unreserve: { who: "AccountId20", - amount: "u128", + amount: "u128" }, upgrade_accounts: { - who: "Vec", + who: "Vec" }, __Unused7: "Null", force_set_balance: { who: "AccountId20", - newFree: "Compact", + newFree: "Compact" }, force_adjust_total_issuance: { direction: "PalletBalancesAdjustmentDirection", - delta: "Compact", + delta: "Compact" }, burn: { value: "Compact", - keepAlive: "bool", - }, - }, + keepAlive: "bool" + } + } }, - /** Lookup120: pallet_balances::types::AdjustmentDirection */ + /** + * Lookup120: pallet_balances::types::AdjustmentDirection + **/ PalletBalancesAdjustmentDirection: { - _enum: ["Increase", "Decrease"], + _enum: ["Increase", "Decrease"] }, - /** Lookup121: pallet_parachain_staking::pallet::Call */ + /** + * Lookup121: pallet_parachain_staking::pallet::Call + **/ PalletParachainStakingCall: { _enum: { set_staking_expectations: { expectations: { min: "u128", ideal: "u128", - max: "u128", - }, + max: "u128" + } }, set_inflation: { schedule: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, set_parachain_bond_account: { _alias: { - new_: "new", + new_: "new" }, - new_: "AccountId20", + new_: "AccountId20" }, set_parachain_bond_reserve_percent: { _alias: { - new_: "new", + new_: "new" }, - new_: "Percent", + new_: "Percent" }, set_total_selected: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, set_collator_commission: { _alias: { - new_: "new", + new_: "new" }, - new_: "Perbill", + new_: "Perbill" }, set_blocks_per_round: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, join_candidates: { bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, schedule_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, execute_leave_candidates: { candidate: "AccountId20", - candidateDelegationCount: "u32", + candidateDelegationCount: "u32" }, cancel_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, go_offline: "Null", go_online: "Null", candidate_bond_more: { - more: "u128", + more: "u128" }, schedule_candidate_bond_less: { - less: "u128", + less: "u128" }, execute_candidate_bond_less: { - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_candidate_bond_less: "Null", delegate: { candidate: "AccountId20", amount: "u128", candidateDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, delegate_with_auto_compound: { candidate: "AccountId20", @@ -1315,145 +1454,157 @@ export default { autoCompound: "Percent", candidateDelegationCount: "u32", candidateAutoCompoundingDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, removed_call_19: "Null", removed_call_20: "Null", removed_call_21: "Null", schedule_revoke_delegation: { - collator: "AccountId20", + collator: "AccountId20" }, delegator_bond_more: { candidate: "AccountId20", - more: "u128", + more: "u128" }, schedule_delegator_bond_less: { candidate: "AccountId20", - less: "u128", + less: "u128" }, execute_delegation_request: { delegator: "AccountId20", - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_delegation_request: { - candidate: "AccountId20", + candidate: "AccountId20" }, set_auto_compound: { candidate: "AccountId20", value: "Percent", candidateAutoCompoundingDelegationCountHint: "u32", - delegationCountHint: "u32", + delegationCountHint: "u32" }, hotfix_remove_delegation_requests_exited_candidates: { - candidates: "Vec", + candidates: "Vec" }, notify_inactive_collator: { - collator: "AccountId20", + collator: "AccountId20" }, enable_marking_offline: { - value: "bool", + value: "bool" }, force_join_candidates: { account: "AccountId20", bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, set_inflation_distribution_config: { _alias: { - new_: "new", + new_: "new" }, - new_: "PalletParachainStakingInflationDistributionConfig", - }, - }, + new_: "PalletParachainStakingInflationDistributionConfig" + } + } }, - /** Lookup124: pallet_author_inherent::pallet::Call */ + /** + * Lookup124: pallet_author_inherent::pallet::Call + **/ PalletAuthorInherentCall: { - _enum: ["kick_off_authorship_validation"], + _enum: ["kick_off_authorship_validation"] }, - /** Lookup125: pallet_author_slot_filter::pallet::Call */ + /** + * Lookup125: pallet_author_slot_filter::pallet::Call + **/ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", - }, - }, + new_: "u32" + } + } }, - /** Lookup126: pallet_author_mapping::pallet::Call */ + /** + * Lookup126: pallet_author_mapping::pallet::Call + **/ PalletAuthorMappingCall: { _enum: { add_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, update_association: { oldNimbusId: "NimbusPrimitivesNimbusCryptoPublic", - newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", + newNimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, clear_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, remove_keys: "Null", set_keys: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Bytes", - }, - }, + keys_: "Bytes" + } + } }, - /** Lookup127: pallet_moonbeam_orbiters::pallet::Call */ + /** + * Lookup127: pallet_moonbeam_orbiters::pallet::Call + **/ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, collator_remove_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, orbiter_leave_collator_pool: { - collator: "AccountId20", + collator: "AccountId20" }, orbiter_register: "Null", orbiter_unregister: { - collatorsPoolCount: "u32", + collatorsPoolCount: "u32" }, add_collator: { - collator: "AccountId20", + collator: "AccountId20" }, remove_collator: { - collator: "AccountId20", - }, - }, + collator: "AccountId20" + } + } }, - /** Lookup128: pallet_utility::pallet::Call */ + /** + * Lookup128: pallet_utility::pallet::Call + **/ PalletUtilityCall: { _enum: { batch: { - calls: "Vec", + calls: "Vec" }, as_derivative: { index: "u16", - call: "Call", + call: "Call" }, batch_all: { - calls: "Vec", + calls: "Vec" }, dispatch_as: { asOrigin: "MoonriverRuntimeOriginCaller", - call: "Call", + call: "Call" }, force_batch: { - calls: "Vec", + calls: "Vec" }, with_weight: { call: "Call", - weight: "SpWeightsWeightV2Weight", - }, - }, + weight: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup130: moonriver_runtime::OriginCaller */ + /** + * Lookup130: moonriver_runtime::OriginCaller + **/ MoonriverRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -1565,61 +1716,77 @@ export default { __Unused106: "Null", __Unused107: "Null", __Unused108: "Null", - EthereumXcm: "PalletEthereumXcmRawOrigin", - }, + EthereumXcm: "PalletEthereumXcmRawOrigin" + } }, - /** Lookup131: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** + * Lookup131: frame_support::dispatch::RawOrigin + **/ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", Signed: "AccountId20", - None: "Null", - }, + None: "Null" + } }, - /** Lookup132: pallet_ethereum::RawOrigin */ + /** + * Lookup132: pallet_ethereum::RawOrigin + **/ PalletEthereumRawOrigin: { _enum: { - EthereumTransaction: "H160", - }, + EthereumTransaction: "H160" + } }, - /** Lookup133: moonriver_runtime::governance::origins::custom_origins::Origin */ + /** + * Lookup133: moonriver_runtime::governance::origins::custom_origins::Origin + **/ MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", "GeneralAdmin", "ReferendumCanceller", "ReferendumKiller", - "FastGeneralAdmin", - ], + "FastGeneralAdmin" + ] }, - /** Lookup134: pallet_collective::RawOrigin */ + /** + * Lookup134: pallet_collective::RawOrigin + **/ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", Member: "AccountId20", - _Phantom: "Null", - }, + _Phantom: "Null" + } }, - /** Lookup136: cumulus_pallet_xcm::pallet::Origin */ + /** + * Lookup136: cumulus_pallet_xcm::pallet::Origin + **/ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", - SiblingParachain: "u32", - }, + SiblingParachain: "u32" + } }, - /** Lookup137: pallet_xcm::pallet::Origin */ + /** + * Lookup137: pallet_xcm::pallet::Origin + **/ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", - Response: "StagingXcmV4Location", - }, + Response: "StagingXcmV4Location" + } }, - /** Lookup138: staging_xcm::v4::location::Location */ + /** + * Lookup138: staging_xcm::v4::location::Location + **/ StagingXcmV4Location: { parents: "u8", - interior: "StagingXcmV4Junctions", + interior: "StagingXcmV4Junctions" }, - /** Lookup139: staging_xcm::v4::junctions::Junctions */ + /** + * Lookup139: staging_xcm::v4::junctions::Junctions + **/ StagingXcmV4Junctions: { _enum: { Here: "Null", @@ -1630,46 +1797,50 @@ export default { X5: "[Lookup141;5]", X6: "[Lookup141;6]", X7: "[Lookup141;7]", - X8: "[Lookup141;8]", - }, + X8: "[Lookup141;8]" + } }, - /** Lookup141: staging_xcm::v4::junction::Junction */ + /** + * Lookup141: staging_xcm::v4::junction::Junction + **/ StagingXcmV4Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "StagingXcmV4JunctionNetworkId", - }, + GlobalConsensus: "StagingXcmV4JunctionNetworkId" + } }, - /** Lookup144: staging_xcm::v4::junction::NetworkId */ + /** + * Lookup144: staging_xcm::v4::junction::NetworkId + **/ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -1677,14 +1848,16 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup145: xcm::v3::junction::BodyId */ + /** + * Lookup145: xcm::v3::junction::BodyId + **/ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1696,177 +1869,191 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup146: xcm::v3::junction::BodyPart */ + /** + * Lookup146: xcm::v3::junction::BodyPart + **/ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup154: pallet_ethereum_xcm::RawOrigin */ + /** + * Lookup154: pallet_ethereum_xcm::RawOrigin + **/ PalletEthereumXcmRawOrigin: { _enum: { - XcmEthereumTransaction: "H160", - }, + XcmEthereumTransaction: "H160" + } }, - /** Lookup155: sp_core::Void */ + /** + * Lookup155: sp_core::Void + **/ SpCoreVoid: "Null", - /** Lookup156: pallet_proxy::pallet::Call */ + /** + * Lookup156: pallet_proxy::pallet::Call + **/ PalletProxyCall: { _enum: { proxy: { real: "AccountId20", forceProxyType: "Option", - call: "Call", + call: "Call" }, add_proxy: { delegate: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxy: { delegate: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxies: "Null", create_pure: { proxyType: "MoonriverRuntimeProxyType", delay: "u32", - index: "u16", + index: "u16" }, kill_pure: { spawner: "AccountId20", proxyType: "MoonriverRuntimeProxyType", index: "u16", height: "Compact", - extIndex: "Compact", + extIndex: "Compact" }, announce: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, remove_announcement: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, reject_announcement: { delegate: "AccountId20", - callHash: "H256", + callHash: "H256" }, proxy_announced: { delegate: "AccountId20", real: "AccountId20", forceProxyType: "Option", - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup158: pallet_maintenance_mode::pallet::Call */ + /** + * Lookup158: pallet_maintenance_mode::pallet::Call + **/ PalletMaintenanceModeCall: { - _enum: ["enter_maintenance_mode", "resume_normal_operation"], + _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, - /** Lookup159: pallet_identity::pallet::Call */ + /** + * Lookup159: pallet_identity::pallet::Call + **/ PalletIdentityCall: { _enum: { add_registrar: { - account: "AccountId20", + account: "AccountId20" }, set_identity: { - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, set_subs: { - subs: "Vec<(AccountId20,Data)>", + subs: "Vec<(AccountId20,Data)>" }, clear_identity: "Null", request_judgement: { regIndex: "Compact", - maxFee: "Compact", + maxFee: "Compact" }, cancel_request: { - regIndex: "u32", + regIndex: "u32" }, set_fee: { index: "Compact", - fee: "Compact", + fee: "Compact" }, set_account_id: { _alias: { - new_: "new", + new_: "new" }, index: "Compact", - new_: "AccountId20", + new_: "AccountId20" }, set_fields: { index: "Compact", - fields: "u64", + fields: "u64" }, provide_judgement: { regIndex: "Compact", target: "AccountId20", judgement: "PalletIdentityJudgement", - identity: "H256", + identity: "H256" }, kill_identity: { - target: "AccountId20", + target: "AccountId20" }, add_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, rename_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, remove_sub: { - sub: "AccountId20", + sub: "AccountId20" }, quit_sub: "Null", add_username_authority: { authority: "AccountId20", suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, remove_username_authority: { - authority: "AccountId20", + authority: "AccountId20" }, set_username_for: { who: "AccountId20", username: "Bytes", - signature: "Option", + signature: "Option" }, accept_username: { - username: "Bytes", + username: "Bytes" }, remove_expired_approval: { - username: "Bytes", + username: "Bytes" }, set_primary_username: { - username: "Bytes", + username: "Bytes" }, remove_dangling_username: { - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup160: pallet_identity::legacy::IdentityInfo */ + /** + * Lookup160: pallet_identity::legacy::IdentityInfo + **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -1876,9 +2063,11 @@ export default { email: "Data", pgpFingerprint: "Option<[u8;20]>", image: "Data", - twitter: "Data", + twitter: "Data" }, - /** Lookup198: pallet_identity::types::Judgement */ + /** + * Lookup198: pallet_identity::types::Judgement + **/ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -1887,97 +2076,113 @@ export default { KnownGood: "Null", OutOfDate: "Null", LowQuality: "Null", - Erroneous: "Null", - }, + Erroneous: "Null" + } }, - /** Lookup200: account::EthereumSignature */ + /** + * Lookup200: account::EthereumSignature + **/ AccountEthereumSignature: "[u8;65]", - /** Lookup202: pallet_multisig::pallet::Call */ + /** + * Lookup202: pallet_multisig::pallet::Call + **/ PalletMultisigCall: { _enum: { as_multi_threshold_1: { otherSignatories: "Vec", - call: "Call", + call: "Call" }, as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", call: "Call", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, approve_as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", callHash: "[u8;32]", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, cancel_as_multi: { threshold: "u16", otherSignatories: "Vec", timepoint: "PalletMultisigTimepoint", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** + * Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call + **/ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", __Unused1: "Null", create_contract_metadata: { - address: "H160", + address: "H160" }, approve_assets_to_migrate: { - assets: "Vec", + assets: "Vec" }, start_foreign_assets_migration: { - assetId: "u128", + assetId: "u128" }, migrate_foreign_asset_balances: { - limit: "u32", + limit: "u32" }, migrate_foreign_asset_approvals: { - limit: "u32", + limit: "u32" }, - finish_foreign_assets_migration: "Null", - }, + finish_foreign_assets_migration: "Null" + } }, - /** Lookup207: pallet_parameters::pallet::Call */ + /** + * Lookup207: pallet_parameters::pallet::Call + **/ PalletParametersCall: { _enum: { set_parameter: { - keyValue: "MoonriverRuntimeRuntimeParamsRuntimeParameters", - }, - }, + keyValue: "MoonriverRuntimeRuntimeParamsRuntimeParameters" + } + } }, - /** Lookup208: moonriver_runtime::runtime_params::RuntimeParameters */ + /** + * Lookup208: moonriver_runtime::runtime_params::RuntimeParameters + **/ MoonriverRuntimeRuntimeParamsRuntimeParameters: { _enum: { RuntimeConfig: "MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters", - PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters", - }, + PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters" + } }, - /** Lookup209: moonriver_runtime::runtime_params::dynamic_params::runtime_config::Parameters */ + /** + * Lookup209: moonriver_runtime::runtime_params::dynamic_params::runtime_config::Parameters + **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters: { _enum: { FeesTreasuryProportion: - "(MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)", - }, + "(MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)" + } }, - /** Lookup211: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters */ + /** + * Lookup211: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters + **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters: { _enum: { - Deposit: "(MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)", - }, + Deposit: "(MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)" + } }, - /** Lookup213: pallet_evm::pallet::Call */ + /** + * Lookup213: pallet_evm::pallet::Call + **/ PalletEvmCall: { _enum: { withdraw: { address: "H160", - value: "u128", + value: "u128" }, call: { source: "H160", @@ -1988,7 +2193,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create: { source: "H160", @@ -1998,7 +2203,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create2: { source: "H160", @@ -2009,27 +2214,33 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", - }, - }, + accessList: "Vec<(H160,Vec)>" + } + } }, - /** Lookup219: pallet_ethereum::pallet::Call */ + /** + * Lookup219: pallet_ethereum::pallet::Call + **/ PalletEthereumCall: { _enum: { transact: { - transaction: "EthereumTransactionTransactionV2", - }, - }, + transaction: "EthereumTransactionTransactionV2" + } + } }, - /** Lookup220: ethereum::transaction::TransactionV2 */ + /** + * Lookup220: ethereum::transaction::TransactionV2 + **/ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", EIP2930: "EthereumTransactionEip2930Transaction", - EIP1559: "EthereumTransactionEip1559Transaction", - }, + EIP1559: "EthereumTransactionEip1559Transaction" + } }, - /** Lookup221: ethereum::transaction::LegacyTransaction */ + /** + * Lookup221: ethereum::transaction::LegacyTransaction + **/ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -2037,22 +2248,28 @@ export default { action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - signature: "EthereumTransactionTransactionSignature", + signature: "EthereumTransactionTransactionSignature" }, - /** Lookup222: ethereum::transaction::TransactionAction */ + /** + * Lookup222: ethereum::transaction::TransactionAction + **/ EthereumTransactionTransactionAction: { _enum: { Call: "H160", - Create: "Null", - }, + Create: "Null" + } }, - /** Lookup223: ethereum::transaction::TransactionSignature */ + /** + * Lookup223: ethereum::transaction::TransactionSignature + **/ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup225: ethereum::transaction::EIP2930Transaction */ + /** + * Lookup225: ethereum::transaction::EIP2930Transaction + **/ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -2064,14 +2281,18 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup227: ethereum::transaction::AccessListItem */ + /** + * Lookup227: ethereum::transaction::AccessListItem + **/ EthereumTransactionAccessListItem: { address: "H160", - storageKeys: "Vec", + storageKeys: "Vec" }, - /** Lookup228: ethereum::transaction::EIP1559Transaction */ + /** + * Lookup228: ethereum::transaction::EIP1559Transaction + **/ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -2084,240 +2305,260 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup229: pallet_scheduler::pallet::Call */ + /** + * Lookup229: pallet_scheduler::pallet::Call + **/ PalletSchedulerCall: { _enum: { schedule: { when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel: { when: "u32", - index: "u32", + index: "u32" }, schedule_named: { id: "[u8;32]", when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel_named: { - id: "[u8;32]", + id: "[u8;32]" }, schedule_after: { after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, schedule_named_after: { id: "[u8;32]", after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, set_retry: { task: "(u32,u32)", retries: "u8", - period: "u32", + period: "u32" }, set_retry_named: { id: "[u8;32]", retries: "u8", - period: "u32", + period: "u32" }, cancel_retry: { - task: "(u32,u32)", + task: "(u32,u32)" }, cancel_retry_named: { - id: "[u8;32]", - }, - }, + id: "[u8;32]" + } + } }, - /** Lookup231: pallet_preimage::pallet::Call */ + /** + * Lookup231: pallet_preimage::pallet::Call + **/ PalletPreimageCall: { _enum: { note_preimage: { - bytes: "Bytes", + bytes: "Bytes" }, unnote_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, request_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, unrequest_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, ensure_updated: { - hashes: "Vec", - }, - }, + hashes: "Vec" + } + } }, - /** Lookup232: pallet_conviction_voting::pallet::Call */ + /** + * Lookup232: pallet_conviction_voting::pallet::Call + **/ PalletConvictionVotingCall: { _enum: { vote: { pollIndex: "Compact", - vote: "PalletConvictionVotingVoteAccountVote", + vote: "PalletConvictionVotingVoteAccountVote" }, delegate: { class: "u16", to: "AccountId20", conviction: "PalletConvictionVotingConviction", - balance: "u128", + balance: "u128" }, undelegate: { - class: "u16", + class: "u16" }, unlock: { class: "u16", - target: "AccountId20", + target: "AccountId20" }, remove_vote: { class: "Option", - index: "u32", + index: "u32" }, remove_other_vote: { target: "AccountId20", class: "u16", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup233: pallet_conviction_voting::vote::AccountVote */ + /** + * Lookup233: pallet_conviction_voting::vote::AccountVote + **/ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { vote: "Vote", - balance: "u128", + balance: "u128" }, Split: { aye: "u128", - nay: "u128", + nay: "u128" }, SplitAbstain: { aye: "u128", nay: "u128", - abstain: "u128", - }, - }, + abstain: "u128" + } + } }, - /** Lookup235: pallet_conviction_voting::conviction::Conviction */ + /** + * Lookup235: pallet_conviction_voting::conviction::Conviction + **/ PalletConvictionVotingConviction: { - _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], + _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"] }, - /** Lookup237: pallet_referenda::pallet::Call */ + /** + * Lookup237: pallet_referenda::pallet::Call + **/ PalletReferendaCall: { _enum: { submit: { proposalOrigin: "MoonriverRuntimeOriginCaller", proposal: "FrameSupportPreimagesBounded", - enactmentMoment: "FrameSupportScheduleDispatchTime", + enactmentMoment: "FrameSupportScheduleDispatchTime" }, place_decision_deposit: { - index: "u32", + index: "u32" }, refund_decision_deposit: { - index: "u32", + index: "u32" }, cancel: { - index: "u32", + index: "u32" }, kill: { - index: "u32", + index: "u32" }, nudge_referendum: { - index: "u32", + index: "u32" }, one_fewer_deciding: { - track: "u16", + track: "u16" }, refund_submission_deposit: { - index: "u32", + index: "u32" }, set_metadata: { index: "u32", - maybeHash: "Option", - }, - }, + maybeHash: "Option" + } + } }, - /** Lookup238: frame_support::traits::schedule::DispatchTime */ + /** + * Lookup238: frame_support::traits::schedule::DispatchTime + **/ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", - After: "u32", - }, + After: "u32" + } }, - /** Lookup240: pallet_whitelist::pallet::Call */ + /** + * Lookup240: pallet_whitelist::pallet::Call + **/ PalletWhitelistCall: { _enum: { whitelist_call: { - callHash: "H256", + callHash: "H256" }, remove_whitelisted_call: { - callHash: "H256", + callHash: "H256" }, dispatch_whitelisted_call: { callHash: "H256", callEncodedLen: "u32", - callWeightWitness: "SpWeightsWeightV2Weight", + callWeightWitness: "SpWeightsWeightV2Weight" }, dispatch_whitelisted_call_with_preimage: { - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup241: pallet_collective::pallet::Call */ + /** + * Lookup241: pallet_collective::pallet::Call + **/ PalletCollectiveCall: { _enum: { set_members: { newMembers: "Vec", prime: "Option", - oldCount: "u32", + oldCount: "u32" }, execute: { proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, propose: { threshold: "Compact", proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, vote: { proposal: "H256", index: "Compact", - approve: "bool", + approve: "bool" }, __Unused4: "Null", disapprove_proposal: { - proposalHash: "H256", + proposalHash: "H256" }, close: { proposalHash: "H256", index: "Compact", proposalWeightBound: "SpWeightsWeightV2Weight", - lengthBound: "Compact", - }, - }, + lengthBound: "Compact" + } + } }, - /** Lookup243: pallet_treasury::pallet::Call */ + /** + * Lookup243: pallet_treasury::pallet::Call + **/ PalletTreasuryCall: { _enum: { __Unused0: "Null", @@ -2325,124 +2566,130 @@ export default { __Unused2: "Null", spend_local: { amount: "Compact", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, remove_approval: { - proposalId: "Compact", + proposalId: "Compact" }, spend: { assetKind: "Null", amount: "Compact", beneficiary: "AccountId20", - validFrom: "Option", + validFrom: "Option" }, payout: { - index: "u32", + index: "u32" }, check_status: { - index: "u32", + index: "u32" }, void_spend: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup245: pallet_crowdloan_rewards::pallet::Call */ + /** + * Lookup245: pallet_crowdloan_rewards::pallet::Call + **/ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { rewardAccount: "AccountId20", relayAccount: "[u8;32]", - proof: "SpRuntimeMultiSignature", + proof: "SpRuntimeMultiSignature" }, change_association_with_relay_keys: { rewardAccount: "AccountId20", previousAccount: "AccountId20", - proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>", + proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>" }, claim: "Null", update_reward_address: { - newRewardAccount: "AccountId20", + newRewardAccount: "AccountId20" }, complete_initialization: { - leaseEndingBlock: "u32", + leaseEndingBlock: "u32" }, initialize_reward_vec: { - rewards: "Vec<([u8;32],Option,u128)>", - }, - }, + rewards: "Vec<([u8;32],Option,u128)>" + } + } }, - /** Lookup246: sp_runtime::MultiSignature */ + /** + * Lookup246: sp_runtime::MultiSignature + **/ SpRuntimeMultiSignature: { _enum: { Ed25519: "[u8;64]", Sr25519: "[u8;64]", - Ecdsa: "[u8;65]", - }, + Ecdsa: "[u8;65]" + } }, - /** Lookup252: pallet_xcm::pallet::Call */ + /** + * Lookup252: pallet_xcm::pallet::Call + **/ PalletXcmCall: { _enum: { send: { dest: "XcmVersionedLocation", - message: "XcmVersionedXcm", + message: "XcmVersionedXcm" }, teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, execute: { message: "XcmVersionedXcm", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, force_xcm_version: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, force_default_xcm_version: { - maybeXcmVersion: "Option", + maybeXcmVersion: "Option" }, force_subscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, force_unsubscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, limited_reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, limited_teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, force_suspension: { - suspended: "bool", + suspended: "bool" }, transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, claim_assets: { assets: "XcmVersionedAssets", - beneficiary: "XcmVersionedLocation", + beneficiary: "XcmVersionedLocation" }, transfer_assets_using_type_and_then: { dest: "XcmVersionedLocation", @@ -2451,26 +2698,32 @@ export default { remoteFeesId: "XcmVersionedAssetId", feesTransferType: "StagingXcmExecutorAssetTransferTransferType", customXcmOnDest: "XcmVersionedXcm", - weightLimit: "XcmV3WeightLimit", - }, - }, + weightLimit: "XcmV3WeightLimit" + } + } }, - /** Lookup253: xcm::VersionedLocation */ + /** + * Lookup253: xcm::VersionedLocation + **/ XcmVersionedLocation: { _enum: { __Unused0: "Null", V2: "XcmV2MultiLocation", __Unused2: "Null", V3: "StagingXcmV3MultiLocation", - V4: "StagingXcmV4Location", - }, + V4: "StagingXcmV4Location" + } }, - /** Lookup254: xcm::v2::multilocation::MultiLocation */ + /** + * Lookup254: xcm::v2::multilocation::MultiLocation + **/ XcmV2MultiLocation: { parents: "u8", - interior: "XcmV2MultilocationJunctions", + interior: "XcmV2MultilocationJunctions" }, - /** Lookup255: xcm::v2::multilocation::Junctions */ + /** + * Lookup255: xcm::v2::multilocation::Junctions + **/ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -2481,24 +2734,26 @@ export default { 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)", - }, + X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)" + } }, - /** Lookup256: xcm::v2::junction::Junction */ + /** + * Lookup256: xcm::v2::junction::Junction + **/ XcmV2Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "XcmV2NetworkId", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "XcmV2NetworkId", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "XcmV2NetworkId", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", @@ -2506,20 +2761,24 @@ export default { OnlyChild: "Null", Plurality: { id: "XcmV2BodyId", - part: "XcmV2BodyPart", - }, - }, + part: "XcmV2BodyPart" + } + } }, - /** Lookup257: xcm::v2::NetworkId */ + /** + * Lookup257: xcm::v2::NetworkId + **/ XcmV2NetworkId: { _enum: { Any: "Null", Named: "Bytes", Polkadot: "Null", - Kusama: "Null", - }, + Kusama: "Null" + } }, - /** Lookup259: xcm::v2::BodyId */ + /** + * Lookup259: xcm::v2::BodyId + **/ XcmV2BodyId: { _enum: { Unit: "Null", @@ -2531,36 +2790,42 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup260: xcm::v2::BodyPart */ + /** + * Lookup260: xcm::v2::BodyPart + **/ XcmV2BodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup261: staging_xcm::v3::multilocation::MultiLocation */ + /** + * Lookup261: staging_xcm::v3::multilocation::MultiLocation + **/ StagingXcmV3MultiLocation: { parents: "u8", - interior: "XcmV3Junctions", + interior: "XcmV3Junctions" }, - /** Lookup262: xcm::v3::junctions::Junctions */ + /** + * Lookup262: xcm::v3::junctions::Junctions + **/ XcmV3Junctions: { _enum: { Here: "Null", @@ -2571,46 +2836,50 @@ export default { 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)", - }, + X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)" + } }, - /** Lookup263: xcm::v3::junction::Junction */ + /** + * Lookup263: xcm::v3::junction::Junction + **/ XcmV3Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "XcmV3JunctionNetworkId", - }, + GlobalConsensus: "XcmV3JunctionNetworkId" + } }, - /** Lookup265: xcm::v3::junction::NetworkId */ + /** + * Lookup265: xcm::v3::junction::NetworkId + **/ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -2618,26 +2887,32 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup266: xcm::VersionedXcm */ + /** + * Lookup266: xcm::VersionedXcm + **/ XcmVersionedXcm: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Xcm", V3: "XcmV3Xcm", - V4: "StagingXcmV4Xcm", - }, + V4: "StagingXcmV4Xcm" + } }, - /** Lookup267: xcm::v2::Xcm */ + /** + * Lookup267: xcm::v2::Xcm + **/ XcmV2Xcm: "Vec", - /** Lookup269: xcm::v2::Instruction */ + /** + * Lookup269: xcm::v2::Instruction + **/ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -2646,76 +2921,76 @@ export default { QueryResponse: { queryId: "Compact", response: "XcmV2Response", - maxWeight: "Compact", + maxWeight: "Compact" }, TransferAsset: { assets: "XcmV2MultiassetMultiAssets", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, TransferReserveAsset: { assets: "XcmV2MultiassetMultiAssets", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, Transact: { originType: "XcmV2OriginKind", requireWeightAtMost: "Compact", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV2MultilocationJunctions", ReportError: { queryId: "Compact", dest: "XcmV2MultiLocation", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, DepositAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, DepositReserveAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, ExchangeAsset: { give: "XcmV2MultiassetMultiAssetFilter", - receive: "XcmV2MultiassetMultiAssets", + receive: "XcmV2MultiassetMultiAssets" }, InitiateReserveWithdraw: { assets: "XcmV2MultiassetMultiAssetFilter", reserve: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, InitiateTeleport: { assets: "XcmV2MultiassetMultiAssetFilter", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, QueryHolding: { queryId: "Compact", dest: "XcmV2MultiLocation", assets: "XcmV2MultiassetMultiAssetFilter", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, BuyExecution: { fees: "XcmV2MultiAsset", - weightLimit: "XcmV2WeightLimit", + weightLimit: "XcmV2WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV2Xcm", @@ -2723,38 +2998,48 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV2MultiassetMultiAssets", - ticket: "XcmV2MultiLocation", + ticket: "XcmV2MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, - UnsubscribeVersion: "Null", - }, + UnsubscribeVersion: "Null" + } }, - /** Lookup270: xcm::v2::multiasset::MultiAssets */ + /** + * Lookup270: xcm::v2::multiasset::MultiAssets + **/ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup272: xcm::v2::multiasset::MultiAsset */ + /** + * Lookup272: xcm::v2::multiasset::MultiAsset + **/ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetFungibility", + fun: "XcmV2MultiassetFungibility" }, - /** Lookup273: xcm::v2::multiasset::AssetId */ + /** + * Lookup273: xcm::v2::multiasset::AssetId + **/ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", - Abstract: "Bytes", - }, + Abstract: "Bytes" + } }, - /** Lookup274: xcm::v2::multiasset::Fungibility */ + /** + * Lookup274: xcm::v2::multiasset::Fungibility + **/ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV2MultiassetAssetInstance", - }, + NonFungible: "XcmV2MultiassetAssetInstance" + } }, - /** Lookup275: xcm::v2::multiasset::AssetInstance */ + /** + * Lookup275: xcm::v2::multiasset::AssetInstance + **/ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -2763,19 +3048,23 @@ export default { Array8: "[u8;8]", Array16: "[u8;16]", Array32: "[u8;32]", - Blob: "Bytes", - }, + Blob: "Bytes" + } }, - /** Lookup276: xcm::v2::Response */ + /** + * Lookup276: xcm::v2::Response + **/ XcmV2Response: { _enum: { Null: "Null", Assets: "XcmV2MultiassetMultiAssets", ExecutionResult: "Option<(u32,XcmV2TraitsError)>", - Version: "u32", - }, + Version: "u32" + } }, - /** Lookup279: xcm::v2::traits::Error */ + /** + * Lookup279: xcm::v2::traits::Error + **/ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -2803,48 +3092,64 @@ export default { UnhandledXcmVersion: "Null", WeightLimitReached: "u64", Barrier: "Null", - WeightNotComputable: "Null", - }, + WeightNotComputable: "Null" + } }, - /** Lookup280: xcm::v2::OriginKind */ + /** + * Lookup280: xcm::v2::OriginKind + **/ XcmV2OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup281: xcm::double_encoded::DoubleEncoded */ + /** + * Lookup281: xcm::double_encoded::DoubleEncoded + **/ XcmDoubleEncoded: { - encoded: "Bytes", + encoded: "Bytes" }, - /** Lookup282: xcm::v2::multiasset::MultiAssetFilter */ + /** + * Lookup282: xcm::v2::multiasset::MultiAssetFilter + **/ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", - Wild: "XcmV2MultiassetWildMultiAsset", - }, + Wild: "XcmV2MultiassetWildMultiAsset" + } }, - /** Lookup283: xcm::v2::multiasset::WildMultiAsset */ + /** + * Lookup283: xcm::v2::multiasset::WildMultiAsset + **/ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetWildFungibility", - }, - }, + fun: "XcmV2MultiassetWildFungibility" + } + } }, - /** Lookup284: xcm::v2::multiasset::WildFungibility */ + /** + * Lookup284: xcm::v2::multiasset::WildFungibility + **/ XcmV2MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup285: xcm::v2::WeightLimit */ + /** + * Lookup285: xcm::v2::WeightLimit + **/ XcmV2WeightLimit: { _enum: { Unlimited: "Null", - Limited: "Compact", - }, + Limited: "Compact" + } }, - /** Lookup286: xcm::v3::Xcm */ + /** + * Lookup286: xcm::v3::Xcm + **/ XcmV3Xcm: "Vec", - /** Lookup288: xcm::v3::Instruction */ + /** + * Lookup288: xcm::v3::Instruction + **/ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -2854,69 +3159,69 @@ export default { queryId: "Compact", response: "XcmV3Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "XcmV3MultiassetMultiAssets", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, TransferReserveAsset: { assets: "XcmV3MultiassetMultiAssets", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV3Junctions", ReportError: "XcmV3QueryResponseInfo", DepositAsset: { assets: "XcmV3MultiassetMultiAssetFilter", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, DepositReserveAsset: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ExchangeAsset: { give: "XcmV3MultiassetMultiAssetFilter", want: "XcmV3MultiassetMultiAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "XcmV3MultiassetMultiAssetFilter", reserve: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, InitiateTeleport: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ReportHolding: { responseInfo: "XcmV3QueryResponseInfo", - assets: "XcmV3MultiassetMultiAssetFilter", + assets: "XcmV3MultiassetMultiAssetFilter" }, BuyExecution: { fees: "XcmV3MultiAsset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV3Xcm", @@ -2924,12 +3229,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV3MultiassetMultiAssets", - ticket: "StagingXcmV3MultiLocation", + ticket: "StagingXcmV3MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "XcmV3MultiassetMultiAssets", @@ -2939,14 +3244,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "XcmV3QueryResponseInfo", + responseInfo: "XcmV3QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "XcmV3QueryResponseInfo", ClearTransactStatus: "Null", @@ -2954,58 +3259,68 @@ export default { ExportMessage: { network: "XcmV3JunctionNetworkId", destination: "XcmV3Junctions", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, LockAsset: { asset: "XcmV3MultiAsset", - unlocker: "StagingXcmV3MultiLocation", + unlocker: "StagingXcmV3MultiLocation" }, UnlockAsset: { asset: "XcmV3MultiAsset", - target: "StagingXcmV3MultiLocation", + target: "StagingXcmV3MultiLocation" }, NoteUnlockable: { asset: "XcmV3MultiAsset", - owner: "StagingXcmV3MultiLocation", + owner: "StagingXcmV3MultiLocation" }, RequestUnlock: { asset: "XcmV3MultiAsset", - locker: "StagingXcmV3MultiLocation", + locker: "StagingXcmV3MultiLocation" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV3MultiLocation", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup289: xcm::v3::multiasset::MultiAssets */ + /** + * Lookup289: xcm::v3::multiasset::MultiAssets + **/ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup291: xcm::v3::multiasset::MultiAsset */ + /** + * Lookup291: xcm::v3::multiasset::MultiAsset + **/ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetFungibility", + fun: "XcmV3MultiassetFungibility" }, - /** Lookup292: xcm::v3::multiasset::AssetId */ + /** + * Lookup292: xcm::v3::multiasset::AssetId + **/ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", - Abstract: "[u8;32]", - }, + Abstract: "[u8;32]" + } }, - /** Lookup293: xcm::v3::multiasset::Fungibility */ + /** + * Lookup293: xcm::v3::multiasset::Fungibility + **/ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV3MultiassetAssetInstance", - }, + NonFungible: "XcmV3MultiassetAssetInstance" + } }, - /** Lookup294: xcm::v3::multiasset::AssetInstance */ + /** + * Lookup294: xcm::v3::multiasset::AssetInstance + **/ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -3013,10 +3328,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup295: xcm::v3::Response */ + /** + * Lookup295: xcm::v3::Response + **/ XcmV3Response: { _enum: { Null: "Null", @@ -3024,10 +3341,12 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup298: xcm::v3::traits::Error */ + /** + * Lookup298: xcm::v3::traits::Error + **/ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -3069,73 +3388,93 @@ export default { WeightLimitReached: "SpWeightsWeightV2Weight", Barrier: "Null", WeightNotComputable: "Null", - ExceedsStackLimit: "Null", - }, + ExceedsStackLimit: "Null" + } }, - /** Lookup300: xcm::v3::PalletInfo */ + /** + * Lookup300: xcm::v3::PalletInfo + **/ XcmV3PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup303: xcm::v3::MaybeErrorCode */ + /** + * Lookup303: xcm::v3::MaybeErrorCode + **/ XcmV3MaybeErrorCode: { _enum: { Success: "Null", Error: "Bytes", - TruncatedError: "Bytes", - }, + TruncatedError: "Bytes" + } }, - /** Lookup306: xcm::v3::OriginKind */ + /** + * Lookup306: xcm::v3::OriginKind + **/ XcmV3OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup307: xcm::v3::QueryResponseInfo */ + /** + * Lookup307: xcm::v3::QueryResponseInfo + **/ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup308: xcm::v3::multiasset::MultiAssetFilter */ + /** + * Lookup308: xcm::v3::multiasset::MultiAssetFilter + **/ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", - Wild: "XcmV3MultiassetWildMultiAsset", - }, + Wild: "XcmV3MultiassetWildMultiAsset" + } }, - /** Lookup309: xcm::v3::multiasset::WildMultiAsset */ + /** + * Lookup309: xcm::v3::multiasset::WildMultiAsset + **/ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetWildFungibility", + fun: "XcmV3MultiassetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup310: xcm::v3::multiasset::WildFungibility */ + /** + * Lookup310: xcm::v3::multiasset::WildFungibility + **/ XcmV3MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup311: xcm::v3::WeightLimit */ + /** + * Lookup311: xcm::v3::WeightLimit + **/ XcmV3WeightLimit: { _enum: { Unlimited: "Null", - Limited: "SpWeightsWeightV2Weight", - }, + Limited: "SpWeightsWeightV2Weight" + } }, - /** Lookup312: staging_xcm::v4::Xcm */ + /** + * Lookup312: staging_xcm::v4::Xcm + **/ StagingXcmV4Xcm: "Vec", - /** Lookup314: staging_xcm::v4::Instruction */ + /** + * Lookup314: staging_xcm::v4::Instruction + **/ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -3145,69 +3484,69 @@ export default { queryId: "Compact", response: "StagingXcmV4Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "StagingXcmV4AssetAssets", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, TransferReserveAsset: { assets: "StagingXcmV4AssetAssets", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "StagingXcmV4Junctions", ReportError: "StagingXcmV4QueryResponseInfo", DepositAsset: { assets: "StagingXcmV4AssetAssetFilter", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, DepositReserveAsset: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ExchangeAsset: { give: "StagingXcmV4AssetAssetFilter", want: "StagingXcmV4AssetAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "StagingXcmV4AssetAssetFilter", reserve: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, InitiateTeleport: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ReportHolding: { responseInfo: "StagingXcmV4QueryResponseInfo", - assets: "StagingXcmV4AssetAssetFilter", + assets: "StagingXcmV4AssetAssetFilter" }, BuyExecution: { fees: "StagingXcmV4Asset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "StagingXcmV4Xcm", @@ -3215,12 +3554,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "StagingXcmV4AssetAssets", - ticket: "StagingXcmV4Location", + ticket: "StagingXcmV4Location" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "StagingXcmV4AssetAssets", @@ -3230,14 +3569,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "StagingXcmV4QueryResponseInfo", + responseInfo: "StagingXcmV4QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "StagingXcmV4QueryResponseInfo", ClearTransactStatus: "Null", @@ -3245,53 +3584,63 @@ export default { ExportMessage: { network: "StagingXcmV4JunctionNetworkId", destination: "StagingXcmV4Junctions", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, LockAsset: { asset: "StagingXcmV4Asset", - unlocker: "StagingXcmV4Location", + unlocker: "StagingXcmV4Location" }, UnlockAsset: { asset: "StagingXcmV4Asset", - target: "StagingXcmV4Location", + target: "StagingXcmV4Location" }, NoteUnlockable: { asset: "StagingXcmV4Asset", - owner: "StagingXcmV4Location", + owner: "StagingXcmV4Location" }, RequestUnlock: { asset: "StagingXcmV4Asset", - locker: "StagingXcmV4Location", + locker: "StagingXcmV4Location" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV4Location", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup315: staging_xcm::v4::asset::Assets */ + /** + * Lookup315: staging_xcm::v4::asset::Assets + **/ StagingXcmV4AssetAssets: "Vec", - /** Lookup317: staging_xcm::v4::asset::Asset */ + /** + * Lookup317: staging_xcm::v4::asset::Asset + **/ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetFungibility", + fun: "StagingXcmV4AssetFungibility" }, - /** Lookup318: staging_xcm::v4::asset::AssetId */ + /** + * Lookup318: staging_xcm::v4::asset::AssetId + **/ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup319: staging_xcm::v4::asset::Fungibility */ + /** + * Lookup319: staging_xcm::v4::asset::Fungibility + **/ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "StagingXcmV4AssetAssetInstance", - }, + NonFungible: "StagingXcmV4AssetAssetInstance" + } }, - /** Lookup320: staging_xcm::v4::asset::AssetInstance */ + /** + * Lookup320: staging_xcm::v4::asset::AssetInstance + **/ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -3299,10 +3648,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup321: staging_xcm::v4::Response */ + /** + * Lookup321: staging_xcm::v4::Response + **/ StagingXcmV4Response: { _enum: { Null: "Null", @@ -3310,174 +3661,192 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup323: staging_xcm::v4::PalletInfo */ + /** + * Lookup323: staging_xcm::v4::PalletInfo + **/ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup327: staging_xcm::v4::QueryResponseInfo */ + /** + * Lookup327: staging_xcm::v4::QueryResponseInfo + **/ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup328: staging_xcm::v4::asset::AssetFilter */ + /** + * Lookup328: staging_xcm::v4::asset::AssetFilter + **/ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", - Wild: "StagingXcmV4AssetWildAsset", - }, + Wild: "StagingXcmV4AssetWildAsset" + } }, - /** Lookup329: staging_xcm::v4::asset::WildAsset */ + /** + * Lookup329: staging_xcm::v4::asset::WildAsset + **/ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", AllOf: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetWildFungibility", + fun: "StagingXcmV4AssetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup330: staging_xcm::v4::asset::WildFungibility */ + /** + * Lookup330: staging_xcm::v4::asset::WildFungibility + **/ StagingXcmV4AssetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup331: xcm::VersionedAssets */ + /** + * Lookup331: xcm::VersionedAssets + **/ XcmVersionedAssets: { _enum: { __Unused0: "Null", V2: "XcmV2MultiassetMultiAssets", __Unused2: "Null", V3: "XcmV3MultiassetMultiAssets", - V4: "StagingXcmV4AssetAssets", - }, + V4: "StagingXcmV4AssetAssets" + } }, - /** Lookup343: staging_xcm_executor::traits::asset_transfer::TransferType */ + /** + * Lookup343: staging_xcm_executor::traits::asset_transfer::TransferType + **/ StagingXcmExecutorAssetTransferTransferType: { _enum: { Teleport: "Null", LocalReserve: "Null", DestinationReserve: "Null", - RemoteReserve: "XcmVersionedLocation", - }, + RemoteReserve: "XcmVersionedLocation" + } }, - /** Lookup344: xcm::VersionedAssetId */ + /** + * Lookup344: xcm::VersionedAssetId + **/ XcmVersionedAssetId: { _enum: { __Unused0: "Null", __Unused1: "Null", __Unused2: "Null", V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, + V4: "StagingXcmV4AssetAssetId" + } }, - /** Lookup345: pallet_assets::pallet::Call */ + /** + * Lookup345: pallet_assets::pallet::Call + **/ PalletAssetsCall: { _enum: { create: { id: "Compact", admin: "AccountId20", - minBalance: "u128", + minBalance: "u128" }, force_create: { id: "Compact", owner: "AccountId20", isSufficient: "bool", - minBalance: "Compact", + minBalance: "Compact" }, start_destroy: { - id: "Compact", + id: "Compact" }, destroy_accounts: { - id: "Compact", + id: "Compact" }, destroy_approvals: { - id: "Compact", + id: "Compact" }, finish_destroy: { - id: "Compact", + id: "Compact" }, mint: { id: "Compact", beneficiary: "AccountId20", - amount: "Compact", + amount: "Compact" }, burn: { id: "Compact", who: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer_keep_alive: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, force_transfer: { id: "Compact", source: "AccountId20", dest: "AccountId20", - amount: "Compact", + amount: "Compact" }, freeze: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, thaw: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, freeze_asset: { - id: "Compact", + id: "Compact" }, thaw_asset: { - id: "Compact", + id: "Compact" }, transfer_ownership: { id: "Compact", - owner: "AccountId20", + owner: "AccountId20" }, set_team: { id: "Compact", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", - decimals: "u8", + decimals: "u8" }, clear_metadata: { - id: "Compact", + id: "Compact" }, force_set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, force_clear_metadata: { - id: "Compact", + id: "Compact" }, force_asset_status: { id: "Compact", @@ -3487,102 +3856,110 @@ export default { freezer: "AccountId20", minBalance: "Compact", isSufficient: "bool", - isFrozen: "bool", + isFrozen: "bool" }, approve_transfer: { id: "Compact", delegate: "AccountId20", - amount: "Compact", + amount: "Compact" }, cancel_approval: { id: "Compact", - delegate: "AccountId20", + delegate: "AccountId20" }, force_cancel_approval: { id: "Compact", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, transfer_approved: { id: "Compact", owner: "AccountId20", destination: "AccountId20", - amount: "Compact", + amount: "Compact" }, touch: { - id: "Compact", + id: "Compact" }, refund: { id: "Compact", - allowBurn: "bool", + allowBurn: "bool" }, set_min_balance: { id: "Compact", - minBalance: "u128", + minBalance: "u128" }, touch_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, refund_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, block: { id: "Compact", - who: "AccountId20", - }, - }, + who: "AccountId20" + } + } }, - /** Lookup346: pallet_asset_manager::pallet::Call */ + /** + * Lookup346: pallet_asset_manager::pallet::Call + **/ PalletAssetManagerCall: { _enum: { register_foreign_asset: { asset: "MoonriverRuntimeXcmConfigAssetType", metadata: "MoonriverRuntimeAssetConfigAssetRegistrarMetadata", minAmount: "u128", - isSufficient: "bool", + isSufficient: "bool" }, __Unused1: "Null", change_existing_asset_type: { assetId: "u128", newAssetType: "MoonriverRuntimeXcmConfigAssetType", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused3: "Null", remove_existing_asset_type: { assetId: "u128", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused5: "Null", destroy_foreign_asset: { assetId: "u128", - numAssetsWeightHint: "u32", - }, - }, + numAssetsWeightHint: "u32" + } + } }, - /** Lookup347: moonriver_runtime::xcm_config::AssetType */ + /** + * Lookup347: moonriver_runtime::xcm_config::AssetType + **/ MoonriverRuntimeXcmConfigAssetType: { _enum: { - Xcm: "StagingXcmV3MultiLocation", - }, + Xcm: "StagingXcmV3MultiLocation" + } }, - /** Lookup348: moonriver_runtime::asset_config::AssetRegistrarMetadata */ + /** + * Lookup348: moonriver_runtime::asset_config::AssetRegistrarMetadata + **/ MoonriverRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup349: pallet_xcm_transactor::pallet::Call */ + /** + * Lookup349: pallet_xcm_transactor::pallet::Call + **/ PalletXcmTransactorCall: { _enum: { register: { who: "AccountId20", - index: "u16", + index: "u16" }, deregister: { - index: "u16", + index: "u16" }, transact_through_derivative: { dest: "MoonriverRuntimeXcmConfigTransactors", @@ -3590,7 +3967,7 @@ export default { fee: "PalletXcmTransactorCurrencyPayment", innerCall: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, transact_through_sovereign: { dest: "XcmVersionedLocation", @@ -3599,173 +3976,207 @@ export default { call: "Bytes", originKind: "XcmV3OriginKind", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_transact_info: { location: "XcmVersionedLocation", transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, remove_transact_info: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, transact_through_signed: { dest: "XcmVersionedLocation", fee: "PalletXcmTransactorCurrencyPayment", call: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_fee_per_second: { assetLocation: "XcmVersionedLocation", - feePerSecond: "u128", + feePerSecond: "u128" }, remove_fee_per_second: { - assetLocation: "XcmVersionedLocation", + assetLocation: "XcmVersionedLocation" }, hrmp_manage: { action: "PalletXcmTransactorHrmpOperation", fee: "PalletXcmTransactorCurrencyPayment", - weightInfo: "PalletXcmTransactorTransactWeights", - }, - }, + weightInfo: "PalletXcmTransactorTransactWeights" + } + } }, - /** Lookup350: moonriver_runtime::xcm_config::Transactors */ + /** + * Lookup350: moonriver_runtime::xcm_config::Transactors + **/ MoonriverRuntimeXcmConfigTransactors: { - _enum: ["Relay"], + _enum: ["Relay"] }, - /** Lookup351: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** + * Lookup351: pallet_xcm_transactor::pallet::CurrencyPayment + **/ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", - feeAmount: "Option", + feeAmount: "Option" }, - /** Lookup352: moonriver_runtime::xcm_config::CurrencyId */ + /** + * Lookup352: moonriver_runtime::xcm_config::CurrencyId + **/ MoonriverRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", ForeignAsset: "u128", Erc20: { - contractAddress: "H160", - }, - }, + contractAddress: "H160" + } + } }, - /** Lookup353: pallet_xcm_transactor::pallet::Currency */ + /** + * Lookup353: pallet_xcm_transactor::pallet::Currency + **/ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonriverRuntimeXcmConfigCurrencyId", - AsMultiLocation: "XcmVersionedLocation", - }, + AsMultiLocation: "XcmVersionedLocation" + } }, - /** Lookup355: pallet_xcm_transactor::pallet::TransactWeights */ + /** + * Lookup355: pallet_xcm_transactor::pallet::TransactWeights + **/ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", - overallWeight: "Option", + overallWeight: "Option" }, - /** Lookup358: pallet_xcm_transactor::pallet::HrmpOperation */ + /** + * Lookup358: pallet_xcm_transactor::pallet::HrmpOperation + **/ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", Accept: { - paraId: "u32", + paraId: "u32" }, Close: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", Cancel: { channelId: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", - openRequests: "u32", - }, - }, + openRequests: "u32" + } + } }, - /** Lookup359: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** + * Lookup359: pallet_xcm_transactor::pallet::HrmpInitParams + **/ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", - proposedMaxMessageSize: "u32", + proposedMaxMessageSize: "u32" }, - /** Lookup360: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** + * Lookup360: polkadot_parachain_primitives::primitives::HrmpChannelId + **/ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", - recipient: "u32", + recipient: "u32" }, - /** Lookup361: pallet_ethereum_xcm::pallet::Call */ + /** + * Lookup361: pallet_ethereum_xcm::pallet::Call + **/ PalletEthereumXcmCall: { _enum: { transact: { - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, transact_through_proxy: { transactAs: "H160", - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, suspend_ethereum_xcm_execution: "Null", resume_ethereum_xcm_execution: "Null", force_transact_as: { transactAs: "H160", xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", - forceCreateAddress: "Option", - }, - }, + forceCreateAddress: "Option" + } + } }, - /** Lookup362: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** + * Lookup362: xcm_primitives::ethereum_xcm::EthereumXcmTransaction + **/ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", - V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", - }, + V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2" + } }, - /** Lookup363: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** + * Lookup363: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup364: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** + * Lookup364: xcm_primitives::ethereum_xcm::EthereumXcmFee + **/ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", - Auto: "Null", - }, + Auto: "Null" + } }, - /** Lookup365: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** + * Lookup365: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee + **/ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", - maxFeePerGas: "Option", + maxFeePerGas: "Option" }, - /** Lookup368: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** + * Lookup368: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup370: pallet_message_queue::pallet::Call */ + /** + * Lookup370: pallet_message_queue::pallet::Call + **/ PalletMessageQueueCall: { _enum: { reap_page: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", - pageIndex: "u32", + pageIndex: "u32" }, execute_overweight: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", page: "u32", index: "u32", - weightLimit: "SpWeightsWeightV2Weight", - }, - }, + weightLimit: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup371: cumulus_primitives_core::AggregateMessageOrigin */ + /** + * Lookup371: cumulus_primitives_core::AggregateMessageOrigin + **/ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", Parent: "Null", - Sibling: "u32", - }, + Sibling: "u32" + } }, - /** Lookup372: pallet_moonbeam_foreign_assets::pallet::Call */ + /** + * Lookup372: pallet_moonbeam_foreign_assets::pallet::Call + **/ PalletMoonbeamForeignAssetsCall: { _enum: { create_foreign_asset: { @@ -3773,154 +4184,174 @@ export default { xcmLocation: "StagingXcmV4Location", decimals: "u8", symbol: "Bytes", - name: "Bytes", + name: "Bytes" }, change_xcm_location: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, freeze_foreign_asset: { assetId: "u128", - allowXcmDeposit: "bool", + allowXcmDeposit: "bool" }, unfreeze_foreign_asset: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup374: pallet_xcm_weight_trader::pallet::Call */ + /** + * Lookup374: pallet_xcm_weight_trader::pallet::Call + **/ PalletXcmWeightTraderCall: { _enum: { add_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, edit_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, pause_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, resume_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, remove_asset: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup375: pallet_emergency_para_xcm::pallet::Call */ + /** + * Lookup375: pallet_emergency_para_xcm::pallet::Call + **/ PalletEmergencyParaXcmCall: { _enum: { paused_to_normal: "Null", fast_authorize_upgrade: { - codeHash: "H256", - }, - }, + codeHash: "H256" + } + } }, - /** Lookup376: pallet_randomness::pallet::Call */ + /** + * Lookup376: pallet_randomness::pallet::Call + **/ PalletRandomnessCall: { - _enum: ["set_babe_randomness_results"], + _enum: ["set_babe_randomness_results"] }, - /** Lookup377: sp_runtime::traits::BlakeTwo256 */ + /** + * Lookup377: sp_runtime::traits::BlakeTwo256 + **/ SpRuntimeBlakeTwo256: "Null", - /** Lookup379: pallet_conviction_voting::types::Tally */ + /** + * Lookup379: pallet_conviction_voting::types::Tally + **/ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", - support: "u128", + support: "u128" }, - /** Lookup380: pallet_whitelist::pallet::Event */ + /** + * Lookup380: pallet_whitelist::pallet::Event + **/ PalletWhitelistEvent: { _enum: { CallWhitelisted: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallRemoved: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallDispatched: { callHash: "H256", - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup382: frame_support::dispatch::PostDispatchInfo */ + /** + * Lookup382: frame_support::dispatch::PostDispatchInfo + **/ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup383: sp_runtime::DispatchErrorWithPostInfo */ + /** + * Lookup383: sp_runtime::DispatchErrorWithPostInfo + **/ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, - /** Lookup384: pallet_collective::pallet::Event */ + /** + * Lookup384: pallet_collective::pallet::Event + **/ PalletCollectiveEvent: { _enum: { Proposed: { account: "AccountId20", proposalIndex: "u32", proposalHash: "H256", - threshold: "u32", + threshold: "u32" }, Voted: { account: "AccountId20", proposalHash: "H256", voted: "bool", yes: "u32", - no: "u32", + no: "u32" }, Approved: { - proposalHash: "H256", + proposalHash: "H256" }, Disapproved: { - proposalHash: "H256", + proposalHash: "H256" }, Executed: { proposalHash: "H256", - result: "Result", + result: "Result" }, MemberExecuted: { proposalHash: "H256", - result: "Result", + result: "Result" }, Closed: { proposalHash: "H256", yes: "u32", - no: "u32", - }, - }, + no: "u32" + } + } }, - /** Lookup386: pallet_treasury::pallet::Event */ + /** + * Lookup386: pallet_treasury::pallet::Event + **/ PalletTreasuryEvent: { _enum: { Spending: { - budgetRemaining: "u128", + budgetRemaining: "u128" }, Awarded: { proposalIndex: "u32", award: "u128", - account: "AccountId20", + account: "AccountId20" }, Burnt: { - burntFunds: "u128", + burntFunds: "u128" }, Rollover: { - rolloverBalance: "u128", + rolloverBalance: "u128" }, Deposit: { - value: "u128", + value: "u128" }, SpendApproved: { proposalIndex: "u32", amount: "u128", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, UpdatedInactive: { reactivated: "u128", - deactivated: "u128", + deactivated: "u128" }, AssetSpendApproved: { index: "u32", @@ -3928,25 +4359,27 @@ export default { amount: "u128", beneficiary: "AccountId20", validFrom: "u32", - expireAt: "u32", + expireAt: "u32" }, AssetSpendVoided: { - index: "u32", + index: "u32" }, Paid: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, PaymentFailed: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, SpendProcessed: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup387: pallet_crowdloan_rewards::pallet::Event */ + /** + * Lookup387: pallet_crowdloan_rewards::pallet::Event + **/ PalletCrowdloanRewardsEvent: { _enum: { InitialPaymentMade: "(AccountId20,u128)", @@ -3954,406 +4387,428 @@ export default { RewardsPaid: "(AccountId20,u128)", RewardAddressUpdated: "(AccountId20,AccountId20)", InitializedAlreadyInitializedAccount: "([u8;32],Option,u128)", - InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)", - }, + InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)" + } }, - /** Lookup388: cumulus_pallet_xcmp_queue::pallet::Event */ + /** + * Lookup388: cumulus_pallet_xcmp_queue::pallet::Event + **/ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { - messageHash: "[u8;32]", - }, - }, + messageHash: "[u8;32]" + } + } }, - /** Lookup389: cumulus_pallet_xcm::pallet::Event */ + /** + * Lookup389: cumulus_pallet_xcm::pallet::Event + **/ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", UnsupportedVersion: "[u8;32]", - ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", - }, + ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)" + } }, - /** Lookup390: staging_xcm::v4::traits::Outcome */ + /** + * Lookup390: staging_xcm::v4::traits::Outcome + **/ StagingXcmV4TraitsOutcome: { _enum: { Complete: { - used: "SpWeightsWeightV2Weight", + used: "SpWeightsWeightV2Weight" }, Incomplete: { used: "SpWeightsWeightV2Weight", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, Error: { - error: "XcmV3TraitsError", - }, - }, + error: "XcmV3TraitsError" + } + } }, - /** Lookup391: pallet_xcm::pallet::Event */ + /** + * Lookup391: pallet_xcm::pallet::Event + **/ PalletXcmEvent: { _enum: { Attempted: { - outcome: "StagingXcmV4TraitsOutcome", + outcome: "StagingXcmV4TraitsOutcome" }, Sent: { origin: "StagingXcmV4Location", destination: "StagingXcmV4Location", message: "StagingXcmV4Xcm", - messageId: "[u8;32]", + messageId: "[u8;32]" }, UnexpectedResponse: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseReady: { queryId: "u64", - response: "StagingXcmV4Response", + response: "StagingXcmV4Response" }, Notified: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyOverweight: { queryId: "u64", palletIndex: "u8", callIndex: "u8", actualWeight: "SpWeightsWeightV2Weight", - maxBudgetedWeight: "SpWeightsWeightV2Weight", + maxBudgetedWeight: "SpWeightsWeightV2Weight" }, NotifyDispatchError: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyDecodeFailed: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, InvalidResponder: { origin: "StagingXcmV4Location", queryId: "u64", - expectedLocation: "Option", + expectedLocation: "Option" }, InvalidResponderVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseTaken: { - queryId: "u64", + queryId: "u64" }, AssetsTrapped: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionChangeNotified: { destination: "StagingXcmV4Location", result: "u32", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, SupportedVersionChanged: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, NotifyTargetSendFail: { location: "StagingXcmV4Location", queryId: "u64", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, NotifyTargetMigrationFail: { location: "XcmVersionedLocation", - queryId: "u64", + queryId: "u64" }, InvalidQuerierVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, InvalidQuerier: { origin: "StagingXcmV4Location", queryId: "u64", expectedQuerier: "StagingXcmV4Location", - maybeActualQuerier: "Option", + maybeActualQuerier: "Option" }, VersionNotifyStarted: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyRequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyUnrequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, FeesPaid: { paying: "StagingXcmV4Location", - fees: "StagingXcmV4AssetAssets", + fees: "StagingXcmV4AssetAssets" }, AssetsClaimed: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionMigrationFinished: { - version: "u32", - }, - }, + version: "u32" + } + } }, - /** Lookup392: pallet_assets::pallet::Event */ + /** + * Lookup392: pallet_assets::pallet::Event + **/ PalletAssetsEvent: { _enum: { Created: { assetId: "u128", creator: "AccountId20", - owner: "AccountId20", + owner: "AccountId20" }, Issued: { assetId: "u128", owner: "AccountId20", - amount: "u128", + amount: "u128" }, Transferred: { assetId: "u128", from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { assetId: "u128", owner: "AccountId20", - balance: "u128", + balance: "u128" }, TeamChanged: { assetId: "u128", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, OwnerChanged: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, Frozen: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Thawed: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, AssetFrozen: { - assetId: "u128", + assetId: "u128" }, AssetThawed: { - assetId: "u128", + assetId: "u128" }, AccountsDestroyed: { assetId: "u128", accountsDestroyed: "u32", - accountsRemaining: "u32", + accountsRemaining: "u32" }, ApprovalsDestroyed: { assetId: "u128", approvalsDestroyed: "u32", - approvalsRemaining: "u32", + approvalsRemaining: "u32" }, DestructionStarted: { - assetId: "u128", + assetId: "u128" }, Destroyed: { - assetId: "u128", + assetId: "u128" }, ForceCreated: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, MetadataSet: { assetId: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, MetadataCleared: { - assetId: "u128", + assetId: "u128" }, ApprovedTransfer: { assetId: "u128", source: "AccountId20", delegate: "AccountId20", - amount: "u128", + amount: "u128" }, ApprovalCancelled: { assetId: "u128", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, TransferredApproved: { assetId: "u128", owner: "AccountId20", delegate: "AccountId20", destination: "AccountId20", - amount: "u128", + amount: "u128" }, AssetStatusChanged: { - assetId: "u128", + assetId: "u128" }, AssetMinBalanceChanged: { assetId: "u128", - newMinBalance: "u128", + newMinBalance: "u128" }, Touched: { assetId: "u128", who: "AccountId20", - depositor: "AccountId20", + depositor: "AccountId20" }, Blocked: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Deposited: { assetId: "u128", who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdrawn: { assetId: "u128", who: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup393: pallet_asset_manager::pallet::Event */ + /** + * Lookup393: pallet_asset_manager::pallet::Event + **/ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { assetId: "u128", asset: "MoonriverRuntimeXcmConfigAssetType", - metadata: "MoonriverRuntimeAssetConfigAssetRegistrarMetadata", + metadata: "MoonriverRuntimeAssetConfigAssetRegistrarMetadata" }, UnitsPerSecondChanged: "Null", ForeignAssetXcmLocationChanged: { assetId: "u128", - newAssetType: "MoonriverRuntimeXcmConfigAssetType", + newAssetType: "MoonriverRuntimeXcmConfigAssetType" }, ForeignAssetRemoved: { assetId: "u128", - assetType: "MoonriverRuntimeXcmConfigAssetType", + assetType: "MoonriverRuntimeXcmConfigAssetType" }, SupportedAssetRemoved: { - assetType: "MoonriverRuntimeXcmConfigAssetType", + assetType: "MoonriverRuntimeXcmConfigAssetType" }, ForeignAssetDestroyed: { assetId: "u128", - assetType: "MoonriverRuntimeXcmConfigAssetType", + assetType: "MoonriverRuntimeXcmConfigAssetType" }, LocalAssetDestroyed: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup394: pallet_xcm_transactor::pallet::Event */ + /** + * Lookup394: pallet_xcm_transactor::pallet::Event + **/ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { accountId: "AccountId20", dest: "StagingXcmV4Location", call: "Bytes", - index: "u16", + index: "u16" }, TransactedSovereign: { feePayer: "Option", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, TransactedSigned: { feePayer: "AccountId20", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, RegisteredDerivative: { accountId: "AccountId20", - index: "u16", + index: "u16" }, DeRegisteredDerivative: { - index: "u16", + index: "u16" }, TransactFailed: { - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, TransactInfoChanged: { location: "StagingXcmV4Location", - remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight", + remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight" }, TransactInfoRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, DestFeePerSecondChanged: { location: "StagingXcmV4Location", - feePerSecond: "u128", + feePerSecond: "u128" }, DestFeePerSecondRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, HrmpManagementSent: { - action: "PalletXcmTransactorHrmpOperation", - }, - }, + action: "PalletXcmTransactorHrmpOperation" + } + } }, - /** Lookup395: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** + * Lookup395: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight + **/ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, - /** Lookup396: pallet_ethereum_xcm::pallet::Event */ + /** + * Lookup396: pallet_ethereum_xcm::pallet::Event + **/ PalletEthereumXcmEvent: { _enum: { ExecutedFromXcm: { xcmMsgHash: "H256", - ethTxHash: "H256", - }, - }, + ethTxHash: "H256" + } + } }, - /** Lookup397: pallet_message_queue::pallet::Event */ + /** + * Lookup397: pallet_message_queue::pallet::Event + **/ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - error: "FrameSupportMessagesProcessMessageError", + error: "FrameSupportMessagesProcessMessageError" }, Processed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", weightUsed: "SpWeightsWeightV2Weight", - success: "bool", + success: "bool" }, OverweightEnqueued: { id: "[u8;32]", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", pageIndex: "u32", - messageIndex: "u32", + messageIndex: "u32" }, PageReaped: { origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup398: frame_support::traits::messages::ProcessMessageError */ + /** + * Lookup398: frame_support::traits::messages::ProcessMessageError + **/ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4361,58 +4816,66 @@ export default { Unsupported: "Null", Overweight: "SpWeightsWeightV2Weight", Yield: "Null", - StackLimitReached: "Null", - }, + StackLimitReached: "Null" + } }, - /** Lookup399: pallet_moonbeam_foreign_assets::pallet::Event */ + /** + * Lookup399: pallet_moonbeam_foreign_assets::pallet::Event + **/ PalletMoonbeamForeignAssetsEvent: { _enum: { ForeignAssetCreated: { contractAddress: "H160", assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetXcmLocationChanged: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, ForeignAssetFrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetUnfrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", - }, - }, + xcmLocation: "StagingXcmV4Location" + } + } }, - /** Lookup400: pallet_xcm_weight_trader::pallet::Event */ + /** + * Lookup400: pallet_xcm_weight_trader::pallet::Event + **/ PalletXcmWeightTraderEvent: { _enum: { SupportedAssetAdded: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, SupportedAssetEdited: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, PauseAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, ResumeAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, SupportedAssetRemoved: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup401: pallet_emergency_para_xcm::pallet::Event */ + /** + * Lookup401: pallet_emergency_para_xcm::pallet::Event + **/ PalletEmergencyParaXcmEvent: { - _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"], + _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"] }, - /** Lookup402: pallet_randomness::pallet::Event */ + /** + * Lookup402: pallet_randomness::pallet::Event + **/ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -4423,7 +4886,7 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestEpoch: "u64", + earliestEpoch: "u64" }, RandomnessRequestedLocal: { id: "u64", @@ -4433,73 +4896,93 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestBlock: "u32", + earliestBlock: "u32" }, RequestFulfilled: { - id: "u64", + id: "u64" }, RequestFeeIncreased: { id: "u64", - newFee: "u128", + newFee: "u128" }, RequestExpirationExecuted: { - id: "u64", - }, - }, + id: "u64" + } + } }, - /** Lookup403: frame_system::Phase */ + /** + * Lookup403: frame_system::Phase + **/ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", Finalization: "Null", - Initialization: "Null", - }, + Initialization: "Null" + } }, - /** Lookup405: frame_system::LastRuntimeUpgradeInfo */ + /** + * Lookup405: frame_system::LastRuntimeUpgradeInfo + **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", - specName: "Text", + specName: "Text" }, - /** Lookup406: frame_system::CodeUpgradeAuthorization */ + /** + * Lookup406: frame_system::CodeUpgradeAuthorization + **/ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, - /** Lookup407: frame_system::limits::BlockWeights */ + /** + * Lookup407: frame_system::limits::BlockWeights + **/ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", - perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", + perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass" }, - /** Lookup408: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup408: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", - mandatory: "FrameSystemLimitsWeightsPerClass", + mandatory: "FrameSystemLimitsWeightsPerClass" }, - /** Lookup409: frame_system::limits::WeightsPerClass */ + /** + * Lookup409: frame_system::limits::WeightsPerClass + **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", - reserved: "Option", + reserved: "Option" }, - /** Lookup410: frame_system::limits::BlockLength */ + /** + * Lookup410: frame_system::limits::BlockLength + **/ FrameSystemLimitsBlockLength: { - max: "FrameSupportDispatchPerDispatchClassU32", + max: "FrameSupportDispatchPerDispatchClassU32" }, - /** Lookup411: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup411: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", - mandatory: "u32", + mandatory: "u32" }, - /** Lookup412: sp_weights::RuntimeDbWeight */ + /** + * Lookup412: sp_weights::RuntimeDbWeight + **/ SpWeightsRuntimeDbWeight: { read: "u64", - write: "u64", + write: "u64" }, - /** Lookup413: sp_version::RuntimeVersion */ + /** + * Lookup413: sp_version::RuntimeVersion + **/ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4508,9 +4991,11 @@ export default { implVersion: "u32", apis: "Vec<([u8;8],u32)>", transactionVersion: "u32", - stateVersion: "u8", + stateVersion: "u8" }, - /** Lookup417: frame_system::pallet::Error */ + /** + * Lookup417: frame_system::pallet::Error + **/ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4521,63 +5006,83 @@ export default { "CallFiltered", "MultiBlockMigrationsOngoing", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** + * Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** + * Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", - hrmpOutgoing: "BTreeMap", + hrmpOutgoing: "BTreeMap" }, - /** Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** + * Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", - totalBytes: "u32", + totalBytes: "u32" }, - /** Lookup426: polkadot_primitives::v7::UpgradeGoAhead */ + /** + * Lookup426: polkadot_primitives::v7::UpgradeGoAhead + **/ PolkadotPrimitivesV7UpgradeGoAhead: { - _enum: ["Abort", "GoAhead"], + _enum: ["Abort", "GoAhead"] }, - /** Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** + * Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup429: polkadot_primitives::v7::UpgradeRestriction */ + /** + * Lookup429: polkadot_primitives::v7::UpgradeRestriction + **/ PolkadotPrimitivesV7UpgradeRestriction: { - _enum: ["Present"], + _enum: ["Present"] }, - /** Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** + * Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" }, - /** Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** + * Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", - remainingSize: "u32", + remainingSize: "u32" }, - /** Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel */ + /** + * Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel + **/ PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", msgCount: "u32", totalSize: "u32", - mqcHead: "Option", + mqcHead: "Option" }, - /** Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration */ + /** + * Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration + **/ PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", @@ -4588,19 +5093,25 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" }, - /** Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + /** + * Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams + **/ PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", - allowedAncestryLen: "u32", + allowedAncestryLen: "u32" }, - /** Lookup442: polkadot_core_primitives::OutboundHrmpMessage */ + /** + * Lookup442: polkadot_core_primitives::OutboundHrmpMessage + **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup444: cumulus_pallet_parachain_system::pallet::Error */ + /** + * Lookup444: cumulus_pallet_parachain_system::pallet::Error + **/ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4610,25 +5121,33 @@ export default { "HostConfigurationNotAvailable", "NotScheduled", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup446: pallet_balances::types::BalanceLock */ + /** + * Lookup446: pallet_balances::types::BalanceLock + **/ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", - reasons: "PalletBalancesReasons", + reasons: "PalletBalancesReasons" }, - /** Lookup447: pallet_balances::types::Reasons */ + /** + * Lookup447: pallet_balances::types::Reasons + **/ PalletBalancesReasons: { - _enum: ["Fee", "Misc", "All"], + _enum: ["Fee", "Misc", "All"] }, - /** Lookup450: pallet_balances::types::ReserveData */ + /** + * Lookup450: pallet_balances::types::ReserveData + **/ PalletBalancesReserveData: { id: "[u8;4]", - amount: "u128", + amount: "u128" }, - /** Lookup454: moonriver_runtime::RuntimeHoldReason */ + /** + * Lookup454: moonriver_runtime::RuntimeHoldReason + **/ MoonriverRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4693,19 +5212,25 @@ export default { __Unused59: "Null", __Unused60: "Null", __Unused61: "Null", - Preimage: "PalletPreimageHoldReason", - }, + Preimage: "PalletPreimageHoldReason" + } }, - /** Lookup455: pallet_preimage::pallet::HoldReason */ + /** + * Lookup455: pallet_preimage::pallet::HoldReason + **/ PalletPreimageHoldReason: { - _enum: ["Preimage"], + _enum: ["Preimage"] }, - /** Lookup458: frame_support::traits::tokens::misc::IdAmount */ + /** + * Lookup458: frame_support::traits::tokens::misc::IdAmount + **/ FrameSupportTokensMiscIdAmount: { id: "Null", - amount: "u128", + amount: "u128" }, - /** Lookup460: pallet_balances::pallet::Error */ + /** + * Lookup460: pallet_balances::pallet::Error + **/ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4719,47 +5244,57 @@ export default { "TooManyHolds", "TooManyFreezes", "IssuanceDeactivated", - "DeltaZero", - ], + "DeltaZero" + ] }, - /** Lookup461: pallet_transaction_payment::Releases */ + /** + * Lookup461: pallet_transaction_payment::Releases + **/ PalletTransactionPaymentReleases: { - _enum: ["V1Ancient", "V2"], + _enum: ["V1Ancient", "V2"] }, - /** Lookup462: pallet_parachain_staking::types::RoundInfo */ + /** + * Lookup462: pallet_parachain_staking::types::RoundInfo + **/ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", - firstSlot: "u64", + firstSlot: "u64" }, - /** Lookup463: pallet_parachain_staking::types::Delegator */ + /** + * Lookup463: pallet_parachain_staking::types::Delegator + **/ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", total: "u128", lessTotal: "u128", - status: "PalletParachainStakingDelegatorStatus", + status: "PalletParachainStakingDelegatorStatus" }, /** - * Lookup464: - * pallet_parachain_staking::set::OrderedSet> - */ + * Lookup464: pallet_parachain_staking::set::OrderedSet> + **/ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup465: pallet_parachain_staking::types::Bond */ + /** + * Lookup465: pallet_parachain_staking::types::Bond + **/ PalletParachainStakingBond: { owner: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup467: pallet_parachain_staking::types::DelegatorStatus */ + /** + * Lookup467: pallet_parachain_staking::types::DelegatorStatus + **/ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup468: pallet_parachain_staking::types::CandidateMetadata */ + /** + * Lookup468: pallet_parachain_staking::types::CandidateMetadata + **/ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4770,87 +5305,104 @@ export default { topCapacity: "PalletParachainStakingCapacityStatus", bottomCapacity: "PalletParachainStakingCapacityStatus", request: "Option", - status: "PalletParachainStakingCollatorStatus", + status: "PalletParachainStakingCollatorStatus" }, - /** Lookup469: pallet_parachain_staking::types::CapacityStatus */ + /** + * Lookup469: pallet_parachain_staking::types::CapacityStatus + **/ PalletParachainStakingCapacityStatus: { - _enum: ["Full", "Empty", "Partial"], + _enum: ["Full", "Empty", "Partial"] }, - /** Lookup471: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** + * Lookup471: pallet_parachain_staking::types::CandidateBondLessRequest + **/ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", - whenExecutable: "u32", + whenExecutable: "u32" }, - /** Lookup472: pallet_parachain_staking::types::CollatorStatus */ + /** + * Lookup472: pallet_parachain_staking::types::CollatorStatus + **/ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", Idle: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup474: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** + * Lookup474: pallet_parachain_staking::delegation_requests::ScheduledRequest + **/ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, /** - * Lookup477: - * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) - */ + * Lookup477: pallet_parachain_staking::auto_compound::AutoCompoundConfig + **/ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", - value: "Percent", + value: "Percent" }, - /** Lookup479: pallet_parachain_staking::types::Delegations */ + /** + * Lookup479: pallet_parachain_staking::types::Delegations + **/ PalletParachainStakingDelegations: { delegations: "Vec", - total: "u128", + total: "u128" }, /** - * Lookup481: - * pallet_parachain_staking::set::BoundedOrderedSet, S> - */ + * Lookup481: pallet_parachain_staking::set::BoundedOrderedSet, S> + **/ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup484: pallet_parachain_staking::types::CollatorSnapshot */ + /** + * Lookup484: pallet_parachain_staking::types::CollatorSnapshot + **/ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", - total: "u128", + total: "u128" }, - /** Lookup486: pallet_parachain_staking::types::BondWithAutoCompound */ + /** + * Lookup486: pallet_parachain_staking::types::BondWithAutoCompound + **/ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", - autoCompound: "Percent", + autoCompound: "Percent" }, - /** Lookup487: pallet_parachain_staking::types::DelayedPayout */ + /** + * Lookup487: pallet_parachain_staking::types::DelayedPayout + **/ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", - collatorCommission: "Perbill", + collatorCommission: "Perbill" }, - /** Lookup488: pallet_parachain_staking::inflation::InflationInfo */ + /** + * Lookup488: pallet_parachain_staking::inflation::InflationInfo + **/ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", ideal: "u128", - max: "u128", + max: "u128" }, annual: { min: "Perbill", ideal: "Perbill", - max: "Perbill", + max: "Perbill" }, round: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, - /** Lookup489: pallet_parachain_staking::pallet::Error */ + /** + * Lookup489: pallet_parachain_staking::pallet::Error + **/ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4908,23 +5460,29 @@ export default { "CannotSetAboveMaxCandidates", "RemovedCall", "MarkingOfflineNotEnabled", - "CurrentRoundTooLow", - ], + "CurrentRoundTooLow" + ] }, - /** Lookup490: pallet_author_inherent::pallet::Error */ + /** + * Lookup490: pallet_author_inherent::pallet::Error + **/ PalletAuthorInherentError: { - _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], + _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"] }, - /** Lookup491: pallet_author_mapping::pallet::RegistrationInfo */ + /** + * Lookup491: pallet_author_mapping::pallet::RegistrationInfo + **/ PalletAuthorMappingRegistrationInfo: { _alias: { - keys_: "keys", + keys_: "keys" }, account: "AccountId20", deposit: "u128", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, - /** Lookup492: pallet_author_mapping::pallet::Error */ + /** + * Lookup492: pallet_author_mapping::pallet::Error + **/ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -4934,21 +5492,27 @@ export default { "OldAuthorIdNotFound", "WrongKeySize", "DecodeNimbusFailed", - "DecodeKeysFailed", - ], + "DecodeKeysFailed" + ] }, - /** Lookup493: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** + * Lookup493: pallet_moonbeam_orbiters::types::CollatorPoolInfo + **/ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", - nextOrbiter: "u32", + nextOrbiter: "u32" }, - /** Lookup495: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** + * Lookup495: pallet_moonbeam_orbiters::types::CurrentOrbiter + **/ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", - removed: "bool", + removed: "bool" }, - /** Lookup496: pallet_moonbeam_orbiters::pallet::Error */ + /** + * Lookup496: pallet_moonbeam_orbiters::pallet::Error + **/ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -4959,26 +5523,34 @@ export default { "OrbiterAlreadyInPool", "OrbiterDepositNotFound", "OrbiterNotFound", - "OrbiterStillInAPool", - ], + "OrbiterStillInAPool" + ] }, - /** Lookup499: pallet_utility::pallet::Error */ + /** + * Lookup499: pallet_utility::pallet::Error + **/ PalletUtilityError: { - _enum: ["TooManyCalls"], + _enum: ["TooManyCalls"] }, - /** Lookup502: pallet_proxy::ProxyDefinition */ + /** + * Lookup502: pallet_proxy::ProxyDefinition + **/ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", + delay: "u32" }, - /** Lookup506: pallet_proxy::Announcement */ + /** + * Lookup506: pallet_proxy::Announcement + **/ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", - height: "u32", + height: "u32" }, - /** Lookup508: pallet_proxy::pallet::Error */ + /** + * Lookup508: pallet_proxy::pallet::Error + **/ PalletProxyError: { _enum: [ "TooMany", @@ -4988,37 +5560,41 @@ export default { "Duplicate", "NoPermission", "Unannounced", - "NoSelfProxy", - ], + "NoSelfProxy" + ] }, - /** Lookup509: pallet_maintenance_mode::pallet::Error */ + /** + * Lookup509: pallet_maintenance_mode::pallet::Error + **/ PalletMaintenanceModeError: { - _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], + _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"] }, /** - * Lookup511: pallet_identity::types::Registration> - */ + * Lookup511: pallet_identity::types::Registration> + **/ PalletIdentityRegistration: { judgements: "Vec<(u32,PalletIdentityJudgement)>", deposit: "u128", - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, - /** Lookup520: pallet_identity::types::RegistrarInfo */ + /** + * Lookup520: pallet_identity::types::RegistrarInfo + **/ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", - fields: "u64", + fields: "u64" }, /** - * Lookup522: - * pallet_identity::types::AuthorityProperties> - */ + * Lookup522: pallet_identity::types::AuthorityProperties> + **/ PalletIdentityAuthorityProperties: { suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, - /** Lookup525: pallet_identity::pallet::Error */ + /** + * Lookup525: pallet_identity::pallet::Error + **/ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -5046,21 +5622,27 @@ export default { "InvalidUsername", "UsernameTaken", "NoUsername", - "NotExpired", - ], + "NotExpired" + ] }, - /** Lookup526: pallet_migrations::pallet::Error */ + /** + * Lookup526: pallet_migrations::pallet::Error + **/ PalletMigrationsError: { - _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], + _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"] }, - /** Lookup528: pallet_multisig::Multisig */ + /** + * Lookup528: pallet_multisig::Multisig + **/ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", - approvals: "Vec", + approvals: "Vec" }, - /** Lookup530: pallet_multisig::pallet::Error */ + /** + * Lookup530: pallet_multisig::pallet::Error + **/ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -5076,32 +5658,40 @@ export default { "WrongTimepoint", "UnexpectedTimepoint", "MaxWeightTooLow", - "AlreadyStored", - ], + "AlreadyStored" + ] }, - /** Lookup532: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus */ + /** + * Lookup532: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus + **/ PalletMoonbeamLazyMigrationsStateMigrationStatus: { _enum: { NotStarted: "Null", Started: "Bytes", Error: "Bytes", - Complete: "Null", - }, + Complete: "Null" + } }, - /** Lookup534: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus */ + /** + * Lookup534: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus: { _enum: { Idle: "Null", - Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo", - }, + Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo" + } }, - /** Lookup535: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo */ + /** + * Lookup535: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo: { assetId: "u128", remainingBalances: "u32", - remainingApprovals: "u32", + remainingApprovals: "u32" }, - /** Lookup536: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** + * Lookup536: pallet_moonbeam_lazy_migrations::pallet::Error + **/ PalletMoonbeamLazyMigrationsError: { _enum: [ "LimitCannotBeZero", @@ -5116,19 +5706,23 @@ export default { "MigrationNotFinished", "NoMigrationInProgress", "MintFailed", - "ApprovalFailed", - ], + "ApprovalFailed" + ] }, - /** Lookup537: pallet_evm::CodeMetadata */ + /** + * Lookup537: pallet_evm::CodeMetadata + **/ PalletEvmCodeMetadata: { _alias: { size_: "size", - hash_: "hash", + hash_: "hash" }, size_: "u64", - hash_: "H256", + hash_: "H256" }, - /** Lookup539: pallet_evm::pallet::Error */ + /** + * Lookup539: pallet_evm::pallet::Error + **/ PalletEvmError: { _enum: [ "BalanceLow", @@ -5143,10 +5737,12 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "Undefined", - ], + "Undefined" + ] }, - /** Lookup542: fp_rpc::TransactionStatus */ + /** + * Lookup542: fp_rpc::TransactionStatus + **/ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -5154,35 +5750,42 @@ export default { to: "Option", contractAddress: "Option", logs: "Vec", - logsBloom: "EthbloomBloom", + logsBloom: "EthbloomBloom" }, - /** Lookup544: ethbloom::Bloom */ + /** + * Lookup544: ethbloom::Bloom + **/ EthbloomBloom: "[u8;256]", - /** Lookup546: ethereum::receipt::ReceiptV3 */ + /** + * Lookup546: ethereum::receipt::ReceiptV3 + **/ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", EIP2930: "EthereumReceiptEip658ReceiptData", - EIP1559: "EthereumReceiptEip658ReceiptData", - }, + EIP1559: "EthereumReceiptEip658ReceiptData" + } }, - /** Lookup547: ethereum::receipt::EIP658ReceiptData */ + /** + * Lookup547: ethereum::receipt::EIP658ReceiptData + **/ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", logsBloom: "EthbloomBloom", - logs: "Vec", + logs: "Vec" }, /** - * Lookup548: - * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) - */ + * Lookup548: ethereum::block::Block + **/ EthereumBlock: { header: "EthereumHeader", transactions: "Vec", - ommers: "Vec", + ommers: "Vec" }, - /** Lookup549: ethereum::header::Header */ + /** + * Lookup549: ethereum::header::Header + **/ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -5198,74 +5801,83 @@ export default { timestamp: "u64", extraData: "Bytes", mixHash: "H256", - nonce: "EthereumTypesHashH64", + nonce: "EthereumTypesHashH64" }, - /** Lookup550: ethereum_types::hash::H64 */ + /** + * Lookup550: ethereum_types::hash::H64 + **/ EthereumTypesHashH64: "[u8;8]", - /** Lookup555: pallet_ethereum::pallet::Error */ + /** + * Lookup555: pallet_ethereum::pallet::Error + **/ PalletEthereumError: { - _enum: ["InvalidSignature", "PreLogExists"], + _enum: ["InvalidSignature", "PreLogExists"] }, /** - * Lookup558: pallet_scheduler::Scheduled, BlockNumber, moonriver_runtime::OriginCaller, account::AccountId20> - */ + * Lookup558: pallet_scheduler::Scheduled, BlockNumber, moonriver_runtime::OriginCaller, account::AccountId20> + **/ PalletSchedulerScheduled: { maybeId: "Option<[u8;32]>", priority: "u8", call: "FrameSupportPreimagesBounded", maybePeriodic: "Option<(u32,u32)>", - origin: "MoonriverRuntimeOriginCaller", + origin: "MoonriverRuntimeOriginCaller" }, - /** Lookup560: pallet_scheduler::RetryConfig */ + /** + * Lookup560: pallet_scheduler::RetryConfig + **/ PalletSchedulerRetryConfig: { totalRetries: "u8", remaining: "u8", - period: "u32", + period: "u32" }, - /** Lookup561: pallet_scheduler::pallet::Error */ + /** + * Lookup561: pallet_scheduler::pallet::Error + **/ PalletSchedulerError: { _enum: [ "FailedToSchedule", "NotFound", "TargetBlockNumberInPast", "RescheduleNoChange", - "Named", - ], + "Named" + ] }, - /** Lookup562: pallet_preimage::OldRequestStatus */ + /** + * Lookup562: pallet_preimage::OldRequestStatus + **/ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { deposit: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { deposit: "Option<(AccountId20,u128)>", count: "u32", - len: "Option", - }, - }, + len: "Option" + } + } }, /** - * Lookup565: pallet_preimage::RequestStatus> - */ + * Lookup565: pallet_preimage::RequestStatus> + **/ PalletPreimageRequestStatus: { _enum: { Unrequested: { ticket: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { maybeTicket: "Option<(AccountId20,u128)>", count: "u32", - maybeLen: "Option", - }, - }, + maybeLen: "Option" + } + } }, - /** Lookup571: pallet_preimage::pallet::Error */ + /** + * Lookup571: pallet_preimage::pallet::Error + **/ PalletPreimageError: { _enum: [ "TooBig", @@ -5276,41 +5888,50 @@ export default { "NotRequested", "TooMany", "TooFew", - "NoCost", - ], + "NoCost" + ] }, /** - * Lookup573: pallet_conviction_voting::vote::Voting - */ + * Lookup573: pallet_conviction_voting::vote::Voting + **/ PalletConvictionVotingVoteVoting: { _enum: { Casting: "PalletConvictionVotingVoteCasting", - Delegating: "PalletConvictionVotingVoteDelegating", - }, + Delegating: "PalletConvictionVotingVoteDelegating" + } }, - /** Lookup574: pallet_conviction_voting::vote::Casting */ + /** + * Lookup574: pallet_conviction_voting::vote::Casting + **/ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup578: pallet_conviction_voting::types::Delegations */ + /** + * Lookup578: pallet_conviction_voting::types::Delegations + **/ PalletConvictionVotingDelegations: { votes: "u128", - capital: "u128", + capital: "u128" }, - /** Lookup579: pallet_conviction_voting::vote::PriorLock */ + /** + * Lookup579: pallet_conviction_voting::vote::PriorLock + **/ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup580: pallet_conviction_voting::vote::Delegating */ + /** + * Lookup580: pallet_conviction_voting::vote::Delegating + **/ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", conviction: "PalletConvictionVotingConviction", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup584: pallet_conviction_voting::pallet::Error */ + /** + * Lookup584: pallet_conviction_voting::pallet::Error + **/ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5324,15 +5945,12 @@ export default { "Nonsense", "MaxVotesReached", "ClassNeeded", - "BadClass", - ], + "BadClass" + ] }, /** - * Lookup585: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup585: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumInfo: { _enum: { Ongoing: "PalletReferendaReferendumStatus", @@ -5340,15 +5958,12 @@ export default { Rejected: "(u32,Option,Option)", Cancelled: "(u32,Option,Option)", TimedOut: "(u32,Option,Option)", - Killed: "u32", - }, + Killed: "u32" + } }, /** - * Lookup586: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup586: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumStatus: { track: "u16", origin: "MoonriverRuntimeOriginCaller", @@ -5360,19 +5975,25 @@ export default { deciding: "Option", tally: "PalletConvictionVotingTally", inQueue: "bool", - alarm: "Option<(u32,(u32,u32))>", + alarm: "Option<(u32,(u32,u32))>" }, - /** Lookup587: pallet_referenda::types::Deposit */ + /** + * Lookup587: pallet_referenda::types::Deposit + **/ PalletReferendaDeposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup590: pallet_referenda::types::DecidingStatus */ + /** + * Lookup590: pallet_referenda::types::DecidingStatus + **/ PalletReferendaDecidingStatus: { since: "u32", - confirming: "Option", + confirming: "Option" }, - /** Lookup598: pallet_referenda::types::TrackInfo */ + /** + * Lookup598: pallet_referenda::types::TrackInfo + **/ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5382,30 +6003,34 @@ export default { confirmPeriod: "u32", minEnactmentPeriod: "u32", minApproval: "PalletReferendaCurve", - minSupport: "PalletReferendaCurve", + minSupport: "PalletReferendaCurve" }, - /** Lookup599: pallet_referenda::types::Curve */ + /** + * Lookup599: pallet_referenda::types::Curve + **/ PalletReferendaCurve: { _enum: { LinearDecreasing: { length: "Perbill", floor: "Perbill", - ceil: "Perbill", + ceil: "Perbill" }, SteppedDecreasing: { begin: "Perbill", end: "Perbill", step: "Perbill", - period: "Perbill", + period: "Perbill" }, Reciprocal: { factor: "i64", xOffset: "i64", - yOffset: "i64", - }, - }, + yOffset: "i64" + } + } }, - /** Lookup602: pallet_referenda::pallet::Error */ + /** + * Lookup602: pallet_referenda::pallet::Error + **/ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5421,28 +6046,34 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", - "PreimageStoredWithDifferentLength", - ], + "PreimageStoredWithDifferentLength" + ] }, - /** Lookup603: pallet_whitelist::pallet::Error */ + /** + * Lookup603: pallet_whitelist::pallet::Error + **/ PalletWhitelistError: { _enum: [ "UnavailablePreImage", "UndecodableCall", "InvalidCallWeightWitness", "CallIsNotWhitelisted", - "CallAlreadyWhitelisted", - ], + "CallAlreadyWhitelisted" + ] }, - /** Lookup605: pallet_collective::Votes */ + /** + * Lookup605: pallet_collective::Votes + **/ PalletCollectiveVotes: { index: "u32", threshold: "u32", ayes: "Vec", nays: "Vec", - end: "u32", + end: "u32" }, - /** Lookup606: pallet_collective::pallet::Error */ + /** + * Lookup606: pallet_collective::pallet::Error + **/ PalletCollectiveError: { _enum: [ "NotMember", @@ -5455,41 +6086,48 @@ export default { "TooManyProposals", "WrongProposalWeight", "WrongProposalLength", - "PrimeAccountNotMember", - ], + "PrimeAccountNotMember" + ] }, - /** Lookup609: pallet_treasury::Proposal */ + /** + * Lookup609: pallet_treasury::Proposal + **/ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", beneficiary: "AccountId20", - bond: "u128", + bond: "u128" }, /** - * Lookup612: pallet_treasury::SpendStatus - */ + * Lookup612: pallet_treasury::SpendStatus + **/ PalletTreasurySpendStatus: { assetKind: "Null", amount: "u128", beneficiary: "AccountId20", validFrom: "u32", expireAt: "u32", - status: "PalletTreasuryPaymentState", + status: "PalletTreasuryPaymentState" }, - /** Lookup613: pallet_treasury::PaymentState */ + /** + * Lookup613: pallet_treasury::PaymentState + **/ PalletTreasuryPaymentState: { _enum: { Pending: "Null", Attempted: { - id: "Null", + id: "Null" }, - Failed: "Null", - }, + Failed: "Null" + } }, - /** Lookup615: frame_support::PalletId */ + /** + * Lookup615: frame_support::PalletId + **/ FrameSupportPalletId: "[u8;8]", - /** Lookup616: pallet_treasury::pallet::Error */ + /** + * Lookup616: pallet_treasury::pallet::Error + **/ PalletTreasuryError: { _enum: [ "InvalidIndex", @@ -5502,16 +6140,20 @@ export default { "AlreadyAttempted", "PayoutError", "NotAttempted", - "Inconclusive", - ], + "Inconclusive" + ] }, - /** Lookup617: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** + * Lookup617: pallet_crowdloan_rewards::pallet::RewardInfo + **/ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", - contributedRelayAddresses: "Vec<[u8;32]>", + contributedRelayAddresses: "Vec<[u8;32]>" }, - /** Lookup619: pallet_crowdloan_rewards::pallet::Error */ + /** + * Lookup619: pallet_crowdloan_rewards::pallet::Error + **/ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -5528,83 +6170,101 @@ export default { "TooManyContributors", "VestingPeriodNonValid", "NonContributedAddressProvided", - "InsufficientNumberOfValidProofs", - ], + "InsufficientNumberOfValidProofs" + ] }, - /** Lookup624: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** + * Lookup624: cumulus_pallet_xcmp_queue::OutboundChannelDetails + **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", signalsExist: "bool", firstIndex: "u16", - lastIndex: "u16", + lastIndex: "u16" }, - /** Lookup625: cumulus_pallet_xcmp_queue::OutboundState */ + /** + * Lookup625: cumulus_pallet_xcmp_queue::OutboundState + **/ CumulusPalletXcmpQueueOutboundState: { - _enum: ["Ok", "Suspended"], + _enum: ["Ok", "Suspended"] }, - /** Lookup629: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** + * Lookup629: cumulus_pallet_xcmp_queue::QueueConfigData + **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", - resumeThreshold: "u32", + resumeThreshold: "u32" }, - /** Lookup630: cumulus_pallet_xcmp_queue::pallet::Error */ + /** + * Lookup630: cumulus_pallet_xcmp_queue::pallet::Error + **/ CumulusPalletXcmpQueueError: { _enum: [ "BadQueueConfig", "AlreadySuspended", "AlreadyResumed", "TooManyActiveOutboundChannels", - "TooBig", - ], + "TooBig" + ] }, - /** Lookup631: pallet_xcm::pallet::QueryStatus */ + /** + * Lookup631: pallet_xcm::pallet::QueryStatus + **/ PalletXcmQueryStatus: { _enum: { Pending: { responder: "XcmVersionedLocation", maybeMatchQuerier: "Option", maybeNotify: "Option<(u8,u8)>", - timeout: "u32", + timeout: "u32" }, VersionNotifier: { origin: "XcmVersionedLocation", - isActive: "bool", + isActive: "bool" }, Ready: { response: "XcmVersionedResponse", - at: "u32", - }, - }, + at: "u32" + } + } }, - /** Lookup635: xcm::VersionedResponse */ + /** + * Lookup635: xcm::VersionedResponse + **/ XcmVersionedResponse: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Response", V3: "XcmV3Response", - V4: "StagingXcmV4Response", - }, + V4: "StagingXcmV4Response" + } }, - /** Lookup641: pallet_xcm::pallet::VersionMigrationStage */ + /** + * Lookup641: pallet_xcm::pallet::VersionMigrationStage + **/ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", MigrateVersionNotifiers: "Null", NotifyCurrentTargets: "Option", - MigrateAndNotifyOldTargets: "Null", - }, + MigrateAndNotifyOldTargets: "Null" + } }, - /** Lookup644: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** + * Lookup644: pallet_xcm::pallet::RemoteLockedFungibleRecord + **/ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", - consumers: "Vec<(Null,u128)>", + consumers: "Vec<(Null,u128)>" }, - /** Lookup651: pallet_xcm::pallet::Error */ + /** + * Lookup651: pallet_xcm::pallet::Error + **/ PalletXcmError: { _enum: [ "Unreachable", @@ -5631,10 +6291,12 @@ export default { "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", - "LocalExecutionIncomplete", - ], + "LocalExecutionIncomplete" + ] }, - /** Lookup652: pallet_assets::types::AssetDetails */ + /** + * Lookup652: pallet_assets::types::AssetDetails + **/ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5647,50 +6309,61 @@ export default { accounts: "u32", sufficients: "u32", approvals: "u32", - status: "PalletAssetsAssetStatus", + status: "PalletAssetsAssetStatus" }, - /** Lookup653: pallet_assets::types::AssetStatus */ + /** + * Lookup653: pallet_assets::types::AssetStatus + **/ PalletAssetsAssetStatus: { - _enum: ["Live", "Frozen", "Destroying"], + _enum: ["Live", "Frozen", "Destroying"] }, - /** Lookup655: pallet_assets::types::AssetAccount */ + /** + * Lookup655: pallet_assets::types::AssetAccount + **/ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", - extra: "Null", + extra: "Null" }, - /** Lookup656: pallet_assets::types::AccountStatus */ + /** + * Lookup656: pallet_assets::types::AccountStatus + **/ PalletAssetsAccountStatus: { - _enum: ["Liquid", "Frozen", "Blocked"], + _enum: ["Liquid", "Frozen", "Blocked"] }, - /** Lookup657: pallet_assets::types::ExistenceReason */ + /** + * Lookup657: pallet_assets::types::ExistenceReason + **/ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", Sufficient: "Null", DepositHeld: "u128", DepositRefunded: "Null", - DepositFrom: "(AccountId20,u128)", - }, + DepositFrom: "(AccountId20,u128)" + } }, - /** Lookup659: pallet_assets::types::Approval */ + /** + * Lookup659: pallet_assets::types::Approval + **/ PalletAssetsApproval: { amount: "u128", - deposit: "u128", + deposit: "u128" }, /** - * Lookup660: pallet_assets::types::AssetMetadata> - */ + * Lookup660: pallet_assets::types::AssetMetadata> + **/ PalletAssetsAssetMetadata: { deposit: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup662: pallet_assets::pallet::Error */ + /** + * Lookup662: pallet_assets::pallet::Error + **/ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5713,10 +6386,12 @@ export default { "IncorrectStatus", "NotFrozen", "CallbackFailed", - "BadAssetId", - ], + "BadAssetId" + ] }, - /** Lookup663: pallet_asset_manager::pallet::Error */ + /** + * Lookup663: pallet_asset_manager::pallet::Error + **/ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5726,10 +6401,12 @@ export default { "LocalAssetLimitReached", "ErrorDestroyingAsset", "NotSufficientDeposit", - "NonExistentLocalAsset", - ], + "NonExistentLocalAsset" + ] }, - /** Lookup664: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** + * Lookup664: pallet_xcm_transactor::relay_indices::RelayChainIndices + **/ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5748,9 +6425,11 @@ export default { initOpenChannel: "u8", acceptOpenChannel: "u8", closeChannel: "u8", - cancelOpenRequest: "u8", + cancelOpenRequest: "u8" }, - /** Lookup665: pallet_xcm_transactor::pallet::Error */ + /** + * Lookup665: pallet_xcm_transactor::pallet::Error + **/ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5779,40 +6458,50 @@ export default { "HrmpHandlerNotImplemented", "TooMuchFeeUsed", "ErrorValidating", - "RefundNotSupportedWithTransactInfo", - ], + "RefundNotSupportedWithTransactInfo" + ] }, - /** Lookup666: pallet_ethereum_xcm::pallet::Error */ + /** + * Lookup666: pallet_ethereum_xcm::pallet::Error + **/ PalletEthereumXcmError: { - _enum: ["EthereumXcmExecutionSuspended"], + _enum: ["EthereumXcmExecutionSuspended"] }, - /** Lookup667: pallet_message_queue::BookState */ + /** + * Lookup667: pallet_message_queue::BookState + **/ PalletMessageQueueBookState: { _alias: { - size_: "size", + size_: "size" }, begin: "u32", end: "u32", count: "u32", readyNeighbours: "Option", messageCount: "u64", - size_: "u64", + size_: "u64" }, - /** Lookup669: pallet_message_queue::Neighbours */ + /** + * Lookup669: pallet_message_queue::Neighbours + **/ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", - next: "CumulusPrimitivesCoreAggregateMessageOrigin", + next: "CumulusPrimitivesCoreAggregateMessageOrigin" }, - /** Lookup671: pallet_message_queue::Page */ + /** + * Lookup671: pallet_message_queue::Page + **/ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", firstIndex: "u32", first: "u32", last: "u32", - heap: "Bytes", + heap: "Bytes" }, - /** Lookup673: pallet_message_queue::pallet::Error */ + /** + * Lookup673: pallet_message_queue::pallet::Error + **/ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5823,14 +6512,18 @@ export default { "InsufficientWeight", "TemporarilyUnprocessable", "QueuePaused", - "RecursiveDisallowed", - ], + "RecursiveDisallowed" + ] }, - /** Lookup675: pallet_moonbeam_foreign_assets::AssetStatus */ + /** + * Lookup675: pallet_moonbeam_foreign_assets::AssetStatus + **/ PalletMoonbeamForeignAssetsAssetStatus: { - _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"], + _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"] }, - /** Lookup676: pallet_moonbeam_foreign_assets::pallet::Error */ + /** + * Lookup676: pallet_moonbeam_foreign_assets::pallet::Error + **/ PalletMoonbeamForeignAssetsError: { _enum: [ "AssetAlreadyExists", @@ -5846,10 +6539,12 @@ export default { "InvalidSymbol", "InvalidTokenName", "LocationAlreadyExists", - "TooManyForeignAssets", - ], + "TooManyForeignAssets" + ] }, - /** Lookup678: pallet_xcm_weight_trader::pallet::Error */ + /** + * Lookup678: pallet_xcm_weight_trader::pallet::Error + **/ PalletXcmWeightTraderError: { _enum: [ "AssetAlreadyAdded", @@ -5857,27 +6552,37 @@ export default { "AssetNotFound", "AssetNotPaused", "XcmLocationFiltered", - "PriceCannotBeZero", - ], + "PriceCannotBeZero" + ] }, - /** Lookup679: pallet_emergency_para_xcm::XcmMode */ + /** + * Lookup679: pallet_emergency_para_xcm::XcmMode + **/ PalletEmergencyParaXcmXcmMode: { - _enum: ["Normal", "Paused"], + _enum: ["Normal", "Paused"] }, - /** Lookup680: pallet_emergency_para_xcm::pallet::Error */ + /** + * Lookup680: pallet_emergency_para_xcm::pallet::Error + **/ PalletEmergencyParaXcmError: { - _enum: ["NotInPausedMode"], + _enum: ["NotInPausedMode"] }, - /** Lookup682: pallet_precompile_benchmarks::pallet::Error */ + /** + * Lookup682: pallet_precompile_benchmarks::pallet::Error + **/ PalletPrecompileBenchmarksError: { - _enum: ["BenchmarkError"], + _enum: ["BenchmarkError"] }, - /** Lookup683: pallet_randomness::types::RequestState */ + /** + * Lookup683: pallet_randomness::types::RequestState + **/ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", - deposit: "u128", + deposit: "u128" }, - /** Lookup684: pallet_randomness::types::Request> */ + /** + * Lookup684: pallet_randomness::types::Request> + **/ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5885,28 +6590,36 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - info: "PalletRandomnessRequestInfo", + info: "PalletRandomnessRequestInfo" }, - /** Lookup685: pallet_randomness::types::RequestInfo */ + /** + * Lookup685: pallet_randomness::types::RequestInfo + **/ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", - Local: "(u32,u32)", - }, + Local: "(u32,u32)" + } }, - /** Lookup686: pallet_randomness::types::RequestType */ + /** + * Lookup686: pallet_randomness::types::RequestType + **/ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", - Local: "u32", - }, + Local: "u32" + } }, - /** Lookup687: pallet_randomness::types::RandomnessResult */ + /** + * Lookup687: pallet_randomness::types::RandomnessResult + **/ PalletRandomnessRandomnessResult: { randomness: "Option", - requestCount: "u64", + requestCount: "u64" }, - /** Lookup688: pallet_randomness::pallet::Error */ + /** + * Lookup688: pallet_randomness::pallet::Error + **/ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5920,33 +6633,55 @@ export default { "OnlyRequesterCanIncreaseFee", "RequestHasNotExpired", "RandomnessResultDNE", - "RandomnessResultNotFilled", - ], + "RandomnessResultNotFilled" + ] }, - /** Lookup691: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** + * Lookup691: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender + **/ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup692: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** + * Lookup692: frame_system::extensions::check_spec_version::CheckSpecVersion + **/ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup693: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** + * Lookup693: frame_system::extensions::check_tx_version::CheckTxVersion + **/ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup694: frame_system::extensions::check_genesis::CheckGenesis */ + /** + * Lookup694: frame_system::extensions::check_genesis::CheckGenesis + **/ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup697: frame_system::extensions::check_nonce::CheckNonce */ + /** + * Lookup697: frame_system::extensions::check_nonce::CheckNonce + **/ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup698: frame_system::extensions::check_weight::CheckWeight */ + /** + * Lookup698: frame_system::extensions::check_weight::CheckWeight + **/ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup699: pallet_transaction_payment::ChargeTransactionPayment */ + /** + * Lookup699: pallet_transaction_payment::ChargeTransactionPayment + **/ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup700: frame_metadata_hash_extension::CheckMetadataHash */ + /** + * Lookup700: frame_metadata_hash_extension::CheckMetadataHash + **/ FrameMetadataHashExtensionCheckMetadataHash: { - mode: "FrameMetadataHashExtensionMode", + mode: "FrameMetadataHashExtensionMode" }, - /** Lookup701: frame_metadata_hash_extension::Mode */ + /** + * Lookup701: frame_metadata_hash_extension::Mode + **/ FrameMetadataHashExtensionMode: { - _enum: ["Disabled", "Enabled"], + _enum: ["Disabled", "Enabled"] }, - /** Lookup702: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim */ + /** + * Lookup702: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim + **/ CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim: "Null", - /** Lookup704: moonriver_runtime::Runtime */ - MoonriverRuntimeRuntime: "Null", + /** + * Lookup704: moonriver_runtime::Runtime + **/ + MoonriverRuntimeRuntime: "Null" }; diff --git a/typescript-api/src/moonriver/interfaces/moon/definitions.ts b/typescript-api/src/moonriver/interfaces/moon/definitions.ts index 745e4404ef..9f581c812e 100644 --- a/typescript-api/src/moonriver/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonriver/interfaces/moon/definitions.ts @@ -3,6 +3,6 @@ import { moonbeamDefinitions } from "moonbeam-types-bundle"; export default { types: {}, rpc: { - ...moonbeamDefinitions.rpc?.moon, - }, + ...moonbeamDefinitions.rpc?.moon + } }; diff --git a/typescript-api/src/moonriver/interfaces/registry.ts b/typescript-api/src/moonriver/interfaces/registry.ts index bb9a4762a4..0017c0aa77 100644 --- a/typescript-api/src/moonriver/interfaces/registry.ts +++ b/typescript-api/src/moonriver/interfaces/registry.ts @@ -400,7 +400,7 @@ import type { XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; declare module "@polkadot/types/types/registry" { diff --git a/typescript-api/src/moonriver/interfaces/types-lookup.ts b/typescript-api/src/moonriver/interfaces/types-lookup.ts index 3d3778025b..08414f4828 100644 --- a/typescript-api/src/moonriver/interfaces/types-lookup.ts +++ b/typescript-api/src/moonriver/interfaces/types-lookup.ts @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { Vote } from "@polkadot/types/interfaces/elections"; @@ -36,7 +36,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { Event } from "@polkadot/types/interfaces/system"; diff --git a/typescript-api/tsup.config.ts b/typescript-api/tsup.config.ts index d0295ca705..f94bb15b49 100644 --- a/typescript-api/tsup.config.ts +++ b/typescript-api/tsup.config.ts @@ -1,38 +1,44 @@ -import { defineConfig } from 'tsup' -import { execSync } from 'child_process' +import { defineConfig } from "tsup"; +import { execSync } from "node:child_process"; export default defineConfig([ { - entry: ['src/moonbeam'], - outDir: 'dist/moonbeam', - format: ['esm', 'cjs'], + entry: ["src/moonbeam"], + outDir: "dist/moonbeam", + format: ["esm", "cjs"], splitting: false, clean: true, onSuccess: async () => { - console.log('Running tsc for moonbeam...') - execSync('pnpm tsc -p src/moonbeam/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + console.log("Running tsc for moonbeam..."); + execSync("pnpm tsc -p src/moonbeam/tsconfig.json --emitDeclarationOnly", { + stdio: "inherit" + }); } }, { - entry: ['src/moonriver'], - outDir: 'dist/moonriver', - format: ['esm', 'cjs'], + entry: ["src/moonriver"], + outDir: "dist/moonriver", + format: ["esm", "cjs"], splitting: false, clean: true, onSuccess: async () => { - console.log('Running tsc for moonriver...') - execSync('pnpm tsc -p src/moonriver/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + console.log("Running tsc for moonriver..."); + execSync("pnpm tsc -p src/moonriver/tsconfig.json --emitDeclarationOnly", { + stdio: "inherit" + }); } }, { - entry: ['src/moonbase'], - outDir: 'dist/moonbase', - format: ['esm', 'cjs'], + entry: ["src/moonbase"], + outDir: "dist/moonbase", + format: ["esm", "cjs"], splitting: false, clean: true, onSuccess: async () => { - console.log('Running tsc for moonbase...') - execSync('pnpm tsc -p src/moonbase/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + console.log("Running tsc for moonbase..."); + execSync("pnpm tsc -p src/moonbase/tsconfig.json --emitDeclarationOnly", { + stdio: "inherit" + }); } } -]) +]); From c28e3499c3c16676def557bc11e57015ff5b711d Mon Sep 17 00:00:00 2001 From: Tim B <79199034+timbrinded@users.noreply.github.com> Date: Mon, 16 Dec 2024 08:55:05 +0000 Subject: [PATCH 15/24] =?UTF-8?q?chore:=20=F0=9F=93=A6=EF=B8=8F=20Update?= =?UTF-8?q?=20NPM=20Packages=20=20(#3097)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor: :sparkles: Dual publish typesbundle properly * refactor: :sparkles: ApiAugment fixed paths * feat: :sparkles: Added new ScrapeMetadata script * build: :building_construction: add built `/dist` to repo * style: :lipstick: lint * style: :lipstick: Exclude dist from editorconfig * fix: :bug: Fix typegen check CI * refactor: :recycle: Tidy script call * fix: :bug: Fix tracing CI * refactor: :recycle: Remove dist from repo * remove dist * fix: :package: Fix packages! * fix: :green_heart: Fix typegen CI * style: :rotating_light: pretty * style: :lipstick: Replace Prettier with Biome * style: :lipstick: Replace Prettier with Biome * style: :fire: get rid of editor config * chore: :package: Update to latest Packages * style: :recycle: Regen types (with formatting) * fix: :package: fix oz pkg ver * fix: :white_check_mark: Fix Test * update lock --- package.json | 23 +- pnpm-lock.yaml | 1594 ++++++++++++---------- test/package.json | 24 +- typescript-api/scripts/scrapeMetadata.ts | 11 +- 4 files changed, 928 insertions(+), 724 deletions(-) diff --git a/package.json b/package.json index 229d3e2b0d..6958729916 100644 --- a/package.json +++ b/package.json @@ -17,13 +17,13 @@ "check:fix": "pnpm -r check:fix" }, "dependencies": { - "@polkadot/api": "14.3.1", - "@polkadot/api-augment": "14.3.1", - "@polkadot/api-derive": "14.3.1", + "@polkadot/api": "15.0.1", + "@polkadot/api-augment": "15.0.1", + "@polkadot/api-derive": "15.0.1", "@polkadot/keyring": "13.2.3", - "@polkadot/rpc-provider": "14.3.1", - "@polkadot/types": "14.3.1", - "@polkadot/types-codec": "14.3.1", + "@polkadot/rpc-provider": "15.0.1", + "@polkadot/types": "15.0.1", + "@polkadot/types-codec": "15.0.1", "@polkadot/util": "13.2.3", "@polkadot/util-crypto": "13.2.3", "ethers": "6.13.4", @@ -31,9 +31,14 @@ }, "devDependencies": { "@biomejs/biome": "1.9.4", - "@types/node": "^22.10.1", - "tsx": "^4.19.2", - "typescript": "^5.3.3" + "@types/node": "22.10.1", + "tsx": "4.19.2", + "typescript": "5.7.2" + }, + "pnpm": { + "overrides": { + "@openzeppelin/contracts": "4.9.6" + } }, "keywords": [], "author": "", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0a6dc5600f..f17e298bc4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,31 +4,34 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + '@openzeppelin/contracts': 4.9.6 + importers: .: dependencies: '@polkadot/api': - specifier: 14.3.1 - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 15.0.1 + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-augment': - specifier: 14.3.1 - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 15.0.1 + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-derive': - specifier: 14.3.1 - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 15.0.1 + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': specifier: 13.2.3 version: 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) '@polkadot/rpc-provider': - specifier: 14.3.1 - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 15.0.1 + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': - specifier: 14.3.1 - version: 14.3.1 + specifier: 15.0.1 + version: 15.0.1 '@polkadot/types-codec': - specifier: 14.3.1 - version: 14.3.1 + specifier: 15.0.1 + version: 15.0.1 '@polkadot/util': specifier: 13.2.3 version: 13.2.3 @@ -40,20 +43,20 @@ importers: version: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) tsup: specifier: 8.3.5 - version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) + version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1) devDependencies: '@biomejs/biome': specifier: 1.9.4 version: 1.9.4 '@types/node': - specifier: ^22.10.1 + specifier: 22.10.1 version: 22.10.1 tsx: - specifier: ^4.19.2 + specifier: 4.19.2 version: 4.19.2 typescript: - specifier: ^5.3.3 - version: 5.6.3 + specifier: 5.7.2 + version: 5.7.2 moonbeam-types-bundle: dependencies: @@ -62,34 +65,34 @@ importers: version: 1.9.4 '@polkadot/api': specifier: '*' - version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-base': specifier: '*' - version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/rpc-core': specifier: '*' - version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/typegen': specifier: '*' - version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': specifier: '*' - version: 14.0.1 + version: 15.0.1 '@polkadot/types-codec': specifier: '*' - version: 14.0.1 + version: 15.0.1 tsup: specifier: '*' - version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.2)(yaml@2.6.0) + version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1) typescript: specifier: '*' - version: 5.6.2 + version: 5.7.2 test: dependencies: '@acala-network/chopsticks': specifier: 1.0.1 - version: 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10) + version: 1.0.1(bufferutil@4.0.8)(debug@4.4.0)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(utf-8-validate@5.0.10) '@biomejs/biome': specifier: '*' version: 1.9.4 @@ -98,25 +101,25 @@ importers: version: link:../typescript-api '@moonwall/cli': specifier: 5.9.1 - version: 5.9.1(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + version: 5.9.1(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) '@moonwall/util': specifier: 5.9.1 - version: 5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8) + version: 5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.6.1)(zod@3.24.0) '@openzeppelin/contracts': specifier: 4.9.6 version: 4.9.6 '@polkadot-api/merkleize-metadata': - specifier: 1.1.10 - version: 1.1.10 + specifier: 1.1.11 + version: 1.1.11 '@polkadot/api': specifier: '*' - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-augment': specifier: '*' - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-derive': specifier: '*' - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/apps-config': specifier: 0.146.1 version: 0.146.1(@polkadot/keyring@13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3))(bufferutil@4.0.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(utf-8-validate@5.0.10) @@ -125,13 +128,13 @@ importers: version: 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) '@polkadot/rpc-provider': specifier: '*' - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': specifier: '*' - version: 14.3.1 + version: 15.0.1 '@polkadot/types-codec': specifier: '*' - version: 14.3.1 + version: 15.0.1 '@polkadot/util': specifier: '*' version: 13.2.3 @@ -139,17 +142,17 @@ importers: specifier: '*' version: 13.2.3(@polkadot/util@13.2.3) '@substrate/txwrapper-core': - specifier: 7.5.2 - version: 7.5.2(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 7.5.3 + version: 7.5.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@substrate/txwrapper-substrate': - specifier: 7.5.2 - version: 7.5.2(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10) + specifier: 7.5.3 + version: 7.5.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@vitest/ui': - specifier: 2.1.5 - version: 2.1.5(vitest@2.1.5) + specifier: 2.1.8 + version: 2.1.8(vitest@2.1.8) '@zombienet/utils': specifier: 0.0.25 - version: 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) + version: 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.7.2) chalk: specifier: 5.3.0 version: 5.3.0 @@ -172,11 +175,11 @@ importers: specifier: workspace:* version: link:../moonbeam-types-bundle octokit: - specifier: ^4.0.2 + specifier: 4.0.2 version: 4.0.2 randomness: - specifier: 1.6.15 - version: 1.6.15 + specifier: 1.6.16 + version: 1.6.16 rlp: specifier: 3.0.0 version: 3.0.0 @@ -185,28 +188,28 @@ importers: version: 7.6.3 solc: specifier: 0.8.25 - version: 0.8.25(debug@4.3.7) + version: 0.8.25(debug@4.4.0) tsx: specifier: '*' version: 4.19.2 viem: - specifier: 2.21.45 - version: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + specifier: 2.21.54 + version: 2.21.54(bufferutil@4.0.8)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) vitest: - specifier: 2.1.5 - version: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + specifier: 2.1.8 + version: 2.1.8(@types/node@22.10.1)(@vitest/ui@2.1.8)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) web3: - specifier: 4.15.0 - version: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + specifier: 4.16.0 + version: 4.16.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) yaml: - specifier: 2.6.0 - version: 2.6.0 + specifier: 2.6.1 + version: 2.6.1 devDependencies: '@types/debug': specifier: 4.1.12 version: 4.1.12 '@types/json-bigint': - specifier: ^1.0.4 + specifier: 1.0.4 version: 1.0.4 '@types/node': specifier: '*' @@ -221,14 +224,14 @@ importers: specifier: 2.19.5 version: 2.19.5 debug: - specifier: 4.3.7 - version: 4.3.7(supports-color@8.1.1) + specifier: 4.4.0 + version: 4.4.0(supports-color@8.1.1) inquirer: specifier: 12.2.0 version: 12.2.0(@types/node@22.10.1) typescript: specifier: '*' - version: 5.6.3 + version: 5.7.2 yargs: specifier: 17.7.2 version: 17.7.2 @@ -240,37 +243,37 @@ importers: version: 1.9.4 '@polkadot/api': specifier: '*' - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-base': specifier: '*' - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/rpc-core': specifier: '*' - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/typegen': specifier: '*' - version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + version: 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': specifier: '*' - version: 14.3.1 + version: 15.0.1 '@polkadot/types-codec': specifier: '*' - version: 14.3.1 + version: 15.0.1 '@types/node': specifier: '*' - version: 22.9.1 + version: 22.10.1 moonbeam-types-bundle: specifier: workspace:* version: link:../moonbeam-types-bundle tsup: specifier: '*' - version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) + version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1) tsx: specifier: '*' version: 4.19.2 typescript: specifier: '*' - version: 5.6.3 + version: 5.7.2 packages: @@ -1085,6 +1088,10 @@ packages: resolution: {integrity: sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==} engines: {node: ^14.21.3 || >=16} + '@noble/curves@1.7.0': + resolution: {integrity: sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw==} + engines: {node: ^14.21.3 || >=16} + '@noble/ed25519@1.7.3': resolution: {integrity: sha512-iR8GBkDt0Q3GyaVcIu7mSsVIqnFbkbRzGLWlvhwunacoLwt4J3swfKhfaM6rN6WY+TBGoYT1GtT1mIh2/jGbRQ==} @@ -1106,6 +1113,14 @@ packages: resolution: {integrity: sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==} engines: {node: ^14.21.3 || >=16} + '@noble/hashes@1.6.0': + resolution: {integrity: sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ==} + engines: {node: ^14.21.3 || >=16} + + '@noble/hashes@1.6.1': + resolution: {integrity: sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w==} + engines: {node: ^14.21.3 || >=16} + '@noble/secp256k1@1.5.5': resolution: {integrity: sha512-sZ1W6gQzYnu45wPrWx8D3kwI2/U29VYTx9OjbDAd7jwRItJ0cSTMPRL/C8AWZFn9kWFLQGqEXVEE86w4Z8LpIQ==} @@ -1322,8 +1337,8 @@ packages: '@polkadot-api/logs-provider@0.0.6': resolution: {integrity: sha512-4WgHlvy+xee1ADaaVf6+MlK/+jGMtsMgAzvbQOJZnP4PfQuagoTqaeayk8HYKxXGphogLlPbD06tANxcb+nvAg==} - '@polkadot-api/merkleize-metadata@1.1.10': - resolution: {integrity: sha512-GBzd3Fjwnk1G/lGmMzYh/gFaLUunTa20KSRDjW48Osq0JaXdEja6qcVeyKO/5Q8dJB+ysMViapBCTi+VqQNUGg==} + '@polkadot-api/merkleize-metadata@1.1.11': + resolution: {integrity: sha512-AfRCrFYewZStnOdsRCiECwbkQIieykW5eP3uIvgQQSNU0zc9b/PdfjflEKR36QLl7m/NZ8De8DTLuOgjMFG1gw==} '@polkadot-api/metadata-builders@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': resolution: {integrity: sha512-BD7rruxChL1VXt0icC2gD45OtT9ofJlql0qIllHSRYgama1CR2Owt+ApInQxB+lWqM+xNOznZRpj8CXNDvKIMg==} @@ -1334,6 +1349,9 @@ packages: '@polkadot-api/metadata-builders@0.9.2': resolution: {integrity: sha512-2vxtjMC5PvN+sTM6DPMopznNfTUJEe6G6CzMhtK19CASb2OeN9NoRpnxmpEagjndO98YPkyQtDv25sKGUVhgAA==} + '@polkadot-api/metadata-builders@0.9.3': + resolution: {integrity: sha512-QFG/2r8I5vdty8nSV1zg1V8NIYgR0kJ/LazM6yzUZ704Xf+yFhMC1psqLfjmoiAYs1AR5suV8skaJ/+V9ZY30w==} + '@polkadot-api/metadata-compatibility@0.1.12': resolution: {integrity: sha512-zhRhsuzHb6klnRW/pMXb5YLKRtvmGw4sicV6jxKDIclpuOZ+QxMWFmqTGM1Vsea5qNX/Z9HrWvXOYxMlkcW7Pg==} @@ -1375,6 +1393,9 @@ packages: '@polkadot-api/substrate-bindings@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': resolution: {integrity: sha512-N4vdrZopbsw8k57uG58ofO7nLXM4Ai7835XqakN27MkjXMp5H830A1KJE0L9sGQR7ukOCDEIHHcwXVrzmJ/PBg==} + '@polkadot-api/substrate-bindings@0.10.0': + resolution: {integrity: sha512-0YcYdZ7gU4f/yE8eZ+xDiUDlWOnKSdZI77PZT8Dz0TnXdeYhRehh6PGPp7zY0UoT6d5zGrEq7E7x1FPMCR0Rfw==} + '@polkadot-api/substrate-bindings@0.6.0': resolution: {integrity: sha512-lGuhE74NA1/PqdN7fKFdE5C1gNYX357j1tWzdlPXI0kQ7h3kN0zfxNOpPUN7dIrPcOFZ6C0tRRVrBylXkI6xPw==} @@ -1409,10 +1430,6 @@ packages: resolution: {integrity: sha512-IAKaCp19QxgOG4HKk9RAgUgC/VNVqymZ2GXfMNOZWImZhxRIbrK+raH5vN2MbWwtVHpjxyXvGsd1RRhnohI33A==} engines: {node: '>=18'} - '@polkadot/api-augment@14.0.1': - resolution: {integrity: sha512-+ZHq3JaQZ/3Q45r6/YQBeLfoP8S5ibgkOvLKnKA9cJeF7oP5Qgi6pAEnGW0accfnT9PyCEco9fD/ZOLR9Yka7w==} - engines: {node: '>=18'} - '@polkadot/api-augment@14.3.1': resolution: {integrity: sha512-PE6DW+8kRhbnGKn7qCF7yM6eEt/kqrY8bh1i0RZcPY9QgwXW4bZZrtMK4WssX6Z70NTEoOW6xHYIjc7gFZuz8g==} engines: {node: '>=18'} @@ -1433,10 +1450,6 @@ packages: resolution: {integrity: sha512-Okrw5hjtEjqSMOG08J6qqEwlUQujTVClvY1/eZkzKwNzPelWrtV6vqfyJklB7zVhenlxfxqhZKKcY7zWSW/q5Q==} engines: {node: '>=18'} - '@polkadot/api-base@14.0.1': - resolution: {integrity: sha512-OVnDiztKx/1ktae9eCzO1q8lmKEfnQ71fipo8JkDJOMIN4vT1IqL9KQo4e/Xz8UtOfTJ0H8kZ6evaLqdA3ZYOA==} - engines: {node: '>=18'} - '@polkadot/api-base@14.3.1': resolution: {integrity: sha512-GZT6rTpT3HYZ/C3rLPjoX3rX3DOxNG/zgts+jKjNrCumAeZkVq5JErKIX8/3f2TVaE2Kbqniy3d1TH/AL4HBPA==} engines: {node: '>=18'} @@ -1457,10 +1470,6 @@ packages: resolution: {integrity: sha512-ef0H0GeCZ4q5Om+c61eLLLL29UxFC2/u/k8V1K2JOIU+2wD5LF7sjAoV09CBMKKHfkLenRckVk2ukm4rBqFRpg==} engines: {node: '>=18'} - '@polkadot/api-derive@14.0.1': - resolution: {integrity: sha512-ADQMre3DRRW/0rhJqxOVhQ1vqtyafP2dSZJ0qEAsto12q2WMSF8CZWo7pXe4DxiniDkZx3zVq4z5lqw2aBRLfg==} - engines: {node: '>=18'} - '@polkadot/api-derive@14.3.1': resolution: {integrity: sha512-PhqUEJCY54vXtIaoYqGUtJY06wHd/K0cBmBz9yCLxp8UZkLoGWhfJRTruI25Jnucf9awS5cZKYqbsoDrL09Oqg==} engines: {node: '>=18'} @@ -1481,10 +1490,6 @@ packages: resolution: {integrity: sha512-YrKWR4TQR5CDyGkF0mloEUo7OsUA+bdtENpJGOtNavzOQUDEbxFE0PVzokzZfVfHhHX2CojPVmtzmmLxztyJkg==} engines: {node: '>=18'} - '@polkadot/api@14.0.1': - resolution: {integrity: sha512-CDSaUiJpXu9aE6MaTg14K+9Trf8K2PBHcD3Xl5m5KOvJperWgYFxoCqV3rXLIBWt69LgHhMYlq5JSPRHxejIsw==} - engines: {node: '>=18'} - '@polkadot/api@14.3.1': resolution: {integrity: sha512-ZBKSXEVJa1S1bnmpnA7KT/fX3sJDIJOdVD9Hp3X+G73yvXzuK5k1Mn5z9bD/AcMs/HAGcbuYU+b9+b9IByH9YQ==} engines: {node: '>=18'} @@ -1586,10 +1591,6 @@ packages: resolution: {integrity: sha512-iLsWUW4Jcx3DOdVrSHtN0biwxlHuTs4QN2hjJV0gd0jo7W08SXhWabZIf9mDmvUJIbR7Vk+9amzvegjRyIf5+A==} engines: {node: '>=18'} - '@polkadot/rpc-augment@14.0.1': - resolution: {integrity: sha512-M0CbN/IScqiedYI2TmoQ+SoeEdJHfxGeQD1qJf9uYv9LILK+x1/5fyr5DrZ3uCGVmLuObWAJLnHTs0BzJcSHTQ==} - engines: {node: '>=18'} - '@polkadot/rpc-augment@14.3.1': resolution: {integrity: sha512-Z8Hp8fFHwFCiTX0bBCDqCZ4U26wLIJl1NRSjJTsAr+SS68pYZBDGCwhKztpKGqndk1W1akRUaxrkGqYdIFmspQ==} engines: {node: '>=18'} @@ -1610,10 +1611,6 @@ packages: resolution: {integrity: sha512-eoejSHa+/tzHm0vwic62/aptTGbph8vaBpbvLIK7gd00+rT813ROz5ckB1CqQBFB23nHRLuzzX/toY8ID3xrKw==} engines: {node: '>=18'} - '@polkadot/rpc-core@14.0.1': - resolution: {integrity: sha512-SfgC6WU7RxaFFgm/GUpsqTywyaDeb7+r5GU3GlwC+QR148h3a7UcQ3sssOpB0MiZ2gIXngJuyIcIQm/3GfHnJw==} - engines: {node: '>=18'} - '@polkadot/rpc-core@14.3.1': resolution: {integrity: sha512-FV2NPhFwFxmX8LqibDcGc6IKTBqmvwr7xwF2OA60Br4cX+AQzMSVpFlfQcETll+0M+LnRhqGKGkP0EQWXaSowA==} engines: {node: '>=18'} @@ -1634,10 +1631,6 @@ packages: resolution: {integrity: sha512-oJ7tatVXYJ0L7NpNiGd69D558HG5y5ZDmH2Bp9Dd4kFTQIiV8A39SlWwWUPCjSsen9lqSvvprNLnG/VHTpenbw==} engines: {node: '>=18'} - '@polkadot/rpc-provider@14.0.1': - resolution: {integrity: sha512-mNfaKZUHPXGSY7TwgOfV05RN3Men21Dw7YXrSZDFkJYsZ55yOAYdmLg9anPZGHW100YnNWrXj+3uhQOw8JgqkA==} - engines: {node: '>=18'} - '@polkadot/rpc-provider@14.3.1': resolution: {integrity: sha512-NF/Z/7lzT+jp5LZzC49g+YIjRzXVI0hFag3+B+4zh6E/kKADdF59EHj2Im4LDhRGOnEO9AE4H6/UjNEbZ94JtA==} engines: {node: '>=18'} @@ -1654,13 +1647,13 @@ packages: resolution: {integrity: sha512-YTSywjD5PF01V47Ru5tln2LlpUwJiSOdz6rlJXPpMaY53hUp7+xMU01FVAQ1bllSBNisSD1Msv/mYHq84Oai2g==} engines: {node: '>=14.0.0'} - '@polkadot/typegen@14.0.1': - resolution: {integrity: sha512-BYwpo7a9gHYw/PoR+XzTE0gZU0ionGVwEu7HXoejNT6cxsmT709S8OMaKcPzA8IvKwcKeBKie9QvXvFXVoQyKQ==} + '@polkadot/typegen@14.3.1': + resolution: {integrity: sha512-S6G7BwmsC57zvUKoqYMF2+3SUIB2f8r6VDgUhdO2hdgexXTDeVHFtJx3FE2opPlkVR05EKgV+rGH/9Rn91HjOQ==} engines: {node: '>=18'} hasBin: true - '@polkadot/typegen@14.3.1': - resolution: {integrity: sha512-S6G7BwmsC57zvUKoqYMF2+3SUIB2f8r6VDgUhdO2hdgexXTDeVHFtJx3FE2opPlkVR05EKgV+rGH/9Rn91HjOQ==} + '@polkadot/typegen@15.0.1': + resolution: {integrity: sha512-XXE4ZQ6nXA98HWrNgzjQnX7emQcXqPsDsqiIytDBL4i4G/xgw4OFtykHqjbTu5y0LmoHAYsa3L6sSQU0Mg8cag==} engines: {node: '>=18'} hasBin: true @@ -1668,10 +1661,6 @@ packages: resolution: {integrity: sha512-TcrLhf95FNFin61qmVgOgayzQB/RqVsSg9thAso1Fh6pX4HSbvI35aGPBAn3SkA6R+9/TmtECirpSNLtIGFn0g==} engines: {node: '>=18'} - '@polkadot/types-augment@14.0.1': - resolution: {integrity: sha512-PGo81444J5tGJxP3tu060Jx1kkeuo8SmBIt9S/w626Se49x4RLM5a7Pa5fguYVsg4TsJa9cgVPMuu6Y0F/2aCQ==} - engines: {node: '>=18'} - '@polkadot/types-augment@14.3.1': resolution: {integrity: sha512-SC4M6TBlgCglNz+gRbvfoVRDz0Vyeev6v0HeAdw0H6ayEW4BXUdo5bFr0092bdS5uTrEPgiSyUry5TJs2KoXig==} engines: {node: '>=18'} @@ -1692,10 +1681,6 @@ packages: resolution: {integrity: sha512-AiQ2Vv2lbZVxEdRCN8XSERiWlOWa2cTDLnpAId78EnCtx4HLKYQSd+Jk9Y4BgO35R79mchK4iG+w6gZ+ukG2bg==} engines: {node: '>=18'} - '@polkadot/types-codec@14.0.1': - resolution: {integrity: sha512-IyUlkrRZ6uppbHVlMJL+btKP7dfgW65K06ggQxH7Y/IyRAQVDNjXecAZrCUMB/gtjUXNPyTHEIfPGDlg8E6rig==} - engines: {node: '>=18'} - '@polkadot/types-codec@14.3.1': resolution: {integrity: sha512-3y3RBGd+8ebscGbNUOjqUjnRE7hgicgid5LtofHK3O1EDcJQJnYBDkJ7fOAi96CDgHsg+f2FWWkBWEPgpOQoMQ==} engines: {node: '>=18'} @@ -1716,10 +1701,6 @@ packages: resolution: {integrity: sha512-Usn1jqrz35SXgCDAqSXy7mnD6j4RvB4wyzTAZipFA6DGmhwyxxIgOzlWQWDb+1PtPKo9vtMzen5IJ+7w5chIeA==} engines: {node: '>=18'} - '@polkadot/types-create@14.0.1': - resolution: {integrity: sha512-R9/ac3CHKrFhvPKVUdpjnCDFSaGjfrNwtuY+AzvExAMIq7pM9dxo2N8UfnLbyFaG/n1hfYPXDIS3hLHvOZsLbw==} - engines: {node: '>=18'} - '@polkadot/types-create@14.3.1': resolution: {integrity: sha512-F4EBvF3Zvym0xrkAA5Yz01IAVMepMV3w2Dwd0C9IygEAQ5sYLLPHmf72/aXn+Ag+bSyT2wlJHpDc+nEBXNQ3Gw==} engines: {node: '>=18'} @@ -1740,10 +1721,6 @@ packages: resolution: {integrity: sha512-uHjDW05EavOT5JeU8RbiFWTgPilZ+odsCcuEYIJGmK+es3lk/Qsdns9Zb7U7NJl7eJ6OWmRtyrWsLs+bU+jjIQ==} engines: {node: '>=18'} - '@polkadot/types-known@14.0.1': - resolution: {integrity: sha512-oGypUOQNxZ6bq10czpVadZYeDM2NBB2kX3VFHLKLEpjaRbnVYtKXL6pl8B0uHR8GK/2Z8AmPOj6kuRjaC86qXg==} - engines: {node: '>=18'} - '@polkadot/types-known@14.3.1': resolution: {integrity: sha512-58b3Yc7+sxwNjs8axmrA9OCgnxmEKIq7XCH2VxSgLqTeqbohVtxwUSCW/l8NPrq1nxzj4J2sopu0PPg8/++q4g==} engines: {node: '>=18'} @@ -1772,10 +1749,6 @@ packages: resolution: {integrity: sha512-4gEPfz36XRQIY7inKq0HXNVVhR6HvXtm7yrEmuBuhM86LE0lQQBkISUSgR358bdn2OFSLMxMoRNoh3kcDvdGDQ==} engines: {node: '>=18'} - '@polkadot/types-support@14.0.1': - resolution: {integrity: sha512-lcZEyOf5e3WLLtrFlLTvFfUpO0Vx/Gh5lhLLjdx1W9Xs0KJUlOxSAKxvjVieJJj6HifL0Jh6tDYOUeEc4TOrvA==} - engines: {node: '>=18'} - '@polkadot/types-support@14.3.1': resolution: {integrity: sha512-MfVe4iIOJIfBr+gj8Lu8gwIvhnO6gDbG5LeaKAjY6vS6Oh0y5Ztr8NdMIl8ccSpoyt3LqIXjfApeGzHiLzr6bw==} engines: {node: '>=18'} @@ -1796,10 +1769,6 @@ packages: resolution: {integrity: sha512-Hfvg1ZgJlYyzGSAVrDIpp3vullgxrjOlh/CSThd/PI4TTN1qHoPSFm2hs77k3mKkOzg+LrWsLE0P/LP2XddYcw==} engines: {node: '>=18'} - '@polkadot/types@14.0.1': - resolution: {integrity: sha512-DOMzHsyVbCa12FT2Fng8iGiQJhHW2ONpv5oieU+Z2o0gFQqwNmIDXWncScG5mAUBNcDMXLuvWIKLKtUDOq8msg==} - engines: {node: '>=18'} - '@polkadot/types@14.3.1': resolution: {integrity: sha512-O748XgCLDQYxS5nQ6TJSqW88oC4QNIoNVlWZC2Qq4SmEXuSzaNHQwSVtdyPRJCCc4Oi1DCQvGui4O+EukUl7HA==} engines: {node: '>=18'} @@ -2180,91 +2149,186 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.28.1': + resolution: {integrity: sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.26.0': resolution: {integrity: sha512-YJa5Gy8mEZgz5JquFruhJODMq3lTHWLm1fOy+HIANquLzfIOzE9RA5ie3JjCdVb9r46qfAQY/l947V0zfGJ0OQ==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.28.1': + resolution: {integrity: sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.26.0': resolution: {integrity: sha512-ErTASs8YKbqTBoPLp/kA1B1Um5YSom8QAc4rKhg7b9tyyVqDBlQxy7Bf2wW7yIlPGPg2UODDQcbkTlruPzDosw==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.28.1': + resolution: {integrity: sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.26.0': resolution: {integrity: sha512-wbgkYDHcdWW+NqP2mnf2NOuEbOLzDblalrOWcPyY6+BRbVhliavon15UploG7PpBRQ2bZJnbmh8o3yLoBvDIHA==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.28.1': + resolution: {integrity: sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-freebsd-arm64@4.26.0': resolution: {integrity: sha512-Y9vpjfp9CDkAG4q/uwuhZk96LP11fBz/bYdyg9oaHYhtGZp7NrbkQrj/66DYMMP2Yo/QPAsVHkV891KyO52fhg==} cpu: [arm64] os: [freebsd] + '@rollup/rollup-freebsd-arm64@4.28.1': + resolution: {integrity: sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==} + cpu: [arm64] + os: [freebsd] + '@rollup/rollup-freebsd-x64@4.26.0': resolution: {integrity: sha512-A/jvfCZ55EYPsqeaAt/yDAG4q5tt1ZboWMHEvKAH9Zl92DWvMIbnZe/f/eOXze65aJaaKbL+YeM0Hz4kLQvdwg==} cpu: [x64] os: [freebsd] + '@rollup/rollup-freebsd-x64@4.28.1': + resolution: {integrity: sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==} + cpu: [x64] + os: [freebsd] + '@rollup/rollup-linux-arm-gnueabihf@4.26.0': resolution: {integrity: sha512-paHF1bMXKDuizaMODm2bBTjRiHxESWiIyIdMugKeLnjuS1TCS54MF5+Y5Dx8Ui/1RBPVRE09i5OUlaLnv8OGnA==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.28.1': + resolution: {integrity: sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.26.0': resolution: {integrity: sha512-cwxiHZU1GAs+TMxvgPfUDtVZjdBdTsQwVnNlzRXC5QzIJ6nhfB4I1ahKoe9yPmoaA/Vhf7m9dB1chGPpDRdGXg==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.28.1': + resolution: {integrity: sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.26.0': resolution: {integrity: sha512-4daeEUQutGRCW/9zEo8JtdAgtJ1q2g5oHaoQaZbMSKaIWKDQwQ3Yx0/3jJNmpzrsScIPtx/V+1AfibLisb3AMQ==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.28.1': + resolution: {integrity: sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.26.0': resolution: {integrity: sha512-eGkX7zzkNxvvS05ROzJ/cO/AKqNvR/7t1jA3VZDi2vRniLKwAWxUr85fH3NsvtxU5vnUUKFHKh8flIBdlo2b3Q==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.28.1': + resolution: {integrity: sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loongarch64-gnu@4.28.1': + resolution: {integrity: sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==} + cpu: [loong64] + os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.26.0': resolution: {integrity: sha512-Odp/lgHbW/mAqw/pU21goo5ruWsytP7/HCC/liOt0zcGG0llYWKrd10k9Fj0pdj3prQ63N5yQLCLiE7HTX+MYw==} cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.28.1': + resolution: {integrity: sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.26.0': resolution: {integrity: sha512-MBR2ZhCTzUgVD0OJdTzNeF4+zsVogIR1U/FsyuFerwcqjZGvg2nYe24SAHp8O5sN8ZkRVbHwlYeHqcSQ8tcYew==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.28.1': + resolution: {integrity: sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.26.0': resolution: {integrity: sha512-YYcg8MkbN17fMbRMZuxwmxWqsmQufh3ZJFxFGoHjrE7bv0X+T6l3glcdzd7IKLiwhT+PZOJCblpnNlz1/C3kGQ==} cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.28.1': + resolution: {integrity: sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.26.0': resolution: {integrity: sha512-ZuwpfjCwjPkAOxpjAEjabg6LRSfL7cAJb6gSQGZYjGhadlzKKywDkCUnJ+KEfrNY1jH5EEoSIKLCb572jSiglA==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.28.1': + resolution: {integrity: sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.26.0': resolution: {integrity: sha512-+HJD2lFS86qkeF8kNu0kALtifMpPCZU80HvwztIKnYwym3KnA1os6nsX4BGSTLtS2QVAGG1P3guRgsYyMA0Yhg==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.28.1': + resolution: {integrity: sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.26.0': resolution: {integrity: sha512-WUQzVFWPSw2uJzX4j6YEbMAiLbs0BUysgysh8s817doAYhR5ybqTI1wtKARQKo6cGop3pHnrUJPFCsXdoFaimQ==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.28.1': + resolution: {integrity: sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.26.0': resolution: {integrity: sha512-D4CxkazFKBfN1akAIY6ieyOqzoOoBV1OICxgUblWxff/pSjCA2khXlASUx7mK6W1oP4McqhgcCsu6QaLj3WMWg==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.28.1': + resolution: {integrity: sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.26.0': resolution: {integrity: sha512-2x8MO1rm4PGEP0xWbubJW5RtbNLk3puzAMaLQd3B3JHVw4KcHlmXcO+Wewx9zCoo7EUFiMlu/aZbCJ7VjMzAag==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.28.1': + resolution: {integrity: sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==} + cpu: [x64] + os: [win32] + '@scure/base@1.0.0': resolution: {integrity: sha512-gIVaYhUsy+9s58m/ETjSJVKHhKTBMmcRb9cEV5/5dwvfDlfORjKrFsDeDHWRrm6RjcPvCLZFwGJjAjLj1gg4HA==} @@ -2274,17 +2338,20 @@ packages: '@scure/base@1.1.9': resolution: {integrity: sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg==} + '@scure/base@1.2.1': + resolution: {integrity: sha512-DGmGtC8Tt63J5GfHgfl5CuAXh96VF/LD8K9Hr/Gv0J2lAoRGlPOMpqMpMbCTOoOJMZCk2Xt+DskdDyn6dEFdzQ==} + '@scure/bip32@1.4.0': resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - '@scure/bip32@1.5.0': - resolution: {integrity: sha512-8EnFYkqEQdnkuGBVpCzKxyIwDCBLDVj3oiX0EKUFre/tOjL/Hqba1D6n/8RcmaQy4f95qQFrO2A8Sr6ybh4NRw==} + '@scure/bip32@1.6.0': + resolution: {integrity: sha512-82q1QfklrUUdXJzjuRU7iG7D7XiFx5PHYVS0+oeNKhyDLT7WPqs6pBcM2W5ZdwOwKCwoE1Vy1se+DHjcXwCYnA==} '@scure/bip39@1.3.0': resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} - '@scure/bip39@1.4.0': - resolution: {integrity: sha512-BEEm6p8IueV/ZTfQLp/0vhw4NPnT9oWf5+28nvmeUICjP99f4vr2d+qc7AVGDDtwRep6ifR43Yed9ERVmiITzw==} + '@scure/bip39@1.5.0': + resolution: {integrity: sha512-Dop+ASYhnrwm9+HA/HwXg7j2ZqM6yk2fyLWb5znexjctFY3+E+eU8cIWI0Pql0Qx4hPZCijlGq4OL71g+Uz30A==} '@sec-ant/readable-stream@0.4.1': resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==} @@ -2318,6 +2385,9 @@ packages: '@substrate/connect-known-chains@1.7.0': resolution: {integrity: sha512-Qf+alxEPmNycUyrPkXWrlFA97punnBCGxSWqiLG1CNu+jQoFYqi8x7gZYfqmdUHDY4nG1F84KHPPk7Zy4ngSfg==} + '@substrate/connect-known-chains@1.8.0': + resolution: {integrity: sha512-sl7WfeDgnZuPvUl5Xw0XIziOTe8rEBJ3uugyDETGnafxEbjYMv5aJL0ilq5djhnQ7l9OuMJCN3Ckved2yINeeQ==} + '@substrate/connect@0.7.0-alpha.0': resolution: {integrity: sha512-fvO7w++M8R95R/pGJFW9+cWOt8OYnnTfgswxtlPqSgzqX4tta8xcNQ51crC72FcL5agwSGkA1gc2/+eyTj7O8A==} deprecated: versions below 1.x are no longer maintained @@ -2353,11 +2423,11 @@ packages: '@substrate/ss58-registry@1.51.0': resolution: {integrity: sha512-TWDurLiPxndFgKjVavCniytBIw+t4ViOi7TYp9h/D0NMmkEc9klFTo+827eyEJ0lELpqO207Ey7uGxUa+BS1jQ==} - '@substrate/txwrapper-core@7.5.2': - resolution: {integrity: sha512-QbWNA8teVYS2YfrZ5JWtl6nmX11UIS7k4ZF5ukKe/oqaCSifoNhTYkTDnN/AWImOPQ0N0QeVge1XlF1TUtfFDA==} + '@substrate/txwrapper-core@7.5.3': + resolution: {integrity: sha512-vcb9GaAY8ex330yjJoDCa2w32R2u/KUmEKsD/5DRgTbPEUF1OYiKmmuOJWcD0jHu9HZ8HWlniiV8wxxwo3PVCA==} - '@substrate/txwrapper-substrate@7.5.2': - resolution: {integrity: sha512-CzlTrq5WoXo7ZJoQPtqUf+w0PViPhlctMyAjuKV8RvWDQaVtW8BW7wbCKKV2WfNOQsIBaf4I7fU/q3Qk5Am/lw==} + '@substrate/txwrapper-substrate@7.5.3': + resolution: {integrity: sha512-hAZTcZzB7uGLwm62JFCmxM9M0lm+5Id1tROqdKkuukesAAt06UcTTiaopq2w/B9syWamMor63aQEFugEIK2PLQ==} '@szmarczak/http-timer@4.0.6': resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} @@ -2440,9 +2510,6 @@ packages: '@types/node@22.7.5': resolution: {integrity: sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==} - '@types/node@22.9.1': - resolution: {integrity: sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==} - '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -2512,11 +2579,11 @@ packages: '@polkadot/api': ^10.10.1 '@polkadot/types': ^10.10.1 - '@vitest/expect@2.1.5': - resolution: {integrity: sha512-nZSBTW1XIdpZvEJyoP/Sy8fUg0b8od7ZpGDkTUcfJ7wz/VoZAFzFfLyxVxGFhUjJzhYqSbIpfMtl/+k/dpWa3Q==} + '@vitest/expect@2.1.8': + resolution: {integrity: sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==} - '@vitest/mocker@2.1.5': - resolution: {integrity: sha512-XYW6l3UuBmitWqSUXTNXcVBUCRytDogBsWuNXQijc00dtnU/9OqpXWp4OJroVrad/gLIomAq9aW8yWDBtMthhQ==} + '@vitest/mocker@2.1.8': + resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==} peerDependencies: msw: ^2.4.9 vite: ^5.0.0 @@ -2526,25 +2593,25 @@ packages: vite: optional: true - '@vitest/pretty-format@2.1.5': - resolution: {integrity: sha512-4ZOwtk2bqG5Y6xRGHcveZVr+6txkH7M2e+nPFd6guSoN638v/1XQ0K06eOpi0ptVU/2tW/pIU4IoPotY/GZ9fw==} + '@vitest/pretty-format@2.1.8': + resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==} - '@vitest/runner@2.1.5': - resolution: {integrity: sha512-pKHKy3uaUdh7X6p1pxOkgkVAFW7r2I818vHDthYLvUyjRfkKOU6P45PztOch4DZarWQne+VOaIMwA/erSSpB9g==} + '@vitest/runner@2.1.8': + resolution: {integrity: sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==} - '@vitest/snapshot@2.1.5': - resolution: {integrity: sha512-zmYw47mhfdfnYbuhkQvkkzYroXUumrwWDGlMjpdUr4jBd3HZiV2w7CQHj+z7AAS4VOtWxI4Zt4bWt4/sKcoIjg==} + '@vitest/snapshot@2.1.8': + resolution: {integrity: sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==} - '@vitest/spy@2.1.5': - resolution: {integrity: sha512-aWZF3P0r3w6DiYTVskOYuhBc7EMc3jvn1TkBg8ttylFFRqNN2XGD7V5a4aQdk6QiUzZQ4klNBSpCLJgWNdIiNw==} + '@vitest/spy@2.1.8': + resolution: {integrity: sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==} - '@vitest/ui@2.1.5': - resolution: {integrity: sha512-ERgKkDMTfngrZip6VG5h8L9B5D0AH/4+bga4yR1UzGH7c2cxv3LWogw2Dvuwr9cP3/iKDHYys7kIFLDKpxORTg==} + '@vitest/ui@2.1.8': + resolution: {integrity: sha512-5zPJ1fs0ixSVSs5+5V2XJjXLmNzjugHRyV11RqxYVR+oMcogZ9qTuSfKW+OcTV0JeFNznI83BNylzH6SSNJ1+w==} peerDependencies: - vitest: 2.1.5 + vitest: 2.1.8 - '@vitest/utils@2.1.5': - resolution: {integrity: sha512-yfj6Yrp0Vesw2cwJbP+cl04OC+IHFsuQsrsJBL9pyGeQXE56v1UAOQco+SR55Vf1nQzfV0QJg1Qum7AaWUwwYg==} + '@vitest/utils@2.1.8': + resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} '@zeitgeistpm/type-defs@1.0.0': resolution: {integrity: sha512-dtjNlJSb8ELz87aTD6jqKKfO7kY4HFYzSmDk9JrzHLv+w/JKtG+aLz+WImL6MSaF1MjDE1tm28dj980Zn+nfGA==} @@ -2579,8 +2646,8 @@ packages: zod: optional: true - abitype@1.0.6: - resolution: {integrity: sha512-MMSqYh4+C/aVqI2RQaWqbvI4Kxo5cQV40WQ4QFtDnNzCkqChm8MuENhElmynZlO0qUy/ObkEUaXtKqYnx1Kp3A==} + abitype@1.0.7: + resolution: {integrity: sha512-ZfYYSktDQUwc2eduYu8C4wOs+RDPmnRYMh7zNfzeMtGGgb0U+6tLGjixUic6mXf5xKKCcgT5Qp6cv39tOARVFw==} peerDependencies: typescript: '>=5.0.4' zod: ^3 >=3.22.0 @@ -2881,10 +2948,18 @@ packages: resolution: {integrity: sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==} engines: {node: '>=8'} + call-bind-apply-helpers@1.0.1: + resolution: {integrity: sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==} + engines: {node: '>= 0.4'} + call-bind@1.0.7: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} engines: {node: '>= 0.4'} + call-bind@1.0.8: + resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==} + engines: {node: '>= 0.4'} + camelcase@5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} @@ -3208,6 +3283,15 @@ packages: supports-color: optional: true + debug@4.4.0: + resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + decamelize@4.0.0: resolution: {integrity: sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==} engines: {node: '>=10'} @@ -3315,6 +3399,10 @@ packages: resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} engines: {node: '>=12'} + dunder-proto@1.0.0: + resolution: {integrity: sha512-9+Sj30DIu+4KvHqMfLUGLFYL2PkURSYMVXJyXe92nFRvlYq5hBjLEhblKB+vkd/WVlUYMWigiY07T91Fkk0+4A==} + engines: {node: '>= 0.4'} + eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -3389,6 +3477,10 @@ packages: resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} engines: {node: '>= 0.4'} + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} + es-errors@1.3.0: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} @@ -3622,8 +3714,8 @@ packages: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} hasBin: true - flatted@3.3.1: - resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} + flatted@3.3.2: + resolution: {integrity: sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==} follow-redirects@1.15.9: resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} @@ -3724,6 +3816,10 @@ packages: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} engines: {node: '>= 0.4'} + get-intrinsic@1.2.5: + resolution: {integrity: sha512-Y4+pKa7XeRUPWFNvOOYHkRYrfzW07oraURSvjDmRVOJ748OrVmeXtpE4+GCEHncjCjkTxPNRt8kEbxDhsn6VTg==} + engines: {node: '>= 0.4'} + get-port@7.1.0: resolution: {integrity: sha512-QB9NKEeDg3xxVwCCwJQ9+xycaz6pBB6iQ76wiWMl1927n0Kir6alPiP+yuiICLLU4jpMe08dXfpebuQppFA2zw==} engines: {node: '>=16'} @@ -3780,6 +3876,10 @@ packages: gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} + got@11.8.6: resolution: {integrity: sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==} engines: {node: '>=10.19.0'} @@ -3826,6 +3926,10 @@ packages: resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} engines: {node: '>= 0.4'} + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} + has-tostringtag@1.0.2: resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} engines: {node: '>= 0.4'} @@ -4358,8 +4462,8 @@ packages: ltgt@2.2.1: resolution: {integrity: sha512-AI2r85+4MquTw9ZYqabu4nMwy9Oftlfa/e/52t9IjtfG+mGBbTNdAoZ3RQKLHR6r0wQnwZnPIEh/Ya6XTWAKNA==} - magic-string@0.30.12: - resolution: {integrity: sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw==} + magic-string@0.30.15: + resolution: {integrity: sha512-zXeaYRgZ6ldS1RJJUrMrYgNJ4fdwnyI6tVqoiIhyCyv5IVTK9BU8Ic2l253GGETQHxI4HNUwhJ3fjDhKqEoaAw==} make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} @@ -4372,8 +4476,8 @@ packages: resolution: {integrity: sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==} engines: {node: '>=10'} - mathjs@13.2.0: - resolution: {integrity: sha512-P5PZoiUX2Tkghkv3tsSqlK0B9My/ErKapv1j6wdxd0MOrYQ30cnGE4LH/kzYB2gA5rN46Njqc4cFgJjaxgijoQ==} + mathjs@13.2.3: + resolution: {integrity: sha512-I67Op0JU7gGykFK64bJexkSAmX498x0oybxfVXn1rroEMZTmfxppORhnk8mEUnPrbTfabDKCqvm18vJKMk2UJQ==} engines: {node: '>= 18'} hasBin: true @@ -4398,8 +4502,9 @@ packages: engines: {node: '>=6'} deprecated: Superseded by memory-level (https://github.com/Level/community#faq) - memoizee@0.4.15: - resolution: {integrity: sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==} + memoizee@0.4.17: + resolution: {integrity: sha512-DGqD7Hjpi/1or4F/aYAspXKNm5Yili0QDAFAY4QYvpqpgiY6+1jOfqpmByzjxbWd/T9mChbCArXAbDAsTm5oXA==} + engines: {node: '>=0.12'} memorystream@0.3.1: resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==} @@ -4671,6 +4776,11 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + nanoid@3.3.8: + resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + napi-build-utils@1.0.2: resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} @@ -5142,8 +5252,8 @@ packages: randombytes@2.1.0: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} - randomness@1.6.15: - resolution: {integrity: sha512-6swxk6yLGKL9EZU/RcXSrI4jAMTDeSAmHvRKh8sGXT621p/1DrX4DS3XpFGTYDJN7hwST8zZwKL61CSZib1JLQ==} + randomness@1.6.16: + resolution: {integrity: sha512-NvdJfHVINktaf2KwB8o3QPWqwMvsnE5ZFRGDpBrIOQKQiL40HPZwKOcl6pYdAD26OF0DcITN9qwa37nin6R9Uw==} engines: {node: '>=14 <15 || >=16 <17 || >=18'} range-parser@1.2.1: @@ -5280,6 +5390,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.28.1: + resolution: {integrity: sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + rrweb-cssom@0.6.0: resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} @@ -5663,8 +5778,8 @@ packages: resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} engines: {node: '>=12.0.0'} - tinypool@1.0.1: - resolution: {integrity: sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA==} + tinypool@1.0.2: + resolution: {integrity: sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==} engines: {node: ^18.0.0 || >=20.0.0} tinyrainbow@1.2.0: @@ -5887,13 +6002,13 @@ packages: engines: {node: '>=4.2.0'} hasBin: true - typescript@5.6.2: - resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} + typescript@5.3.3: + resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} engines: {node: '>=14.17'} hasBin: true - typescript@5.6.3: - resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} + typescript@5.7.2: + resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} engines: {node: '>=14.17'} hasBin: true @@ -6010,16 +6125,16 @@ packages: resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==} engines: {'0': node >=0.6.0} - viem@2.21.45: - resolution: {integrity: sha512-I+On/IiaObQdhDKWU5Rurh6nf3G7reVkAODG5ECIfjsrGQ3EPJnxirUPT4FNV6bWER5iphoG62/TidwuTSOA1A==} + viem@2.21.54: + resolution: {integrity: sha512-G9mmtbua3UtnVY9BqAtWdNp+3AO+oWhD0B9KaEsZb6gcrOWgmA4rz02yqEMg+qW9m6KgKGie7q3zcHqJIw6AqA==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: typescript: optional: true - vite-node@2.1.5: - resolution: {integrity: sha512-rd0QIgx74q4S1Rd56XIiL2cYEdyWn13cunYBIuqh9mpmQr7gGS0IxXoP8R6OaZtNQQLyXSWbd4rXKYUbhFpK5w==} + vite-node@2.1.8: + resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -6054,15 +6169,15 @@ packages: terser: optional: true - vitest@2.1.5: - resolution: {integrity: sha512-P4ljsdpuzRTPI/kbND2sDZ4VmieerR2c9szEZpjc+98Z9ebvnXmM5+0tHEKqYZumXqlvnmfWsjeFOjXVriDG7A==} + vitest@2.1.8: + resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 2.1.5 - '@vitest/ui': 2.1.5 + '@vitest/browser': 2.1.8 + '@vitest/ui': 2.1.8 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -6115,36 +6230,40 @@ packages: resolution: {integrity: sha512-B6elffYm81MYZDTrat7aEhnhdtVE3lDBUZft16Z8awYMZYJDbnykEbJVS+l3mnA7AQTnSDr/1MjWofGDLBJPww==} engines: {node: '>=8.0.0'} - web3-core@4.7.0: - resolution: {integrity: sha512-skP4P56fhlrE+rIuS4WY9fTdja1DPml2xrrDmv+vQhPtmSFBs7CqesycIRLQh4dK1D4de/a23tkX6DLYdUt3nA==} + web3-core@4.7.1: + resolution: {integrity: sha512-9KSeASCb/y6BG7rwhgtYC4CvYY66JfkmGNEYb7q1xgjt9BWfkf09MJPaRyoyT5trdOxYDHkT9tDlypvQWaU8UQ==} engines: {node: '>=14', npm: '>=6.12.0'} web3-errors@1.3.0: resolution: {integrity: sha512-j5JkAKCtuVMbY3F5PYXBqg1vWrtF4jcyyMY1rlw8a4PV67AkqlepjGgpzWJZd56Mt+TvHy6DA1F/3Id8LatDSQ==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-errors@1.3.1: + resolution: {integrity: sha512-w3NMJujH+ZSW4ltIZZKtdbkbyQEvBzyp3JRn59Ckli0Nz4VMsVq8aF1bLWM7A2kuQ+yVEm3ySeNU+7mSRwx7RQ==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-eth-abi@1.10.4: resolution: {integrity: sha512-cZ0q65eJIkd/jyOlQPDjr8X4fU6CRL1eWgdLwbWEpo++MPU/2P4PFk5ZLAdye9T5Sdp+MomePPJ/gHjLMj2VfQ==} engines: {node: '>=8.0.0'} - web3-eth-abi@4.4.0: - resolution: {integrity: sha512-RQzt9W93OgFBwOdNGcc9ulCyYt4zmRAMkKGbEdp3wcN4vmwTlRhh21+akj2ND4bg3C3RUiP4yprYgDEyN0/Fmg==} + web3-eth-abi@4.4.1: + resolution: {integrity: sha512-60ecEkF6kQ9zAfbTY04Nc9q4eEYM0++BySpGi8wZ2PD1tw/c0SDvsKhV6IKURxLJhsDlb08dATc3iD6IbtWJmg==} engines: {node: '>=14', npm: '>=6.12.0'} web3-eth-accounts@1.10.4: resolution: {integrity: sha512-ysy5sVTg9snYS7tJjxVoQAH6DTOTkRGR8emEVCWNGLGiB9txj+qDvSeT0izjurS/g7D5xlMAgrEHLK1Vi6I3yg==} engines: {node: '>=8.0.0'} - web3-eth-accounts@4.3.0: - resolution: {integrity: sha512-7UX3rJiNgHYoqrO1WRPks/9J5Mh2x5N9HAd9QsOM8zfKY2rwSyCIIQM03OFXDEQRZ/ztycKTHgeLStmhlUUKIQ==} + web3-eth-accounts@4.3.1: + resolution: {integrity: sha512-rTXf+H9OKze6lxi7WMMOF1/2cZvJb2AOnbNQxPhBDssKOllAMzLhg1FbZ4Mf3lWecWfN6luWgRhaeSqO1l+IBQ==} engines: {node: '>=14', npm: '>=6.12.0'} web3-eth-contract@1.10.4: resolution: {integrity: sha512-Q8PfolOJ4eV9TvnTj1TGdZ4RarpSLmHnUnzVxZ/6/NiTfe4maJz99R0ISgwZkntLhLRtw0C7LRJuklzGYCNN3A==} engines: {node: '>=8.0.0'} - web3-eth-contract@4.7.1: - resolution: {integrity: sha512-D9nHCclq4lj2CX1sOrGga1UFA9CNBWZV6NGwNr6WjbBGIFl9ui2mivE9c3vNGEfSMnvKEq/zE83N+eGOwcWZlg==} + web3-eth-contract@4.7.2: + resolution: {integrity: sha512-3ETqs2pMNPEAc7BVY/C3voOhTUeJdkf2aM3X1v+edbngJLHAxbvxKpOqrcO0cjXzC4uc2Q8Zpf8n8zT5r0eLnA==} engines: {node: '>=14', npm: '>=6.12.0'} web3-eth-ens@1.10.4: @@ -6175,8 +6294,8 @@ packages: resolution: {integrity: sha512-Sql2kYKmgt+T/cgvg7b9ce24uLS7xbFrxE4kuuor1zSCGrjhTJ5rRNG8gTJUkAJGKJc7KgnWmgW+cOfMBPUDSA==} engines: {node: '>=8.0.0'} - web3-eth@4.11.0: - resolution: {integrity: sha512-nZIJ/8FOOj5aEXoS8p9puuX5jLyzewZv3nXqoKNtu531/vA/yIiU/EtPnAV62RvVMcbDSiF/BLVFdBZCsVMJbg==} + web3-eth@4.11.1: + resolution: {integrity: sha512-q9zOkzHnbLv44mwgLjLXuyqszHuUgZWsQayD2i/rus2uk0G7hMn11bE2Q3hOVnJS4ws4VCtUznlMxwKQ+38V2w==} engines: {node: '>=14', npm: '>=6.12.0'} web3-net@1.10.4: @@ -6215,14 +6334,18 @@ packages: resolution: {integrity: sha512-/CHmzGN+IYgdBOme7PdqzF+FNeMleefzqs0LVOduncSaqsppeOEoskLXb2anSpzmQAP3xZJPaTrkQPWSJMORig==} engines: {node: '>=14', npm: '>=6.12.0'} - web3-rpc-providers@1.0.0-rc.3: - resolution: {integrity: sha512-aeFPYgvHjsf2yQi3CSQA9Ie4xnmO7VmNkY098rA7AWvhgyjVgIWlrVgZjUn55FXtthbiiTRm/CLriv99UeOfGQ==} + web3-rpc-providers@1.0.0-rc.4: + resolution: {integrity: sha512-PXosCqHW0EADrYzgmueNHP3Y5jcSmSwH+Dkqvn7EYD0T2jcsdDAIHqk6szBiwIdhumM7gv9Raprsu/s/f7h1fw==} engines: {node: '>=14', npm: '>=6.12.0'} web3-shh@1.10.4: resolution: {integrity: sha512-cOH6iFFM71lCNwSQrC3niqDXagMqrdfFW85hC9PFUrAr3PUrIem8TNstTc3xna2bwZeWG6OBy99xSIhBvyIACw==} engines: {node: '>=8.0.0'} + web3-types@1.10.0: + resolution: {integrity: sha512-0IXoaAFtFc8Yin7cCdQfB9ZmjafrbP6BO0f0KT/khMhXKUpoJ6yShrVhiNpyRBo8QQjuOagsWzwSK2H49I7sbw==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-types@1.9.0: resolution: {integrity: sha512-I520KBPoXqEaM/ybj6xHD1E3gRb8/WdudLQaRBvJNQSSfHuPW9P2sD59mbhm6dsKtnje+T90dIxSyzVVFlEdlg==} engines: {node: '>=14', npm: '>=6.12.0'} @@ -6235,6 +6358,10 @@ packages: resolution: {integrity: sha512-bEFpYEBMf6ER78Uvj2mdsCbaLGLK9kABOsa3TtXOEEhuaMy/RK0KlRkKoZ2vmf/p3hB8e1q5erknZ6Hy7AVp7A==} engines: {node: '>=14', npm: '>=6.12.0'} + web3-utils@4.3.3: + resolution: {integrity: sha512-kZUeCwaQm+RNc2Bf1V3BYbF29lQQKz28L0y+FA4G0lS8IxtJVGi5SeDTUkpwqqkdHHC7JcapPDnyyzJ1lfWlOw==} + engines: {node: '>=14', npm: '>=6.12.0'} + web3-validator@2.0.6: resolution: {integrity: sha512-qn9id0/l1bWmvH4XfnG/JtGKKwut2Vokl6YXP5Kfg424npysmtRLe9DgiNBM9Op7QL/aSiaA0TVXibuIuWcizg==} engines: {node: '>=14', npm: '>=6.12.0'} @@ -6243,8 +6370,8 @@ packages: resolution: {integrity: sha512-kgJvQZjkmjOEKimx/tJQsqWfRDPTTcBfYPa9XletxuHLpHcXdx67w8EFn5AW3eVxCutE9dTVHgGa9VYe8vgsEA==} engines: {node: '>=8.0.0'} - web3@4.15.0: - resolution: {integrity: sha512-0QWDWE4gDWldXb4KWq++K8m/A9zsR0LpJLtVT39/b4OjfdW0d4mE0qAUd3UocxuKTh1eG5pOCfumbGS5l6p1qg==} + web3@4.16.0: + resolution: {integrity: sha512-SgoMSBo6EsJ5GFCGar2E/pR2lcR/xmUSuQ61iK6yDqzxmm42aPPxSqZfJz2z/UCR6pk03u77pU8TGV6lgMDdIQ==} engines: {node: '>=14.0.0', npm: '>=6.12.0'} webauthn-p256@0.0.10: @@ -6282,8 +6409,8 @@ packages: whatwg-url@7.1.0: resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} - which-typed-array@1.1.15: - resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} + which-typed-array@1.1.16: + resolution: {integrity: sha512-g+N+GAWiRj66DngFwHvISJd+ITsyphZvD1vChfVg6cEdnzy53GzB3oy0fUNlvhz7H7+MiqhYr26qxQShCpKTTQ==} engines: {node: '>= 0.4'} which@2.0.2: @@ -6422,8 +6549,8 @@ packages: engines: {node: '>= 14'} hasBin: true - yaml@2.6.0: - resolution: {integrity: sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ==} + yaml@2.6.1: + resolution: {integrity: sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==} engines: {node: '>= 14'} hasBin: true @@ -6469,6 +6596,9 @@ packages: zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} + zod@3.24.0: + resolution: {integrity: sha512-Hz+wiY8yD0VLA2k/+nsg2Abez674dDGTai33SwNvMPuf9uIrBC9eFgIMQxBBbHFxVXi8W+5nX9DcAh9YNSQm/w==} + snapshots: '@acala-network/chopsticks-core@1.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': @@ -6493,13 +6623,13 @@ snapshots: - supports-color - utf-8-validate - '@acala-network/chopsticks-db@1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10)': + '@acala-network/chopsticks-db@1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(utf-8-validate@5.0.10)': dependencies: '@acala-network/chopsticks-core': 1.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/util': 13.2.3 idb: 8.0.0 sqlite3: 5.1.7 - typeorm: 0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3)) + typeorm: 0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2)) transitivePeerDependencies: - '@google-cloud/spanner' - '@sap/hana-client' @@ -6527,10 +6657,10 @@ snapshots: '@polkadot/util': 13.2.3 '@polkadot/wasm-util': 7.4.1(@polkadot/util@13.2.3) - '@acala-network/chopsticks@1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10)': + '@acala-network/chopsticks@1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(utf-8-validate@5.0.10)': dependencies: '@acala-network/chopsticks-core': 1.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@acala-network/chopsticks-db': 1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10) + '@acala-network/chopsticks-db': 1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(utf-8-validate@5.0.10) '@pnpm/npm-conf': 2.3.1 '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -6571,6 +6701,50 @@ snapshots: - typeorm-aurora-data-api-driver - utf-8-validate + '@acala-network/chopsticks@1.0.1(bufferutil@4.0.8)(debug@4.4.0)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(utf-8-validate@5.0.10)': + dependencies: + '@acala-network/chopsticks-core': 1.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@acala-network/chopsticks-db': 1.0.1(bufferutil@4.0.8)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(utf-8-validate@5.0.10) + '@pnpm/npm-conf': 2.3.1 + '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-provider': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 14.3.1 + '@polkadot/util': 13.2.3 + '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) + axios: 1.7.7(debug@4.4.0) + comlink: 4.4.2 + dotenv: 16.4.5 + global-agent: 3.0.0 + js-yaml: 4.1.0 + jsondiffpatch: 0.5.0 + lodash: 4.17.21 + ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) + yargs: 17.7.2 + zod: 3.23.8 + transitivePeerDependencies: + - '@google-cloud/spanner' + - '@sap/hana-client' + - better-sqlite3 + - bluebird + - bufferutil + - debug + - hdb-pool + - ioredis + - mongodb + - mssql + - mysql2 + - oracledb + - pg + - pg-native + - pg-query-stream + - redis + - sql.js + - supports-color + - ts-node + - typeorm-aurora-data-api-driver + - utf-8-validate + '@acala-network/type-definitions@5.1.2(@polkadot/types@14.3.1)': dependencies: '@polkadot/types': 14.3.1 @@ -7241,39 +7415,39 @@ snapshots: prettier: 2.8.8 prettier-plugin-jsdoc: 0.3.38(prettier@2.8.8) tsx: 4.19.2 - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate - '@moonwall/cli@5.9.1(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@moonwall/cli@5.9.1(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0)': dependencies: - '@acala-network/chopsticks': 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10) + '@acala-network/chopsticks': 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2))(utf-8-validate@5.0.10) '@inquirer/prompts': 7.2.0(@types/node@22.10.1) '@moonbeam-network/api-augment': 0.3300.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@moonwall/types': 5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) - '@moonwall/util': 5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) + '@moonwall/types': 5.9.1(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.24.0) + '@moonwall/util': 5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.24.0) '@octokit/rest': 21.0.2 - '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-derive': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-derive': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - '@polkadot/types': 14.3.1 - '@polkadot/types-codec': 14.3.1 + '@polkadot/types': 15.0.1 + '@polkadot/types-codec': 15.0.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) '@types/react': 18.3.14 '@types/tmp': 0.2.6 - '@vitest/ui': 2.1.5(vitest@2.1.5) + '@vitest/ui': 2.1.8(vitest@2.1.8) '@zombienet/orchestrator': 0.0.97(@polkadot/util@13.2.3)(@types/node@22.10.1)(bufferutil@4.0.8)(chokidar@3.6.0)(utf-8-validate@5.0.10) - '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) + '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.7.2) bottleneck: 2.19.5 cfonts: 3.3.0 chalk: 5.3.0 clear: 0.1.0 cli-progress: 3.12.0 colors: 1.4.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 dotenv: 16.4.5 ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) get-port: 7.1.0 @@ -7285,9 +7459,9 @@ snapshots: semver: 7.6.3 tiny-invariant: 1.3.3 tmp: 0.2.3 - viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + viem: 2.21.54(bufferutil@4.0.8)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + vitest: 2.1.8(@types/node@22.10.1)(@vitest/ui@2.1.8)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + web3: 4.16.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) web3-providers-ws: 4.0.8(bufferutil@4.0.8)(utf-8-validate@5.0.10) ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) yaml: 2.4.5 @@ -7340,23 +7514,23 @@ snapshots: - utf-8-validate - zod - '@moonwall/types@5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8)': + '@moonwall/types@5.9.1(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.24.0)': dependencies: - '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-base': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - '@polkadot/types': 14.3.1 + '@polkadot/types': 15.0.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) '@types/node': 22.10.1 - '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) + '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.7.2) bottleneck: 2.19.5 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) polkadot-api: 1.7.7(bufferutil@4.0.8)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.4.5) - viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + viem: 2.21.54(bufferutil@4.0.8)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + vitest: 2.1.8(@types/node@22.10.1)(@vitest/ui@2.1.8)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + web3: 4.16.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) transitivePeerDependencies: - '@edge-runtime/vm' - '@microsoft/api-extractor' @@ -7387,23 +7561,23 @@ snapshots: - yaml - zod - '@moonwall/types@5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8)': + '@moonwall/types@5.9.1(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.6.1)(zod@3.24.0)': dependencies: - '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/api-base': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - '@polkadot/types': 14.3.1 + '@polkadot/types': 15.0.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) '@types/node': 22.10.1 - '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) + '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.7.2) bottleneck: 2.19.5 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) - polkadot-api: 1.7.7(bufferutil@4.0.8)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.0) - viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + polkadot-api: 1.7.7(bufferutil@4.0.8)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.1) + viem: 2.21.54(bufferutil@4.0.8)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + vitest: 2.1.8(@types/node@22.10.1)(@vitest/ui@2.1.8)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + web3: 4.16.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) transitivePeerDependencies: - '@edge-runtime/vm' - '@microsoft/api-extractor' @@ -7434,17 +7608,17 @@ snapshots: - yaml - zod - '@moonwall/util@5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8)': + '@moonwall/util@5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.24.0)': dependencies: '@inquirer/prompts': 7.2.0(@types/node@22.10.1) '@moonbeam-network/api-augment': 0.3300.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@moonwall/types': 5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.23.8) - '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-derive': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@moonwall/types': 5.9.1(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.4.5)(zod@3.24.0) + '@polkadot/api': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-derive': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - '@polkadot/rpc-provider': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.3.1 - '@polkadot/types-codec': 14.3.1 + '@polkadot/rpc-provider': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/types-codec': 15.0.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) bottleneck: 2.19.5 @@ -7452,14 +7626,14 @@ snapshots: clear: 0.1.0 cli-progress: 3.12.0 colors: 1.4.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 dotenv: 16.4.5 ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) rlp: 3.0.0 semver: 7.6.3 - viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + viem: 2.21.54(bufferutil@4.0.8)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + vitest: 2.1.8(@types/node@22.10.1)(@vitest/ui@2.1.8)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + web3: 4.16.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) yargs: 17.7.2 transitivePeerDependencies: @@ -7493,17 +7667,17 @@ snapshots: - yaml - zod - '@moonwall/util@5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8)': + '@moonwall/util@5.9.1(@types/node@22.10.1)(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.6.1)(zod@3.24.0)': dependencies: '@inquirer/prompts': 7.2.0(@types/node@22.10.1) '@moonbeam-network/api-augment': 0.3300.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@moonwall/types': 5.9.1(@vitest/ui@2.1.5)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.6.3)(utf-8-validate@5.0.10)(yaml@2.6.0)(zod@3.23.8) - '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-derive': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@moonwall/types': 5.9.1(@vitest/ui@2.1.8)(bufferutil@4.0.8)(chokidar@3.6.0)(encoding@0.1.13)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(typescript@5.7.2)(utf-8-validate@5.0.10)(yaml@2.6.1)(zod@3.24.0) + '@polkadot/api': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-derive': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - '@polkadot/rpc-provider': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.3.1 - '@polkadot/types-codec': 14.3.1 + '@polkadot/rpc-provider': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/types-codec': 15.0.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) bottleneck: 2.19.5 @@ -7511,14 +7685,14 @@ snapshots: clear: 0.1.0 cli-progress: 3.12.0 colors: 1.4.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 dotenv: 16.4.5 ethers: 6.13.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) rlp: 3.0.0 semver: 7.6.3 - viem: 2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - web3: 4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + viem: 2.21.54(bufferutil@4.0.8)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + vitest: 2.1.8(@types/node@22.10.1)(@vitest/ui@2.1.8)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + web3: 4.16.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) yargs: 17.7.2 transitivePeerDependencies: @@ -7564,6 +7738,10 @@ snapshots: dependencies: '@noble/hashes': 1.5.0 + '@noble/curves@1.7.0': + dependencies: + '@noble/hashes': 1.6.0 + '@noble/ed25519@1.7.3': {} '@noble/hashes@1.0.0': {} @@ -7576,6 +7754,10 @@ snapshots: '@noble/hashes@1.5.0': {} + '@noble/hashes@1.6.0': {} + + '@noble/hashes@1.6.1': {} + '@noble/secp256k1@1.5.5': {} '@noble/secp256k1@1.7.1': {} @@ -7821,9 +8003,9 @@ snapshots: ora: 8.1.1 read-pkg: 9.0.1 rxjs: 7.8.1 - tsc-prog: 2.3.0(typescript@5.6.3) - tsup: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.4.5) - typescript: 5.6.3 + tsc-prog: 2.3.0(typescript@5.7.2) + tsup: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.4.5) + typescript: 5.7.2 write-package: 7.1.0 transitivePeerDependencies: - '@microsoft/api-extractor' @@ -7836,7 +8018,7 @@ snapshots: - utf-8-validate - yaml - '@polkadot-api/cli@0.9.21(bufferutil@4.0.8)(postcss@8.4.49)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.0)': + '@polkadot-api/cli@0.9.21(bufferutil@4.0.8)(postcss@8.4.49)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.1)': dependencies: '@commander-js/extra-typings': 12.1.0(commander@12.1.0) '@polkadot-api/codegen': 0.12.9 @@ -7860,9 +8042,9 @@ snapshots: ora: 8.1.1 read-pkg: 9.0.1 rxjs: 7.8.1 - tsc-prog: 2.3.0(typescript@5.6.3) - tsup: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) - typescript: 5.6.3 + tsc-prog: 2.3.0(typescript@5.7.2) + tsup: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1) + typescript: 5.7.2 write-package: 7.1.0 transitivePeerDependencies: - '@microsoft/api-extractor' @@ -7921,10 +8103,10 @@ snapshots: dependencies: '@polkadot-api/json-rpc-provider': 0.0.4 - '@polkadot-api/merkleize-metadata@1.1.10': + '@polkadot-api/merkleize-metadata@1.1.11': dependencies: - '@polkadot-api/metadata-builders': 0.9.2 - '@polkadot-api/substrate-bindings': 0.9.4 + '@polkadot-api/metadata-builders': 0.9.3 + '@polkadot-api/substrate-bindings': 0.10.0 '@polkadot-api/utils': 0.1.2 '@polkadot-api/metadata-builders@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': @@ -7944,6 +8126,11 @@ snapshots: '@polkadot-api/substrate-bindings': 0.9.4 '@polkadot-api/utils': 0.1.2 + '@polkadot-api/metadata-builders@0.9.3': + dependencies: + '@polkadot-api/substrate-bindings': 0.10.0 + '@polkadot-api/utils': 0.1.2 + '@polkadot-api/metadata-compatibility@0.1.12': dependencies: '@polkadot-api/metadata-builders': 0.9.2 @@ -7982,7 +8169,7 @@ snapshots: '@polkadot-api/signer@0.1.11': dependencies: - '@noble/hashes': 1.5.0 + '@noble/hashes': 1.6.1 '@polkadot-api/polkadot-signer': 0.1.6 '@polkadot-api/signers-common': 0.1.2 '@polkadot-api/substrate-bindings': 0.9.4 @@ -8011,25 +8198,32 @@ snapshots: '@polkadot-api/substrate-bindings@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': dependencies: - '@noble/hashes': 1.5.0 + '@noble/hashes': 1.6.1 '@polkadot-api/utils': 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - '@scure/base': 1.1.9 + '@scure/base': 1.2.1 scale-ts: 1.6.1 optional: true + '@polkadot-api/substrate-bindings@0.10.0': + dependencies: + '@noble/hashes': 1.6.1 + '@polkadot-api/utils': 0.1.2 + '@scure/base': 1.2.1 + scale-ts: 1.6.1 + '@polkadot-api/substrate-bindings@0.6.0': dependencies: - '@noble/hashes': 1.5.0 + '@noble/hashes': 1.6.1 '@polkadot-api/utils': 0.1.0 - '@scure/base': 1.1.9 + '@scure/base': 1.2.1 scale-ts: 1.6.1 optional: true '@polkadot-api/substrate-bindings@0.9.4': dependencies: - '@noble/hashes': 1.5.0 + '@noble/hashes': 1.6.1 '@polkadot-api/utils': 0.1.2 - '@scure/base': 1.1.9 + '@scure/base': 1.2.1 scale-ts: 1.6.1 '@polkadot-api/substrate-client@0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0': @@ -8079,20 +8273,6 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/api-augment@14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@polkadot/api-base': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-augment': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.0.1 - '@polkadot/types-augment': 14.0.1 - '@polkadot/types-codec': 14.0.1 - '@polkadot/util': 13.2.3 - tslib: 2.8.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - '@polkadot/api-augment@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@polkadot/api-base': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -8160,18 +8340,6 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/api-base@14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@polkadot/rpc-core': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.0.1 - '@polkadot/util': 13.2.3 - rxjs: 7.8.1 - tslib: 2.8.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - '@polkadot/api-base@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@polkadot/rpc-core': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -8236,31 +8404,14 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/api-derive@14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + '@polkadot/api-derive@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: - '@polkadot/api': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-augment': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-base': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-core': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.0.1 - '@polkadot/types-codec': 14.0.1 - '@polkadot/util': 13.2.3 - '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) - rxjs: 7.8.1 - tslib: 2.8.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - - '@polkadot/api-derive@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-base': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-core': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.3.1 - '@polkadot/types-codec': 14.3.1 + '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-base': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-core': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 14.3.1 + '@polkadot/types-codec': 14.3.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) rxjs: 7.8.1 @@ -8344,30 +8495,6 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/api@14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@polkadot/api-augment': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-base': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-derive': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - '@polkadot/rpc-augment': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-core': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-provider': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.0.1 - '@polkadot/types-augment': 14.0.1 - '@polkadot/types-codec': 14.0.1 - '@polkadot/types-create': 14.0.1 - '@polkadot/types-known': 14.0.1 - '@polkadot/util': 13.2.3 - '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) - eventemitter3: 5.0.1 - rxjs: 7.8.1 - tslib: 2.8.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - '@polkadot/api@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@polkadot/api-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -8629,18 +8756,6 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/rpc-augment@14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@polkadot/rpc-core': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.0.1 - '@polkadot/types-codec': 14.0.1 - '@polkadot/util': 13.2.3 - tslib: 2.8.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - '@polkadot/rpc-augment@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@polkadot/rpc-core': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -8701,19 +8816,6 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/rpc-core@14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@polkadot/rpc-augment': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-provider': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.0.1 - '@polkadot/util': 13.2.3 - rxjs: 7.8.1 - tslib: 2.8.1 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - '@polkadot/rpc-core@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@polkadot/rpc-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -8786,27 +8888,6 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/rpc-provider@14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - '@polkadot/types': 14.0.1 - '@polkadot/types-support': 14.0.1 - '@polkadot/util': 13.2.3 - '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) - '@polkadot/x-fetch': 13.2.3 - '@polkadot/x-global': 13.2.3 - '@polkadot/x-ws': 13.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) - eventemitter3: 5.0.1 - mock-socket: 9.3.1 - nock: 13.5.6 - tslib: 2.8.1 - optionalDependencies: - '@substrate/connect': 0.8.11(bufferutil@4.0.8)(utf-8-validate@5.0.10) - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - '@polkadot/rpc-provider@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) @@ -8889,17 +8970,17 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/typegen@14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': - dependencies: - '@polkadot/api': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-augment': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-augment': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-provider': 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.0.1 - '@polkadot/types-augment': 14.0.1 - '@polkadot/types-codec': 14.0.1 - '@polkadot/types-create': 14.0.1 - '@polkadot/types-support': 14.0.1 + '@polkadot/typegen@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-provider': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 14.3.1 + '@polkadot/types-augment': 14.3.1 + '@polkadot/types-codec': 14.3.1 + '@polkadot/types-create': 14.3.1 + '@polkadot/types-support': 14.3.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) '@polkadot/x-ws': 13.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -8911,17 +8992,17 @@ snapshots: - supports-color - utf-8-validate - '@polkadot/typegen@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + '@polkadot/typegen@15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: - '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/api-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-augment': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/rpc-provider': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@polkadot/types': 14.3.1 - '@polkadot/types-augment': 14.3.1 - '@polkadot/types-codec': 14.3.1 - '@polkadot/types-create': 14.3.1 - '@polkadot/types-support': 14.3.1 + '@polkadot/api': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/api-augment': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-augment': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/rpc-provider': 15.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@polkadot/types': 15.0.1 + '@polkadot/types-augment': 15.0.1 + '@polkadot/types-codec': 15.0.1 + '@polkadot/types-create': 15.0.1 + '@polkadot/types-support': 15.0.1 '@polkadot/util': 13.2.3 '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) '@polkadot/x-ws': 13.2.3(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -8940,13 +9021,6 @@ snapshots: '@polkadot/util': 12.6.2 tslib: 2.8.1 - '@polkadot/types-augment@14.0.1': - dependencies: - '@polkadot/types': 14.0.1 - '@polkadot/types-codec': 14.0.1 - '@polkadot/util': 13.2.3 - tslib: 2.8.1 - '@polkadot/types-augment@14.3.1': dependencies: '@polkadot/types': 14.3.1 @@ -8981,12 +9055,6 @@ snapshots: '@polkadot/x-bigint': 12.6.2 tslib: 2.8.1 - '@polkadot/types-codec@14.0.1': - dependencies: - '@polkadot/util': 13.2.3 - '@polkadot/x-bigint': 13.2.3 - tslib: 2.8.1 - '@polkadot/types-codec@14.3.1': dependencies: '@polkadot/util': 13.2.3 @@ -9016,12 +9084,6 @@ snapshots: '@polkadot/util': 12.6.2 tslib: 2.8.1 - '@polkadot/types-create@14.0.1': - dependencies: - '@polkadot/types-codec': 14.0.1 - '@polkadot/util': 13.2.3 - tslib: 2.8.1 - '@polkadot/types-create@14.3.1': dependencies: '@polkadot/types-codec': 14.3.1 @@ -9055,15 +9117,6 @@ snapshots: '@polkadot/util': 12.6.2 tslib: 2.8.1 - '@polkadot/types-known@14.0.1': - dependencies: - '@polkadot/networks': 13.2.3 - '@polkadot/types': 14.0.1 - '@polkadot/types-codec': 14.0.1 - '@polkadot/types-create': 14.0.1 - '@polkadot/util': 13.2.3 - tslib: 2.8.1 - '@polkadot/types-known@14.3.1': dependencies: '@polkadot/networks': 13.2.3 @@ -9119,11 +9172,6 @@ snapshots: '@polkadot/util': 12.6.2 tslib: 2.8.1 - '@polkadot/types-support@14.0.1': - dependencies: - '@polkadot/util': 13.2.3 - tslib: 2.8.1 - '@polkadot/types-support@14.3.1': dependencies: '@polkadot/util': 13.2.3 @@ -9155,17 +9203,6 @@ snapshots: rxjs: 7.8.1 tslib: 2.8.1 - '@polkadot/types@14.0.1': - dependencies: - '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - '@polkadot/types-augment': 14.0.1 - '@polkadot/types-codec': 14.0.1 - '@polkadot/types-create': 14.0.1 - '@polkadot/util': 13.2.3 - '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) - rxjs: 7.8.1 - tslib: 2.8.1 - '@polkadot/types@14.3.1': dependencies: '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) @@ -9257,15 +9294,15 @@ snapshots: '@polkadot/util-crypto@12.6.2(@polkadot/util@12.6.2)': dependencies: - '@noble/curves': 1.6.0 - '@noble/hashes': 1.5.0 + '@noble/curves': 1.7.0 + '@noble/hashes': 1.6.1 '@polkadot/networks': 12.6.2 '@polkadot/util': 12.6.2 '@polkadot/wasm-crypto': 7.4.1(@polkadot/util@12.6.2)(@polkadot/x-randomvalues@12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.4.1(@polkadot/util@13.2.3))) '@polkadot/wasm-util': 7.4.1(@polkadot/util@12.6.2) '@polkadot/x-bigint': 12.6.2 '@polkadot/x-randomvalues': 12.6.2(@polkadot/util@12.6.2)(@polkadot/wasm-util@7.4.1(@polkadot/util@13.2.3)) - '@scure/base': 1.1.9 + '@scure/base': 1.2.1 tslib: 2.8.1 '@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3)': @@ -9747,84 +9784,143 @@ snapshots: '@rollup/rollup-android-arm-eabi@4.26.0': optional: true + '@rollup/rollup-android-arm-eabi@4.28.1': + optional: true + '@rollup/rollup-android-arm64@4.26.0': optional: true + '@rollup/rollup-android-arm64@4.28.1': + optional: true + '@rollup/rollup-darwin-arm64@4.26.0': optional: true + '@rollup/rollup-darwin-arm64@4.28.1': + optional: true + '@rollup/rollup-darwin-x64@4.26.0': optional: true + '@rollup/rollup-darwin-x64@4.28.1': + optional: true + '@rollup/rollup-freebsd-arm64@4.26.0': optional: true + '@rollup/rollup-freebsd-arm64@4.28.1': + optional: true + '@rollup/rollup-freebsd-x64@4.26.0': optional: true + '@rollup/rollup-freebsd-x64@4.28.1': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.26.0': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.28.1': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.26.0': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.28.1': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.26.0': optional: true + '@rollup/rollup-linux-arm64-gnu@4.28.1': + optional: true + '@rollup/rollup-linux-arm64-musl@4.26.0': optional: true + '@rollup/rollup-linux-arm64-musl@4.28.1': + optional: true + + '@rollup/rollup-linux-loongarch64-gnu@4.28.1': + optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.26.0': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.28.1': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.26.0': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.28.1': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.26.0': optional: true + '@rollup/rollup-linux-s390x-gnu@4.28.1': + optional: true + '@rollup/rollup-linux-x64-gnu@4.26.0': optional: true + '@rollup/rollup-linux-x64-gnu@4.28.1': + optional: true + '@rollup/rollup-linux-x64-musl@4.26.0': optional: true + '@rollup/rollup-linux-x64-musl@4.28.1': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.26.0': optional: true + '@rollup/rollup-win32-arm64-msvc@4.28.1': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.26.0': optional: true + '@rollup/rollup-win32-ia32-msvc@4.28.1': + optional: true + '@rollup/rollup-win32-x64-msvc@4.26.0': optional: true + '@rollup/rollup-win32-x64-msvc@4.28.1': + optional: true + '@scure/base@1.0.0': {} '@scure/base@1.1.1': {} '@scure/base@1.1.9': {} + '@scure/base@1.2.1': {} + '@scure/bip32@1.4.0': dependencies: '@noble/curves': 1.4.2 '@noble/hashes': 1.4.0 '@scure/base': 1.1.9 - '@scure/bip32@1.5.0': + '@scure/bip32@1.6.0': dependencies: - '@noble/curves': 1.6.0 - '@noble/hashes': 1.5.0 - '@scure/base': 1.1.9 + '@noble/curves': 1.7.0 + '@noble/hashes': 1.6.1 + '@scure/base': 1.2.1 '@scure/bip39@1.3.0': dependencies: '@noble/hashes': 1.4.0 '@scure/base': 1.1.9 - '@scure/bip39@1.4.0': + '@scure/bip39@1.5.0': dependencies: - '@noble/hashes': 1.5.0 - '@scure/base': 1.1.9 + '@noble/hashes': 1.6.1 + '@scure/base': 1.2.1 '@sec-ant/readable-stream@0.4.1': {} @@ -9866,6 +9962,9 @@ snapshots: '@substrate/connect-known-chains@1.7.0': optional: true + '@substrate/connect-known-chains@1.8.0': + optional: true + '@substrate/connect@0.7.0-alpha.0': dependencies: '@substrate/connect-extension-protocol': 1.0.1 @@ -9887,7 +9986,7 @@ snapshots: '@substrate/connect@0.8.11(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@substrate/connect-extension-protocol': 2.2.1 - '@substrate/connect-known-chains': 1.7.0 + '@substrate/connect-known-chains': 1.8.0 '@substrate/light-client-extension-helpers': 1.0.0(smoldot@2.0.26(bufferutil@4.0.8)(utf-8-validate@5.0.10)) smoldot: 2.0.26(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: @@ -9925,7 +10024,7 @@ snapshots: '@polkadot-api/observable-client': 0.3.2(@polkadot-api/substrate-client@0.1.4)(rxjs@7.8.1) '@polkadot-api/substrate-client': 0.1.4 '@substrate/connect-extension-protocol': 2.2.1 - '@substrate/connect-known-chains': 1.7.0 + '@substrate/connect-known-chains': 1.8.0 rxjs: 7.8.1 smoldot: 2.0.26(bufferutil@4.0.8)(utf-8-validate@5.0.10) optional: true @@ -9949,11 +10048,11 @@ snapshots: '@substrate/ss58-registry@1.51.0': {} - '@substrate/txwrapper-core@7.5.2(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + '@substrate/txwrapper-core@7.5.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) - memoizee: 0.4.15 + memoizee: 0.4.17 transitivePeerDependencies: - '@polkadot/util' - '@polkadot/util-crypto' @@ -9961,9 +10060,9 @@ snapshots: - supports-color - utf-8-validate - '@substrate/txwrapper-substrate@7.5.2(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + '@substrate/txwrapper-substrate@7.5.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: - '@substrate/txwrapper-core': 7.5.2(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@substrate/txwrapper-core': 7.5.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3)(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - '@polkadot/util' - '@polkadot/util-crypto' @@ -10054,10 +10153,6 @@ snapshots: dependencies: undici-types: 6.19.8 - '@types/node@22.9.1': - dependencies: - undici-types: 6.19.8 - '@types/normalize-package-data@2.4.4': {} '@types/pbkdf2@3.1.2': @@ -10123,54 +10218,54 @@ snapshots: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/types': 14.3.1 - '@vitest/expect@2.1.5': + '@vitest/expect@2.1.8': dependencies: - '@vitest/spy': 2.1.5 - '@vitest/utils': 2.1.5 + '@vitest/spy': 2.1.8 + '@vitest/utils': 2.1.8 chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.5(vite@5.4.11(@types/node@22.10.1))': + '@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.1))': dependencies: - '@vitest/spy': 2.1.5 + '@vitest/spy': 2.1.8 estree-walker: 3.0.3 - magic-string: 0.30.12 + magic-string: 0.30.15 optionalDependencies: vite: 5.4.11(@types/node@22.10.1) - '@vitest/pretty-format@2.1.5': + '@vitest/pretty-format@2.1.8': dependencies: tinyrainbow: 1.2.0 - '@vitest/runner@2.1.5': + '@vitest/runner@2.1.8': dependencies: - '@vitest/utils': 2.1.5 + '@vitest/utils': 2.1.8 pathe: 1.1.2 - '@vitest/snapshot@2.1.5': + '@vitest/snapshot@2.1.8': dependencies: - '@vitest/pretty-format': 2.1.5 - magic-string: 0.30.12 + '@vitest/pretty-format': 2.1.8 + magic-string: 0.30.15 pathe: 1.1.2 - '@vitest/spy@2.1.5': + '@vitest/spy@2.1.8': dependencies: tinyspy: 3.0.2 - '@vitest/ui@2.1.5(vitest@2.1.5)': + '@vitest/ui@2.1.8(vitest@2.1.8)': dependencies: - '@vitest/utils': 2.1.5 + '@vitest/utils': 2.1.8 fflate: 0.8.2 - flatted: 3.3.1 + flatted: 3.3.2 pathe: 1.1.2 sirv: 3.0.0 tinyglobby: 0.2.10 tinyrainbow: 1.2.0 - vitest: 2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) + vitest: 2.1.8(@types/node@22.10.1)(@vitest/ui@2.1.8)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - '@vitest/utils@2.1.5': + '@vitest/utils@2.1.8': dependencies: - '@vitest/pretty-format': 2.1.5 + '@vitest/pretty-format': 2.1.8 loupe: 3.1.2 tinyrainbow: 1.2.0 @@ -10183,10 +10278,10 @@ snapshots: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@polkadot/keyring': 13.2.3(@polkadot/util-crypto@13.2.3(@polkadot/util@13.2.3))(@polkadot/util@13.2.3) '@polkadot/util-crypto': 13.2.3(@polkadot/util@13.2.3) - '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3) + '@zombienet/utils': 0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.3.3) JSONStream: 1.3.5 chai: 4.5.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) execa: 5.1.1 fs-extra: 11.2.0 jsdom: 23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -10197,8 +10292,8 @@ snapshots: napi-maybe-compressed-blob: 0.0.11 peer-id: 0.16.0 tmp-promise: 3.0.3 - typescript: 5.6.3 - yaml: 2.6.0 + typescript: 5.3.3 + yaml: 2.6.1 transitivePeerDependencies: - '@polkadot/util' - '@swc/core' @@ -10210,14 +10305,30 @@ snapshots: - supports-color - utf-8-validate - '@zombienet/utils@0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.6.3)': + '@zombienet/utils@0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.3.3)': + dependencies: + cli-table3: 0.6.5 + debug: 4.4.0(supports-color@8.1.1) + mocha: 10.7.3 + nunjucks: 3.2.4(chokidar@3.6.0) + toml: 3.0.0 + ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.3.3) + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + - '@types/node' + - chokidar + - supports-color + - typescript + + '@zombienet/utils@0.0.25(@types/node@22.10.1)(chokidar@3.6.0)(typescript@5.7.2)': dependencies: cli-table3: 0.6.5 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) mocha: 10.7.3 nunjucks: 3.2.4(chokidar@3.6.0) toml: 3.0.0 - ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.6.3) + ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.7.2) transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -10236,16 +10347,16 @@ snapshots: abbrev@1.1.1: optional: true - abitype@0.7.1(typescript@5.6.3)(zod@3.23.8): + abitype@0.7.1(typescript@5.7.2)(zod@3.24.0): dependencies: - typescript: 5.6.3 + typescript: 5.7.2 optionalDependencies: - zod: 3.23.8 + zod: 3.24.0 - abitype@1.0.6(typescript@5.6.3)(zod@3.23.8): + abitype@1.0.7(typescript@5.7.2)(zod@3.24.0): optionalDependencies: - typescript: 5.6.3 - zod: 3.23.8 + typescript: 5.7.2 + zod: 3.24.0 abort-controller@3.0.0: dependencies: @@ -10286,14 +10397,14 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color optional: true agent-base@7.1.1: dependencies: - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -10395,6 +10506,14 @@ snapshots: transitivePeerDependencies: - debug + axios@1.7.7(debug@4.4.0): + dependencies: + follow-redirects: 1.15.9(debug@4.4.0) + form-data: 4.0.1 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + balanced-match@1.0.2: {} base-x@3.0.10: @@ -10564,6 +10683,11 @@ snapshots: normalize-url: 6.1.0 responselike: 2.0.1 + call-bind-apply-helpers@1.0.1: + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + call-bind@1.0.7: dependencies: es-define-property: 1.0.0 @@ -10572,6 +10696,13 @@ snapshots: get-intrinsic: 1.2.4 set-function-length: 1.2.2 + call-bind@1.0.8: + dependencies: + call-bind-apply-helpers: 1.0.1 + es-define-property: 1.0.1 + get-intrinsic: 1.2.5 + set-function-length: 1.2.2 + camelcase@5.3.1: {} camelcase@6.3.0: {} @@ -10886,7 +11017,11 @@ snapshots: dependencies: ms: 2.0.0 - debug@4.3.7(supports-color@8.1.1): + debug@4.3.7: + dependencies: + ms: 2.1.3 + + debug@4.4.0(supports-color@8.1.1): dependencies: ms: 2.1.3 optionalDependencies: @@ -10970,6 +11105,12 @@ snapshots: dotenv@16.4.5: {} + dunder-proto@1.0.0: + dependencies: + call-bind-apply-helpers: 1.0.1 + es-errors: 1.3.0 + gopd: 1.2.0 + eastasianwidth@0.2.0: {} ecc-jsbn@0.1.2: @@ -11059,6 +11200,8 @@ snapshots: dependencies: get-intrinsic: 1.2.4 + es-define-property@1.0.1: {} + es-errors@1.3.0: {} es-module-lexer@1.5.4: {} @@ -11245,7 +11388,7 @@ snapshots: ethereum-bloom-filters@1.2.0: dependencies: - '@noble/hashes': 1.5.0 + '@noble/hashes': 1.6.1 ethereum-cryptography@0.1.3: dependencies: @@ -11456,11 +11599,15 @@ snapshots: flat@5.0.2: {} - flatted@3.3.1: {} + flatted@3.3.2: {} follow-redirects@1.15.9(debug@4.3.7): optionalDependencies: - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 + + follow-redirects@1.15.9(debug@4.4.0): + optionalDependencies: + debug: 4.4.0(supports-color@8.1.1) for-each@0.3.3: dependencies: @@ -11556,6 +11703,17 @@ snapshots: has-symbols: 1.0.3 hasown: 2.0.2 + get-intrinsic@1.2.5: + dependencies: + call-bind-apply-helpers: 1.0.1 + dunder-proto: 1.0.0 + es-define-property: 1.0.1 + es-errors: 1.3.0 + function-bind: 1.1.2 + gopd: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.2 + get-port@7.1.0: {} get-stream@5.2.0: @@ -11633,6 +11791,8 @@ snapshots: dependencies: get-intrinsic: 1.2.4 + gopd@1.2.0: {} + got@11.8.6: dependencies: '@sindresorhus/is': 4.6.0 @@ -11695,9 +11855,11 @@ snapshots: has-symbols@1.0.3: {} + has-symbols@1.1.0: {} + has-tostringtag@1.0.2: dependencies: - has-symbols: 1.0.3 + has-symbols: 1.1.0 has-unicode@2.0.1: optional: true @@ -11753,7 +11915,7 @@ snapshots: dependencies: '@tootallnate/once': 1.1.2 agent-base: 6.0.2 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color optional: true @@ -11761,7 +11923,7 @@ snapshots: http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.1 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -11784,7 +11946,7 @@ snapshots: https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color optional: true @@ -11792,7 +11954,7 @@ snapshots: https-proxy-agent@7.0.5: dependencies: agent-base: 7.1.1 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -11906,7 +12068,7 @@ snapshots: is-arguments@1.1.1: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 has-tostringtag: 1.0.2 is-binary-path@2.1.0: @@ -11975,7 +12137,7 @@ snapshots: is-typed-array@1.1.13: dependencies: - which-typed-array: 1.1.15 + which-typed-array: 1.1.16 is-typedarray@1.0.0: {} @@ -12238,7 +12400,7 @@ snapshots: ltgt@2.2.1: {} - magic-string@0.30.12: + magic-string@0.30.15: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 @@ -12271,7 +12433,7 @@ snapshots: dependencies: escape-string-regexp: 4.0.0 - mathjs@13.2.0: + mathjs@13.2.3: dependencies: '@babel/runtime': 7.26.0 complex.js: 2.4.2 @@ -12323,7 +12485,7 @@ snapshots: ltgt: 2.2.1 safe-buffer: 5.2.1 - memoizee@0.4.15: + memoizee@0.4.17: dependencies: d: 1.0.2 es5-ext: 0.10.64 @@ -12467,7 +12629,7 @@ snapshots: micromark@3.2.0: dependencies: '@types/debug': 4.1.12 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) decode-named-character-reference: 1.0.2 micromark-core-commonmark: 1.1.0 micromark-factory-space: 1.1.0 @@ -12597,7 +12759,7 @@ snapshots: ansi-colors: 4.1.3 browser-stdout: 1.3.1 chokidar: 3.6.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) diff: 5.2.0 escape-string-regexp: 4.0.0 find-up: 5.0.0 @@ -12675,6 +12837,8 @@ snapshots: nanoid@3.3.7: {} + nanoid@3.3.8: {} + napi-build-utils@1.0.2: {} napi-maybe-compressed-blob-darwin-arm64@0.0.11: @@ -12707,7 +12871,7 @@ snapshots: nock@13.5.6: dependencies: - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) json-stringify-safe: 5.0.1 propagate: 2.0.1 transitivePeerDependencies: @@ -12860,17 +13024,17 @@ snapshots: os-tmpdir@1.0.2: {} - ox@0.1.2(typescript@5.6.3)(zod@3.23.8): + ox@0.1.2(typescript@5.7.2)(zod@3.24.0): dependencies: '@adraffy/ens-normalize': 1.11.0 - '@noble/curves': 1.6.0 - '@noble/hashes': 1.5.0 - '@scure/bip32': 1.5.0 - '@scure/bip39': 1.4.0 - abitype: 1.0.6(typescript@5.6.3)(zod@3.23.8) + '@noble/curves': 1.7.0 + '@noble/hashes': 1.6.1 + '@scure/bip32': 1.6.0 + '@scure/bip39': 1.5.0 + abitype: 1.0.7(typescript@5.7.2)(zod@3.24.0) eventemitter3: 5.0.1 optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - zod @@ -13040,9 +13204,9 @@ snapshots: - utf-8-validate - yaml - polkadot-api@1.7.7(bufferutil@4.0.8)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.0): + polkadot-api@1.7.7(bufferutil@4.0.8)(postcss@8.4.49)(rxjs@7.8.1)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.1): dependencies: - '@polkadot-api/cli': 0.9.21(bufferutil@4.0.8)(postcss@8.4.49)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.0) + '@polkadot-api/cli': 0.9.21(bufferutil@4.0.8)(postcss@8.4.49)(tsx@4.19.2)(utf-8-validate@5.0.10)(yaml@2.6.1) '@polkadot-api/ink-contracts': 0.2.2 '@polkadot-api/json-rpc-provider': 0.0.4 '@polkadot-api/known-chains': 0.5.8 @@ -13091,13 +13255,13 @@ snapshots: tsx: 4.19.2 yaml: 2.4.5 - postcss-load-config@6.0.1(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.0): + postcss-load-config@6.0.1(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.1): dependencies: lilconfig: 3.1.2 optionalDependencies: postcss: 8.4.49 tsx: 4.19.2 - yaml: 2.6.0 + yaml: 2.6.1 postcss-value-parser@4.2.0: {} @@ -13109,7 +13273,7 @@ snapshots: postcss@8.4.49: dependencies: - nanoid: 3.3.7 + nanoid: 3.3.8 picocolors: 1.1.1 source-map-js: 1.2.1 @@ -13226,10 +13390,10 @@ snapshots: dependencies: safe-buffer: 5.2.1 - randomness@1.6.15: + randomness@1.6.16: dependencies: fft-js: 0.0.12 - mathjs: 13.2.0 + mathjs: 13.2.3 range-parser@1.2.1: {} @@ -13408,6 +13572,31 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.26.0 fsevents: 2.3.3 + rollup@4.28.1: + dependencies: + '@types/estree': 1.0.6 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.28.1 + '@rollup/rollup-android-arm64': 4.28.1 + '@rollup/rollup-darwin-arm64': 4.28.1 + '@rollup/rollup-darwin-x64': 4.28.1 + '@rollup/rollup-freebsd-arm64': 4.28.1 + '@rollup/rollup-freebsd-x64': 4.28.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.28.1 + '@rollup/rollup-linux-arm-musleabihf': 4.28.1 + '@rollup/rollup-linux-arm64-gnu': 4.28.1 + '@rollup/rollup-linux-arm64-musl': 4.28.1 + '@rollup/rollup-linux-loongarch64-gnu': 4.28.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.28.1 + '@rollup/rollup-linux-riscv64-gnu': 4.28.1 + '@rollup/rollup-linux-s390x-gnu': 4.28.1 + '@rollup/rollup-linux-x64-gnu': 4.28.1 + '@rollup/rollup-linux-x64-musl': 4.28.1 + '@rollup/rollup-win32-arm64-msvc': 4.28.1 + '@rollup/rollup-win32-ia32-msvc': 4.28.1 + '@rollup/rollup-win32-x64-msvc': 4.28.1 + fsevents: 2.3.3 + rrweb-cssom@0.6.0: {} rrweb-cssom@0.7.1: {} @@ -13542,9 +13731,9 @@ snapshots: side-channel@1.0.6: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 - get-intrinsic: 1.2.4 + get-intrinsic: 1.2.5 object-inspect: 1.13.3 siginfo@2.0.0: {} @@ -13612,7 +13801,7 @@ snapshots: socks-proxy-agent@6.2.1: dependencies: agent-base: 6.0.2 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) socks: 2.8.3 transitivePeerDependencies: - supports-color @@ -13624,11 +13813,11 @@ snapshots: smart-buffer: 4.2.0 optional: true - solc@0.8.25(debug@4.3.7): + solc@0.8.25(debug@4.4.0): dependencies: command-exists: 1.2.9 commander: 8.3.0 - follow-redirects: 1.15.9(debug@4.3.7) + follow-redirects: 1.15.9(debug@4.4.0) js-sha3: 0.8.0 memorystream: 0.3.1 semver: 5.7.2 @@ -13879,7 +14068,7 @@ snapshots: fdir: 6.4.2(picomatch@4.0.2) picomatch: 4.0.2 - tinypool@1.0.1: {} + tinypool@1.0.2: {} tinyrainbow@1.2.0: {} @@ -13933,7 +14122,25 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3): + ts-node@10.9.2(@types/node@22.10.1)(typescript@5.3.3): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 22.10.1 + acorn: 8.12.1 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.3.3 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + + ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -13947,13 +14154,13 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.3 + typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - tsc-prog@2.3.0(typescript@5.6.3): + tsc-prog@2.3.0(typescript@5.7.2): dependencies: - typescript: 5.6.3 + typescript: 5.7.2 tslib@1.14.1: {} @@ -13963,40 +14170,13 @@ snapshots: tslib@2.8.1: {} - tsup@8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.2)(yaml@2.6.0): - dependencies: - bundle-require: 5.0.0(esbuild@0.24.0) - cac: 6.7.14 - chokidar: 4.0.1 - consola: 3.2.3 - debug: 4.3.7(supports-color@8.1.1) - esbuild: 0.24.0 - joycon: 3.1.1 - picocolors: 1.1.1 - postcss-load-config: 6.0.1(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.0) - resolve-from: 5.0.0 - rollup: 4.26.0 - source-map: 0.8.0-beta.0 - sucrase: 3.35.0 - tinyexec: 0.3.1 - tinyglobby: 0.2.10 - tree-kill: 1.2.2 - optionalDependencies: - postcss: 8.4.49 - typescript: 5.6.2 - transitivePeerDependencies: - - jiti - - supports-color - - tsx - - yaml - - tsup@8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.4.5): + tsup@8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.4.5): dependencies: bundle-require: 5.0.0(esbuild@0.24.0) cac: 6.7.14 chokidar: 4.0.1 consola: 3.2.3 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) esbuild: 0.24.0 joycon: 3.1.1 picocolors: 1.1.1 @@ -14010,24 +14190,24 @@ snapshots: tree-kill: 1.2.2 optionalDependencies: postcss: 8.4.49 - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - jiti - supports-color - tsx - yaml - tsup@8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0): + tsup@8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.7.2)(yaml@2.6.1): dependencies: bundle-require: 5.0.0(esbuild@0.24.0) cac: 6.7.14 chokidar: 4.0.1 consola: 3.2.3 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) esbuild: 0.24.0 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.0) + postcss-load-config: 6.0.1(postcss@8.4.49)(tsx@4.19.2)(yaml@2.6.1) resolve-from: 5.0.0 rollup: 4.26.0 source-map: 0.8.0-beta.0 @@ -14037,7 +14217,7 @@ snapshots: tree-kill: 1.2.2 optionalDependencies: postcss: 8.4.49 - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - jiti - supports-color @@ -14080,7 +14260,7 @@ snapshots: dependencies: is-typedarray: 1.0.0 - typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3)): + typeorm@0.3.20(sqlite3@5.1.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.7.2)): dependencies: '@sqltools/formatter': 1.2.5 app-root-path: 3.1.0 @@ -14088,7 +14268,7 @@ snapshots: chalk: 4.1.2 cli-highlight: 2.1.11 dayjs: 1.11.13 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) dotenv: 16.4.5 glob: 10.4.5 mkdirp: 2.1.6 @@ -14099,15 +14279,15 @@ snapshots: yargs: 17.7.2 optionalDependencies: sqlite3: 5.1.7 - ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.6.3) + ts-node: 10.9.2(@types/node@22.10.1)(typescript@5.7.2) transitivePeerDependencies: - supports-color typescript@4.9.5: {} - typescript@5.6.2: {} + typescript@5.3.3: {} - typescript@5.6.3: {} + typescript@5.7.2: {} uglify-js@3.19.3: optional: true @@ -14177,7 +14357,7 @@ snapshots: is-arguments: 1.1.1 is-generator-function: 1.0.10 is-typed-array: 1.1.13 - which-typed-array: 1.1.15 + which-typed-array: 1.1.16 utils-merge@1.0.1: {} @@ -14209,28 +14389,28 @@ snapshots: core-util-is: 1.0.2 extsprintf: 1.3.0 - viem@2.21.45(bufferutil@4.0.8)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8): + viem@2.21.54(bufferutil@4.0.8)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0): dependencies: - '@noble/curves': 1.6.0 - '@noble/hashes': 1.5.0 - '@scure/bip32': 1.5.0 - '@scure/bip39': 1.4.0 - abitype: 1.0.6(typescript@5.6.3)(zod@3.23.8) + '@noble/curves': 1.7.0 + '@noble/hashes': 1.6.1 + '@scure/bip32': 1.6.0 + '@scure/bip39': 1.5.0 + abitype: 1.0.7(typescript@5.7.2)(zod@3.24.0) isows: 1.0.6(ws@8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)) - ox: 0.1.2(typescript@5.6.3)(zod@3.23.8) + ox: 0.1.2(typescript@5.7.2)(zod@3.24.0) webauthn-p256: 0.0.10 ws: 8.18.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - bufferutil - utf-8-validate - zod - vite-node@2.1.5(@types/node@22.10.1): + vite-node@2.1.8(@types/node@22.10.1): dependencies: cac: 6.7.14 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.5.4 pathe: 1.1.2 vite: 5.4.11(@types/node@22.10.1) @@ -14249,36 +14429,36 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.49 - rollup: 4.26.0 + rollup: 4.28.1 optionalDependencies: '@types/node': 22.10.1 fsevents: 2.3.3 - vitest@2.1.5(@types/node@22.10.1)(@vitest/ui@2.1.5)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)): + vitest@2.1.8(@types/node@22.10.1)(@vitest/ui@2.1.8)(jsdom@23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)): dependencies: - '@vitest/expect': 2.1.5 - '@vitest/mocker': 2.1.5(vite@5.4.11(@types/node@22.10.1)) - '@vitest/pretty-format': 2.1.5 - '@vitest/runner': 2.1.5 - '@vitest/snapshot': 2.1.5 - '@vitest/spy': 2.1.5 - '@vitest/utils': 2.1.5 + '@vitest/expect': 2.1.8 + '@vitest/mocker': 2.1.8(vite@5.4.11(@types/node@22.10.1)) + '@vitest/pretty-format': 2.1.8 + '@vitest/runner': 2.1.8 + '@vitest/snapshot': 2.1.8 + '@vitest/spy': 2.1.8 + '@vitest/utils': 2.1.8 chai: 5.1.2 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 - magic-string: 0.30.12 + magic-string: 0.30.15 pathe: 1.1.2 std-env: 3.8.0 tinybench: 2.9.0 tinyexec: 0.3.1 - tinypool: 1.0.1 + tinypool: 1.0.2 tinyrainbow: 1.2.0 vite: 5.4.11(@types/node@22.10.1) - vite-node: 2.1.5(@types/node@22.10.1) + vite-node: 2.1.8(@types/node@22.10.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 22.10.1 - '@vitest/ui': 2.1.5(vitest@2.1.5) + '@vitest/ui': 2.1.8(vitest@2.1.8) jsdom: 23.2.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) transitivePeerDependencies: - less @@ -14353,15 +14533,15 @@ snapshots: - encoding - supports-color - web3-core@4.7.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10): + web3-core@4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10): dependencies: - web3-errors: 1.3.0 - web3-eth-accounts: 4.3.0 + web3-errors: 1.3.1 + web3-eth-accounts: 4.3.1 web3-eth-iban: 4.0.7 web3-providers-http: 4.2.0(encoding@0.1.13) web3-providers-ws: 4.0.8(bufferutil@4.0.8)(utf-8-validate@5.0.10) - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 optionalDependencies: web3-providers-ipc: 4.0.7 @@ -14372,19 +14552,23 @@ snapshots: web3-errors@1.3.0: dependencies: - web3-types: 1.9.0 + web3-types: 1.10.0 + + web3-errors@1.3.1: + dependencies: + web3-types: 1.10.0 web3-eth-abi@1.10.4: dependencies: '@ethersproject/abi': 5.7.0 web3-utils: 1.10.4 - web3-eth-abi@4.4.0(typescript@5.6.3)(zod@3.23.8): + web3-eth-abi@4.4.1(typescript@5.7.2)(zod@3.24.0): dependencies: - abitype: 0.7.1(typescript@5.6.3)(zod@3.23.8) - web3-errors: 1.3.0 - web3-types: 1.9.0 - web3-utils: 4.3.2 + abitype: 0.7.1(typescript@5.7.2)(zod@3.24.0) + web3-errors: 1.3.1 + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 transitivePeerDependencies: - typescript @@ -14406,14 +14590,14 @@ snapshots: - encoding - supports-color - web3-eth-accounts@4.3.0: + web3-eth-accounts@4.3.1: dependencies: '@ethereumjs/rlp': 4.0.1 crc-32: 1.2.2 ethereum-cryptography: 2.2.1 - web3-errors: 1.3.0 - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-errors: 1.3.1 + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 web3-eth-contract@1.10.4(encoding@0.1.13): @@ -14430,15 +14614,15 @@ snapshots: - encoding - supports-color - web3-eth-contract@4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8): + web3-eth-contract@4.7.2(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0): dependencies: '@ethereumjs/rlp': 5.0.2 - web3-core: 4.7.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-errors: 1.3.0 - web3-eth: 4.11.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - web3-eth-abi: 4.4.0(typescript@5.6.3)(zod@3.23.8) - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-core: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3-errors: 1.3.1 + web3-eth: 4.11.1(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + web3-eth-abi: 4.4.1(typescript@5.7.2)(zod@3.24.0) + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 transitivePeerDependencies: - bufferutil @@ -14461,16 +14645,16 @@ snapshots: - encoding - supports-color - web3-eth-ens@4.4.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8): + web3-eth-ens@4.4.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0): dependencies: '@adraffy/ens-normalize': 1.11.0 - web3-core: 4.7.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-errors: 1.3.0 - web3-eth: 4.11.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - web3-eth-contract: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + web3-core: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3-errors: 1.3.1 + web3-eth: 4.11.1(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + web3-eth-contract: 4.7.2(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) web3-net: 4.1.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 transitivePeerDependencies: - bufferutil @@ -14486,9 +14670,9 @@ snapshots: web3-eth-iban@4.0.7: dependencies: - web3-errors: 1.3.0 - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-errors: 1.3.1 + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 web3-eth-personal@1.10.4(encoding@0.1.13): @@ -14503,13 +14687,13 @@ snapshots: - encoding - supports-color - web3-eth-personal@4.1.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8): + web3-eth-personal@4.1.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0): dependencies: - web3-core: 4.7.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-eth: 4.11.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + web3-core: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3-eth: 4.11.1(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) web3-rpc-methods: 1.3.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 transitivePeerDependencies: - bufferutil @@ -14536,18 +14720,18 @@ snapshots: - encoding - supports-color - web3-eth@4.11.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8): + web3-eth@4.11.1(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0): dependencies: setimmediate: 1.0.5 - web3-core: 4.7.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-errors: 1.3.0 - web3-eth-abi: 4.4.0(typescript@5.6.3)(zod@3.23.8) - web3-eth-accounts: 4.3.0 + web3-core: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3-errors: 1.3.1 + web3-eth-abi: 4.4.1(typescript@5.7.2)(zod@3.24.0) + web3-eth-accounts: 4.3.1 web3-net: 4.1.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-providers-ws: 4.0.8(bufferutil@4.0.8)(utf-8-validate@5.0.10) web3-rpc-methods: 1.3.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 transitivePeerDependencies: - bufferutil @@ -14567,10 +14751,10 @@ snapshots: web3-net@4.1.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10): dependencies: - web3-core: 4.7.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3-core: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-rpc-methods: 1.3.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-types: 1.10.0 + web3-utils: 4.3.3 transitivePeerDependencies: - bufferutil - encoding @@ -14588,9 +14772,9 @@ snapshots: web3-providers-http@4.2.0(encoding@0.1.13): dependencies: cross-fetch: 4.0.0(encoding@0.1.13) - web3-errors: 1.3.0 - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-errors: 1.3.1 + web3-types: 1.10.0 + web3-utils: 4.3.3 transitivePeerDependencies: - encoding @@ -14601,9 +14785,9 @@ snapshots: web3-providers-ipc@4.0.7: dependencies: - web3-errors: 1.3.0 - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-errors: 1.3.1 + web3-types: 1.10.0 + web3-utils: 4.3.3 optional: true web3-providers-ws@1.10.4: @@ -14628,21 +14812,21 @@ snapshots: web3-rpc-methods@1.3.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10): dependencies: - web3-core: 4.7.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-types: 1.9.0 + web3-core: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3-types: 1.10.0 web3-validator: 2.0.6 transitivePeerDependencies: - bufferutil - encoding - utf-8-validate - web3-rpc-providers@1.0.0-rc.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10): + web3-rpc-providers@1.0.0-rc.4(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10): dependencies: - web3-errors: 1.3.0 + web3-errors: 1.3.1 web3-providers-http: 4.2.0(encoding@0.1.13) web3-providers-ws: 4.0.8(bufferutil@4.0.8)(utf-8-validate@5.0.10) - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 transitivePeerDependencies: - bufferutil @@ -14659,6 +14843,8 @@ snapshots: - encoding - supports-color + web3-types@1.10.0: {} + web3-types@1.9.0: {} web3-utils@1.10.4: @@ -14676,17 +14862,25 @@ snapshots: dependencies: ethereum-cryptography: 2.2.1 eventemitter3: 5.0.1 - web3-errors: 1.3.0 - web3-types: 1.9.0 + web3-errors: 1.3.1 + web3-types: 1.10.0 + web3-validator: 2.0.6 + + web3-utils@4.3.3: + dependencies: + ethereum-cryptography: 2.2.1 + eventemitter3: 5.0.1 + web3-errors: 1.3.1 + web3-types: 1.10.0 web3-validator: 2.0.6 web3-validator@2.0.6: dependencies: ethereum-cryptography: 2.2.1 util: 0.12.5 - web3-errors: 1.3.0 - web3-types: 1.9.0 - zod: 3.23.8 + web3-errors: 1.3.1 + web3-types: 1.10.0 + zod: 3.24.0 web3@1.10.4(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10): dependencies: @@ -14703,24 +14897,24 @@ snapshots: - supports-color - utf-8-validate - web3@4.15.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8): + web3@4.16.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0): dependencies: - web3-core: 4.7.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-errors: 1.3.0 - web3-eth: 4.11.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - web3-eth-abi: 4.4.0(typescript@5.6.3)(zod@3.23.8) - web3-eth-accounts: 4.3.0 - web3-eth-contract: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) - web3-eth-ens: 4.4.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + web3-core: 4.7.1(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3-errors: 1.3.1 + web3-eth: 4.11.1(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + web3-eth-abi: 4.4.1(typescript@5.7.2)(zod@3.24.0) + web3-eth-accounts: 4.3.1 + web3-eth-contract: 4.7.2(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) + web3-eth-ens: 4.4.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) web3-eth-iban: 4.0.7 - web3-eth-personal: 4.1.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.6.3)(utf-8-validate@5.0.10)(zod@3.23.8) + web3-eth-personal: 4.1.0(bufferutil@4.0.8)(encoding@0.1.13)(typescript@5.7.2)(utf-8-validate@5.0.10)(zod@3.24.0) web3-net: 4.1.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) web3-providers-http: 4.2.0(encoding@0.1.13) web3-providers-ws: 4.0.8(bufferutil@4.0.8)(utf-8-validate@5.0.10) web3-rpc-methods: 1.3.0(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-rpc-providers: 1.0.0-rc.3(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) - web3-types: 1.9.0 - web3-utils: 4.3.2 + web3-rpc-providers: 1.0.0-rc.4(bufferutil@4.0.8)(encoding@0.1.13)(utf-8-validate@5.0.10) + web3-types: 1.10.0 + web3-utils: 4.3.3 web3-validator: 2.0.6 transitivePeerDependencies: - bufferutil @@ -14731,8 +14925,8 @@ snapshots: webauthn-p256@0.0.10: dependencies: - '@noble/curves': 1.6.0 - '@noble/hashes': 1.5.0 + '@noble/curves': 1.7.0 + '@noble/hashes': 1.6.1 webidl-conversions@3.0.1: {} @@ -14773,12 +14967,12 @@ snapshots: tr46: 1.0.1 webidl-conversions: 4.0.2 - which-typed-array@1.1.15: + which-typed-array@1.1.16: dependencies: available-typed-arrays: 1.0.7 - call-bind: 1.0.7 + call-bind: 1.0.8 for-each: 0.3.3 - gopd: 1.0.1 + gopd: 1.2.0 has-tostringtag: 1.0.2 which@2.0.2: @@ -14914,7 +15108,7 @@ snapshots: yaml@2.4.5: {} - yaml@2.6.0: {} + yaml@2.6.1: {} yargs-parser@20.2.9: {} @@ -14958,3 +15152,5 @@ snapshots: yoga-wasm-web@0.3.3: {} zod@3.23.8: {} + + zod@3.24.0: {} diff --git a/test/package.json b/test/package.json index cfbd72b024..cc0af4f82a 100644 --- a/test/package.json +++ b/test/package.json @@ -27,7 +27,7 @@ "@moonwall/cli": "5.9.1", "@moonwall/util": "5.9.1", "@openzeppelin/contracts": "4.9.6", - "@polkadot-api/merkleize-metadata": "1.1.10", + "@polkadot-api/merkleize-metadata": "1.1.11", "@polkadot/api": "*", "@polkadot/api-augment": "*", "@polkadot/api-derive": "*", @@ -38,9 +38,9 @@ "@polkadot/types-codec": "*", "@polkadot/util": "*", "@polkadot/util-crypto": "*", - "@substrate/txwrapper-core": "7.5.2", - "@substrate/txwrapper-substrate": "7.5.2", - "@vitest/ui": "2.1.5", + "@substrate/txwrapper-core": "7.5.3", + "@substrate/txwrapper-substrate": "7.5.3", + "@vitest/ui": "2.1.8", "@zombienet/utils": "0.0.25", "chalk": "5.3.0", "eth-object": "github:aurora-is-near/eth-object#master", @@ -49,25 +49,25 @@ "json-stable-stringify": "1.1.1", "merkle-patricia-tree": "4.2.4", "moonbeam-types-bundle": "workspace:*", - "octokit": "^4.0.2", - "randomness": "1.6.15", + "octokit": "4.0.2", + "randomness": "1.6.16", "rlp": "3.0.0", "semver": "7.6.3", "solc": "0.8.25", "tsx": "*", - "viem": "2.21.45", - "vitest": "2.1.5", - "web3": "4.15.0", - "yaml": "2.6.0" + "viem": "2.21.54", + "vitest": "2.1.8", + "web3": "4.16.0", + "yaml": "2.6.1" }, "devDependencies": { "@types/debug": "4.1.12", - "@types/json-bigint": "^1.0.4", + "@types/json-bigint": "1.0.4", "@types/node": "*", "@types/semver": "7.5.8", "@types/yargs": "17.0.33", "bottleneck": "2.19.5", - "debug": "4.3.7", + "debug": "4.4.0", "inquirer": "12.2.0", "typescript": "*", "yargs": "17.7.2" diff --git a/typescript-api/scripts/scrapeMetadata.ts b/typescript-api/scripts/scrapeMetadata.ts index d43b34ebe9..c2186ea911 100644 --- a/typescript-api/scripts/scrapeMetadata.ts +++ b/typescript-api/scripts/scrapeMetadata.ts @@ -1,6 +1,5 @@ import fs from "node:fs"; -import { execSync, spawn } from "node:child_process"; -import type { ChildProcessWithoutNullStreams } from "node:child_process"; +import { type ChildProcessWithoutNullStreams, execSync, spawn } from "node:child_process"; import path from "node:path"; const CHAINS = ["moonbase", "moonriver", "moonbeam"]; @@ -86,7 +85,9 @@ async function main() { } process.on("SIGINT", () => { - Object.values(nodes).forEach((node) => node.kill()); + for (const chain of CHAINS) { + nodes[chain].kill(); + } process.exit(); }); @@ -96,5 +97,7 @@ main() process.exitCode = 1; }) .finally(() => { - Object.values(nodes).forEach((node) => node.kill()); + for (const chain of CHAINS) { + nodes[chain].kill(); + } }); From 2fa9e6f1448404047f270a84e040d29bf658cdfb Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:02:08 +0000 Subject: [PATCH 16/24] Fix foreign assets smoke tests (#3106) * test(smoke): Fix foreign assets test * test(smoke): mute hrmp channel check for Litmus parachain * test(smoke): check asset status when verifying the live foreign assets --- test/helpers/foreign-chains.ts | 6 +++ .../smoke/test-foreign-asset-consistency.ts | 54 ++++++++++--------- 2 files changed, 35 insertions(+), 25 deletions(-) diff --git a/test/helpers/foreign-chains.ts b/test/helpers/foreign-chains.ts index da1095e39b..4b1e47c222 100644 --- a/test/helpers/foreign-chains.ts +++ b/test/helpers/foreign-chains.ts @@ -125,6 +125,12 @@ export const ForeignChainsEndpoints = [ name: "Turing", paraId: 2114, }, + // Litmus has become a para-thread + { + name: "Litmus", + paraId: 2106, + mutedUntil: new Date("2025-01-30").getTime(), + }, ], }, { diff --git a/test/suites/smoke/test-foreign-asset-consistency.ts b/test/suites/smoke/test-foreign-asset-consistency.ts index d8f57bda4d..c713fb63c9 100644 --- a/test/suites/smoke/test-foreign-asset-consistency.ts +++ b/test/suites/smoke/test-foreign-asset-consistency.ts @@ -30,38 +30,42 @@ describeSuite({ apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); specVersion = apiAt.consts.system.version.specVersion.toNumber(); - let query = await apiAt.query.assetManager.assetIdType.entries(); - query.forEach(([key, exposure]) => { + liveForeignAssets = (await apiAt.query.assets.asset.entries()).reduce((acc, [key, value]) => { + acc[key.args.toString()] = (value.unwrap() as any).status.isLive; + return acc; + }, {}); + + // Query all assets mapped by identifier + const legacyAssets = await apiAt.query.assetManager.assetIdType.entries(); + const evmForeignAssets = await apiAt.query.evmForeignAssets.assetsById.entries(); + [...legacyAssets, ...evmForeignAssets].forEach(([key, exposure]) => { const assetId = key.args.toString(); foreignAssetIdType[assetId] = exposure.unwrap().toString(); }); - query = await apiAt.query.assetManager.assetTypeId.entries(); - query.forEach(([key, exposure]) => { + + // Query all assets mapped by location + const legacyAssetsByLocation = await apiAt.query.assetManager.assetTypeId.entries(); + legacyAssetsByLocation.forEach(([key, exposure]) => { const assetType = key.args.toString(); foreignAssetTypeId[assetType] = exposure.unwrap().toString(); }); + const assetsByLocation = await apiAt.query.evmForeignAssets.assetsByLocation.entries(); + assetsByLocation.forEach(([key, exposure]) => { + const assetType = key.args.toString(); + const [assetId, assetStatus] = exposure.unwrap(); + liveForeignAssets[assetType] = assetStatus.isActive; + foreignAssetTypeId[assetType] = assetId.toString(); + }); - if (specVersion >= 3200) { - query = await apiAt.query.xcmWeightTrader.supportedAssets.entries(); - query.forEach(([key, _]) => { - const assetType = key.args.toString(); - xcmWeightManagerSupportedAssets.push(assetType); - }); - } - // log(`Foreign Xcm Accepted Assets: ${foreignXcmAcceptedAssets}`); - // log(`Foreign AssetId<->AssetType: ${JSON.stringify(foreignAssetIdType)}`); - // foreignAssetTypeId - // log(`Foreign AssetType<->AssetId: ${JSON.stringify(foreignAssetTypeId)}`); - - if (specVersion >= 2200) { - liveForeignAssets = (await apiAt.query.assets.asset.entries()).reduce( - (acc, [key, value]) => { - acc[key.args.toString()] = (value.unwrap() as any).status.isLive; - return acc; - }, - {} as any - ); - } + // Query supported assets + (await apiAt.query.xcmWeightTrader.supportedAssets.entries()).forEach(([key, _]) => { + const assetType = key.args.toString(); + xcmWeightManagerSupportedAssets.push(assetType); + }); + + log(`Foreign Xcm Supported Assets: ${xcmWeightManagerSupportedAssets}`); + log(`Foreign AssetId -> AssetLocation: ${JSON.stringify(foreignAssetIdType)}`); + log(`Foreign AssetLocation -> AssetId: ${JSON.stringify(foreignAssetTypeId)}`); }); it({ From 40f1fde4d19baa24fc3eb8338108df3e32b600fd Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:26:34 +0000 Subject: [PATCH 17/24] test(smoke): Fix foreign assets smoke tests (#3108) --- .../smoke/test-foreign-asset-consistency.ts | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/test/suites/smoke/test-foreign-asset-consistency.ts b/test/suites/smoke/test-foreign-asset-consistency.ts index c713fb63c9..0435ed2c40 100644 --- a/test/suites/smoke/test-foreign-asset-consistency.ts +++ b/test/suites/smoke/test-foreign-asset-consistency.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import type { ApiPromise } from "@polkadot/api"; -import { patchLocationV4recursively } from "../../helpers"; +import { type MultiLocation, patchLocationV4recursively } from "../../helpers"; describeSuite({ id: "S12", @@ -11,7 +11,7 @@ describeSuite({ testCases: ({ context, it, log }) => { let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - const foreignAssetIdType: { [assetId: string]: string } = {}; + const foreignAssetIdType: { [assetId: string]: MultiLocation } = {}; const foreignAssetTypeId: { [assetType: string]: string } = {}; const xcmWeightManagerSupportedAssets: string[] = []; let liveForeignAssets: { [key: string]: boolean }; @@ -40,20 +40,21 @@ describeSuite({ const evmForeignAssets = await apiAt.query.evmForeignAssets.assetsById.entries(); [...legacyAssets, ...evmForeignAssets].forEach(([key, exposure]) => { const assetId = key.args.toString(); - foreignAssetIdType[assetId] = exposure.unwrap().toString(); + const location: any = exposure.unwrap().toJSON(); + foreignAssetIdType[assetId] = location.xcm || location; }); // Query all assets mapped by location const legacyAssetsByLocation = await apiAt.query.assetManager.assetTypeId.entries(); legacyAssetsByLocation.forEach(([key, exposure]) => { - const assetType = key.args.toString(); - foreignAssetTypeId[assetType] = exposure.unwrap().toString(); + const assetType: any = key.args[0].toJSON(); + foreignAssetTypeId[JSON.stringify(assetType.xcm)] = exposure.unwrap().toString(); }); const assetsByLocation = await apiAt.query.evmForeignAssets.assetsByLocation.entries(); assetsByLocation.forEach(([key, exposure]) => { - const assetType = key.args.toString(); + const assetType: any = key.args[0].toString(); const [assetId, assetStatus] = exposure.unwrap(); - liveForeignAssets[assetType] = assetStatus.isActive; + liveForeignAssets[assetId.toString()] = assetStatus.isActive; foreignAssetTypeId[assetType] = assetId.toString(); }); @@ -92,7 +93,7 @@ describeSuite({ const failedAssetReserveMappings: { assetId: string }[] = []; for (const assetId of Object.keys(foreignAssetIdType)) { - const assetType = foreignAssetIdType[assetId]; + const assetType = JSON.stringify(foreignAssetIdType[assetId]); if (foreignAssetTypeId[assetType] !== assetId) { failedAssetReserveMappings.push({ assetId: assetId }); } @@ -122,8 +123,8 @@ describeSuite({ // Patch the location const xcmForForeignAssets = Object.values(foreignAssetIdType).map((type) => { - const parents = JSON.parse(type).xcm.parents; - const interior = JSON.parse(type).xcm.interior; + const parents = type.parents; + const interior = type.interior; patchLocationV4recursively(interior); return JSON.stringify({ parents, From 7b0c5f80f7cfbbc86bce588f204d6fe0a5755ccd Mon Sep 17 00:00:00 2001 From: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Date: Wed, 18 Dec 2024 21:05:10 +0100 Subject: [PATCH 18/24] Fix prop hash in runtime releases (#3111) Fix proposal hash in runtime releases --- tools/github/generate-runtimes-body.ts | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/tools/github/generate-runtimes-body.ts b/tools/github/generate-runtimes-body.ts index 1d4a5b17cc..48eccdde43 100644 --- a/tools/github/generate-runtimes-body.ts +++ b/tools/github/generate-runtimes-body.ts @@ -8,12 +8,12 @@ import { blake2AsHex } from "@polkadot/util-crypto"; const BREAKING_CHANGES_LABEL = "breaking"; const RUNTIME_CHANGES_LABEL = "B7-runtimenoteworthy"; -// `ParachainSystem` is pallet index 6. `authorize_upgrade` is extrinsic index 2. -const MOONBASE_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE = "0x0602"; -// `ParachainSystem` is pallet index 1. `authorize_upgrade` is extrinsic index 2. -const MOONRIVER_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE = "0x0102"; -// `ParachainSystem` is pallet index 1. `authorize_upgrade` is extrinsic index 2. -const MOONBEAM_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE = "0x0102"; +// `System` is pallet index 0. `authorize_upgrade` is extrinsic index 9. +const MOONBASE_PREFIX_SYSTEM_AUTHORIZE_UPGRADE = "0x0009"; +// `System` is pallet index 0. `authorize_upgrade` is extrinsic index 9. +const MOONRIVER_PREFIX_SYSTEM_AUTHORIZE_UPGRADE = "0x0009"; +// `System` is pallet index 0. `authorize_upgrade` is extrinsic index 9. +const MOONBEAM_PREFIX_SYSTEM_AUTHORIZE_UPGRADE = "0x0009"; function capitalize(s) { return s[0].toUpperCase() + s.slice(1); @@ -32,23 +32,24 @@ function getRuntimeInfo(srtoolReportFolder: string, runtimeName: string) { }; } -// Srtool expects the pallet parachain_system to be at index 1. However, in the case of moonbase, -// the pallet parachain_system is at index 6, so we have to recalculate the hash of the -// authorizeUpgrade call in the case of moonbase by hand. +// This function computes the preimage of the `system.authorize_upgrade` call +// for the given runtime code hash. The preimage is the BLAKE2b-256 hash of +// the given call. It is to be used in the governance proposal to authorize +// the runtime upgrade. function authorizeUpgradeHash(runtimeName: string, srtool: any): string { if (runtimeName === "moonbase") { return blake2AsHex( - MOONBASE_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE + + MOONBASE_PREFIX_SYSTEM_AUTHORIZE_UPGRADE + srtool.runtimes.compressed.blake2_256.substr(2) // remove "0x" prefix ); } else if (runtimeName === "moonriver") { return blake2AsHex( - MOONRIVER_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE + + MOONRIVER_PREFIX_SYSTEM_AUTHORIZE_UPGRADE + srtool.runtimes.compressed.blake2_256.substr(2) // remove "0x" prefix ); } else { return blake2AsHex( - MOONBEAM_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE + + MOONBEAM_PREFIX_SYSTEM_AUTHORIZE_UPGRADE + srtool.runtimes.compressed.blake2_256.substr(2) // remove "0x" prefix ); } From 265ce20094b908e6fbcf2fa6c988338d8b1e627c Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:31:44 +0000 Subject: [PATCH 19/24] chore: disable debug-assertions in production builds (#3112) --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5ea739b8f5..0c8f9a752d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -477,9 +477,10 @@ zeroize = { opt-level = 3 } inherits = "release" [profile.production] +inherits = "release" +debug-assertions = false # Disable debug-assert! for production builds codegen-units = 1 incremental = false -inherits = "release" lto = true [profile.release] From 823fc909739ac4390ee79a8df6f48b14b8dc7629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?pablito=20=E3=83=86?= Date: Thu, 19 Dec 2024 08:36:51 -0300 Subject: [PATCH 20/24] test: :game_die: randomize contract size smoke test (#3028) * extract some storage key helpers * test random contract prefixes * add reproduction steps to error * fmt * delete smoke/now * improve error/debug msg * slice if prefixes > 25 * fmt * remove unused import * fmt * remove label from loop * remove unused fn * fmt * appease linter --- test/helpers/storageQueries.ts | 96 +++++++++++++++++++ .../smoke/test-ethereum-contract-code.ts | 28 ++++-- test/suites/smoke/test-polkadot-decoding.ts | 22 +---- 3 files changed, 115 insertions(+), 31 deletions(-) diff --git a/test/helpers/storageQueries.ts b/test/helpers/storageQueries.ts index 0cb879712a..c506d867b3 100644 --- a/test/helpers/storageQueries.ts +++ b/test/helpers/storageQueries.ts @@ -96,3 +96,99 @@ export async function processAllStorage( await limiter.disconnect(); } + +export async function processRandomStoragePrefixes( + api: ApiPromise, + storagePrefix: string, + blockHash: string, + processor: (batchResult: { key: `0x${string}`; value: string }[]) => void, + override = "" +) { + const maxKeys = 1000; + let total = 0; + const preFilteredPrefixes = splitPrefix(storagePrefix); + const chanceToSample = 0.05; + let prefixes = override + ? [override] + : preFilteredPrefixes.filter(() => Math.random() < chanceToSample); + if (prefixes.length > 25) { + prefixes = prefixes.slice(0, 25); + } + console.log(`Processing ${prefixes.length} prefixes: ${prefixes.join(", ")}`); + const limiter = rateLimiter(); + const stopReport = startReport(() => total); + + try { + await Promise.all( + prefixes.map(async (prefix) => + limiter.schedule(async () => { + let startKey: string | undefined = undefined; + while (true) { + // @ts-expect-error _rpcCore is not yet exposed + const keys: string = await api._rpcCore.provider.send("state_getKeysPaged", [ + prefix, + maxKeys, + startKey, + blockHash, + ]); + + if (!keys.length) { + break; + } + + // @ts-expect-error _rpcCore is not yet exposed + const response = await api._rpcCore.provider.send("state_queryStorageAt", [ + keys, + blockHash, + ]); + + try { + processor( + response[0].changes.map((pair: [string, string]) => ({ + key: pair[0], + value: pair[1], + })) + ); + } catch (e) { + console.log(`Error processing ${prefix}: ${e}`); + console.log(`Replace the empty string in smoke/test-ethereum-contract-code.ts + with the prefix to reproduce`); + } + + total += keys.length; + + if (keys.length !== maxKeys) { + break; + } + startKey = keys[keys.length - 1]; + } + }) + ) + ); + } finally { + stopReport(); + } + + await limiter.disconnect(); +} + +export const extractStorageKeyComponents = (storageKey: string) => { + // The full storage key is composed of + // - The 0x prefix (2 characters) + // - The module prefix (32 characters) + // - The method name (32 characters) + // - The parameters (variable length) + const regex = /(?0x[a-f0-9]{32})(?[a-f0-9]{32})(?[a-f0-9]*)/i; + const match = regex.exec(storageKey); + + if (!match) { + throw new Error("Invalid storage key format"); + } + + const { moduleKey, fnKey, paramsKey } = match.groups!; + return { + moduleKey, + fnKey, + paramsKey, + }; +}; diff --git a/test/suites/smoke/test-ethereum-contract-code.ts b/test/suites/smoke/test-ethereum-contract-code.ts index fd33c861c4..31ed8c4521 100644 --- a/test/suites/smoke/test-ethereum-contract-code.ts +++ b/test/suites/smoke/test-ethereum-contract-code.ts @@ -4,7 +4,7 @@ import { ONE_HOURS } from "@moonwall/util"; import { compactStripLength, hexToU8a, u8aConcat, u8aToHex } from "@polkadot/util"; import { xxhashAsU8a } from "@polkadot/util-crypto"; import chalk from "chalk"; -import { processAllStorage } from "../../helpers/storageQueries.js"; +import { processRandomStoragePrefixes } from "../../helpers/storageQueries.js"; describeSuite({ id: "S08", @@ -37,16 +37,24 @@ describeSuite({ u8aConcat(xxhashAsU8a("EVM", 128), xxhashAsU8a("AccountCodes", 128)) ); const t0 = performance.now(); - await processAllStorage(paraApi, keyPrefix, blockHash, (items) => { - for (const item of items) { - const codesize = getBytecodeSize(hexToU8a(item.value)); - if (codesize > MAX_CONTRACT_SIZE_BYTES) { - const accountId = "0x" + item.key.slice(-40); - failedContractCodes.push({ accountId, codesize }); + + await processRandomStoragePrefixes( + paraApi, + keyPrefix, + blockHash, + (items) => { + for (const item of items) { + const codesize = getBytecodeSize(hexToU8a(item.value)); + if (codesize > MAX_CONTRACT_SIZE_BYTES) { + const accountId = "0x" + item.key.slice(-40); + failedContractCodes.push({ accountId, codesize }); + } } - } - totalContracts += BigInt(items.length); - }); + totalContracts += BigInt(items.length); + }, + // WHEN DEBUGGING REPLACE THE EMPTY STRING WITH A PREFIX TO FETCH + "" + ); const t1 = performance.now(); const checkTime = (t1 - t0) / 1000; diff --git a/test/suites/smoke/test-polkadot-decoding.ts b/test/suites/smoke/test-polkadot-decoding.ts index 392a022298..cb49db1876 100644 --- a/test/suites/smoke/test-polkadot-decoding.ts +++ b/test/suites/smoke/test-polkadot-decoding.ts @@ -3,6 +3,7 @@ import chalk from "chalk"; import { describeSuite, beforeAll } from "@moonwall/cli"; import { ONE_HOURS } from "@moonwall/util"; import type { ApiPromise } from "@polkadot/api"; +import { extractStorageKeyComponents } from "../../helpers/storageQueries"; import { fail } from "node:assert"; // Change the following line to reproduce a particular case @@ -12,27 +13,6 @@ const FN_NAME = ""; const pageSize = (process.env.PAGE_SIZE && Number.parseInt(process.env.PAGE_SIZE)) || 500; -const extractStorageKeyComponents = (storageKey: string) => { - // The full storage key is composed of - // - The 0x prefix (2 characters) - // - The module prefix (32 characters) - // - The method name (32 characters) - // - The parameters (variable length) - const regex = /(?0x[a-f0-9]{32})(?[a-f0-9]{32})(?[a-f0-9]*)/i; - const match = regex.exec(storageKey); - - if (!match) { - throw new Error("Invalid storage key format"); - } - - const { moduleKey, fnKey, paramsKey } = match.groups!; - return { - moduleKey, - fnKey, - paramsKey, - }; -}; - const randomHex = (nBytes) => [...crypto.getRandomValues(new Uint8Array(nBytes))] .map((m) => ("0" + m.toString(16)).slice(-2)) From 7dbae978852f317245fce798d511db8d8d8561dd Mon Sep 17 00:00:00 2001 From: Tarek Mohamed Abdalla Date: Fri, 20 Dec 2024 14:38:51 +0200 Subject: [PATCH 21/24] Upgrade to polkadot stable2409 (#3031) --- Cargo.lock | 1194 ++++++++--------- Cargo.toml | 360 ++--- node/cli/src/command.rs | 25 +- node/service/src/lazy_loading/mod.rs | 22 +- node/service/src/lib.rs | 73 +- node/service/src/rpc.rs | 6 +- pallets/erc20-xcm-bridge/src/mock.rs | 5 +- pallets/ethereum-xcm/src/lib.rs | 5 +- pallets/ethereum-xcm/src/mock.rs | 7 +- pallets/moonbeam-foreign-assets/src/evm.rs | 4 +- pallets/moonbeam-foreign-assets/src/mock.rs | 3 +- pallets/moonbeam-lazy-migrations/src/mock.rs | 3 +- pallets/xcm-transactor/src/lib.rs | 1 + precompiles/assets-erc20/src/eip2612.rs | 1 + precompiles/assets-erc20/src/lib.rs | 1 + precompiles/assets-erc20/src/mock.rs | 3 +- precompiles/author-mapping/src/lib.rs | 1 + precompiles/author-mapping/src/mock.rs | 5 +- precompiles/balances-erc20/src/eip2612.rs | 1 + precompiles/balances-erc20/src/lib.rs | 1 + precompiles/balances-erc20/src/mock.rs | 3 +- precompiles/batch/src/mock.rs | 3 +- precompiles/call-permit/src/mock.rs | 3 +- precompiles/collective/src/lib.rs | 1 + precompiles/collective/src/mock.rs | 5 +- precompiles/conviction-voting/src/lib.rs | 1 + precompiles/conviction-voting/src/mock.rs | 3 +- precompiles/crowdloan-rewards/src/lib.rs | 1 + precompiles/crowdloan-rewards/src/mock.rs | 3 +- precompiles/foreign-asset-migrator/src/lib.rs | 1 + precompiles/gmp/Cargo.toml | 1 + precompiles/gmp/src/lib.rs | 1 + precompiles/gmp/src/mock.rs | 3 +- precompiles/identity/src/lib.rs | 1 + precompiles/identity/src/mock.rs | 3 +- precompiles/parachain-staking/src/lib.rs | 1 + precompiles/parachain-staking/src/mock.rs | 3 +- precompiles/precompile-registry/src/mock.rs | 3 +- precompiles/preimage/src/lib.rs | 1 + precompiles/preimage/src/mock.rs | 3 +- precompiles/proxy/src/lib.rs | 5 +- precompiles/proxy/src/mock.rs | 5 +- precompiles/randomness/src/mock.rs | 3 +- precompiles/referenda/src/lib.rs | 1 + precompiles/referenda/src/mock.rs | 3 +- precompiles/relay-data-verifier/src/mock.rs | 5 +- precompiles/relay-encoder/src/mock.rs | 5 +- precompiles/xcm-transactor/Cargo.toml | 4 +- precompiles/xcm-transactor/src/functions.rs | 1 + precompiles/xcm-transactor/src/mock.rs | 5 +- precompiles/xcm-transactor/src/v1/mod.rs | 5 +- precompiles/xcm-transactor/src/v2/mod.rs | 2 + precompiles/xcm-transactor/src/v3/mod.rs | 2 + precompiles/xcm-utils/Cargo.toml | 9 +- precompiles/xcm-utils/src/lib.rs | 2 + precompiles/xcm-utils/src/mock.rs | 12 +- precompiles/xtokens/src/lib.rs | 1 + precompiles/xtokens/src/mock.rs | 3 +- .../src/impl_on_charge_evm_transaction.rs | 9 +- runtime/moonbase/src/lib.rs | 9 +- runtime/moonbase/src/weights/pallet_assets.rs | 10 + runtime/moonbase/tests/xcm_mock/parachain.rs | 6 +- runtime/moonbeam/src/lib.rs | 7 +- runtime/moonbeam/src/weights/pallet_assets.rs | 10 + runtime/moonbeam/tests/xcm_mock/parachain.rs | 5 +- runtime/moonriver/src/lib.rs | 8 +- .../moonriver/src/weights/pallet_assets.rs | 10 + runtime/moonriver/tests/xcm_mock/parachain.rs | 6 +- .../summarize-precompile-checks/Cargo.toml | 2 +- .../test-fees/test-fee-multiplier-max.ts | 10 +- .../moonbase/test-fees/test-length-fees.ts | 4 +- .../moonbase/test-fees/test-length-fees2.ts | 2 +- .../test-pov/test-precompile-over-pov.ts | 2 +- .../test-randomness-babe-lottery3.ts | 4 +- .../test-randomness-vrf-lottery4.ts | 2 +- .../test-precompile-storage-growth.ts | 4 +- test/suites/zombie/test_para.ts | 2 +- 77 files changed, 1027 insertions(+), 923 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0475149691..a1645e4030 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -486,7 +486,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-backing-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "sp-api", "sp-consensus-slots", @@ -775,19 +775,10 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - [[package]] name = "binary-merkle-tree" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "15.0.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "hash-db", "log", @@ -818,7 +809,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "rustc-hash", + "rustc-hash 1.1.0", "shlex", "syn 2.0.77", ] @@ -1016,13 +1007,14 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.14.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.14.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", "sp-core", "sp-runtime", + "staging-xcm", ] [[package]] @@ -1753,8 +1745,8 @@ dependencies = [ [[package]] name = "cumulus-client-cli" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.18.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "clap", "parity-scale-codec", @@ -1770,8 +1762,8 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.18.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1793,8 +1785,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.18.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1823,8 +1815,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" -version = "0.15.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.16.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "anyhow", "async-trait", @@ -1838,8 +1830,8 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.18.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1861,8 +1853,8 @@ dependencies = [ [[package]] name = "cumulus-client-network" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.18.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1887,8 +1879,8 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" -version = "0.11.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.12.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1909,8 +1901,8 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.18.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1935,8 +1927,8 @@ dependencies = [ [[package]] name = "cumulus-client-service" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.19.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1972,8 +1964,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.17.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -1989,8 +1981,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" -version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.17.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2026,7 +2018,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -2036,8 +2028,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" -version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.17.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2051,8 +2043,8 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.17.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2076,8 +2068,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.15.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.16.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2092,8 +2084,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.15.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.16.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2101,15 +2093,13 @@ dependencies = [ "scale-info", "sp-core", "sp-inherents", - "sp-runtime", - "sp-state-machine", "sp-trie", ] [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.10.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2118,8 +2108,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "8.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -2134,8 +2124,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" -version = "0.15.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.16.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -2144,8 +2134,8 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.17.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2153,8 +2143,6 @@ dependencies = [ "pallet-asset-conversion", "parity-scale-codec", "polkadot-runtime-common", - "polkadot-runtime-parachains", - "sp-io", "sp-runtime", "staging-xcm", "staging-xcm-builder", @@ -2163,8 +2151,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.19.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2187,8 +2175,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.18.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2206,8 +2194,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.19.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "async-trait", @@ -2241,8 +2229,8 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.18.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2280,8 +2268,8 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.15.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.16.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2939,7 +2927,7 @@ dependencies = [ [[package]] name = "evm" version = "0.41.2" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2407#8dea63a242ac4442607d15f7e95ab3daebcbd017" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2409#aeff7f361687b4c6a7fcbe1cf6e4fe5f2aea32b5" dependencies = [ "auto_impl", "environmental", @@ -2959,7 +2947,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2407#8dea63a242ac4442607d15f7e95ab3daebcbd017" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2409#aeff7f361687b4c6a7fcbe1cf6e4fe5f2aea32b5" dependencies = [ "parity-scale-codec", "primitive-types", @@ -2970,7 +2958,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2407#8dea63a242ac4442607d15f7e95ab3daebcbd017" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2409#aeff7f361687b4c6a7fcbe1cf6e4fe5f2aea32b5" dependencies = [ "environmental", "evm-core", @@ -2981,7 +2969,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2407#8dea63a242ac4442607d15f7e95ab3daebcbd017" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-stable2409#aeff7f361687b4c6a7fcbe1cf6e4fe5f2aea32b5" dependencies = [ "auto_impl", "environmental", @@ -3088,7 +3076,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "async-trait", "fp-storage", @@ -3100,7 +3088,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "async-trait", "fp-consensus", @@ -3116,7 +3104,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "async-trait", "ethereum", @@ -3146,7 +3134,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "fc-db", "fc-storage", @@ -3169,7 +3157,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "ethereum", "ethereum-types", @@ -3224,7 +3212,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "ethereum", "ethereum-types", @@ -3239,7 +3227,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "ethereum", "ethereum-types", @@ -3402,7 +3390,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", ] @@ -3429,7 +3417,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "hex", "impl-serde", @@ -3448,7 +3436,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "ethereum", "parity-scale-codec", @@ -3459,7 +3447,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "ethereum", "ethereum-types", @@ -3471,7 +3459,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "environmental", "evm", @@ -3487,7 +3475,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "ethereum", "ethereum-types", @@ -3503,7 +3491,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "frame-support", "parity-scale-codec", @@ -3515,7 +3503,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "parity-scale-codec", "serde", @@ -3529,8 +3517,8 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-support-procedural", @@ -3553,8 +3541,8 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "42.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "43.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "Inflector", "array-bytes", @@ -3604,7 +3592,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "14.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -3614,8 +3602,8 @@ dependencies = [ [[package]] name = "frame-election-provider-support" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3630,8 +3618,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "aquamarine", "frame-support", @@ -3660,8 +3648,8 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.5.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.6.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "docify", @@ -3675,8 +3663,8 @@ dependencies = [ [[package]] name = "frame-support" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "aquamarine", "array-bytes", @@ -3716,12 +3704,13 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "30.0.2" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "30.0.3" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", + "docify", "expander", "frame-support-procedural-tools", "itertools 0.11.0", @@ -3736,7 +3725,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.2.0", @@ -3748,7 +3737,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "proc-macro2", "quote", @@ -3757,8 +3746,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cfg-if", "docify", @@ -3777,8 +3766,8 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -3792,7 +3781,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "parity-scale-codec", @@ -3801,8 +3790,8 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "parity-scale-codec", @@ -4897,9 +4886,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47" +checksum = "c5c71d8c1a731cc4227c2f698d377e7848ca12c8a48866fc5e6951c43a4db843" dependencies = [ "jsonrpsee-core", "jsonrpsee-http-client", @@ -4913,9 +4902,9 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432" +checksum = "548125b159ba1314104f5bb5f38519e03a41862786aa3925cf349aae9cdd546e" dependencies = [ "base64 0.22.1", "futures-util", @@ -4936,13 +4925,11 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79712302e737d23ca0daa178e752c9334846b08321d439fd89af9a384f8c830b" +checksum = "f2882f6f8acb9fdaec7cefc4fd607119a9bd709831df7d7672a1d3b644628280" dependencies = [ - "anyhow", "async-trait", - "beef", "bytes", "futures-timer", "futures-util", @@ -4953,7 +4940,7 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "rand 0.8.5", - "rustc-hash", + "rustc-hash 2.1.0", "serde", "serde_json", "thiserror", @@ -4964,9 +4951,9 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d90064e04fb9d7282b1c71044ea94d0bbc6eff5621c66f1a0bce9e9de7cf3ac" +checksum = "b3638bc4617f96675973253b3a45006933bde93c2fd8a6170b33c777cc389e5b" dependencies = [ "async-trait", "base64 0.22.1", @@ -4989,9 +4976,9 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7895f186d5921065d96e16bd795e5ca89ac8356ec423fafc6e3d7cf8ec11aee4" +checksum = "c06c01ae0007548e73412c08e2285ffe5d723195bf268bce67b1b77c3bb2a14d" dependencies = [ "heck 0.5.0", "proc-macro-crate 3.2.0", @@ -5002,11 +4989,10 @@ dependencies = [ [[package]] name = "jsonrpsee-server" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "654afab2e92e5d88ebd8a39d6074483f3f2bfdf91c5ac57fe285e7127cdd4f51" +checksum = "82ad8ddc14be1d4290cd68046e7d1d37acd408efed6d3ca08aefcc3ad6da069c" dependencies = [ - "anyhow", "futures-util", "http 1.1.0", "http-body 1.0.1", @@ -5030,11 +5016,10 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c465fbe385238e861fdc4d1c85e04ada6c1fd246161d26385c1b311724d2af" +checksum = "a178c60086f24cc35bb82f57c651d0d25d99c4742b4d335de04e97fa1f08a8a1" dependencies = [ - "beef", "http 1.1.0", "serde", "serde_json", @@ -5043,9 +5028,9 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.23.2" +version = "0.24.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c28759775f5cb2f1ea9667672d3fe2b0e701d1f4b7b67954e60afe7fd058b5e" +checksum = "0fe322e0896d0955a3ebdd5bf813571c53fea29edd713bc315b76620b327e86d" dependencies = [ "http 1.1.0", "jsonrpsee-client-transport", @@ -6107,8 +6092,8 @@ dependencies = [ [[package]] name = "mmr-gadget" -version = "39.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "40.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "log", @@ -6126,8 +6111,8 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -7574,7 +7559,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "async-backing-primitives", "async-trait", @@ -7614,7 +7599,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "async-trait", "frame-benchmarking", @@ -8043,8 +8028,8 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" -version = "19.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "20.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8081,8 +8066,8 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8095,8 +8080,8 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8112,8 +8097,8 @@ dependencies = [ [[package]] name = "pallet-assets" -version = "39.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "40.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8129,7 +8114,7 @@ dependencies = [ [[package]] name = "pallet-async-backing" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8149,7 +8134,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "frame-benchmarking", "frame-support", @@ -8168,7 +8153,7 @@ dependencies = [ [[package]] name = "pallet-author-mapping" version = "2.0.5" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "frame-benchmarking", "frame-support", @@ -8187,7 +8172,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "frame-benchmarking", "frame-support", @@ -8204,8 +8189,8 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", @@ -8219,8 +8204,8 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", @@ -8232,8 +8217,8 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8255,8 +8240,8 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "aquamarine", "docify", @@ -8276,8 +8261,8 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "38.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "39.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "frame-benchmarking", @@ -8291,8 +8276,8 @@ dependencies = [ [[package]] name = "pallet-beefy" -version = "38.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "39.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", @@ -8310,11 +8295,12 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "38.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "39.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "binary-merkle-tree", + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -8334,8 +8320,8 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8351,8 +8337,8 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.17.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "frame-benchmarking", @@ -8369,8 +8355,8 @@ dependencies = [ [[package]] name = "pallet-child-bounties" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8387,8 +8373,8 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "18.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "19.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8406,8 +8392,8 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8422,8 +8408,8 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8439,7 +8425,7 @@ dependencies = [ [[package]] name = "pallet-crowdloan-rewards" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/crowdloan-rewards?branch=moonbeam-polkadot-stable2407#3c0135e87804b7ba3efadb0d053086cca5e66b54" +source = "git+https://github.com/moonbeam-foundation/crowdloan-rewards?branch=moonbeam-polkadot-stable2409#014056f7bb41e40d8b93d2284c283960f6c8b002" dependencies = [ "ed25519-dalek", "frame-benchmarking", @@ -8460,21 +8446,23 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" -version = "4.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "5.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", + "sp-io", "sp-runtime", "sp-staking", ] [[package]] name = "pallet-democracy" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8490,8 +8478,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8512,8 +8500,8 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8525,8 +8513,8 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "38.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "39.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8544,7 +8532,7 @@ dependencies = [ [[package]] name = "pallet-emergency-para-xcm" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8587,7 +8575,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "environmental", "ethereum", @@ -8605,6 +8593,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", + "sp-version", ] [[package]] @@ -8643,7 +8632,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "environmental", @@ -8667,7 +8656,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "frame-support", "frame-system", @@ -8762,7 +8751,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "fp-evm", ] @@ -8770,7 +8759,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "fp-evm", "sp-core", @@ -8902,7 +8891,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "fp-evm", "frame-support", @@ -8978,7 +8967,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "fp-evm", "num", @@ -9222,7 +9211,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "fp-evm", "tiny-keccak", @@ -9231,7 +9220,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "fp-evm", "ripemd", @@ -9241,7 +9230,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-storage-cleaner" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "fp-evm", "frame-support", @@ -9256,7 +9245,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-xcm" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "cumulus-primitives-core", "evm", @@ -9411,8 +9400,8 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "frame-benchmarking", @@ -9429,8 +9418,8 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9451,8 +9440,8 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "enumflags2", "frame-benchmarking", @@ -9469,8 +9458,8 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9488,8 +9477,8 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9505,7 +9494,7 @@ dependencies = [ [[package]] name = "pallet-maintenance-mode" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -9520,8 +9509,8 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9536,8 +9525,8 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "40.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "41.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "environmental", "frame-benchmarking", @@ -9556,7 +9545,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "frame-benchmarking", "frame-support", @@ -9574,8 +9563,8 @@ dependencies = [ [[package]] name = "pallet-mmr" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9664,8 +9653,8 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9679,8 +9668,8 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9694,8 +9683,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "35.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", @@ -9712,8 +9701,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" -version = "35.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "36.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9732,8 +9721,8 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "32.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "33.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -9742,8 +9731,8 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", @@ -9758,8 +9747,8 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9803,8 +9792,8 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.8.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.9.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "docify", @@ -9841,8 +9830,8 @@ dependencies = [ [[package]] name = "pallet-preimage" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9857,8 +9846,8 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9890,7 +9879,7 @@ dependencies = [ [[package]] name = "pallet-randomness" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "environmental", "frame-benchmarking", @@ -9914,8 +9903,8 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9932,8 +9921,8 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -9946,8 +9935,8 @@ dependencies = [ [[package]] name = "pallet-referenda" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9965,7 +9954,7 @@ dependencies = [ [[package]] name = "pallet-relay-storage-roots" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -9987,8 +9976,8 @@ dependencies = [ [[package]] name = "pallet-root-testing" -version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "14.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", @@ -10001,8 +9990,8 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "38.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "39.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "frame-benchmarking", @@ -10018,8 +10007,8 @@ dependencies = [ [[package]] name = "pallet-session" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", @@ -10039,8 +10028,8 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -10055,8 +10044,8 @@ dependencies = [ [[package]] name = "pallet-society" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -10072,8 +10061,8 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10092,21 +10081,10 @@ dependencies = [ "sp-staking", ] -[[package]] -name = "pallet-staking-reward-curve" -version = "12.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" -dependencies = [ - "proc-macro-crate 3.2.0", - "proc-macro2", - "quote", - "syn 2.0.77", -] - [[package]] name = "pallet-staking-reward-fn" version = "22.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "log", "sp-arithmetic", @@ -10114,8 +10092,8 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "22.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "24.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "sp-api", @@ -10124,8 +10102,8 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "39.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "40.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -10140,8 +10118,8 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "frame-benchmarking", @@ -10155,8 +10133,8 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "frame-benchmarking", @@ -10174,8 +10152,8 @@ dependencies = [ [[package]] name = "pallet-tips" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -10192,8 +10170,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", @@ -10207,8 +10185,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "40.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "41.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -10223,8 +10201,8 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -10235,8 +10213,8 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "frame-benchmarking", @@ -10253,8 +10231,8 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -10268,8 +10246,8 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -10282,8 +10260,8 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "36.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -10296,8 +10274,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -10319,8 +10297,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -10383,8 +10361,8 @@ dependencies = [ [[package]] name = "parachains-common" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -10418,8 +10396,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes 0.13.0", - "rand 0.8.5", - "rand_core 0.6.4", + "rand 0.7.3", + "rand_core 0.5.1", "serde", "unicode-normalization", ] @@ -10712,8 +10690,8 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "polkadot-approval-distribution" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "futures 0.3.30", @@ -10732,8 +10710,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "always-assert", "futures 0.3.30", @@ -10748,8 +10726,8 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "derive_more", "fatality", @@ -10772,8 +10750,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "fatality", @@ -10805,8 +10783,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "19.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cfg-if", "clap", @@ -10833,8 +10811,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "fatality", @@ -10845,6 +10823,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "schnellru", "sp-core", "sp-keystore", "sp-runtime", @@ -10856,7 +10835,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", @@ -10866,8 +10845,8 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "derive_more", "fatality", @@ -10891,8 +10870,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "16.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -10905,8 +10884,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "futures-timer", @@ -10927,8 +10906,8 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "always-assert", "async-trait", @@ -10950,8 +10929,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "parity-scale-codec", @@ -10968,8 +10947,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "derive_more", @@ -11001,8 +10980,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "futures 0.3.30", @@ -11023,8 +11002,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "fatality", @@ -11043,8 +11022,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "polkadot-node-subsystem", @@ -11058,8 +11037,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -11073,14 +11052,15 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain-primitives", "polkadot-primitives", - "sp-maybe-compressed-blob", + "sp-application-crypto", + "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-node-core-chain-api" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "polkadot-node-metrics", @@ -11093,8 +11073,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "futures-timer", @@ -11110,8 +11090,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "fatality", "futures 0.3.30", @@ -11129,8 +11109,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -11146,14 +11126,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ - "bitvec", "fatality", "futures 0.3.30", - "parity-scale-codec", - "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -11163,8 +11140,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "fatality", @@ -11181,8 +11158,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "always-assert", "array-bytes", @@ -11210,8 +11187,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "polkadot-node-primitives", @@ -11226,8 +11203,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "16.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cpu-time", "futures 0.3.30", @@ -11252,8 +11229,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "polkadot-node-metrics", @@ -11267,8 +11244,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "lazy_static", "log", @@ -11286,8 +11263,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bs58 0.5.1", "futures 0.3.30", @@ -11305,8 +11282,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -11331,19 +11308,22 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "16.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "bounded-vec", "futures 0.3.30", + "futures-timer", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", + "sc-keystore", "schnorrkel 0.11.4", "serde", "sp-application-crypto", "sp-consensus-babe", + "sp-consensus-slots", "sp-core", "sp-keystore", "sp-maybe-compressed-blob", @@ -11354,8 +11334,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -11364,8 +11344,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "bitvec", @@ -11394,8 +11374,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "derive_more", @@ -11430,8 +11410,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -11453,7 +11433,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bounded-collections", "derive_more", @@ -11468,8 +11448,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "16.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -11494,8 +11474,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "19.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -11529,8 +11509,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitvec", "frame-benchmarking", @@ -11579,8 +11559,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bs58 0.5.1", "frame-benchmarking", @@ -11591,8 +11571,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -11608,6 +11588,7 @@ dependencies = [ "pallet-balances", "pallet-broker", "pallet-message-queue", + "pallet-mmr", "pallet-session", "pallet-staking", "pallet-timestamp", @@ -11631,6 +11612,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", + "sp-std", "staging-xcm", "staging-xcm-executor", "static_assertions", @@ -11638,26 +11620,21 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "19.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", - "bitvec", "frame-benchmarking", "frame-benchmarking-cli", "frame-metadata-hash-extension", - "frame-support", "frame-system", "frame-system-rpc-runtime-api", "futures 0.3.30", - "hex-literal 0.4.1", "is_executable", "kvdb", "kvdb-rocksdb", "log", "mmr-gadget", - "pallet-babe", - "pallet-staking", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "parity-db", @@ -11693,7 +11670,6 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-overseer", - "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-rpc", "polkadot-runtime-parachains", @@ -11702,10 +11678,8 @@ dependencies = [ "rococo-runtime-constants", "sc-authority-discovery", "sc-basic-authorship", - "sc-block-builder", "sc-chain-spec", "sc-client-api", - "sc-client-db", "sc-consensus", "sc-consensus-babe", "sc-consensus-beefy", @@ -11714,7 +11688,6 @@ dependencies = [ "sc-executor", "sc-keystore", "sc-network", - "sc-network-common", "sc-network-sync", "sc-offchain", "sc-service", @@ -11723,7 +11696,6 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", - "schnellru", "serde", "serde_json", "sp-api", @@ -11735,16 +11707,14 @@ dependencies = [ "sp-consensus-beefy", "sp-consensus-grandpa", "sp-core", + "sp-genesis-builder", "sp-inherents", "sp-io", "sp-keyring", - "sp-keystore", "sp-mmr-primitives", "sp-offchain", "sp-runtime", "sp-session", - "sp-state-machine", - "sp-storage", "sp-timestamp", "sp-transaction-pool", "sp-version", @@ -11760,8 +11730,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "arrayvec 0.7.6", "bitvec", @@ -11783,8 +11753,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "16.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -11986,7 +11956,7 @@ dependencies = [ [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "derive_more", "environmental", @@ -12015,7 +11985,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2407#58543e9aa0a2c85719aac34c8bad6dfcd962dae2" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-stable2409#48028bbad21d66b2b9d467a5343a8707e00c8b6c" dependencies = [ "case", "num_enum 0.7.3", @@ -12406,7 +12376,7 @@ dependencies = [ "pin-project-lite", "quinn-proto 0.9.6", "quinn-udp 0.3.2", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.20.9", "thiserror", "tokio", @@ -12425,7 +12395,7 @@ dependencies = [ "pin-project-lite", "quinn-proto 0.10.6", "quinn-udp 0.4.1", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.21.12", "thiserror", "tokio", @@ -12441,7 +12411,7 @@ dependencies = [ "bytes", "rand 0.8.5", "ring 0.16.20", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.20.9", "slab", "thiserror", @@ -12459,7 +12429,7 @@ dependencies = [ "bytes", "rand 0.8.5", "ring 0.16.20", - "rustc-hash", + "rustc-hash 1.1.0", "rustls 0.21.12", "slab", "thiserror", @@ -12726,7 +12696,7 @@ checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" dependencies = [ "hashbrown 0.13.2", "log", - "rustc-hash", + "rustc-hash 1.1.0", "slice-group-by", "smallvec", ] @@ -12868,8 +12838,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "binary-merkle-tree", "bitvec", @@ -12968,8 +12938,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "polkadot-primitives", @@ -13036,6 +13006,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" + [[package]] name = "rustc-hex" version = "2.1.0" @@ -13292,7 +13268,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "log", "sp-core", @@ -13302,8 +13278,8 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -13332,8 +13308,8 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "futures-timer", @@ -13355,7 +13331,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.42.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "sp-api", @@ -13369,8 +13345,8 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "docify", @@ -13397,7 +13373,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -13407,8 +13383,8 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.46.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.47.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "chrono", @@ -13452,7 +13428,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "fnv", "futures 0.3.30", @@ -13478,8 +13454,8 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "hash-db", "kvdb", @@ -13504,8 +13480,8 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -13528,8 +13504,8 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -13557,8 +13533,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "fork-tree", @@ -13593,8 +13569,8 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -13615,8 +13591,8 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "24.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -13651,8 +13627,8 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "24.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -13671,8 +13647,8 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "fork-tree", "parity-scale-codec", @@ -13684,8 +13660,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.30.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "ahash", "array-bytes", @@ -13728,8 +13704,8 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.30.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "finality-grandpa", "futures 0.3.30", @@ -13748,8 +13724,8 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" -version = "0.45.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.46.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "assert_matches", "async-trait", @@ -13783,8 +13759,8 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -13806,8 +13782,8 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.40.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.40.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "log", "parity-scale-codec", @@ -13831,7 +13807,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "polkavm", @@ -13845,7 +13821,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "log", "polkavm", @@ -13856,7 +13832,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "anyhow", "cfg-if", @@ -13874,10 +13850,10 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ - "ansi_term", + "console", "futures 0.3.30", "futures-timer", "log", @@ -13892,7 +13868,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "33.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "parking_lot 0.12.3", @@ -13905,8 +13881,8 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.14.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.15.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -13934,8 +13910,8 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -13985,8 +13961,8 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -14003,8 +13979,8 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "ahash", "futures 0.3.30", @@ -14022,8 +13998,8 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -14043,8 +14019,8 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -14080,8 +14056,8 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "futures 0.3.30", @@ -14100,7 +14076,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.12.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bs58 0.5.1", "ed25519-dalek", @@ -14116,8 +14092,8 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "39.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "40.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "bytes", @@ -14151,7 +14127,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.18.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -14159,8 +14135,8 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "39.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "40.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "jsonrpsee", @@ -14191,8 +14167,8 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -14211,9 +14187,10 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "16.0.2" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ + "dyn-clone", "forwarded-header-value", "futures 0.3.30", "governor", @@ -14223,6 +14200,7 @@ dependencies = [ "ip_network", "jsonrpsee", "log", + "sc-rpc-api", "serde", "serde_json", "substrate-prometheus-endpoint", @@ -14233,8 +14211,8 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "futures 0.3.30", @@ -14265,8 +14243,8 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.45.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.46.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "directories", @@ -14330,7 +14308,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.36.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "log", "parity-scale-codec", @@ -14341,7 +14319,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.22.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "clap", "fs4", @@ -14353,8 +14331,8 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.44.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.45.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -14372,8 +14350,8 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "derive_more", "futures 0.3.30", @@ -14393,8 +14371,8 @@ dependencies = [ [[package]] name = "sc-telemetry" -version = "24.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "25.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "chrono", "futures 0.3.30", @@ -14413,19 +14391,18 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ - "ansi_term", "chrono", + "console", "is-terminal", "lazy_static", "libc", "log", "parity-scale-codec", "parking_lot 0.12.3", - "regex", - "rustc-hash", + "rustc-hash 1.1.0", "sc-client-api", "sc-tracing-proc-macro", "serde", @@ -14444,7 +14421,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -14455,7 +14432,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -14482,7 +14459,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -14498,7 +14475,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-channel 1.9.0", "futures 0.3.30", @@ -14825,7 +14802,7 @@ dependencies = [ [[package]] name = "session-keys-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "async-trait", "frame-support", @@ -15039,7 +15016,7 @@ dependencies = [ [[package]] name = "slot-range-helper" version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "enumn", "parity-scale-codec", @@ -15246,7 +15223,7 @@ dependencies = [ [[package]] name = "sp-api" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "hash-db", @@ -15268,7 +15245,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "20.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "Inflector", "blake2 0.10.6", @@ -15282,7 +15259,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "38.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", @@ -15294,7 +15271,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "integer-sqrt", @@ -15308,7 +15285,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", @@ -15320,7 +15297,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "sp-api", "sp-inherents", @@ -15329,8 +15306,8 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "37.0.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "parity-scale-codec", @@ -15349,7 +15326,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.40.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "futures 0.3.30", @@ -15364,7 +15341,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.40.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "parity-scale-codec", @@ -15380,7 +15357,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.40.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "parity-scale-codec", @@ -15397,8 +15374,8 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "22.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "22.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "lazy_static", "parity-scale-codec", @@ -15412,13 +15389,14 @@ dependencies = [ "sp-keystore", "sp-mmr-primitives", "sp-runtime", + "sp-weights", "strum 0.26.3", ] [[package]] name = "sp-consensus-grandpa" version = "21.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "finality-grandpa", "log", @@ -15434,8 +15412,8 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.40.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.40.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", @@ -15446,7 +15424,7 @@ dependencies = [ [[package]] name = "sp-core" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -15492,7 +15470,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "blake2b_simd", "byteorder", @@ -15505,7 +15483,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "quote", "sp-crypto-hashing", @@ -15515,7 +15493,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -15524,7 +15502,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "proc-macro2", "quote", @@ -15534,7 +15512,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "environmental", "parity-scale-codec", @@ -15543,8 +15521,8 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.15.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.15.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", @@ -15556,7 +15534,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -15569,7 +15547,7 @@ dependencies = [ [[package]] name = "sp-io" version = "38.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bytes", "docify", @@ -15595,7 +15573,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "39.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "sp-core", "sp-runtime", @@ -15605,7 +15583,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.40.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -15616,7 +15594,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "thiserror", "zstd 0.12.4", @@ -15625,7 +15603,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.7.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -15635,7 +15613,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.12.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", @@ -15645,8 +15623,8 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "34.1.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "log", "parity-scale-codec", @@ -15663,7 +15641,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", @@ -15676,7 +15654,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "sp-api", "sp-core", @@ -15686,7 +15664,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "backtrace", "lazy_static", @@ -15696,17 +15674,17 @@ dependencies = [ [[package]] name = "sp-rpc" version = "32.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ - "rustc-hash", + "rustc-hash 1.1.0", "serde", "sp-core", ] [[package]] name = "sp-runtime" -version = "39.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "39.0.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "either", @@ -15732,7 +15710,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -15751,7 +15729,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "Inflector", "expander", @@ -15763,8 +15741,8 @@ dependencies = [ [[package]] name = "sp-session" -version = "35.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "36.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "scale-info", @@ -15777,8 +15755,8 @@ dependencies = [ [[package]] name = "sp-staking" -version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "36.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -15791,7 +15769,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "hash-db", "log", @@ -15811,7 +15789,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "18.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -15835,12 +15813,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" [[package]] name = "sp-storage" version = "21.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "impl-serde", "parity-scale-codec", @@ -15852,7 +15830,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "parity-scale-codec", @@ -15863,8 +15841,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "tracing", @@ -15875,7 +15853,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "sp-api", "sp-runtime", @@ -15884,7 +15862,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "34.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "parity-scale-codec", @@ -15898,7 +15876,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "ahash", "hash-db", @@ -15921,7 +15899,7 @@ dependencies = [ [[package]] name = "sp-version" version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "impl-serde", "parity-scale-codec", @@ -15938,7 +15916,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -15948,8 +15926,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "21.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "21.0.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -15961,7 +15939,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "31.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -16149,8 +16127,8 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.16.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.17.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -16162,8 +16140,8 @@ dependencies = [ [[package]] name = "staging-xcm" -version = "14.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "14.2.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "bounded-collections", @@ -16174,19 +16152,21 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-runtime", "sp-weights", "xcm-procedural", ] [[package]] name = "staging-xcm-builder" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "log", + "pallet-asset-conversion", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain-primitives", @@ -16201,8 +16181,8 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "environmental", "frame-benchmarking", @@ -16338,7 +16318,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -16363,7 +16343,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" [[package]] name = "substrate-fixed" @@ -16377,8 +16357,8 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" -version = "38.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "39.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -16398,7 +16378,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "http-body-util", "hyper 1.4.1", @@ -16411,8 +16391,8 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.43.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.44.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "async-trait", "jsonrpsee", @@ -16424,8 +16404,8 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "37.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "38.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -16442,7 +16422,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "async-trait", @@ -16469,7 +16449,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "frame-executive", @@ -16513,7 +16493,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "futures 0.3.30", "sc-block-builder", @@ -16540,8 +16520,8 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "24.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "24.0.1" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "array-bytes", "build-helper", @@ -16549,6 +16529,7 @@ dependencies = [ "console", "filetime", "frame-metadata", + "jobserver", "merkleized-metadata", "parity-scale-codec", "parity-wasm", @@ -16853,7 +16834,7 @@ dependencies = [ "once_cell", "pbkdf2 0.4.0", "rand 0.7.3", - "rustc-hash", + "rustc-hash 1.1.0", "sha2 0.9.9", "thiserror", "unicode-normalization", @@ -17119,8 +17100,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "16.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "coarsetime", "polkadot-primitives", @@ -17131,7 +17112,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "expander", "proc-macro-crate 3.2.0", @@ -17165,6 +17146,7 @@ dependencies = [ "sharded-slab", "smallvec", "thread_local", + "time", "tracing", "tracing-core", "tracing-log", @@ -17303,7 +17285,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand 0.7.3", "static_assertions", ] @@ -17965,8 +17947,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "18.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "binary-merkle-tree", "bitvec", @@ -18009,6 +17991,7 @@ dependencies = [ "pallet-nomination-pools-runtime-api", "pallet-offences", "pallet-offences-benchmarking", + "pallet-parameters", "pallet-preimage", "pallet-proxy", "pallet-recovery", @@ -18019,7 +18002,6 @@ dependencies = [ "pallet-session-benchmarking", "pallet-society", "pallet-staking", - "pallet-staking-reward-curve", "pallet-staking-runtime-api", "pallet-state-trie-migration", "pallet-sudo", @@ -18040,6 +18022,7 @@ dependencies = [ "scale-info", "serde", "serde_derive", + "serde_json", "smallvec", "sp-api", "sp-application-crypto", @@ -18048,6 +18031,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", + "sp-consensus-grandpa", "sp-core", "sp-genesis-builder", "sp-inherents", @@ -18071,8 +18055,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "polkadot-primitives", @@ -18478,7 +18462,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2407#53ef5c7c4eff9287af6ca51fa613b6bbf7cf989b" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=moonbeam-polkadot-stable2409#6fd5f8448d069ad413c661d1737fe26ea04e21ec" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -18521,7 +18505,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "10.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "Inflector", "proc-macro2", @@ -18531,8 +18515,8 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" -version = "0.3.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "0.4.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "parity-scale-codec", @@ -18545,8 +18529,8 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2407#e43dcbfbc10e31d53336cf518e30bc900c09c66a" +version = "17.0.0" +source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-stable2409#03832ee1cf6e8c908d7b420229acb834ea5534bd" dependencies = [ "frame-support", "frame-system", diff --git a/Cargo.toml b/Cargo.toml index 0c8f9a752d..0f99718cf7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -112,7 +112,7 @@ pallet-xcm-weight-trader = { path = "pallets/xcm-weight-trader", default-feature precompile-foreign-asset-migrator = { path = "precompiles/foreign-asset-migrator", default-features = false } xcm-primitives = { path = "primitives/xcm", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/moonbeam-foundation/crowdloan-rewards", branch = "moonbeam-polkadot-stable2407", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/moonbeam-foundation/crowdloan-rewards", branch = "moonbeam-polkadot-stable2409", default-features = false } # Moonbeam (client) moonbeam-cli = { path = "node/cli", default-features = false } @@ -135,107 +135,107 @@ moonbase-runtime = { path = "runtime/moonbase" } moonbeam-runtime = { path = "runtime/moonbeam" } moonriver-runtime = { path = "runtime/moonriver" } -frame-benchmarking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -frame-executive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -frame-support = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -frame-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -frame-system-benchmarking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -frame-try-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-assets = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-balances = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-collective = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-conviction-voting = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-identity = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-message-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-multisig = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-preimage = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-parameters = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-proxy = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-referenda = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-root-testing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-scheduler = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-society = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-staking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-sudo = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-transaction-payment = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-treasury = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-utility = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-whitelist = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } +frame-benchmarking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +frame-executive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +frame-support = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +frame-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +frame-system-benchmarking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +frame-try-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-assets = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-balances = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-collective = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-conviction-voting = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-identity = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-message-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-multisig = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-preimage = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-parameters = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-proxy = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-referenda = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-root-testing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-scheduler = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-society = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-staking = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-sudo = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-transaction-payment = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-treasury = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-utility = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-whitelist = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } parity-scale-codec = { version = "3.2.2", default-features = false, features = [ "derive", ] } scale-info = { version = "2.0", default-features = false, features = [ "derive", ] } -sp-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-application-crypto = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-consensus-babe = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-consensus-slots = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-debug-derive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-externalities = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-inherents = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-io = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-keystore = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-offchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-runtime-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-session = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-std = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-state-machine = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-tracing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-transaction-pool = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-trie = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-version = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-weights = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -sp-genesis-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } +sp-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-application-crypto = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-consensus-babe = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-consensus-slots = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-debug-derive = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-externalities = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-inherents = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-io = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-keystore = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-offchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-runtime-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-session = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-std = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-state-machine = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-tracing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-transaction-pool = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-trie = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-version = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-weights = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +sp-genesis-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false } # Substrate (client) -frame-benchmarking-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -pallet-transaction-payment-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-basic-authorship = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-chain-spec = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-client-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-client-db = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-consensus = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-consensus-grandpa = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-consensus-manual-seal = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-executor = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-informant = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-network-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-network-sync = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-offchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-rpc-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-sysinfo = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-telemetry = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-tracing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-transaction-pool = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-transaction-pool-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sc-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sp-blockchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sp-consensus = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sp-storage = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sp-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sp-wasm-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -sp-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -substrate-build-script-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -substrate-frame-rpc-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -substrate-prometheus-endpoint = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -substrate-test-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -substrate-test-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -substrate-test-runtime-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -substrate-wasm-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -substrate-rpc-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } +frame-benchmarking-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +pallet-transaction-payment-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-basic-authorship = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-block-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-chain-spec = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-client-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-client-db = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-consensus = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-consensus-grandpa = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-consensus-manual-seal = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-executor = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-informant = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-network-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-network-sync = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-offchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-rpc-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-sysinfo = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-telemetry = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-tracing = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-transaction-pool = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-transaction-pool-api = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sc-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sp-blockchain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sp-consensus = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sp-storage = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sp-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sp-wasm-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +sp-rpc = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +substrate-build-script-utils = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +substrate-frame-rpc-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +substrate-prometheus-endpoint = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +substrate-test-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +substrate-test-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +substrate-test-runtime-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +substrate-wasm-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +substrate-rpc-client = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } # Frontier (wasm) @@ -243,114 +243,114 @@ ethereum = { version = "0.15.0", default-features = false, features = [ "with-codec", ] } ethereum-types = { version = "0.14", default-features = false } -evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2407", default-features = false } -evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2407", default-features = false } -evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2407", default-features = false } -fp-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false, features = [ +evm = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2409", default-features = false } +evm-gasometer = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2409", default-features = false } +evm-runtime = { git = "https://github.com/moonbeam-foundation/evm", branch = "moonbeam-polkadot-stable2409", default-features = false } +fp-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fp-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false, features = [ "forbid-evm-reentrancy", ] } -pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false, features = [ +pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false, features = [ "forbid-evm-reentrancy", ] } -pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-evm-precompile-storage-cleaner = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } +pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-storage-cleaner = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } -precompile-utils = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } -precompile-utils-macro = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", default-features = false } +precompile-utils = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } +precompile-utils-macro = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", default-features = false } # Frontier (client) -fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407" } -fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407" } -fc-api = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407" } -fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407" } -fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407", features = [ +fc-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409" } +fc-db = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409" } +fc-api = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409" } +fc-mapping-sync = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409" } +fc-rpc = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409", features = [ "rpc-binary-search-estimate", ] } -fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407" } -fc-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407" } -fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407" } -fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2407" } +fc-rpc-core = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409" } +fc-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409" } +fp-consensus = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409" } +fp-storage = { git = "https://github.com/moonbeam-foundation/frontier", branch = "moonbeam-polkadot-stable2409" } # Cumulus (wasm) -cumulus-pallet-dmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-primitives-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -cumulus-primitives-storage-weight-reclaim = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -parachain-info = { package = "staging-parachain-info", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -parachains-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-primitives-core = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +cumulus-primitives-storage-weight-reclaim = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +parachains-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } # Cumulus (client) -cumulus-client-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-client-collator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-client-consensus-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-client-consensus-proposer = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-client-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-client-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-client-parachain-inherent = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-relay-chain-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-relay-chain-minimal-node = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } +cumulus-client-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-client-collator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-client-consensus-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-client-consensus-proposer = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-client-network = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-client-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-client-parachain-inherent = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-relay-chain-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } # Polkadot / XCM (wasm) -pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-xcm-benchmarks = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -polkadot-core-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -polkadot-runtime-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -xcm = { package = "staging-xcm", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } -xcm-runtime-apis = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } +pallet-xcm = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-xcm-benchmarks = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +polkadot-core-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +polkadot-runtime-common = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +xcm = { package = "staging-xcm", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } +xcm-runtime-apis = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } # Polkadot / XCM (client) -#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -polkadot-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -polkadot-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -#polkadot-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -polkadot-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -rococo-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -westend-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } -xcm-simulator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407" } +#kusama-runtime = { package = "staging-kusama-runtime", git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +polkadot-cli = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +polkadot-primitives = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +#polkadot-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +polkadot-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +rococo-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +westend-runtime = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } +xcm-simulator = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409" } # Moonkit (wasm) -async-backing-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -moonkit-xcm-primitives = { package = "xcm-primitives", git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -nimbus-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-async-backing = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-author-inherent = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-author-mapping = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-emergency-para-xcm = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-evm-precompile-xcm = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-maintenance-mode = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-migrations = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-randomness = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -pallet-relay-storage-roots = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } -session-keys-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407", default-features = false } +async-backing-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +moonkit-xcm-primitives = { package = "xcm-primitives", git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +nimbus-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-async-backing = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-author-inherent = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-author-mapping = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-emergency-para-xcm = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-evm-precompile-xcm = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-maintenance-mode = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-migrations = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-randomness = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +pallet-relay-storage-roots = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } +session-keys-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409", default-features = false } # Moonkit (client) -nimbus-consensus = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2407" } +nimbus-consensus = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "moonbeam-polkadot-stable2409" } # Other (wasm) async-trait = { version = "0.1.42" } @@ -360,7 +360,7 @@ environmental = { version = "1.1.4", default-features = false } frame-metadata = { version = "16.0.0", default-features = false, features = [ "current", ] } -frame-metadata-hash-extension = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2407", default-features = false } +frame-metadata-hash-extension = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-stable2409", default-features = false } hex = { version = "0.4.3", default-features = false } hex-literal = { version = "0.4.1", default-features = false } impl-serde = { version = "0.4.0", default-features = false } @@ -390,7 +390,7 @@ clap-num = "=1.1.1" exit-future = "0.2" flume = "0.10.9" futures = { version = "0.3.30" } -jsonrpsee = { version = "0.23.2", default-features = false } +jsonrpsee = { version = "0.24.7", default-features = false } maplit = "1.0.2" nix = "0.28" parking_lot = "0.12.1" diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index 69fe9929f8..d3a5f4141b 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -19,7 +19,7 @@ use crate::cli::{Cli, RelayChainCli, RunCmd, Subcommand}; use cumulus_client_cli::extract_genesis_wasm; use cumulus_primitives_core::ParaId; -use frame_benchmarking_cli::BenchmarkCmd; +use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use log::{info, warn}; use moonbeam_cli_opt::EthApi; @@ -36,7 +36,7 @@ use parity_scale_codec::Encode; use polkadot_service::WestendChainSpec; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, - NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli, + NetworkParams, Result, RpcEndpoint, RuntimeVersion, SharedParams, SubstrateCli, }; use sc_service::{ config::{BasePath, PrometheusConfig}, @@ -49,7 +49,7 @@ use sp_runtime::{ }, StateVersion, }; -use std::{io::Write, net::SocketAddr}; +use std::io::Write; fn load_spec( id: &str, @@ -768,7 +768,10 @@ pub fn run() -> Result<()> { let hwbench = if !cli.run.no_hardware_benchmarks { config.database.path().map(|database_path| { let _ = std::fs::create_dir_all(&database_path); - sc_sysinfo::gather_hwbench(Some(database_path)) + sc_sysinfo::gather_hwbench( + Some(database_path), + &SUBSTRATE_REFERENCE_HARDWARE, + ) }) } else { None @@ -898,7 +901,7 @@ pub fn run() -> Result<()> { let id = ParaId::from(cli.run.parachain_id.clone().or(para_id).unwrap_or(1000)); let parachain_account = - AccountIdConversion::::into_account_truncating(&id); + AccountIdConversion::::into_account_truncating(&id); let tokio_handle = config.tokio_handle.clone(); let polkadot_config = @@ -1024,7 +1027,7 @@ impl CliConfiguration for RelayChainCli { .or_else(|| Some(self.base_path.clone().into()))) } - fn rpc_addr(&self, default_listen_port: u16) -> Result> { + fn rpc_addr(&self, default_listen_port: u16) -> Result>> { self.base.base.rpc_addr(default_listen_port) } @@ -1038,15 +1041,9 @@ impl CliConfiguration for RelayChainCli { .prometheus_config(default_listen_port, chain_spec) } - fn init( - &self, - _support_url: &String, - _impl_version: &String, - _logger_hook: F, - _config: &sc_service::Configuration, - ) -> Result<()> + fn init(&self, _support_url: &String, _impl_version: &String, _logger_hook: F) -> Result<()> where - F: FnOnce(&mut sc_cli::LoggerBuilder, &sc_service::Configuration), + F: FnOnce(&mut sc_cli::LoggerBuilder), { unreachable!("PolkadotCli is never initialized; qed"); } diff --git a/node/service/src/lazy_loading/mod.rs b/node/service/src/lazy_loading/mod.rs index 1e34788753..878d777fda 100644 --- a/node/service/src/lazy_loading/mod.rs +++ b/node/service/src/lazy_loading/mod.rs @@ -200,7 +200,7 @@ where ClientConfig { offchain_worker_enabled: config.offchain_worker.enabled, offchain_indexing_api: config.offchain_worker.indexing_enabled, - wasmtime_precompiled: config.wasmtime_precompiled.clone(), + wasmtime_precompiled: config.executor.wasmtime_precompiled.clone(), wasm_runtime_overrides: config.wasm_runtime_overrides.clone(), no_genesis: matches!( config.network.sync_mode, @@ -232,7 +232,7 @@ where set_prometheus_registry(config, rpc_config.no_prometheus_prefix)?; // Use ethereum style for subscription ids - config.rpc_id_provider = Some(Box::new(fc_rpc::EthereumSubIdProvider)); + config.rpc.id_provider = Some(Box::new(fc_rpc::EthereumSubIdProvider)); let telemetry = config .telemetry_endpoints @@ -246,19 +246,20 @@ where .transpose()?; let heap_pages = config + .executor .default_heap_pages .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _, }); let mut wasm_builder = WasmExecutor::builder() - .with_execution_method(config.wasm_method) + .with_execution_method(config.executor.wasm_method) .with_onchain_heap_alloc_strategy(heap_pages) .with_offchain_heap_alloc_strategy(heap_pages) .with_ignore_onchain_heap_pages(true) - .with_max_runtime_instances(config.max_runtime_instances) - .with_runtime_cache_size(config.runtime_cache_size); + .with_max_runtime_instances(config.executor.max_runtime_instances) + .with_runtime_cache_size(config.executor.runtime_cache_size); - if let Some(ref wasmtime_precompiled_path) = config.wasmtime_precompiled { + if let Some(ref wasmtime_precompiled_path) = config.executor.wasmtime_precompiled { wasm_builder = wasm_builder.with_wasmtime_precompiled_path(wasmtime_precompiled_path); } @@ -444,7 +445,9 @@ where )); }; - let net_config = FullNetworkConfiguration::<_, _, Net>::new(&config.network); + let prometheus_registry = config.prometheus_registry().cloned(); + let net_config = + FullNetworkConfiguration::<_, _, Net>::new(&config.network, prometheus_registry.clone()); let metrics = Net::register_notification_metrics( config.prometheus_config.as_ref().map(|cfg| &cfg.registry), @@ -458,7 +461,7 @@ where spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - warp_sync_params: None, + warp_sync_config: None, net_config, block_relay: None, metrics, @@ -754,12 +757,11 @@ where let keystore = keystore_container.keystore(); let command_sink_for_task = command_sink.clone(); - move |deny_unsafe, subscription_task_executor| { + move |subscription_task_executor| { let deps = rpc::FullDeps { backend: backend.clone(), client: client.clone(), command_sink: command_sink_for_task.clone(), - deny_unsafe, ethapi_cmd: ethapi_cmd.clone(), filter_pool: filter_pool.clone(), frontier_backend: match *frontier_backend { diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index d6a66cb4af..31bdc4a083 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -475,7 +475,7 @@ where set_prometheus_registry(config, rpc_config.no_prometheus_prefix)?; // Use ethereum style for subscription ids - config.rpc_id_provider = Some(Box::new(fc_rpc::EthereumSubIdProvider)); + config.rpc.id_provider = Some(Box::new(fc_rpc::EthereumSubIdProvider)); let telemetry = config .telemetry_endpoints @@ -489,19 +489,20 @@ where .transpose()?; let heap_pages = config + .executor .default_heap_pages .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { extra_pages: h as _, }); let mut wasm_builder = WasmExecutor::builder() - .with_execution_method(config.wasm_method) + .with_execution_method(config.executor.wasm_method) .with_onchain_heap_alloc_strategy(heap_pages) .with_offchain_heap_alloc_strategy(heap_pages) .with_ignore_onchain_heap_pages(true) - .with_max_runtime_instances(config.max_runtime_instances) - .with_runtime_cache_size(config.runtime_cache_size); + .with_max_runtime_instances(config.executor.max_runtime_instances) + .with_runtime_cache_size(config.executor.runtime_cache_size); - if let Some(ref wasmtime_precompiled_path) = config.wasmtime_precompiled { + if let Some(ref wasmtime_precompiled_path) = config.executor.wasmtime_precompiled { wasm_builder = wasm_builder.with_wasmtime_precompiled_path(wasmtime_precompiled_path); } @@ -698,7 +699,10 @@ where let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); let import_queue_service = params.import_queue.service(); - let net_config = FullNetworkConfiguration::<_, _, Net>::new(¶chain_config.network); + let net_config = FullNetworkConfiguration::<_, _, Net>::new( + ¶chain_config.network, + prometheus_registry.clone(), + ); let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = cumulus_client_service::build_network(cumulus_client_service::BuildNetworkParams { @@ -791,7 +795,7 @@ where let pubsub_notification_sinks = pubsub_notification_sinks.clone(); let keystore = params.keystore_container.keystore(); - move |deny_unsafe, subscription_task_executor| { + move |subscription_task_executor| { #[cfg(feature = "moonbase-native")] let forced_parent_hashes = { let mut forced_parent_hashes = BTreeMap::new(); @@ -816,7 +820,6 @@ where backend: backend.clone(), client: client.clone(), command_sink: None, - deny_unsafe, ethapi_cmd: ethapi_cmd.clone(), filter_pool: filter_pool.clone(), frontier_backend: match &*frontier_backend { @@ -1218,7 +1221,9 @@ where )); }; - let net_config = FullNetworkConfiguration::<_, _, Net>::new(&config.network); + let prometheus_registry = config.prometheus_registry().cloned(); + let net_config = + FullNetworkConfiguration::<_, _, Net>::new(&config.network, prometheus_registry.clone()); let metrics = Net::register_notification_metrics( config.prometheus_config.as_ref().map(|cfg| &cfg.registry), @@ -1232,7 +1237,7 @@ where spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - warp_sync_params: None, + warp_sync_config: None, net_config, block_relay: None, metrics, @@ -1532,12 +1537,11 @@ where let pubsub_notification_sinks = pubsub_notification_sinks.clone(); let keystore = keystore_container.keystore(); - move |deny_unsafe, subscription_task_executor| { + move |subscription_task_executor| { let deps = rpc::FullDeps { backend: backend.clone(), client: client.clone(), command_sink: command_sink.clone(), - deny_unsafe, ethapi_cmd: ethapi_cmd.clone(), filter_pool: filter_pool.clone(), frontier_backend: match &*frontier_backend { @@ -1623,10 +1627,13 @@ where #[cfg(test)] mod tests { + use crate::chain_spec::moonbase::{testnet_genesis, ChainSpec}; + use crate::chain_spec::Extensions; use jsonrpsee::server::BatchRequestConfig; use moonbase_runtime::{currency::UNIT, AccountId}; use prometheus::{proto::LabelPair, Counter}; use sc_network::config::NetworkConfiguration; + use sc_service::config::RpcConfiguration; use sc_service::ChainType; use sc_service::{ config::{BasePath, DatabaseSource, KeystoreConfig}, @@ -1635,9 +1642,6 @@ mod tests { use std::path::Path; use std::str::FromStr; - use crate::chain_spec::moonbase::{testnet_genesis, ChainSpec}; - use crate::chain_spec::Extensions; - use super::*; #[test] @@ -1768,7 +1772,7 @@ mod tests { ) .unwrap(), ); - let mut client = TestClientBuilder::with_backend(backend).build(); + let client = TestClientBuilder::with_backend(backend).build(); client .execution_extensions() @@ -1842,38 +1846,35 @@ mod tests { state_pruning: Default::default(), blocks_pruning: sc_service::BlocksPruning::KeepAll, chain_spec: Box::new(spec), - wasm_method: Default::default(), + executor: Default::default(), wasm_runtime_overrides: Default::default(), - rpc_id_provider: None, - rpc_max_connections: Default::default(), - rpc_cors: None, - rpc_methods: Default::default(), - rpc_max_request_size: Default::default(), - rpc_max_response_size: Default::default(), - rpc_max_subs_per_conn: Default::default(), - rpc_addr: None, - rpc_port: Default::default(), - rpc_message_buffer_capacity: Default::default(), + rpc: RpcConfiguration { + addr: None, + max_connections: Default::default(), + cors: None, + methods: Default::default(), + max_request_size: Default::default(), + max_response_size: Default::default(), + id_provider: None, + max_subs_per_conn: Default::default(), + port: Default::default(), + message_buffer_capacity: Default::default(), + batch_config: BatchRequestConfig::Unlimited, + rate_limit: Default::default(), + rate_limit_whitelisted_ips: vec![], + rate_limit_trust_proxy_headers: false, + }, data_path: Default::default(), prometheus_config: None, telemetry_endpoints: None, - default_heap_pages: None, offchain_worker: Default::default(), force_authoring: false, disable_grandpa: false, dev_key_seed: None, tracing_targets: None, tracing_receiver: Default::default(), - max_runtime_instances: 8, announce_block: true, base_path: BasePath::new(Path::new("")), - informant_output_format: Default::default(), - wasmtime_precompiled: None, - runtime_cache_size: 2, - rpc_rate_limit: Default::default(), - rpc_rate_limit_whitelisted_ips: vec![], - rpc_batch_config: BatchRequestConfig::Unlimited, - rpc_rate_limit_trust_proxy_headers: false, } } } diff --git a/node/service/src/rpc.rs b/node/service/src/rpc.rs index 92043cd9cf..69860bbf24 100644 --- a/node/service/src/rpc.rs +++ b/node/service/src/rpc.rs @@ -43,7 +43,6 @@ use sc_consensus_manual_seal::rpc::{EngineCommand, ManualSeal, ManualSealApiServ use sc_network::service::traits::NetworkService; use sc_network_sync::SyncingService; use sc_rpc::SubscriptionTaskExecutor; -use sc_rpc_api::DenyUnsafe; use sc_service::TaskManager; use sc_transaction_pool::{ChainApi, Pool}; use sc_transaction_pool_api::TransactionPool; @@ -105,8 +104,6 @@ pub struct FullDeps { pub pool: Arc

, /// Graph pool instance. pub graph: Arc>, - /// Whether to deny unsafe calls - pub deny_unsafe: DenyUnsafe, /// The Node authority flag pub is_authority: bool, /// Network service @@ -190,7 +187,6 @@ where client, pool, graph, - deny_unsafe, is_authority, network, sync, @@ -208,7 +204,7 @@ where forced_parent_hashes, } = deps; - io.merge(System::new(Arc::clone(&client), Arc::clone(&pool), deny_unsafe).into_rpc())?; + io.merge(System::new(Arc::clone(&client), Arc::clone(&pool)).into_rpc())?; io.merge(TransactionPayment::new(Arc::clone(&client)).into_rpc())?; // TODO: are we supporting signing? diff --git a/pallets/erc20-xcm-bridge/src/mock.rs b/pallets/erc20-xcm-bridge/src/mock.rs index 5dadfba8b6..e8096aeb91 100644 --- a/pallets/erc20-xcm-bridge/src/mock.rs +++ b/pallets/erc20-xcm-bridge/src/mock.rs @@ -19,7 +19,9 @@ use crate as erc20_xcm_bridge; use frame_support::traits::Everything; use frame_support::{construct_runtime, pallet_prelude::*, parameter_types}; -use pallet_evm::{AddressMapping, EnsureAddressTruncated, SubstrateBlockHashMapping}; +use pallet_evm::{ + AddressMapping, EnsureAddressTruncated, FrameSystemAccountProvider, SubstrateBlockHashMapping, +}; use sp_core::{H160, H256, U256}; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::AccountId32; @@ -155,6 +157,7 @@ impl pallet_evm::Config for Test { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/pallets/ethereum-xcm/src/lib.rs b/pallets/ethereum-xcm/src/lib.rs index a894c47a93..d169d3b202 100644 --- a/pallets/ethereum-xcm/src/lib.rs +++ b/pallets/ethereum-xcm/src/lib.rs @@ -107,6 +107,7 @@ pub use self::pallet::*; #[frame_support::pallet(dev_mode)] pub mod pallet { use super::*; + use fp_evm::AccountProvider; use frame_support::pallet_prelude::*; #[pallet::config] @@ -122,7 +123,9 @@ pub mod pallet { /// Maximum Weight reserved for xcm in a block type ReservedXcmpWeight: Get; /// Ensure proxy - type EnsureProxy: EnsureProxy; + type EnsureProxy: EnsureProxy< + <::AccountProvider as AccountProvider>::AccountId, + >; /// The origin that is allowed to resume or suspend the XCM to Ethereum executions. type ControllerOrigin: EnsureOrigin; /// An origin that can submit a create tx type diff --git a/pallets/ethereum-xcm/src/mock.rs b/pallets/ethereum-xcm/src/mock.rs index 5184ee8300..0eef911fac 100644 --- a/pallets/ethereum-xcm/src/mock.rs +++ b/pallets/ethereum-xcm/src/mock.rs @@ -24,7 +24,9 @@ use frame_support::{ ConsensusEngineId, PalletId, }; use frame_system::{pallet_prelude::BlockNumberFor, EnsureRoot}; -use pallet_evm::{AddressMapping, EnsureAddressTruncated, FeeCalculator}; +use pallet_evm::{ + AddressMapping, EnsureAddressTruncated, FeeCalculator, FrameSystemAccountProvider, +}; use rlp::RlpStream; use sp_core::{hashing::keccak_256, H160, H256, U256}; use sp_runtime::{ @@ -198,6 +200,7 @@ impl pallet_evm::Config for Test { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { @@ -206,7 +209,7 @@ parameter_types! { impl pallet_ethereum::Config for Test { type RuntimeEvent = RuntimeEvent; - type StateRoot = IntermediateStateRoot; + type StateRoot = IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; } diff --git a/pallets/moonbeam-foreign-assets/src/evm.rs b/pallets/moonbeam-foreign-assets/src/evm.rs index 3308a9c417..391e6f7df6 100644 --- a/pallets/moonbeam-foreign-assets/src/evm.rs +++ b/pallets/moonbeam-foreign-assets/src/evm.rs @@ -36,10 +36,10 @@ const ERC20_CREATE_MAX_CALLDATA_SIZE: usize = 16 * 1024; // 16Ko const ERC20_CREATE_GAS_LIMIT: u64 = 3_410_000; // highest failure: 3_406_000 pub(crate) const ERC20_BURN_FROM_GAS_LIMIT: u64 = 155_000; // highest failure: 154_000 pub(crate) const ERC20_MINT_INTO_GAS_LIMIT: u64 = 155_000; // highest failure: 154_000 -const ERC20_PAUSE_GAS_LIMIT: u64 = 150_000; // highest failure: 149_500 +const ERC20_PAUSE_GAS_LIMIT: u64 = 150_500; // highest failure: 150_500 pub(crate) const ERC20_TRANSFER_GAS_LIMIT: u64 = 155_000; // highest failure: 154_000 pub(crate) const ERC20_APPROVE_GAS_LIMIT: u64 = 154_000; // highest failure: 153_000 -const ERC20_UNPAUSE_GAS_LIMIT: u64 = 150_000; // highest failure: 149_500 +const ERC20_UNPAUSE_GAS_LIMIT: u64 = 151_000; // highest failure: 149_500 pub enum EvmError { BurnFromFail, diff --git a/pallets/moonbeam-foreign-assets/src/mock.rs b/pallets/moonbeam-foreign-assets/src/mock.rs index 4f81769a24..7f96e1194a 100644 --- a/pallets/moonbeam-foreign-assets/src/mock.rs +++ b/pallets/moonbeam-foreign-assets/src/mock.rs @@ -20,7 +20,7 @@ use crate as pallet_moonbeam_foreign_assets; use frame_support::traits::Everything; use frame_support::{construct_runtime, pallet_prelude::*, parameter_types}; use frame_system::EnsureRoot; -use pallet_evm::SubstrateBlockHashMapping; +use pallet_evm::{FrameSystemAccountProvider, SubstrateBlockHashMapping}; use precompile_utils::testing::MockAccount; use sp_core::{H256, U256}; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; @@ -139,6 +139,7 @@ impl pallet_evm::Config for Test { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } /// Gets parameters of last `ForeignAssetCreatedHook::on_asset_created` hook invocation diff --git a/pallets/moonbeam-lazy-migrations/src/mock.rs b/pallets/moonbeam-lazy-migrations/src/mock.rs index a8f03e6c55..7a0271766e 100644 --- a/pallets/moonbeam-lazy-migrations/src/mock.rs +++ b/pallets/moonbeam-lazy-migrations/src/mock.rs @@ -26,7 +26,7 @@ use frame_support::{ }; use frame_system::{EnsureRoot, EnsureSigned}; use pallet_asset_manager::AssetRegistrar; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::testing::MockAccount; use sp_core::{ConstU32, H160, H256, U256}; use sp_runtime::{ @@ -162,6 +162,7 @@ impl pallet_evm::Config for Test { type Timestamp = Timestamp; type WeightInfo = (); type SuicideQuickClearLimit = SuicideQuickClearLimit; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/pallets/xcm-transactor/src/lib.rs b/pallets/xcm-transactor/src/lib.rs index 59a3d8fc53..48e219a43e 100644 --- a/pallets/xcm-transactor/src/lib.rs +++ b/pallets/xcm-transactor/src/lib.rs @@ -104,6 +104,7 @@ pub mod pallet { use sp_std::boxed::Box; use sp_std::convert::TryFrom; use sp_std::prelude::*; + use sp_std::vec; use sp_std::vec::Vec; use xcm::{latest::prelude::*, VersionedLocation}; use xcm_executor::traits::{TransactAsset, WeightBounds}; diff --git a/precompiles/assets-erc20/src/eip2612.rs b/precompiles/assets-erc20/src/eip2612.rs index eff2b44fa7..d8a9d8b64b 100644 --- a/precompiles/assets-erc20/src/eip2612.rs +++ b/precompiles/assets-erc20/src/eip2612.rs @@ -123,6 +123,7 @@ where <::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait, AssetIdOf: Display, Runtime::AccountId: Into, + ::AddressMapping: AddressMapping, { fn compute_domain_separator(address: H160, asset_id: AssetIdOf) -> [u8; 32] { let asset_name = pallet_assets::Pallet::::name(asset_id.clone()); diff --git a/precompiles/assets-erc20/src/lib.rs b/precompiles/assets-erc20/src/lib.rs index e6aaaf0265..ef2ced17b4 100644 --- a/precompiles/assets-erc20/src/lib.rs +++ b/precompiles/assets-erc20/src/lib.rs @@ -113,6 +113,7 @@ where <::RuntimeCall as Dispatchable>::RuntimeOrigin: OriginTrait, AssetIdOf: Display, Runtime::AccountId: Into, + ::AddressMapping: AddressMapping, { /// PrecompileSet discriminant. Allows to knows if the address maps to an asset id, /// and if this is the case which one. diff --git a/precompiles/assets-erc20/src/mock.rs b/precompiles/assets-erc20/src/mock.rs index e8a82662f5..78d67fad2a 100644 --- a/precompiles/assets-erc20/src/mock.rs +++ b/precompiles/assets-erc20/src/mock.rs @@ -25,7 +25,7 @@ use frame_support::{ }; use frame_system::{EnsureNever, EnsureRoot}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{ mock_account, precompile_set::*, @@ -197,6 +197,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } type ForeignAssetInstance = pallet_assets::Instance1; diff --git a/precompiles/author-mapping/src/lib.rs b/precompiles/author-mapping/src/lib.rs index f5d9c9a42e..d59fa77c49 100644 --- a/precompiles/author-mapping/src/lib.rs +++ b/precompiles/author-mapping/src/lib.rs @@ -64,6 +64,7 @@ where Runtime::RuntimeCall: From>, Runtime::Hash: From, Runtime::AccountId: Into, + ::AddressMapping: AddressMapping, { // The dispatchable wrappers are next. They dispatch a Substrate inner Call. #[precompile::public("addAssociation(bytes32)")] diff --git a/precompiles/author-mapping/src/mock.rs b/precompiles/author-mapping/src/mock.rs index 6a092e3731..a699c853c5 100644 --- a/precompiles/author-mapping/src/mock.rs +++ b/precompiles/author-mapping/src/mock.rs @@ -22,7 +22,9 @@ use frame_support::{ weights::Weight, }; use frame_system::EnsureRoot; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, SubstrateBlockHashMapping}; +use pallet_evm::{ + EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider, SubstrateBlockHashMapping, +}; use precompile_utils::{mock_account, precompile_set::*, testing::MockAccount}; use sp_core::{H256, U256}; use sp_io; @@ -151,6 +153,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/balances-erc20/src/eip2612.rs b/precompiles/balances-erc20/src/eip2612.rs index eeac5aa610..0c93d0cb54 100644 --- a/precompiles/balances-erc20/src/eip2612.rs +++ b/precompiles/balances-erc20/src/eip2612.rs @@ -45,6 +45,7 @@ where BalanceOf: TryFrom + Into, Metadata: Erc20Metadata, Instance: InstanceToPrefix + 'static, + ::AddressMapping: AddressMapping, { pub fn compute_domain_separator(address: H160) -> [u8; 32] { let name: H256 = keccak_256(Metadata::name().as_bytes()).into(); diff --git a/precompiles/balances-erc20/src/lib.rs b/precompiles/balances-erc20/src/lib.rs index 2652182c40..e71fb80ef3 100644 --- a/precompiles/balances-erc20/src/lib.rs +++ b/precompiles/balances-erc20/src/lib.rs @@ -188,6 +188,7 @@ where BalanceOf: TryFrom + Into, Metadata: Erc20Metadata, Instance: InstanceToPrefix + 'static, + ::AddressMapping: AddressMapping, { #[precompile::public("totalSupply()")] #[precompile::view] diff --git a/precompiles/balances-erc20/src/mock.rs b/precompiles/balances-erc20/src/mock.rs index a093e696ca..a48a19b1dc 100644 --- a/precompiles/balances-erc20/src/mock.rs +++ b/precompiles/balances-erc20/src/mock.rs @@ -19,7 +19,7 @@ use super::*; use frame_support::{construct_runtime, parameter_types, traits::Everything, weights::Weight}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{precompile_set::*, testing::MockAccount}; use sp_core::{ConstU32, H256, U256}; use sp_runtime::{ @@ -147,6 +147,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } // Configure a mock runtime to test the pallet. diff --git a/precompiles/batch/src/mock.rs b/precompiles/batch/src/mock.rs index bc99beee3e..2ea40c0e93 100644 --- a/precompiles/batch/src/mock.rs +++ b/precompiles/batch/src/mock.rs @@ -19,7 +19,7 @@ use super::*; use frame_support::traits::Everything; use frame_support::{construct_runtime, parameter_types, weights::Weight}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{mock_account, precompile_set::*, testing::MockAccount}; use sp_core::H256; use sp_runtime::BuildStorage; @@ -162,6 +162,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/call-permit/src/mock.rs b/precompiles/call-permit/src/mock.rs index 592c10c4f9..2f03e5fcbb 100644 --- a/precompiles/call-permit/src/mock.rs +++ b/precompiles/call-permit/src/mock.rs @@ -19,7 +19,7 @@ use super::*; use frame_support::traits::Everything; use frame_support::{construct_runtime, pallet_prelude::*, parameter_types}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{mock_account, precompile_set::*, testing::MockAccount}; use sp_core::H256; use sp_runtime::BuildStorage; @@ -142,6 +142,7 @@ impl pallet_evm::Config for Runtime { type SuicideQuickClearLimit = SuicideQuickClearLimit; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/collective/src/lib.rs b/precompiles/collective/src/lib.rs index 77a9978e7f..237a13ef7a 100644 --- a/precompiles/collective/src/lib.rs +++ b/precompiles/collective/src/lib.rs @@ -103,6 +103,7 @@ where Runtime::AccountId: Into, H256: From<::Hash> + Into<::Hash>, + ::AddressMapping: AddressMapping, { #[precompile::public("execute(bytes)")] fn execute( diff --git a/precompiles/collective/src/mock.rs b/precompiles/collective/src/mock.rs index 3cfe99cae6..77c1a50e35 100644 --- a/precompiles/collective/src/mock.rs +++ b/precompiles/collective/src/mock.rs @@ -23,7 +23,9 @@ use frame_support::{ PalletId, }; use frame_system::pallet_prelude::BlockNumberFor; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, SubstrateBlockHashMapping}; +use pallet_evm::{ + EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider, SubstrateBlockHashMapping, +}; use precompile_utils::{ precompile_set::*, testing::{Bob, Charlie, MockAccount}, @@ -161,6 +163,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/conviction-voting/src/lib.rs b/precompiles/conviction-voting/src/lib.rs index 253b76fd5b..6aea81fd95 100644 --- a/precompiles/conviction-voting/src/lib.rs +++ b/precompiles/conviction-voting/src/lib.rs @@ -122,6 +122,7 @@ where ::MaxTurnout, >, >, + ::AddressMapping: AddressMapping, { /// Internal helper function for vote* extrinsics exposed in this precompile. fn vote( diff --git a/precompiles/conviction-voting/src/mock.rs b/precompiles/conviction-voting/src/mock.rs index b3403d6c93..a16f77b1aa 100644 --- a/precompiles/conviction-voting/src/mock.rs +++ b/precompiles/conviction-voting/src/mock.rs @@ -22,7 +22,7 @@ use frame_support::{ weights::Weight, }; use pallet_conviction_voting::TallyOf; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{precompile_set::*, testing::MockAccount}; use sp_core::{H256, U256}; use sp_runtime::{ @@ -153,6 +153,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/crowdloan-rewards/src/lib.rs b/precompiles/crowdloan-rewards/src/lib.rs index d9806219a3..ab4d133c3c 100644 --- a/precompiles/crowdloan-rewards/src/lib.rs +++ b/precompiles/crowdloan-rewards/src/lib.rs @@ -55,6 +55,7 @@ where Runtime::RuntimeCall: Dispatchable + GetDispatchInfo, ::RuntimeOrigin: From>, Runtime::RuntimeCall: From>, + ::AddressMapping: AddressMapping, { // The accessors are first. #[precompile::public("isContributor(address)")] diff --git a/precompiles/crowdloan-rewards/src/mock.rs b/precompiles/crowdloan-rewards/src/mock.rs index 0c30508b9a..cb224aee30 100644 --- a/precompiles/crowdloan-rewards/src/mock.rs +++ b/precompiles/crowdloan-rewards/src/mock.rs @@ -30,7 +30,7 @@ use frame_support::{ weights::Weight, }; use frame_system::{pallet_prelude::BlockNumberFor, EnsureSigned, RawOrigin}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{precompile_set::*, testing::MockAccount}; use sp_core::{H256, U256}; use sp_io; @@ -198,6 +198,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/foreign-asset-migrator/src/lib.rs b/precompiles/foreign-asset-migrator/src/lib.rs index 0e3b0fb353..4bfb811702 100644 --- a/precompiles/foreign-asset-migrator/src/lib.rs +++ b/precompiles/foreign-asset-migrator/src/lib.rs @@ -72,6 +72,7 @@ where AssetIdOf: Display, Runtime::AccountId: Into, ::ForeignAssetType: Into>, + Runtime::AddressMapping: AddressMapping, { #[precompile::public("migrateAccounts(address,uint32)")] fn migrate_accounts( diff --git a/precompiles/gmp/Cargo.toml b/precompiles/gmp/Cargo.toml index e46ab48c12..290a89eca1 100644 --- a/precompiles/gmp/Cargo.toml +++ b/precompiles/gmp/Cargo.toml @@ -50,6 +50,7 @@ sha3 = { workspace = true } pallet-balances = { workspace = true, features = ["insecure_zero_ed", "std"] } pallet-timestamp = { workspace = true, features = ["std"] } parity-scale-codec = { workspace = true, features = ["max-encoded-len", "std"] } +pallet-xcm-transactor = { workspace = true, features = ["std"] } precompile-utils = { workspace = true, features = ["std", "testing"] } scale-info = { workspace = true, features = ["derive", "std"] } sp-runtime = { workspace = true, features = ["std"] } diff --git a/precompiles/gmp/src/lib.rs b/precompiles/gmp/src/lib.rs index 6e13b3501d..5756c2c2c0 100644 --- a/precompiles/gmp/src/lib.rs +++ b/precompiles/gmp/src/lib.rs @@ -78,6 +78,7 @@ where From>, ::RuntimeCall: From>, Runtime: AccountIdToCurrencyId>, + ::AddressMapping: AddressMapping, { #[precompile::public("wormholeTransferERC20(bytes)")] pub fn wormhole_transfer_erc20( diff --git a/precompiles/gmp/src/mock.rs b/precompiles/gmp/src/mock.rs index 386bf2b20c..250dee4e9c 100644 --- a/precompiles/gmp/src/mock.rs +++ b/precompiles/gmp/src/mock.rs @@ -21,7 +21,7 @@ use frame_support::traits::{ EnsureOrigin, Everything, Nothing, OriginTrait, PalletInfo as PalletInfoTrait, }; use frame_support::{construct_runtime, parameter_types, weights::Weight}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use parity_scale_codec::{Decode, Encode}; use precompile_utils::{mock_account, precompile_set::*, testing::MockAccount}; use scale_info::TypeInfo; @@ -287,6 +287,7 @@ impl pallet_evm::Config for Runtime { type SuicideQuickClearLimit = ConstU32<0>; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } #[derive(Encode, Decode)] diff --git a/precompiles/identity/src/lib.rs b/precompiles/identity/src/lib.rs index b5246100f2..4c0e179222 100644 --- a/precompiles/identity/src/lib.rs +++ b/precompiles/identity/src/lib.rs @@ -82,6 +82,7 @@ where ::RuntimeOrigin: From>, Runtime::RuntimeCall: From>, BalanceOf: TryFrom + Into + solidity::Codec, + ::AddressMapping: AddressMapping, { // Note: addRegistrar(address) & killIdentity(address) are not supported since they use a // force origin. diff --git a/precompiles/identity/src/mock.rs b/precompiles/identity/src/mock.rs index 8bfd1c1338..3fde039e4b 100644 --- a/precompiles/identity/src/mock.rs +++ b/precompiles/identity/src/mock.rs @@ -22,7 +22,7 @@ use frame_support::{ weights::Weight, }; use frame_system::{EnsureRoot, EnsureSignedBy}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use pallet_identity::legacy::IdentityInfo; use precompile_utils::mock_account; use precompile_utils::{ @@ -156,6 +156,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/parachain-staking/src/lib.rs b/precompiles/parachain-staking/src/lib.rs index d3f290678e..478baef43d 100644 --- a/precompiles/parachain-staking/src/lib.rs +++ b/precompiles/parachain-staking/src/lib.rs @@ -55,6 +55,7 @@ where ::RuntimeOrigin: From>, Runtime::RuntimeCall: From>, BalanceOf: TryFrom + Into + solidity::Codec, + ::AddressMapping: AddressMapping, { // Constants #[precompile::public("minDelegation()")] diff --git a/precompiles/parachain-staking/src/mock.rs b/precompiles/parachain-staking/src/mock.rs index 7782da9761..31d170054e 100644 --- a/precompiles/parachain-staking/src/mock.rs +++ b/precompiles/parachain-staking/src/mock.rs @@ -22,7 +22,7 @@ use frame_support::{ weights::Weight, }; use frame_system::pallet_prelude::BlockNumberFor; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use pallet_parachain_staking::{AwardedPts, InflationInfo, Points, Range}; use precompile_utils::{ precompile_set::*, @@ -158,6 +158,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/precompile-registry/src/mock.rs b/precompiles/precompile-registry/src/mock.rs index 40973c625a..2e3e5594bd 100644 --- a/precompiles/precompile-registry/src/mock.rs +++ b/precompiles/precompile-registry/src/mock.rs @@ -19,7 +19,7 @@ use super::*; use frame_support::traits::Everything; use frame_support::{construct_runtime, pallet_prelude::*, parameter_types}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{mock_account, precompile_set::*, testing::MockAccount}; use sp_core::H256; use sp_runtime::BuildStorage; @@ -142,6 +142,7 @@ impl pallet_evm::Config for Runtime { type SuicideQuickClearLimit = ConstU32<0>; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/preimage/src/lib.rs b/precompiles/preimage/src/lib.rs index d8ec491fed..aa9d462e9a 100644 --- a/precompiles/preimage/src/lib.rs +++ b/precompiles/preimage/src/lib.rs @@ -54,6 +54,7 @@ where From>, ::Hash: Into, ::RuntimeCall: From>, + ::AddressMapping: AddressMapping, { /// Register a preimage on-chain. /// diff --git a/precompiles/preimage/src/mock.rs b/precompiles/preimage/src/mock.rs index 042fd9665d..e03defffe0 100644 --- a/precompiles/preimage/src/mock.rs +++ b/precompiles/preimage/src/mock.rs @@ -18,7 +18,7 @@ use super::*; use frame_support::{construct_runtime, parameter_types, traits::Everything, weights::Weight}; use frame_system::EnsureRoot; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{precompile_set::*, testing::MockAccount}; use sp_core::{H256, U256}; use sp_runtime::{ @@ -145,6 +145,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/proxy/src/lib.rs b/precompiles/proxy/src/lib.rs index 39c958652e..20569397a0 100644 --- a/precompiles/proxy/src/lib.rs +++ b/precompiles/proxy/src/lib.rs @@ -55,6 +55,7 @@ where ::RuntimeCall: From> + From>, >::Balance: TryFrom + Into, + ::AddressMapping: AddressMapping, { fn is_allowed(_caller: H160, selector: Option) -> bool { match selector { @@ -87,6 +88,7 @@ where ::RuntimeCall: From> + From>, >::Balance: TryFrom + Into, + ::AddressMapping: AddressMapping, { fn is_allowed(_caller: H160, selector: Option) -> bool { match selector { @@ -148,6 +150,7 @@ where ::RuntimeCall: From> + From>, >::Balance: TryFrom + Into, + ::AddressMapping: AddressMapping, { /// Register a proxy account for the sender that is able to make calls on its behalf. /// The dispatch origin for this call must be Signed. @@ -181,7 +184,7 @@ where handle.record_db_read::( 28 + (29 * (::MaxProxies::get() as usize)) + 8, )?; - if ProxyPallet::::proxies(&origin) + if ProxyPallet::::proxies(origin.clone()) .0 .iter() .any(|pd| pd.delegate == delegate) diff --git a/precompiles/proxy/src/mock.rs b/precompiles/proxy/src/mock.rs index 1dc8b9507e..710e077332 100644 --- a/precompiles/proxy/src/mock.rs +++ b/precompiles/proxy/src/mock.rs @@ -21,7 +21,9 @@ use frame_support::{ traits::{Everything, InstanceFilter}, weights::Weight, }; -use pallet_evm::{EnsureAddressNever, EnsureAddressOrigin, SubstrateBlockHashMapping}; +use pallet_evm::{ + EnsureAddressNever, EnsureAddressOrigin, FrameSystemAccountProvider, SubstrateBlockHashMapping, +}; use precompile_utils::{ precompile_set::{ AddressU64, CallableByContract, CallableByPrecompile, OnlyFrom, PrecompileAt, @@ -185,6 +187,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/randomness/src/mock.rs b/precompiles/randomness/src/mock.rs index 244d325d8b..f254635cd4 100644 --- a/precompiles/randomness/src/mock.rs +++ b/precompiles/randomness/src/mock.rs @@ -18,7 +18,7 @@ use super::*; use frame_support::{construct_runtime, parameter_types, traits::Everything, weights::Weight}; use nimbus_primitives::NimbusId; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use precompile_utils::{precompile_set::*, testing::MockAccount}; use session_keys_primitives::VrfId; use sp_core::H256; @@ -146,6 +146,7 @@ impl pallet_evm::Config for Runtime { type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; type SuicideQuickClearLimit = SuicideQuickClearLimit; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/referenda/src/lib.rs b/precompiles/referenda/src/lib.rs index bebfa1927f..827af167b6 100644 --- a/precompiles/referenda/src/lib.rs +++ b/precompiles/referenda/src/lib.rs @@ -154,6 +154,7 @@ where GovOrigin: FromStr, H256: From<::Hash> + Into<::Hash>, + ::AddressMapping: AddressMapping, { // The accessors are first. They directly return their result. #[precompile::public("referendumCount()")] diff --git a/precompiles/referenda/src/mock.rs b/precompiles/referenda/src/mock.rs index 33bcb6839f..d49074a5bd 100644 --- a/precompiles/referenda/src/mock.rs +++ b/precompiles/referenda/src/mock.rs @@ -22,7 +22,7 @@ use frame_support::{ weights::Weight, }; use frame_system::{EnsureRoot, EnsureSigned, EnsureSignedBy, RawOrigin}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use pallet_referenda::{impl_tracksinfo_get, Curve, TrackInfo}; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use precompile_utils::{precompile_set::*, testing::*}; @@ -162,6 +162,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/relay-data-verifier/src/mock.rs b/precompiles/relay-data-verifier/src/mock.rs index 47f9ef0466..c476f801ec 100644 --- a/precompiles/relay-data-verifier/src/mock.rs +++ b/precompiles/relay-data-verifier/src/mock.rs @@ -25,7 +25,9 @@ use frame_support::{ traits::Everything, weights::{RuntimeDbWeight, Weight}, }; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, SubstrateBlockHashMapping}; +use pallet_evm::{ + EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider, SubstrateBlockHashMapping, +}; use parity_scale_codec::Decode; use precompile_utils::{precompile_set::*, testing::MockAccount}; use sp_core::{Get, U256}; @@ -212,6 +214,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } impl pallet_precompile_benchmarks::Config for Runtime { diff --git a/precompiles/relay-encoder/src/mock.rs b/precompiles/relay-encoder/src/mock.rs index bd9c58252f..9fdd4facde 100644 --- a/precompiles/relay-encoder/src/mock.rs +++ b/precompiles/relay-encoder/src/mock.rs @@ -23,7 +23,9 @@ use frame_support::{ traits::{Everything, PalletInfo as PalletInfoTrait}, weights::Weight, }; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, SubstrateBlockHashMapping}; +use pallet_evm::{ + EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider, SubstrateBlockHashMapping, +}; use parity_scale_codec::{Decode, Encode}; use precompile_utils::{precompile_set::*, testing::MockAccount}; use scale_info::TypeInfo; @@ -372,6 +374,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/xcm-transactor/Cargo.toml b/precompiles/xcm-transactor/Cargo.toml index 8e15b33713..71c9ceaa7f 100644 --- a/precompiles/xcm-transactor/Cargo.toml +++ b/precompiles/xcm-transactor/Cargo.toml @@ -26,7 +26,7 @@ sp-weights = { workspace = true } evm = { workspace = true, features = ["with-codec"] } fp-evm = { workspace = true } pallet-evm = { workspace = true, features = ["forbid-evm-reentrancy"] } -precompile-utils = { workspace = true } +precompile-utils = { workspace = true, features = ["codec-xcm"] } # Polkadot xcm = { workspace = true } @@ -51,7 +51,7 @@ scale-info = { workspace = true, features = ["derive"] } sp-io = { workspace = true } # Polkadot -pallet-xcm = { workspace = true } +pallet-xcm = { workspace = true, features = ["std"] } xcm-builder = { workspace = true } xcm-executor = { workspace = true } diff --git a/precompiles/xcm-transactor/src/functions.rs b/precompiles/xcm-transactor/src/functions.rs index aa944afa0f..59514b9484 100644 --- a/precompiles/xcm-transactor/src/functions.rs +++ b/precompiles/xcm-transactor/src/functions.rs @@ -59,6 +59,7 @@ where TransactorOf: TryFrom, Runtime::AccountId: Into, Runtime: AccountIdToCurrencyId>, + ::AddressMapping: AddressMapping, { pub(crate) fn account_index( handle: &mut impl PrecompileHandle, diff --git a/precompiles/xcm-transactor/src/mock.rs b/precompiles/xcm-transactor/src/mock.rs index 948678bfa7..d39b4585cf 100644 --- a/precompiles/xcm-transactor/src/mock.rs +++ b/precompiles/xcm-transactor/src/mock.rs @@ -23,7 +23,9 @@ use frame_support::{ traits::{EnsureOrigin, Everything, OriginTrait, PalletInfo as PalletInfoTrait}, weights::{RuntimeDbWeight, Weight}, }; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, GasWeightMapping}; +use pallet_evm::{ + EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider, GasWeightMapping, +}; use parity_scale_codec::{Decode, Encode}; use precompile_utils::{ mock_account, @@ -221,6 +223,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/precompiles/xcm-transactor/src/v1/mod.rs b/precompiles/xcm-transactor/src/v1/mod.rs index 279c4a33e3..f36d7ce2c5 100644 --- a/precompiles/xcm-transactor/src/v1/mod.rs +++ b/precompiles/xcm-transactor/src/v1/mod.rs @@ -16,10 +16,10 @@ //! Precompile to xcm transactor runtime methods via the EVM +use crate::functions::{CurrencyIdOf, GetDataLimit, TransactorOf, XcmTransactorWrapper}; use fp_evm::PrecompileHandle; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; - -use crate::functions::{CurrencyIdOf, GetDataLimit, TransactorOf, XcmTransactorWrapper}; +use pallet_evm::AddressMapping; use precompile_utils::prelude::*; use sp_core::{H160, U256}; use sp_runtime::traits::Dispatchable; @@ -40,6 +40,7 @@ where TransactorOf: TryFrom, Runtime::AccountId: Into, Runtime: AccountIdToCurrencyId>, + ::AddressMapping: AddressMapping, { #[precompile::public("indexToAccount(uint16)")] #[precompile::public("index_to_account(uint16)")] diff --git a/precompiles/xcm-transactor/src/v2/mod.rs b/precompiles/xcm-transactor/src/v2/mod.rs index 927dd35b0f..a6d0f9cbbb 100644 --- a/precompiles/xcm-transactor/src/v2/mod.rs +++ b/precompiles/xcm-transactor/src/v2/mod.rs @@ -19,6 +19,7 @@ use crate::functions::{CurrencyIdOf, GetDataLimit, TransactorOf, XcmTransactorWrapper}; use fp_evm::PrecompileHandle; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; +use pallet_evm::AddressMapping; use precompile_utils::prelude::*; use sp_core::{H160, U256}; use sp_runtime::traits::Dispatchable; @@ -39,6 +40,7 @@ where TransactorOf: TryFrom, Runtime::AccountId: Into, Runtime: AccountIdToCurrencyId>, + ::AddressMapping: AddressMapping, { #[precompile::public("indexToAccount(uint16)")] #[precompile::view] diff --git a/precompiles/xcm-transactor/src/v3/mod.rs b/precompiles/xcm-transactor/src/v3/mod.rs index 294613010f..72e76d924b 100644 --- a/precompiles/xcm-transactor/src/v3/mod.rs +++ b/precompiles/xcm-transactor/src/v3/mod.rs @@ -19,6 +19,7 @@ use crate::functions::{CurrencyIdOf, GetDataLimit, TransactorOf, XcmTransactorWrapper}; use fp_evm::PrecompileHandle; use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo}; +use pallet_evm::AddressMapping; use precompile_utils::prelude::*; use sp_core::{H160, U256}; use sp_runtime::traits::Dispatchable; @@ -40,6 +41,7 @@ where TransactorOf: TryFrom, Runtime::AccountId: Into, Runtime: AccountIdToCurrencyId>, + ::AddressMapping: AddressMapping, { #[precompile::public("indexToAccount(uint16)")] #[precompile::view] diff --git a/precompiles/xcm-utils/Cargo.toml b/precompiles/xcm-utils/Cargo.toml index 5c5b1a6311..1dafba54cd 100644 --- a/precompiles/xcm-utils/Cargo.toml +++ b/precompiles/xcm-utils/Cargo.toml @@ -36,18 +36,18 @@ serde = { workspace = true } sha3 = { workspace = true } # Moonbeam -precompile-utils = { workspace = true, features = ["testing"] } +precompile-utils = { workspace = true, features = ["testing", "std", "codec-xcm"] } # Substrate pallet-balances = { workspace = true } pallet-timestamp = { workspace = true } parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } -scale-info = { workspace = true, features = ["derive"] } +scale-info = { workspace = true, features = ["derive", "std"] } sp-io = { workspace = true } -sp-runtime = { workspace = true } +sp-runtime = { workspace = true, features = ["std"] } # Cumulus -cumulus-primitives-core = { workspace = true } +cumulus-primitives-core = { workspace = true, features = ["std"] } # Polkadot polkadot-parachain = { workspace = true } @@ -70,6 +70,7 @@ std = [ "xcm-builder/std", "xcm-executor/std", "xcm-primitives/std", + "pallet-xcm/std", ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", diff --git a/precompiles/xcm-utils/src/lib.rs b/precompiles/xcm-utils/src/lib.rs index ab92929d37..51aefaaa4b 100644 --- a/precompiles/xcm-utils/src/lib.rs +++ b/precompiles/xcm-utils/src/lib.rs @@ -71,6 +71,7 @@ where <::RuntimeCall as Dispatchable>::RuntimeOrigin: From>, ::RuntimeCall: From>, + ::AddressMapping: AddressMapping, { fn is_allowed(_caller: H160, selector: Option) -> bool { match selector { @@ -102,6 +103,7 @@ where <::RuntimeCall as Dispatchable>::RuntimeOrigin: From>, ::RuntimeCall: From>, + ::AddressMapping: AddressMapping, { #[precompile::public("multilocationToAddress((uint8,bytes[]))")] #[precompile::view] diff --git a/precompiles/xcm-utils/src/mock.rs b/precompiles/xcm-utils/src/mock.rs index 1cd2dc7a30..67fa540c00 100644 --- a/precompiles/xcm-utils/src/mock.rs +++ b/precompiles/xcm-utils/src/mock.rs @@ -21,7 +21,9 @@ use frame_support::{ traits::{ConstU32, EnsureOrigin, Everything, Nothing, OriginTrait, PalletInfo as _}, weights::{RuntimeDbWeight, Weight}, }; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, GasWeightMapping}; +use pallet_evm::{ + EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider, GasWeightMapping, +}; use precompile_utils::{ mock_account, precompile_set::*, @@ -32,10 +34,10 @@ use sp_io; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, TryConvert}; use sp_runtime::BuildStorage; use xcm::latest::Error as XcmError; -use xcm_builder::AllowUnpaidExecutionFrom; use xcm_builder::FixedWeightBounds; use xcm_builder::IsConcrete; use xcm_builder::SovereignSignedViaLocation; +use xcm_builder::{AllowUnpaidExecutionFrom, Case}; use xcm_executor::{ traits::{ConvertLocation, TransactAsset, WeightTrader}, AssetsInHolding, @@ -296,6 +298,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { @@ -408,6 +411,9 @@ parameter_types! { [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainId::get().into())].into(); pub const MaxAssetsIntoHolding: u32 = 64; + + pub RelayLocation: Location = Location::parent(); + pub RelayForeignAsset: (AssetFilter, Location) = (All.into(), RelayLocation::get()); } pub type XcmOriginToTransactDispatchOrigin = ( @@ -422,7 +428,7 @@ impl xcm_executor::Config for XcmConfig { type XcmSender = TestSendXcm; type AssetTransactor = DummyAssetTransactor; type OriginConverter = XcmOriginToTransactDispatchOrigin; - type IsReserve = (); + type IsReserve = Case; type IsTeleporter = (); type UniversalLocation = UniversalLocation; type Barrier = Barrier; diff --git a/precompiles/xtokens/src/lib.rs b/precompiles/xtokens/src/lib.rs index 5fc36c70e6..f001486ac7 100644 --- a/precompiles/xtokens/src/lib.rs +++ b/precompiles/xtokens/src/lib.rs @@ -63,6 +63,7 @@ where <::RuntimeCall as Dispatchable>::RuntimeOrigin: From>, Runtime: AccountIdToCurrencyId>, + ::AddressMapping: AddressMapping, { #[precompile::public("transfer(address,uint256,(uint8,bytes[]),uint64)")] fn transfer( diff --git a/precompiles/xtokens/src/mock.rs b/precompiles/xtokens/src/mock.rs index 93cb545efe..31a4a7a579 100644 --- a/precompiles/xtokens/src/mock.rs +++ b/precompiles/xtokens/src/mock.rs @@ -21,7 +21,7 @@ use frame_support::traits::{ ConstU32, EnsureOrigin, Everything, Nothing, OriginTrait, PalletInfo as PalletInfoTrait, }; use frame_support::{construct_runtime, parameter_types, weights::Weight}; -use pallet_evm::{EnsureAddressNever, EnsureAddressRoot}; +use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; use parity_scale_codec::{Decode, Encode}; use precompile_utils::{ mock_account, @@ -178,6 +178,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } parameter_types! { diff --git a/runtime/common/src/impl_on_charge_evm_transaction.rs b/runtime/common/src/impl_on_charge_evm_transaction.rs index baa4777e06..0fe3b9c026 100644 --- a/runtime/common/src/impl_on_charge_evm_transaction.rs +++ b/runtime/common/src/impl_on_charge_evm_transaction.rs @@ -27,11 +27,12 @@ macro_rules! impl_on_charge_evm_transaction { impl OnChargeEVMTransactionT for OnChargeEVMTransaction where T: pallet_evm::Config, - T::Currency: Balanced, - OU: OnUnbalanced>, - U256: UniqueSaturatedInto> + T::Currency: Balanced>, + OU: OnUnbalanced, T::Currency>>, + U256: UniqueSaturatedInto<>>::Balance>, + T::AddressMapping: pallet_evm::AddressMapping, { - type LiquidityInfo = Option>; + type LiquidityInfo = Option, T::Currency>>; fn withdraw_fee(who: &H160, fee: U256) -> Result> { EVMFungibleAdapter::<::Currency, ()>::withdraw_fee(who, fee) diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 0f3973aa49..073da4d764 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -86,7 +86,7 @@ use pallet_ethereum::Call::transact; use pallet_ethereum::{PostLogContent, Transaction as EthereumTransaction}; use pallet_evm::{ Account as EVMAccount, EVMFungibleAdapter, EnsureAddressNever, EnsureAddressRoot, - FeeCalculator, GasWeightMapping, IdentityAddressMapping, + FeeCalculator, FrameSystemAccountProvider, GasWeightMapping, IdentityAddressMapping, OnChargeEVMTransaction as OnChargeEVMTransactionT, Runner, }; use pallet_transaction_payment::{FungibleAdapter, Multiplier, TargetedFeeAdjustment}; @@ -344,7 +344,7 @@ where R: pallet_balances::Config + pallet_treasury::Config, { // this seems to be called for substrate-based transactions - fn on_unbalanceds( + fn on_unbalanceds( mut fees_then_tips: impl Iterator>>, ) { if let Some(fees) = fees_then_tips.next() { @@ -550,6 +550,8 @@ impl pallet_evm::Config for Runtime { type SuicideQuickClearLimit = ConstU32<0>; type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = RelayTimestamp; + type AccountProvider = FrameSystemAccountProvider; + type WeightInfo = moonbase_weights::pallet_evm::WeightInfo; } @@ -697,7 +699,8 @@ parameter_types! { impl pallet_ethereum::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type StateRoot = pallet_ethereum::IntermediateStateRoot; + type StateRoot = + pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; } diff --git a/runtime/moonbase/src/weights/pallet_assets.rs b/runtime/moonbase/src/weights/pallet_assets.rs index 013e7c7514..822cc69546 100644 --- a/runtime/moonbase/src/weights/pallet_assets.rs +++ b/runtime/moonbase/src/weights/pallet_assets.rs @@ -484,4 +484,14 @@ impl pallet_assets::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + + fn transfer_all() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 46_573_000 picoseconds. + Weight::from_parts(47_385_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } } diff --git a/runtime/moonbase/tests/xcm_mock/parachain.rs b/runtime/moonbase/tests/xcm_mock/parachain.rs index 8989475cb5..dd6c57463a 100644 --- a/runtime/moonbase/tests/xcm_mock/parachain.rs +++ b/runtime/moonbase/tests/xcm_mock/parachain.rs @@ -868,6 +868,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } pub struct NormalFilter; @@ -966,7 +967,8 @@ parameter_types! { impl pallet_ethereum::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type StateRoot = pallet_ethereum::IntermediateStateRoot; + type StateRoot = + pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; } @@ -1084,6 +1086,8 @@ pub(crate) fn para_events() -> Vec { use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; use frame_support::traits::{OnFinalize, OnInitialize, UncheckedOnRuntimeUpgrade}; +use pallet_evm::FrameSystemAccountProvider; + pub(crate) fn on_runtime_upgrade() { VersionUncheckedMigrateToV1::::on_runtime_upgrade(); } diff --git a/runtime/moonbeam/src/lib.rs b/runtime/moonbeam/src/lib.rs index f92aaadc0c..b5816bede2 100644 --- a/runtime/moonbeam/src/lib.rs +++ b/runtime/moonbeam/src/lib.rs @@ -70,7 +70,7 @@ use pallet_ethereum::Call::transact; use pallet_ethereum::{PostLogContent, Transaction as EthereumTransaction}; use pallet_evm::{ Account as EVMAccount, EVMFungibleAdapter, EnsureAddressNever, EnsureAddressRoot, - FeeCalculator, GasWeightMapping, IdentityAddressMapping, + FeeCalculator, FrameSystemAccountProvider, GasWeightMapping, IdentityAddressMapping, OnChargeEVMTransaction as OnChargeEVMTransactionT, Runner, }; pub use pallet_parachain_staking::{weights::WeightInfo, InflationInfo, Range}; @@ -338,7 +338,7 @@ where R: pallet_balances::Config + pallet_treasury::Config, { // this seems to be called for substrate-based transactions - fn on_unbalanceds( + fn on_unbalanceds( mut fees_then_tips: impl Iterator>>, ) { if let Some(fees) = fees_then_tips.next() { @@ -541,6 +541,7 @@ impl pallet_evm::Config for Runtime { type SuicideQuickClearLimit = ConstU32<0>; type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = RelayTimestamp; + type AccountProvider = FrameSystemAccountProvider; type WeightInfo = moonbeam_weights::pallet_evm::WeightInfo; } @@ -687,7 +688,7 @@ parameter_types! { impl pallet_ethereum::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type StateRoot = pallet_ethereum::IntermediateStateRoot; + type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; } diff --git a/runtime/moonbeam/src/weights/pallet_assets.rs b/runtime/moonbeam/src/weights/pallet_assets.rs index 550491e138..c32c8a270d 100644 --- a/runtime/moonbeam/src/weights/pallet_assets.rs +++ b/runtime/moonbeam/src/weights/pallet_assets.rs @@ -484,4 +484,14 @@ impl pallet_assets::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + + fn transfer_all() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 46_573_000 picoseconds. + Weight::from_parts(47_385_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } } diff --git a/runtime/moonbeam/tests/xcm_mock/parachain.rs b/runtime/moonbeam/tests/xcm_mock/parachain.rs index fcf42d881c..180672b0b5 100644 --- a/runtime/moonbeam/tests/xcm_mock/parachain.rs +++ b/runtime/moonbeam/tests/xcm_mock/parachain.rs @@ -854,6 +854,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } pub struct NormalFilter; @@ -952,7 +953,8 @@ parameter_types! { impl pallet_ethereum::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type StateRoot = pallet_ethereum::IntermediateStateRoot; + type StateRoot = + pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; } @@ -1070,6 +1072,7 @@ pub(crate) fn para_events() -> Vec { use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; use frame_support::traits::{OnFinalize, OnInitialize, UncheckedOnRuntimeUpgrade}; +use pallet_evm::FrameSystemAccountProvider; use sp_weights::constants::WEIGHT_REF_TIME_PER_SECOND; pub(crate) fn on_runtime_upgrade() { diff --git a/runtime/moonriver/src/lib.rs b/runtime/moonriver/src/lib.rs index dd85928534..47e564ea5a 100644 --- a/runtime/moonriver/src/lib.rs +++ b/runtime/moonriver/src/lib.rs @@ -71,7 +71,7 @@ use pallet_ethereum::Call::transact; use pallet_ethereum::{PostLogContent, Transaction as EthereumTransaction}; use pallet_evm::{ Account as EVMAccount, EVMFungibleAdapter, EnsureAddressNever, EnsureAddressRoot, - FeeCalculator, GasWeightMapping, IdentityAddressMapping, + FeeCalculator, FrameSystemAccountProvider, GasWeightMapping, IdentityAddressMapping, OnChargeEVMTransaction as OnChargeEVMTransactionT, Runner, }; pub use pallet_parachain_staking::{weights::WeightInfo, InflationInfo, Range}; @@ -340,7 +340,7 @@ where R: pallet_balances::Config + pallet_treasury::Config, { // this seems to be called for substrate-based transactions - fn on_unbalanceds( + fn on_unbalanceds( mut fees_then_tips: impl Iterator>>, ) { if let Some(fees) = fees_then_tips.next() { @@ -543,6 +543,7 @@ impl pallet_evm::Config for Runtime { type SuicideQuickClearLimit = ConstU32<0>; type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = RelayTimestamp; + type AccountProvider = FrameSystemAccountProvider; type WeightInfo = moonriver_weights::pallet_evm::WeightInfo; } @@ -689,7 +690,8 @@ parameter_types! { impl pallet_ethereum::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type StateRoot = pallet_ethereum::IntermediateStateRoot; + type StateRoot = + pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; } diff --git a/runtime/moonriver/src/weights/pallet_assets.rs b/runtime/moonriver/src/weights/pallet_assets.rs index 1478a9fc88..2cf28dfb84 100644 --- a/runtime/moonriver/src/weights/pallet_assets.rs +++ b/runtime/moonriver/src/weights/pallet_assets.rs @@ -484,4 +484,14 @@ impl pallet_assets::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + + fn transfer_all() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 46_573_000 picoseconds. + Weight::from_parts(47_385_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } } diff --git a/runtime/moonriver/tests/xcm_mock/parachain.rs b/runtime/moonriver/tests/xcm_mock/parachain.rs index cbade738a4..a0ea4bc430 100644 --- a/runtime/moonriver/tests/xcm_mock/parachain.rs +++ b/runtime/moonriver/tests/xcm_mock/parachain.rs @@ -859,6 +859,7 @@ impl pallet_evm::Config for Runtime { type GasLimitStorageGrowthRatio = GasLimitStorageGrowthRatio; type Timestamp = Timestamp; type WeightInfo = pallet_evm::weights::SubstrateWeight; + type AccountProvider = FrameSystemAccountProvider; } pub struct NormalFilter; @@ -957,7 +958,8 @@ parameter_types! { impl pallet_ethereum::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type StateRoot = pallet_ethereum::IntermediateStateRoot; + type StateRoot = + pallet_ethereum::IntermediateStateRoot<::Version>; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; } @@ -1076,6 +1078,8 @@ pub(crate) fn para_events() -> Vec { use frame_support::traits::tokens::{PayFromAccount, UnityAssetBalanceConversion}; use frame_support::traits::{OnFinalize, OnInitialize, UncheckedOnRuntimeUpgrade}; +use pallet_evm::FrameSystemAccountProvider; + pub(crate) fn on_runtime_upgrade() { VersionUncheckedMigrateToV1::::on_runtime_upgrade(); } diff --git a/runtime/summarize-precompile-checks/Cargo.toml b/runtime/summarize-precompile-checks/Cargo.toml index 132934fabc..34d880b7a9 100644 --- a/runtime/summarize-precompile-checks/Cargo.toml +++ b/runtime/summarize-precompile-checks/Cargo.toml @@ -8,7 +8,7 @@ license = "GPL-3.0-only" version = "0.0.0" [dependencies] -clap = "4.0.18" +clap = { version = "4.0.32", features = ["derive"] } moonbase-runtime = { path = "../moonbase" } moonbeam-runtime = { path = "../moonbeam" } moonriver-runtime = { path = "../moonriver" } diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts index 079a857291..f05cee06c2 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts @@ -70,12 +70,9 @@ describeSuite({ const size = 4194304; // 2MB bytes represented in hex const hex = "0x" + "F".repeat(size); - // send an enactAuthorizedUpgrade. we expect this to fail, but we just want to see that it + // send an applyAuthorizedUpgrade. we expect this to fail, but we just want to see that it // was included in a block (not rejected) and was charged based on its length - await context - .polkadotJs() - .tx.parachainSystem.enactAuthorizedUpgrade(hex) - .signAndSend(baltathar); + await context.polkadotJs().tx.system.applyAuthorizedUpgrade(hex).signAndSend(baltathar); await context.createBlock(); const afterBalance = ( @@ -86,7 +83,8 @@ describeSuite({ // derived from the length_fee, which is not scaled by the multiplier // ~/4 to compensate for the ref time XCM fee changes // Previous value: 449_284_776_265_723_667_008n - expect(initialBalance - afterBalance).to.equal(119_241_298_837_127_813_277n); + // Previous value: 119_241_298_837_127_813_277n + expect(initialBalance - afterBalance).to.equal(119_241_297_050_552_813_277n); }, }); diff --git a/test/suites/dev/moonbase/test-fees/test-length-fees.ts b/test/suites/dev/moonbase/test-fees/test-length-fees.ts index 4bd63affb1..7863e743a9 100644 --- a/test/suites/dev/moonbase/test-fees/test-length-fees.ts +++ b/test/suites/dev/moonbase/test-fees/test-length-fees.ts @@ -58,9 +58,9 @@ const testRuntimeUpgrade = async (context: DevModeContext) => { const size = 4194304; // 2MB bytes represented in hex const hex = "0x" + "F".repeat(size); - // send an enactAuthorizedUpgrade. we expect this to fail, but we just want to see that it was + // send an applyAuthorizedUpgrade. we expect this to fail, but we just want to see that it was // included in a block (not rejected) and was charged based on its length - await context.polkadotJs().tx.parachainSystem.enactAuthorizedUpgrade(hex).signAndSend(baltathar); + await context.polkadotJs().tx.system.applyAuthorizedUpgrade(hex).signAndSend(baltathar); await context.createBlock(); const afterBalance = ( diff --git a/test/suites/dev/moonbase/test-fees/test-length-fees2.ts b/test/suites/dev/moonbase/test-fees/test-length-fees2.ts index 793657b5d1..7e1afebca6 100644 --- a/test/suites/dev/moonbase/test-fees/test-length-fees2.ts +++ b/test/suites/dev/moonbase/test-fees/test-length-fees2.ts @@ -62,7 +62,7 @@ describeSuite({ const modexp_min_cost = 200n * 20n; // see MIN_GAS_COST in frontier's modexp precompile const entire_fee = non_zero_byte_fee + zero_byte_fee + base_ethereum_fee + modexp_min_cost; // the gas used should be the maximum of the legacy gas and the pov gas - const expected = BigInt(Math.max(Number(entire_fee), 3797 * GAS_LIMIT_POV_RATIO)); + const expected = BigInt(Math.max(Number(entire_fee), 3821 * GAS_LIMIT_POV_RATIO)); expect(receipt.gasUsed, "gasUsed does not match manual calculation").toBe(expected); }, }); diff --git a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts index 5fb4735cec..ed24a97f7e 100644 --- a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts +++ b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts @@ -72,7 +72,7 @@ describeSuite({ // With 1M gas we are allowed to use ~62kb of POV, so verify the range. // The tx is still included in the block because it contains the failed tx, // so POV is included in the block as well. - expect(block.proofSize).to.be.at.least(15_000); + expect(block.proofSize).to.be.at.least(14_000); expect(block.proofSize).to.be.at.most(30_000); expect(result?.successful).to.equal(true); expectEVMResult(result!.events, "Error", "OutOfGas"); diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery3.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery3.ts index 6fcb4efee2..b2dba692df 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery3.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery3.ts @@ -49,7 +49,7 @@ describeSuite({ id: "T01", title: "should fail to fulfill before the delay", test: async function () { - expect(estimatedGasBefore).toMatchInlineSnapshot(`218380n`); + expect(estimatedGasBefore).toMatchInlineSnapshot(`218919n`); expect( await context.readPrecompile!({ @@ -86,7 +86,7 @@ describeSuite({ id: "T02", title: "should succeed to fulfill after the delay", test: async function () { - expect(estimatedGasBefore).toMatchInlineSnapshot(`218380n`); + expect(estimatedGasBefore).toMatchInlineSnapshot(`218919n`); // await context.createBlock(); await context.createBlock([ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery4.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery4.ts index 44fe11620a..05e0ab34f4 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery4.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery4.ts @@ -20,7 +20,7 @@ describeSuite({ value: 1n * GLMR, }); log("Estimated Gas for startLottery", estimatedGas); - expect(estimatedGas).toMatchInlineSnapshot(`218380n`); + expect(estimatedGas).toMatchInlineSnapshot(`218919n`); await context.writeContract!({ contractAddress: lotteryContract, diff --git a/test/suites/dev/moonbase/test-storage-growth/test-precompile-storage-growth.ts b/test/suites/dev/moonbase/test-storage-growth/test-precompile-storage-growth.ts index b3cd42b7cf..797a29b203 100644 --- a/test/suites/dev/moonbase/test-storage-growth/test-precompile-storage-growth.ts +++ b/test/suites/dev/moonbase/test-storage-growth/test-precompile-storage-growth.ts @@ -69,7 +69,7 @@ describeSuite({ }); // Snapshot estimated gas - expect(proxyProxyEstimatedGas).toMatchInlineSnapshot(`91908n`); + expect(proxyProxyEstimatedGas).toMatchInlineSnapshot(`92232n`); const balBefore = await context.viem().getBalance({ address: FAITH_ADDRESS }); const rawTxn2 = await context.writePrecompile!({ @@ -125,7 +125,7 @@ describeSuite({ }); // Snapshot estimated gas - expect(estimatedGas).toMatchInlineSnapshot(`91908n`); + expect(estimatedGas).toMatchInlineSnapshot(`92232n`); const rawTxn2 = await context.writePrecompile!({ precompileName: "Proxy", diff --git a/test/suites/zombie/test_para.ts b/test/suites/zombie/test_para.ts index 1f43e34e84..4eecdb9a7a 100644 --- a/test/suites/zombie/test_para.ts +++ b/test/suites/zombie/test_para.ts @@ -61,7 +61,7 @@ describeSuite({ await paraApi.rpc.chain.getBlock() ).block.header.number.toNumber(); - await paraApi.tx.parachainSystem.enactAuthorizedUpgrade(rtHex).signAndSend(alith); + await paraApi.tx.system.applyAuthorizedUpgrade(rtHex).signAndSend(alith); await context.waitBlock(15); From ef2aade4f3ed48dce4bfc0a7bcc2feec08cbb0f3 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:00:07 +0000 Subject: [PATCH 22/24] :hammer: Fix CI for fork repos (#3115) * chore(ci): Attempt fix check-wasm-size for fork repos * chore(ci): add permission (issues: write) to check-wasm-size * chore(ci): disable check-wasm-size in PR from from fork repos * chore(ci): improve job triggers * chore(ci): fix tracing tests * Revert "chore(ci): fix tracing tests" This reverts commit ad0b03da0eb0a3f5c87b56a46bfcd0c080af959f. * chore(ci): skip tracing tests for PR's originated from forked repos --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 317ab7d26f..4fa3e95b87 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -299,7 +299,7 @@ jobs: permissions: contents: read pull-requests: write - if: github.event_name == 'pull_request' + if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }} needs: ["set-tags", "build"] env: GH_TOKEN: ${{ github.token }} @@ -610,7 +610,7 @@ jobs: typescript-tracing-tests: if: > - (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || + (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork) || (github.event_name == 'push' && github.ref == 'refs/heads/master') runs-on: labels: bare-metal @@ -720,7 +720,7 @@ jobs: labels: bare-metal permissions: contents: read - needs: ["set-tags", "build", "typescript-tracing-tests"] + needs: ["set-tags", "build"] strategy: fail-fast: false max-parallel: 1 @@ -778,7 +778,7 @@ jobs: chopsticks-upgrade-test: runs-on: labels: bare-metal - needs: ["set-tags", "build", "typescript-tracing-tests"] + needs: ["set-tags", "build"] strategy: fail-fast: false matrix: @@ -825,7 +825,7 @@ jobs: zombie_upgrade_test: runs-on: labels: bare-metal - needs: ["set-tags", "build", "typescript-tracing-tests"] + needs: ["set-tags", "build"] strategy: fail-fast: false max-parallel: 1 From 03010bbe78bc810f2b2ba88d56ca49aa5a21d462 Mon Sep 17 00:00:00 2001 From: Jeeyong Um Date: Sat, 21 Dec 2024 23:00:59 +0900 Subject: [PATCH 23/24] chore: Fix clippy warnings (#3021) Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> --- precompiles/assets-erc20/src/eip2612.rs | 7 ++++--- precompiles/assets-erc20/src/lib.rs | 5 +++-- precompiles/balances-erc20/src/eip2612.rs | 7 ++++--- precompiles/balances-erc20/src/lib.rs | 5 +++-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/precompiles/assets-erc20/src/eip2612.rs b/precompiles/assets-erc20/src/eip2612.rs index d8a9d8b64b..a2d741eacd 100644 --- a/precompiles/assets-erc20/src/eip2612.rs +++ b/precompiles/assets-erc20/src/eip2612.rs @@ -148,7 +148,7 @@ where Address(address), )); - keccak_256(&domain_separator_inner).into() + keccak_256(&domain_separator_inner) } pub fn generate_permit( @@ -181,6 +181,7 @@ where // Translated from // https://github.com/Uniswap/v2-core/blob/master/contracts/UniswapV2ERC20.sol#L81 + #[allow(clippy::too_many_arguments)] pub(crate) fn permit( asset_id: AssetIdOf, handle: &mut impl PrecompileHandle, @@ -220,8 +221,8 @@ where ); let mut sig = [0u8; 65]; - sig[0..32].copy_from_slice(&r.as_bytes()); - sig[32..64].copy_from_slice(&s.as_bytes()); + sig[0..32].copy_from_slice(r.as_bytes()); + sig[32..64].copy_from_slice(s.as_bytes()); sig[64] = v; let signer = sp_io::crypto::secp256k1_ecdsa_recover(&sig, &permit) diff --git a/precompiles/assets-erc20/src/lib.rs b/precompiles/assets-erc20/src/lib.rs index ef2ced17b4..9cafdd5531 100644 --- a/precompiles/assets-erc20/src/lib.rs +++ b/precompiles/assets-erc20/src/lib.rs @@ -67,7 +67,7 @@ pub type AssetIdOf = , we first check whether the AssetId /// exists in pallet-assets @@ -336,7 +336,7 @@ where { let caller: Runtime::AccountId = Runtime::AddressMapping::into_account_id(handle.context().caller); - let from: Runtime::AccountId = Runtime::AddressMapping::into_account_id(from.clone()); + let from: Runtime::AccountId = Runtime::AddressMapping::into_account_id(from); let to: Runtime::AccountId = Runtime::AddressMapping::into_account_id(to); // If caller is "from", it can spend as much as it wants from its own balance. @@ -508,6 +508,7 @@ where } #[precompile::public("permit(address,address,uint256,uint256,uint8,bytes32,bytes32)")] + #[allow(clippy::too_many_arguments)] fn eip2612_permit( asset_id: AssetIdOf, handle: &mut impl PrecompileHandle, diff --git a/precompiles/balances-erc20/src/eip2612.rs b/precompiles/balances-erc20/src/eip2612.rs index 0c93d0cb54..81ce97ae54 100644 --- a/precompiles/balances-erc20/src/eip2612.rs +++ b/precompiles/balances-erc20/src/eip2612.rs @@ -60,7 +60,7 @@ where Address(address), )); - keccak_256(&domain_separator_inner).into() + keccak_256(&domain_separator_inner) } pub fn generate_permit( @@ -92,6 +92,7 @@ where // Translated from // https://github.com/Uniswap/v2-core/blob/master/contracts/UniswapV2ERC20.sol#L81 + #[allow(clippy::too_many_arguments)] pub(crate) fn permit( handle: &mut impl PrecompileHandle, owner: Address, @@ -127,8 +128,8 @@ where ); let mut sig = [0u8; 65]; - sig[0..32].copy_from_slice(&r.as_bytes()); - sig[32..64].copy_from_slice(&s.as_bytes()); + sig[0..32].copy_from_slice(r.as_bytes()); + sig[32..64].copy_from_slice(s.as_bytes()); sig[64] = v; let signer = sp_io::crypto::secp256k1_ecdsa_recover(&sig, &permit) diff --git a/precompiles/balances-erc20/src/lib.rs b/precompiles/balances-erc20/src/lib.rs index e71fb80ef3..f8832d2c1d 100644 --- a/precompiles/balances-erc20/src/lib.rs +++ b/precompiles/balances-erc20/src/lib.rs @@ -287,7 +287,7 @@ where Some(origin).into(), pallet_balances::Call::::transfer_allow_death { dest: Runtime::Lookup::unlookup(to), - value: value, + value, }, SYSTEM_ACCOUNT_SIZE, )?; @@ -353,7 +353,7 @@ where Some(from).into(), pallet_balances::Call::::transfer_allow_death { dest: Runtime::Lookup::unlookup(to), - value: value, + value, }, SYSTEM_ACCOUNT_SIZE, )?; @@ -462,6 +462,7 @@ where } #[precompile::public("permit(address,address,uint256,uint256,uint8,bytes32,bytes32)")] + #[allow(clippy::too_many_arguments)] fn eip2612_permit( handle: &mut impl PrecompileHandle, owner: Address, From d09a6746694ebece7f5ce0c414238518bf45cf91 Mon Sep 17 00:00:00 2001 From: Manuel Mauro Date: Sun, 22 Dec 2024 00:26:43 +0100 Subject: [PATCH 24/24] Remove state trie migration code (#3114) * refactor: :fire: remove state migration code from moonbeam-lazy-migration pallet * refactor: :fire: remove unused import * refactor: :fire: remove unused functions --------- Co-authored-by: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> --- pallets/moonbeam-lazy-migrations/src/lib.rs | 228 ------------- pallets/moonbeam-lazy-migrations/src/mock.rs | 16 +- pallets/moonbeam-lazy-migrations/src/tests.rs | 304 +----------------- 3 files changed, 5 insertions(+), 543 deletions(-) diff --git a/pallets/moonbeam-lazy-migrations/src/lib.rs b/pallets/moonbeam-lazy-migrations/src/lib.rs index d580ec2831..603ac215ce 100644 --- a/pallets/moonbeam-lazy-migrations/src/lib.rs +++ b/pallets/moonbeam-lazy-migrations/src/lib.rs @@ -45,7 +45,6 @@ environmental::environmental!(MIGRATING_FOREIGN_ASSETS: bool); pub mod pallet { use super::*; use crate::foreign_asset::ForeignAssetMigrationStatus; - use cumulus_primitives_storage_weight_reclaim::get_proof_size; use sp_core::{H160, U256}; pub const ARRAY_LIMIT: u32 = 1000; @@ -106,8 +105,6 @@ pub mod pallet { ContractMetadataAlreadySet, /// Contract not exist ContractNotExist, - /// The key lengths exceeds the maximum allowed - KeyTooLong, /// The symbol length exceeds the maximum allowed SymbolTooLong, /// The name length exceeds the maximum allowed @@ -128,231 +125,6 @@ pub mod pallet { ApprovalFailed, } - pub(crate) const MAX_ITEM_PROOF_SIZE: u64 = 30 * 1024; // 30 KB - pub(crate) const PROOF_SIZE_BUFFER: u64 = 100 * 1024; // 100 KB - - #[pallet::hooks] - impl Hooks> for Pallet { - fn on_idle(_n: BlockNumberFor, remaining_weight: Weight) -> Weight { - let proof_size_before: u64 = get_proof_size().unwrap_or(0); - let res = Pallet::::handle_migration(remaining_weight); - let proof_size_after: u64 = get_proof_size().unwrap_or(0); - let proof_size_diff = proof_size_after.saturating_sub(proof_size_before); - - Weight::from_parts(0, proof_size_diff) - .saturating_add(T::DbWeight::get().reads_writes(res.reads, res.writes)) - } - } - - #[derive(Default, Clone, PartialEq, Eq, Encode, Decode, Debug)] - pub(crate) struct ReadWriteOps { - pub reads: u64, - pub writes: u64, - } - - impl ReadWriteOps { - pub fn new() -> Self { - Self { - reads: 0, - writes: 0, - } - } - - pub fn add_one_read(&mut self) { - self.reads += 1; - } - - pub fn add_one_write(&mut self) { - self.writes += 1; - } - - pub fn add_reads(&mut self, reads: u64) { - self.reads += reads; - } - - pub fn add_writes(&mut self, writes: u64) { - self.writes += writes; - } - } - - #[derive(Clone)] - struct StateMigrationResult { - last_key: Option, - error: Option<&'static str>, - migrated: u64, - reads: u64, - writes: u64, - } - - enum NextKeyResult { - NextKey(StorageKey), - NoMoreKeys, - Error(&'static str), - } - - impl Pallet { - /// Handle the migration of the storage keys, returns the number of read and write operations - pub(crate) fn handle_migration(remaining_weight: Weight) -> ReadWriteOps { - let mut read_write_ops = ReadWriteOps::new(); - - // maximum number of items that can be migrated in one block - let migration_limit = remaining_weight - .proof_size() - .saturating_sub(PROOF_SIZE_BUFFER) - .saturating_div(MAX_ITEM_PROOF_SIZE); - - if migration_limit == 0 { - return read_write_ops; - } - - let (status, mut migrated_keys) = StateMigrationStatusValue::::get(); - read_write_ops.add_one_read(); - - let next_key = match &status { - StateMigrationStatus::NotStarted => Default::default(), - StateMigrationStatus::Started(storage_key) => { - let (reads, next_key_result) = Pallet::::get_next_key(storage_key); - read_write_ops.add_reads(reads); - match next_key_result { - NextKeyResult::NextKey(next_key) => next_key, - NextKeyResult::NoMoreKeys => { - StateMigrationStatusValue::::put(( - StateMigrationStatus::Complete, - migrated_keys, - )); - read_write_ops.add_one_write(); - return read_write_ops; - } - NextKeyResult::Error(e) => { - StateMigrationStatusValue::::put(( - StateMigrationStatus::Error( - e.as_bytes().to_vec().try_into().unwrap_or_default(), - ), - migrated_keys, - )); - read_write_ops.add_one_write(); - return read_write_ops; - } - } - } - StateMigrationStatus::Complete | StateMigrationStatus::Error(_) => { - return read_write_ops; - } - }; - - let res = Pallet::::migrate_keys(next_key, migration_limit); - migrated_keys += res.migrated; - read_write_ops.add_reads(res.reads); - read_write_ops.add_writes(res.writes); - - match (res.last_key, res.error) { - (None, None) => { - StateMigrationStatusValue::::put(( - StateMigrationStatus::Complete, - migrated_keys, - )); - read_write_ops.add_one_write(); - } - // maybe we should store the previous key in the storage as well - (_, Some(e)) => { - StateMigrationStatusValue::::put(( - StateMigrationStatus::Error( - e.as_bytes().to_vec().try_into().unwrap_or_default(), - ), - migrated_keys, - )); - read_write_ops.add_one_write(); - } - (Some(key), None) => { - StateMigrationStatusValue::::put(( - StateMigrationStatus::Started(key), - migrated_keys, - )); - read_write_ops.add_one_write(); - } - } - - read_write_ops - } - - /// Tries to get the next key in the storage, returns None if there are no more keys to migrate. - /// Returns an error if the key is too long. - fn get_next_key(key: &StorageKey) -> (u64, NextKeyResult) { - if let Some(next) = sp_io::storage::next_key(key) { - let next: Result = next.try_into(); - match next { - Ok(next_key) => { - if next_key.as_slice() == sp_core::storage::well_known_keys::CODE { - let (reads, next_key_res) = Pallet::::get_next_key(&next_key); - return (1 + reads, next_key_res); - } - (1, NextKeyResult::NextKey(next_key)) - } - Err(_) => (1, NextKeyResult::Error("Key too long")), - } - } else { - (1, NextKeyResult::NoMoreKeys) - } - } - - /// Migrate maximum of `limit` keys starting from `start`, returns the next key to migrate - /// Returns None if there are no more keys to migrate. - /// Returns an error if an error occurred during migration. - fn migrate_keys(start: StorageKey, limit: u64) -> StateMigrationResult { - let mut key = start; - let mut migrated = 0; - let mut next_key_reads = 0; - let mut writes = 0; - - while migrated < limit { - let data = sp_io::storage::get(&key); - if let Some(data) = data { - sp_io::storage::set(&key, &data); - writes += 1; - } - - migrated += 1; - - if migrated < limit { - let (reads, next_key_res) = Pallet::::get_next_key(&key); - next_key_reads += reads; - - match next_key_res { - NextKeyResult::NextKey(next_key) => { - key = next_key; - } - NextKeyResult::NoMoreKeys => { - return StateMigrationResult { - last_key: None, - error: None, - migrated, - reads: migrated + next_key_reads, - writes, - }; - } - NextKeyResult::Error(e) => { - return StateMigrationResult { - last_key: Some(key), - error: Some(e), - migrated, - reads: migrated + next_key_reads, - writes, - }; - } - }; - } - } - - StateMigrationResult { - last_key: Some(key), - error: None, - migrated, - reads: migrated + next_key_reads, - writes, - } - } - } - #[pallet::call] impl Pallet where diff --git a/pallets/moonbeam-lazy-migrations/src/mock.rs b/pallets/moonbeam-lazy-migrations/src/mock.rs index 7a0271766e..6aecf8164c 100644 --- a/pallets/moonbeam-lazy-migrations/src/mock.rs +++ b/pallets/moonbeam-lazy-migrations/src/mock.rs @@ -19,11 +19,8 @@ use super::*; use crate as pallet_moonbeam_lazy_migrations; use frame_support::traits::AsEnsureOriginWithArg; -use frame_support::{ - construct_runtime, parameter_types, - traits::Everything, - weights::{RuntimeDbWeight, Weight}, -}; +use frame_support::weights::constants::RocksDbWeight; +use frame_support::{construct_runtime, parameter_types, traits::Everything, weights::Weight}; use frame_system::{EnsureRoot, EnsureSigned}; use pallet_asset_manager::AssetRegistrar; use pallet_evm::{EnsureAddressNever, EnsureAddressRoot, FrameSystemAccountProvider}; @@ -62,16 +59,9 @@ parameter_types! { pub const SS58Prefix: u8 = 42; } -parameter_types! { - pub const MockDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 1_000_000, - write: 1, - }; -} - impl frame_system::Config for Test { type BaseCallFilter = Everything; - type DbWeight = MockDbWeight; + type DbWeight = RocksDbWeight; type RuntimeOrigin = RuntimeOrigin; type RuntimeTask = RuntimeTask; type Nonce = u64; diff --git a/pallets/moonbeam-lazy-migrations/src/tests.rs b/pallets/moonbeam-lazy-migrations/src/tests.rs index 2780651266..def5912724 100644 --- a/pallets/moonbeam-lazy-migrations/src/tests.rs +++ b/pallets/moonbeam-lazy-migrations/src/tests.rs @@ -20,7 +20,6 @@ use crate::{ mock::{AssetId, Balances}, }; use frame_support::traits::fungibles::approvals::Inspect; -use pallet_evm::AddressMapping; use sp_runtime::{BoundedVec, DispatchError}; use xcm::latest::Location; use { @@ -29,51 +28,18 @@ use { AccountId, AssetManager, Assets, ExtBuilder, LazyMigrations, MockAssetType, RuntimeOrigin, Test, ALITH, BOB, }, - Error, StateMigrationStatus, StateMigrationStatusValue, MAX_ITEM_PROOF_SIZE, - PROOF_SIZE_BUFFER, + Error, }, - frame_support::{assert_noop, assert_ok, traits::Hooks, weights::Weight}, - rlp::RlpStream, + frame_support::{assert_noop, assert_ok}, sp_core::{H160, H256}, sp_io::hashing::keccak_256, - sp_runtime::traits::Bounded, }; -// Helper function that calculates the contract address -pub fn contract_address(sender: H160, nonce: u64) -> H160 { - let mut rlp = RlpStream::new_list(2); - rlp.append(&sender); - rlp.append(&nonce); - - H160::from_slice(&keccak_256(&rlp.out())[12..]) -} - fn address_build(seed: u8) -> H160 { let address = H160::from(H256::from(keccak_256(&[seed; 32]))); address } -// Helper function that creates a `num_entries` storage entries for a contract -fn mock_contract_with_entries(seed: u8, nonce: u64, num_entries: u32) -> H160 { - let address = address_build(seed); - - let contract_address = contract_address(address, nonce); - let account_id = - ::AddressMapping::into_account_id(contract_address); - let _ = frame_system::Pallet::::inc_sufficients(&account_id); - - // Add num_entries storage entries to the suicided contract - for i in 0..num_entries { - pallet_evm::AccountStorages::::insert( - contract_address, - H256::from_low_u64_be(i as u64), - H256::from_low_u64_be(i as u64), - ); - } - - contract_address -} - fn create_dummy_contract_without_metadata(seed: u8) -> H160 { let address = address_build(seed); let dummy_code = vec![1, 2, 3]; @@ -118,272 +84,6 @@ fn test_create_contract_metadata_success_path() { }); } -fn count_keys_and_data_without_code() -> (u64, u64) { - let mut keys: u64 = 0; - let mut data: u64 = 0; - - let mut current_key: Option> = Some(Default::default()); - while let Some(key) = current_key { - if key.as_slice() == sp_core::storage::well_known_keys::CODE { - current_key = sp_io::storage::next_key(&key); - continue; - } - keys += 1; - if let Some(_) = sp_io::storage::get(&key) { - data += 1; - } - current_key = sp_io::storage::next_key(&key); - } - - (keys, data) -} - -fn weight_for(read: u64, write: u64) -> Weight { - ::DbWeight::get().reads_writes(read, write) -} - -fn rem_weight_for_entries(num_entries: u64) -> Weight { - let proof = PROOF_SIZE_BUFFER + num_entries * MAX_ITEM_PROOF_SIZE; - Weight::from_parts(u64::max_value(), proof) -} - -#[test] -fn test_state_migration_baseline() { - ExtBuilder::default().build().execute_with(|| { - assert_eq!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::NotStarted, 0) - ); - - let (keys, data) = count_keys_and_data_without_code(); - println!("Keys: {}, Data: {}", keys, data); - - let weight = LazyMigrations::on_idle(0, Weight::max_value()); - - // READS: 2 * keys + 2 (skipped and status) - // Next key requests = keys (we have first key as default which is not counted, and extra - // next_key request to check if we are done) - // - // 1 next key request for the skipped key ":code" - // Read requests = keys (we read each key once) - // 1 Read request for the StateMigrationStatusValue - - // WRITES: data + 1 (status) - // Write requests = data (we write each data once) - // 1 Write request for the StateMigrationStatusValue - assert_eq!(weight, weight_for(2 * keys + 2, data + 1)); - - assert_eq!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::Complete, keys) - ); - }) -} - -#[test] -fn test_state_migration_cannot_fit_any_item() { - ExtBuilder::default().build().execute_with(|| { - StateMigrationStatusValue::::put((StateMigrationStatus::NotStarted, 0)); - - let weight = LazyMigrations::on_idle(0, rem_weight_for_entries(0)); - - assert_eq!(weight, weight_for(0, 0)); - }) -} - -#[test] -fn test_state_migration_when_complete() { - ExtBuilder::default().build().execute_with(|| { - StateMigrationStatusValue::::put((StateMigrationStatus::Complete, 0)); - - let weight = LazyMigrations::on_idle(0, Weight::max_value()); - - // just reading the status of the migration - assert_eq!(weight, weight_for(1, 0)); - }) -} - -#[test] -fn test_state_migration_when_errored() { - ExtBuilder::default().build().execute_with(|| { - StateMigrationStatusValue::::put(( - StateMigrationStatus::Error("Error".as_bytes().to_vec().try_into().unwrap_or_default()), - 1, - )); - - let weight = LazyMigrations::on_idle(0, Weight::max_value()); - - // just reading the status of the migration - assert_eq!(weight, weight_for(1, 0)); - }) -} - -#[test] -fn test_state_migration_can_only_fit_one_item() { - ExtBuilder::default().build().execute_with(|| { - assert_eq!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::NotStarted, 0) - ); - - let data = sp_io::storage::get(Default::default()); - let weight = LazyMigrations::on_idle(0, rem_weight_for_entries(1)); - - let reads = 2; // key read + status read - let writes = 1 + data.map(|_| 1).unwrap_or(0); - assert_eq!(weight, weight_for(reads, writes)); - - assert!(matches!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::Started(_), 1) - )); - - let weight = LazyMigrations::on_idle(0, rem_weight_for_entries(3)); - let reads = 3 + 3 + 1; // next key + key read + status - let writes = 1 + 3; // status write + key write - assert_eq!(weight, weight_for(reads, writes)); - }) -} - -#[test] -fn test_state_migration_can_only_fit_three_item() { - ExtBuilder::default().build().execute_with(|| { - assert_eq!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::NotStarted, 0) - ); - - let weight = LazyMigrations::on_idle(0, rem_weight_for_entries(3)); - - // 2 next key requests (default key dons't need a next key request) + 1 status read - // 3 key reads. - // 1 status write + 2 key writes (default key doesn't have any data) - let reads = 6; - let writes = 3; - assert_eq!(weight, weight_for(reads, writes)); - - assert!(matches!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::Started(_), 3) - )); - }) -} - -#[test] -fn test_state_migration_can_fit_exactly_all_item() { - ExtBuilder::default().build().execute_with(|| { - assert_eq!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::NotStarted, 0) - ); - - let (keys, data) = count_keys_and_data_without_code(); - let weight = LazyMigrations::on_idle(0, rem_weight_for_entries(keys)); - - // we deduct the extra next_key request to check if we are done. - // will know if we are done on the next call to on_idle - assert_eq!(weight, weight_for(2 * keys + 1, data + 1)); - - assert!(matches!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::Started(_), n) if n == keys, - )); - - // after calling on_idle status is added to the storage so we need to account for that - let (new_keys, new_data) = count_keys_and_data_without_code(); - let (diff_keys, diff_data) = (new_keys - keys, new_data - data); - - let weight = LazyMigrations::on_idle(0, rem_weight_for_entries(1 + diff_keys)); - // (next_key + read) for each new key + status + next_key to check if we are done - let reads = diff_keys * 2 + 2; - let writes = 1 + diff_data; // status - assert_eq!(weight, weight_for(reads, writes)); - - assert!(matches!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::Complete, n) if n == new_keys, - )); - }) -} - -#[test] -fn test_state_migration_will_migrate_10_000_items() { - ExtBuilder::default().build().execute_with(|| { - assert_eq!( - StateMigrationStatusValue::::get(), - (StateMigrationStatus::NotStarted, 0) - ); - - for i in 0..100 { - mock_contract_with_entries(i as u8, i as u64, 100); - } - - StateMigrationStatusValue::::put((StateMigrationStatus::NotStarted, 0)); - - let (keys, data) = count_keys_and_data_without_code(); - - // assuming we can only fit 100 items at a time - - let mut total_weight: Weight = Weight::zero(); - let num_of_on_idle_calls = 200; - let entries_per_on_idle = 100; - let needed_on_idle_calls = (keys as f64 / entries_per_on_idle as f64).ceil() as u64; - - // Reads: - // Read status => num_of_on_idle_calls - // Read keys => keys - // Next keys => keys - 1 + 1 skip + 1 done check - // - // Writes: - // Write status => needed_on_idle_calls - // Write keys => data - let expected_reads = (keys - 1 + 2) + keys + num_of_on_idle_calls; - let expected_writes = data + needed_on_idle_calls; - - println!("Keys: {}, Data: {}", keys, data); - println!("entries_per_on_idle: {}", entries_per_on_idle); - println!("num_of_on_idle_calls: {}", num_of_on_idle_calls); - println!("needed_on_idle_calls: {}", needed_on_idle_calls); - println!( - "Expected Reads: {}, Expected Writes: {}", - expected_reads, expected_writes - ); - - for i in 1..=num_of_on_idle_calls { - let weight = LazyMigrations::on_idle(i, rem_weight_for_entries(entries_per_on_idle)); - total_weight = total_weight.saturating_add(weight); - - let status = StateMigrationStatusValue::::get(); - if i < needed_on_idle_calls { - let migrated_so_far = i * entries_per_on_idle; - assert!( - matches!(status, (StateMigrationStatus::Started(_), n) if n == migrated_so_far), - "Status: {:?} at call: #{} doesn't match Started", - status, - i, - ); - assert!(weight.all_gte(weight_for(1, 0))); - } else { - assert!( - matches!(status, (StateMigrationStatus::Complete, n) if n == keys), - "Status: {:?} at call: {} doesn't match Complete", - status, - i, - ); - if i == needed_on_idle_calls { - // last call to on_idle - assert!(weight.all_gte(weight_for(1, 0))); - } else { - // extra calls to on_idle, just status update check - assert_eq!(weight, weight_for(1, 0)); - } - } - } - - assert_eq!(total_weight, weight_for(expected_reads, expected_writes)); - }) -} - // Helper function to create a foreign asset with basic metadata fn create_old_foreign_asset(location: Location) -> AssetId { let asset = MockAssetType::Xcm(location.clone().into());