From 38e4b9e69ab737c658178a209e604bca34d2d822 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Tue, 4 Jun 2024 10:49:28 +0200 Subject: [PATCH 1/5] Set subxt-codegen as crates.io dependency --- tools/runtime-codegen/Cargo.lock | 7 ++++--- tools/runtime-codegen/Cargo.toml | 5 ++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/runtime-codegen/Cargo.lock b/tools/runtime-codegen/Cargo.lock index 7c2d65ec07..f57c27b934 100644 --- a/tools/runtime-codegen/Cargo.lock +++ b/tools/runtime-codegen/Cargo.lock @@ -2763,7 +2763,6 @@ dependencies = [ "color-eyre", "parity-scale-codec", "proc-macro2", - "quote", "subxt-codegen", "wasm-loader", "wasm-testbed", @@ -4070,7 +4069,8 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt-codegen" version = "0.37.0" -source = "git+https://github.com/paritytech/subxt?branch=master#6e51b683974664c876bbd72882b863a7355b4b24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d703dca0905cc5272d7cc27a4ac5f37dcaae7671acc7fef0200057cc8c317786" dependencies = [ "frame-metadata", "heck", @@ -4090,7 +4090,8 @@ dependencies = [ [[package]] name = "subxt-metadata" version = "0.37.0" -source = "git+https://github.com/paritytech/subxt?branch=master#6e51b683974664c876bbd72882b863a7355b4b24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "738be5890fdeff899bbffff4d9c0f244fe2a952fb861301b937e3aa40ebb55da" dependencies = [ "frame-metadata", "hashbrown 0.14.5", diff --git a/tools/runtime-codegen/Cargo.toml b/tools/runtime-codegen/Cargo.toml index 3787d173af..acc299258f 100644 --- a/tools/runtime-codegen/Cargo.toml +++ b/tools/runtime-codegen/Cargo.toml @@ -13,11 +13,10 @@ repository = "https://github.com/paritytech/parity-bridges-common.git" [dependencies] clap = { version = "4.5.3", features = ["derive", "cargo"] } -codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] } +codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] } color-eyre = "0.6.1" proc-macro2 = "1.0.56" -quote = { version = "1.0.33" } -subxt-codegen = { git = "https://github.com/paritytech/subxt", branch = "master", default-features = false, features = ["fetch-metadata"] } +subxt-codegen = { version = "0.37.0", features = ["fetch-metadata"] } wasm-loader = { git = "https://github.com/chevdor/subwasm", branch = "master" } wasm-testbed = { git = "https://github.com/chevdor/subwasm", branch = "master" } From 17845061ed02bfc543b029f92740117dcac84fca Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Tue, 4 Jun 2024 11:23:00 +0200 Subject: [PATCH 2/5] Improved runtime-codegen --- tools/runtime-codegen/Cargo.lock | 18 ++++++++++++++++++ tools/runtime-codegen/Cargo.toml | 2 ++ tools/runtime-codegen/src/main.rs | 9 ++++++--- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/tools/runtime-codegen/Cargo.lock b/tools/runtime-codegen/Cargo.lock index f57c27b934..c1aa58b519 100644 --- a/tools/runtime-codegen/Cargo.lock +++ b/tools/runtime-codegen/Cargo.lock @@ -1791,6 +1791,12 @@ dependencies = [ "hashbrown 0.14.5", ] +[[package]] +name = "indoc" +version = "2.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" + [[package]] name = "integer-sqrt" version = "0.1.5" @@ -2523,6 +2529,16 @@ dependencies = [ "syn 2.0.66", ] +[[package]] +name = "prettyplease" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +dependencies = [ + "proc-macro2", + "syn 2.0.66", +] + [[package]] name = "primitive-types" version = "0.12.2" @@ -2761,7 +2777,9 @@ version = "0.1.0" dependencies = [ "clap", "color-eyre", + "indoc", "parity-scale-codec", + "prettyplease", "proc-macro2", "subxt-codegen", "wasm-loader", diff --git a/tools/runtime-codegen/Cargo.toml b/tools/runtime-codegen/Cargo.toml index acc299258f..c9bd78b504 100644 --- a/tools/runtime-codegen/Cargo.toml +++ b/tools/runtime-codegen/Cargo.toml @@ -15,6 +15,8 @@ repository = "https://github.com/paritytech/parity-bridges-common.git" clap = { version = "4.5.3", features = ["derive", "cargo"] } codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] } color-eyre = "0.6.1" +indoc = "2.0.5" +prettyplease = "0.2.20" proc-macro2 = "1.0.56" subxt-codegen = { version = "0.37.0", features = ["fetch-metadata"] } wasm-loader = { git = "https://github.com/chevdor/subwasm", branch = "master" } diff --git a/tools/runtime-codegen/src/main.rs b/tools/runtime-codegen/src/main.rs index d7a722b09c..6458c86759 100644 --- a/tools/runtime-codegen/src/main.rs +++ b/tools/runtime-codegen/src/main.rs @@ -75,8 +75,11 @@ impl TypeSubstitute { } fn print_runtime(runtime_api: proc_macro2::TokenStream) { - println!( - "// Copyright 2019-2023 Parity Technologies (UK) Ltd. + let syn_tree = syn::parse_file(&runtime_api.to_string()).unwrap(); + let pretty_runtime_api = prettyplease::unparse(&syn_tree); + + indoc::printdoc!( + "// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -99,7 +102,7 @@ fn print_runtime(runtime_api: proc_macro2::TokenStream) { {} ", env::args().collect::>().join(" "), - runtime_api + pretty_runtime_api ); } From 0fa499b1e4ce93fde6c07ec75c40034c0457852a Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Tue, 4 Jun 2024 11:40:58 +0200 Subject: [PATCH 3/5] Updated script for regenerate all --- scripts/regenerate_runtimes.sh | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/scripts/regenerate_runtimes.sh b/scripts/regenerate_runtimes.sh index 0a97e2b6ce..8f317ff974 100755 --- a/scripts/regenerate_runtimes.sh +++ b/scripts/regenerate_runtimes.sh @@ -1,11 +1,17 @@ #!/bin/bash cd tools/runtime-codegen -cargo run --bin runtime-codegen -- --from-node-url "wss://rococo-bridge-hub-rpc.polkadot.io:443" > ../../relays/client-bridge-hub-rococo/src/codegen_runtime.rs -cargo run --bin runtime-codegen -- --from-node-url "wss://rococo-rpc.polkadot.io:443" > ../../relays/client-rococo/src/codegen_runtime.rs -cargo run --bin runtime-codegen -- --from-node-url "wss://westend-rpc.polkadot.io:443" > ../../relays/client-westend/src/codegen_runtime.rs -cargo run --bin runtime-codegen -- --from-node-url "wss://kusama-rpc.polkadot.io:443" > ../../relays/client-kusama/src/codegen_runtime.rs -cargo run --bin runtime-codegen -- --from-node-url "wss://rpc.polkadot.io:443" > ../../relays/client-polkadot/src/codegen_runtime.rs +cargo run --bin runtime-codegen -- --from-node-url "wss://rococo-bridge-hub-rpc.polkadot.io:443" > ../../relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs +cargo run --bin runtime-codegen -- --from-node-url "wss://rococo-rpc.polkadot.io:443" > ../../relay-clients/client-rococo/src/codegen_runtime.rs + +cargo run --bin runtime-codegen -- --from-node-url "wss://westend-rpc.polkadot.io:443" > ../../relay-clients/client-westend/src/codegen_runtime.rs +cargo run --bin runtime-codegen -- --from-node-url "wss://westend-bridge-hub-rpc.polkadot.io:443" > ../../relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs + +cargo run --bin runtime-codegen -- --from-node-url "wss://kusama-rpc.polkadot.io" > ../../relay-clients/client-kusama/src/codegen_runtime.rs +cargo run --bin runtime-codegen -- --from-node-url "wss://kusama-bridge-hub-rpc.polkadot.io" > ../../relay-clients/client-bridge-hub-kusama/src/codegen_runtime.rs + +cargo run --bin runtime-codegen -- --from-node-url "wss://dot-rpc.stakeworld.io" > ../../relay-clients/client-polkadot/src/codegen_runtime.rs +cargo run --bin runtime-codegen -- --from-node-url "wss://polkadot-bridge-hub-rpc.polkadot.io" > ../../relay-clients/client-bridge-hub-polkadot/src/codegen_runtime.rs # Uncomment to update other runtimes @@ -13,12 +19,16 @@ cargo run --bin runtime-codegen -- --from-node-url "wss://rpc.polkadot.io:443" > # TODO: there is a bug, probably needs to update subxt, generates: `::sp_runtime::generic::Header<::core::primitive::u32>` withtout second `Hash` parameter. # cargo run --bin runtime-codegen -- --from-wasm-file ../../../polkadot-sdk/target/release/wbuild/bridge-hub-rococo-runtime/bridge_hub_rococo_runtime.compact.compressed.wasm > ../../relays/client-bridge-hub-rococo/src/codegen_runtime.rs # cargo run --bin runtime-codegen -- --from-wasm-file ../../../polkadot-sdk/target/release/wbuild/bridge-hub-westend-runtime/bridge_hub_westend_runtime.compact.compressed.wasm > ../../relays/client-bridge-hub-westend/src/codegen_runtime.rs -# OR for production runtimes: -# cargo run --bin runtime-codegen -- --from-node-url wss://kusama-bridge-hub-rpc.polkadot.io/ > ../../relay-clients/client-bridge-hub-kusama/src/codegen_runtime.rs -# cargo run --bin runtime-codegen -- --from-node-url wss://polkadot-bridge-hub-rpc.polkadot.io/ > ../../relay-clients/client-bridge-hub-polkadot/src/codegen_runtime.rs cd - -cargo fmt --all +cargo +nightly fmt --all + +# **IMPORTANT**: due to [well-known issue](https://github.com/paritytech/parity-bridges-common/issues/2669) +find . -name codegen_runtime.rs -exec \ + sed -i 's/::sp_runtime::generic::Header<::core::primitive::u32>/::sp_runtime::generic::Header<::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256>/g' {} + + +cargo +nightly fmt --all + # Polkadot Bulletin Chain: # From c18529f2a29138474859d24c37c67e51651dfba2 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Tue, 4 Jun 2024 11:42:41 +0200 Subject: [PATCH 4/5] Regenerated all codegens by `./scripts/regenerate_runtimes.sh` --- .../src/codegen_runtime.rs | 1017 ++- .../src/codegen_runtime.rs | 2113 +++-- .../src/codegen_runtime.rs | 2638 +++--- .../client-bridge-hub-rococo/src/lib.rs | 7 +- .../src/codegen_runtime.rs | 2120 +++-- .../client-kusama/src/codegen_runtime.rs | 1903 +++-- .../client-polkadot/src/codegen_runtime.rs | 1622 ++-- .../client-rococo/src/codegen_runtime.rs | 7574 +++++++++++------ .../client-westend/src/codegen_runtime.rs | 6573 ++++++++++---- 9 files changed, 16178 insertions(+), 9389 deletions(-) diff --git a/relay-clients/client-bridge-hub-kusama/src/codegen_runtime.rs b/relay-clients/client-bridge-hub-kusama/src/codegen_runtime.rs index 76ef92c36b..e14cc0d3d0 100644 --- a/relay-clients/client-bridge-hub-kusama/src/codegen_runtime.rs +++ b/relay-clients/client-bridge-hub-kusama/src/codegen_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -33,23 +33,23 @@ pub mod api { use super::runtime_types; pub mod bounded_btree_set { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BoundedBTreeSet<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod bp_header_chain { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AuthoritySet { pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, @@ -57,19 +57,19 @@ pub mod api { )>, pub set_id: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HeaderChainError { #[codec(index = 0)] UnknownHeader, #[codec(index = 1)] StorageProof(runtime_types::bp_runtime::storage_proof::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeaderFinalityInfo<_0, _1> { pub finality_proof: _0, pub new_verification_context: ::core::option::Option<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredHeaderData<_0, _1> { pub number: _0, pub state_root: _1, @@ -77,49 +77,49 @@ pub mod api { } pub mod bp_messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DeliveredMessages { pub begin: ::core::primitive::u64, pub end: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundLaneData<_0> { pub relayers: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::bp_messages::UnrewardedRelayer<_0>, >, pub last_confirmed_nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundMessageDetails { pub dispatch_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LaneId(pub [::core::primitive::u8; 4usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageKey { pub lane_id: runtime_types::bp_messages::LaneId, pub nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MessagesOperatingMode { #[codec(index = 0)] Basic(runtime_types::bp_runtime::BasicOperatingMode), #[codec(index = 1)] RejectingOutboundMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundLaneData { pub oldest_unpruned_nonce: ::core::primitive::u64, pub latest_received_nonce: ::core::primitive::u64, pub latest_generated_nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundMessageDetails { pub nonce: ::core::primitive::u64, pub dispatch_weight: ::sp_weights::Weight, pub size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ReceivalResult<_0> { #[codec(index = 0)] Dispatched(runtime_types::bp_runtime::messages::MessageDispatchResult<_0>), @@ -130,7 +130,7 @@ pub mod api { #[codec(index = 3)] TooManyUnconfirmedMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReceivedMessages<_0> { pub lane: runtime_types::bp_messages::LaneId, pub receive_results: ::subxt::ext::subxt_core::alloc::vec::Vec<( @@ -138,12 +138,12 @@ pub mod api { runtime_types::bp_messages::ReceivalResult<_0>, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnrewardedRelayer<_0> { pub relayer: _0, pub messages: runtime_types::bp_messages::DeliveredMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VerificationError { #[codec(index = 0)] EmptyMessageProof, @@ -169,17 +169,17 @@ pub mod api { } pub mod bp_parachains { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BestParaHeadHash { pub at_relay_block_number: ::core::primitive::u32, pub head_hash: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaInfo { pub best_head_hash: runtime_types::bp_parachains::BestParaHeadHash, pub next_imported_hash_position: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaStoredHeaderData( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); @@ -188,20 +188,20 @@ pub mod api { use super::runtime_types; pub mod registration { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Registration<_0, _1> { pub valid_till: _0, pub stake: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RewardsAccountOwner { #[codec(index = 0)] ThisChain, #[codec(index = 1)] BridgedChain, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RewardsAccountParams { pub lane_id: runtime_types::bp_messages::LaneId, pub bridged_chain_id: [::core::primitive::u8; 4usize], @@ -212,7 +212,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageDispatchResult<_0> { pub unspent_weight: ::sp_weights::Weight, pub dispatch_level_result: _0, @@ -220,7 +220,7 @@ pub mod api { } pub mod storage_proof { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DuplicateNodesInProof, @@ -236,28 +236,28 @@ pub mod api { StorageValueDecodeFailed(runtime_types::bp_runtime::StrippableError), } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BasicOperatingMode { #[codec(index = 0)] Normal, #[codec(index = 1)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeaderId<_0, _1>(pub _1, pub _0); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OwnedBridgeModuleError { #[codec(index = 0)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StrippableError; } pub mod bridge_hub_common { use super::runtime_types; pub mod message_queue { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AggregateMessageOrigin { #[codec(index = 0)] Here, @@ -272,9 +272,9 @@ pub mod api { } pub mod bridge_hub_kusama_runtime { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BridgeRejectObsoleteHeadersAndMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginCaller { #[codec(index = 0)] system( @@ -289,9 +289,9 @@ pub mod api { #[codec(index = 3)] Void(runtime_types::sp_core::Void), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -340,7 +340,7 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Call), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeError { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Error), @@ -383,7 +383,7 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -430,9 +430,9 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Event), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionKeys { pub aura: runtime_types::sp_consensus_aura::sr25519::app_sr25519::Public, } @@ -441,7 +441,7 @@ pub mod api { use super::runtime_types; pub mod messages_xcm_extension { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum XcmBlobMessageDispatchResult { #[codec(index = 0)] InvalidPayload, @@ -453,9 +453,9 @@ pub mod api { } pub mod refund_relayer_extension { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RefundBridgedParachainMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RefundSignedExtensionAdapter<_0>(pub _0); } } @@ -463,10 +463,31 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_validation_data { data : runtime_types :: cumulus_primitives_parachain_inherent :: ParachainInherentData , } , # [codec (index = 1)] sudo_send_upward_message { message : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 2)] authorize_upgrade { code_hash : :: subxt :: ext :: subxt_core :: utils :: H256 , check_version : :: core :: primitive :: bool , } , # [codec (index = 3)] enact_authorized_upgrade { code : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: core :: primitive :: u8 > , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_validation_data { + data: runtime_types::cumulus_primitives_parachain_inherent::ParachainInherentData, + }, + #[codec(index = 1)] + sudo_send_upward_message { + message: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + }, + #[codec(index = 2)] + authorize_upgrade { + code_hash: ::subxt::ext::subxt_core::utils::H256, + check_version: ::core::primitive::bool, + }, + #[codec(index = 3)] + enact_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] OverlappingUpgrades, @@ -485,7 +506,7 @@ pub mod api { #[codec(index = 7)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ValidationFunctionStored, @@ -508,9 +529,24 @@ pub mod api { } pub mod relay_state_snapshot { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MessagingStateSnapshot { pub dmq_mqc_head : :: subxt :: ext :: subxt_core :: utils :: H256 , pub relay_dispatch_queue_remaining_capacity : runtime_types :: cumulus_pallet_parachain_system :: relay_state_snapshot :: RelayDispatchQueueRemainingCapacity , pub ingress_channels : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: AbridgedHrmpChannel ,) > , pub egress_channels : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: AbridgedHrmpChannel ,) > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MessagingStateSnapshot { + pub dmq_mqc_head: ::subxt::ext::subxt_core::utils::H256, + pub relay_dispatch_queue_remaining_capacity: runtime_types::cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity, + pub ingress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v6::AbridgedHrmpChannel, + ), + >, + pub egress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v6::AbridgedHrmpChannel, + ), + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RelayDispatchQueueRemainingCapacity { pub remaining_count: ::core::primitive::u32, pub remaining_size: ::core::primitive::u32, @@ -518,26 +554,47 @@ pub mod api { } pub mod unincluded_segment { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Ancestor < _0 > { pub used_bandwidth : runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: UsedBandwidth , pub para_head_hash : :: core :: option :: Option < _0 > , pub consumed_go_ahead_signal : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeGoAhead > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Ancestor<_0> { + pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, + pub para_head_hash: ::core::option::Option<_0>, + pub consumed_go_ahead_signal: ::core::option::Option< + runtime_types::polkadot_primitives::v6::UpgradeGoAhead, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannelUpdate { pub msg_count: ::core::primitive::u32, pub total_bytes: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct SegmentTracker < _0 > { pub used_bandwidth : runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: UsedBandwidth , pub hrmp_watermark : :: core :: option :: Option < :: core :: primitive :: u32 > , pub consumed_go_ahead_signal : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeGoAhead > , # [codec (skip)] pub __ignore : :: core :: marker :: PhantomData < _0 > } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct UsedBandwidth { pub ump_msg_count : :: core :: primitive :: u32 , pub ump_total_bytes : :: core :: primitive :: u32 , pub hrmp_outgoing : :: subxt :: ext :: subxt_core :: utils :: KeyedVec < runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: HrmpChannelUpdate > , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct SegmentTracker<_0> { + pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, + pub hrmp_watermark: ::core::option::Option<::core::primitive::u32>, + pub consumed_go_ahead_signal: ::core::option::Option< + runtime_types::polkadot_primitives::v6::UpgradeGoAhead, + >, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct UsedBandwidth { + pub ump_msg_count: ::core::primitive::u32, + pub ump_total_bytes: ::core::primitive::u32, + pub hrmp_outgoing: ::subxt::ext::subxt_core::utils::KeyedVec< + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate, + >, + } } } pub mod cumulus_pallet_xcm { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] InvalidFormat([::core::primitive::u8; 32usize]), @@ -549,7 +606,7 @@ pub mod api { runtime_types::staging_xcm::v4::traits::Outcome, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Relay, @@ -562,7 +619,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 1)] suspend_xcm_execution, @@ -575,7 +632,7 @@ pub mod api { #[codec(index = 5)] update_resume_threshold { new: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] BadQueueConfig, @@ -584,13 +641,13 @@ pub mod api { #[codec(index = 2)] AlreadyResumed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] XcmpMessageSent { message_hash: [::core::primitive::u8; 32usize] }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundChannelDetails { pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, pub state: runtime_types::cumulus_pallet_xcmp_queue::OutboundState, @@ -598,14 +655,14 @@ pub mod api { pub first_index: ::core::primitive::u16, pub last_index: ::core::primitive::u16, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OutboundState { #[codec(index = 0)] Ok, #[codec(index = 1)] Suspended, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueueConfigData { pub suspend_threshold: ::core::primitive::u32, pub drop_threshold: ::core::primitive::u32, @@ -614,7 +671,7 @@ pub mod api { } pub mod cumulus_primitives_core { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CollationInfo { pub upward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -634,9 +691,9 @@ pub mod api { } pub mod cumulus_primitives_parachain_inherent { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageQueueChain(pub ::subxt::ext::subxt_core::utils::H256); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParachainInherentData { pub validation_data: runtime_types::polkadot_primitives::v6::PersistedValidationData< @@ -661,7 +718,7 @@ pub mod api { } pub mod finality_grandpa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commit<_0, _1, _2, _3> { pub target_hash: _0, pub target_number: _1, @@ -669,12 +726,12 @@ pub mod api { runtime_types::finality_grandpa::SignedPrecommit<_0, _1, _2, _3>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SignedPrecommit<_0, _1, _2, _3> { pub precommit: runtime_types::finality_grandpa::Precommit<_0, _1>, pub signature: _2, @@ -685,7 +742,7 @@ pub mod api { use super::runtime_types; pub mod dispatch { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -694,26 +751,26 @@ pub mod api { #[codec(index = 2)] Mandatory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchInfo { pub weight: ::sp_weights::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, #[codec(index = 1)] No, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -727,7 +784,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -745,9 +802,7 @@ pub mod api { use super::runtime_types; pub mod misc { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -764,49 +819,49 @@ pub mod api { use super::runtime_types; pub mod check_genesis { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckMortality(pub ::sp_runtime::generic::Era); } pub mod check_non_zero_sender { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockWeights { pub base_block: ::sp_weights::Weight, pub max_block: ::sp_weights::Weight, @@ -814,7 +869,7 @@ pub mod api { runtime_types::frame_system::limits::WeightsPerClass, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeightsPerClass { pub base_extrinsic: ::sp_weights::Weight, pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>, @@ -824,7 +879,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] remark { @@ -873,7 +928,7 @@ pub mod api { code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidSpecName, @@ -892,7 +947,7 @@ pub mod api { #[codec(index = 7)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { @@ -921,7 +976,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -929,24 +984,24 @@ pub mod api { pub sufficients: ::core::primitive::u32, pub data: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CodeUpgradeAuthorization { pub code_hash: ::subxt::ext::subxt_core::utils::H256, pub check_version: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -960,7 +1015,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] transfer_allow_death { @@ -1031,7 +1086,7 @@ pub mod api { delta: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] VestingBalance, @@ -1058,7 +1113,7 @@ pub mod api { #[codec(index = 11)] DeltaZero, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Endowed { @@ -1148,41 +1203,41 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, pub frozen: _0, pub flags: runtime_types::pallet_balances::types::ExtraFlags, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AdjustmentDirection { #[codec(index = 0)] Increase, #[codec(index = 1)] Decrease, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ExtraFlags(pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -1191,7 +1246,7 @@ pub mod api { #[codec(index = 2)] All, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -1202,7 +1257,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit_finality_proof { @@ -1235,7 +1290,7 @@ pub mod api { operating_mode: runtime_types::bp_runtime::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidJustification, @@ -1254,7 +1309,7 @@ pub mod api { #[codec(index = 7)] BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] UpdatedBestFinalizedHeader { @@ -1274,7 +1329,7 @@ pub mod api { } pub mod storage_types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredAuthoritySet { pub authorities: runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::sp_consensus_grandpa::app::Public, @@ -1288,7 +1343,7 @@ pub mod api { use super::runtime_types; pub mod outbound_lane { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ReceivalConfirmationError { #[codec(index = 0)] FailedToConfirmFutureMessages, @@ -1302,22 +1357,98 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_owner { new_owner : :: core :: option :: Option < :: sp_core :: crypto :: AccountId32 > , } , # [codec (index = 1)] set_operating_mode { operating_mode : runtime_types :: bp_messages :: MessagesOperatingMode , } , # [codec (index = 2)] receive_messages_proof { relayer_id_at_bridged_chain : :: sp_core :: crypto :: AccountId32 , proof : :: bridge_runtime_common :: messages :: target :: FromBridgedChainMessagesProof < :: subxt :: ext :: subxt_core :: utils :: H256 > , messages_count : :: core :: primitive :: u32 , dispatch_weight : :: sp_weights :: Weight , } , # [codec (index = 3)] receive_messages_delivery_proof { proof : :: bridge_runtime_common :: messages :: source :: FromBridgedChainMessagesDeliveryProof < :: subxt :: ext :: subxt_core :: utils :: H256 > , relayers_state : :: bp_messages :: UnrewardedRelayersState , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_owner { + new_owner: ::core::option::Option<::sp_core::crypto::AccountId32>, + }, + #[codec(index = 1)] + set_operating_mode { + operating_mode: runtime_types::bp_messages::MessagesOperatingMode, + }, + #[codec(index = 2)] + receive_messages_proof { + relayer_id_at_bridged_chain: ::sp_core::crypto::AccountId32, + proof: ::bridge_runtime_common::messages::target::FromBridgedChainMessagesProof< + ::subxt::ext::subxt_core::utils::H256, + >, + messages_count: ::core::primitive::u32, + dispatch_weight: ::sp_weights::Weight, + }, + #[codec(index = 3)] + receive_messages_delivery_proof { + proof: ::bridge_runtime_common::messages::source::FromBridgedChainMessagesDeliveryProof< + ::subxt::ext::subxt_core::utils::H256, + >, + relayers_state: ::bp_messages::UnrewardedRelayersState, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { - # [codec (index = 0)] NotOperatingNormally , # [codec (index = 1)] InactiveOutboundLane , # [codec (index = 2)] MessageDispatchInactive , # [codec (index = 3)] MessageRejectedByChainVerifier (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 4)] MessageRejectedByPallet (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 5)] FailedToWithdrawMessageFee , # [codec (index = 6)] TooManyMessagesInTheProof , # [codec (index = 7)] InvalidMessagesProof , # [codec (index = 8)] InvalidMessagesDeliveryProof , # [codec (index = 9)] InvalidUnrewardedRelayersState , # [codec (index = 10)] InsufficientDispatchWeight , # [codec (index = 11)] MessageIsNotYetSent , # [codec (index = 12)] ReceivalConfirmation (runtime_types :: pallet_bridge_messages :: outbound_lane :: ReceivalConfirmationError ,) , # [codec (index = 13)] BridgeModule (runtime_types :: bp_runtime :: OwnedBridgeModuleError ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + NotOperatingNormally, + #[codec(index = 1)] + InactiveOutboundLane, + #[codec(index = 2)] + MessageDispatchInactive, + #[codec(index = 3)] + MessageRejectedByChainVerifier( + runtime_types::bp_messages::VerificationError, + ), + #[codec(index = 4)] + MessageRejectedByPallet( + runtime_types::bp_messages::VerificationError, + ), + #[codec(index = 5)] + FailedToWithdrawMessageFee, + #[codec(index = 6)] + TooManyMessagesInTheProof, + #[codec(index = 7)] + InvalidMessagesProof, + #[codec(index = 8)] + InvalidMessagesDeliveryProof, + #[codec(index = 9)] + InvalidUnrewardedRelayersState, + #[codec(index = 10)] + InsufficientDispatchWeight, + #[codec(index = 11)] + MessageIsNotYetSent, + #[codec(index = 12)] + ReceivalConfirmation( + runtime_types::pallet_bridge_messages::outbound_lane::ReceivalConfirmationError, + ), + #[codec(index = 13)] + BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] MessageAccepted { lane_id : runtime_types :: bp_messages :: LaneId , nonce : :: core :: primitive :: u64 , } , # [codec (index = 1)] MessagesReceived (:: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: bp_messages :: ReceivedMessages < runtime_types :: bridge_runtime_common :: messages_xcm_extension :: XcmBlobMessageDispatchResult > > ,) , # [codec (index = 2)] MessagesDelivered { lane_id : runtime_types :: bp_messages :: LaneId , messages : runtime_types :: bp_messages :: DeliveredMessages , } , } + #[codec(index = 0)] + MessageAccepted { + lane_id: runtime_types::bp_messages::LaneId, + nonce: ::core::primitive::u64, + }, + #[codec(index = 1)] + MessagesReceived( + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bp_messages::ReceivedMessages< + runtime_types::bridge_runtime_common::messages_xcm_extension::XcmBlobMessageDispatchResult, + >, + >, + ), + #[codec(index = 2)] + MessagesDelivered { + lane_id: runtime_types::bp_messages::LaneId, + messages: runtime_types::bp_messages::DeliveredMessages, + }, + } } } pub mod pallet_bridge_parachains { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit_parachain_heads { @@ -1336,7 +1467,7 @@ pub mod api { operating_mode: runtime_types::bp_runtime::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnknownRelayChainBlock, @@ -1347,7 +1478,7 @@ pub mod api { #[codec(index = 3)] BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] UntrackedParachainRejected { parachain: ::bp_polkadot_core::parachains::ParaId }, @@ -1382,7 +1513,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim_rewards { @@ -1393,7 +1524,7 @@ pub mod api { #[codec(index = 2)] deregister, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NoRewardForRelayer, @@ -1412,7 +1543,7 @@ pub mod api { #[codec(index = 7)] RegistrationIsStillActive, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] RewardRegistered { @@ -1451,7 +1582,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_invulnerables { @@ -1479,12 +1610,12 @@ pub mod api { target: ::sp_core::crypto::AccountId32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateInfo<_0, _1> { pub who: _0, pub deposit: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCandidates, @@ -1521,7 +1652,7 @@ pub mod api { #[codec(index = 16)] InvalidUnreserve, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewInvulnerables { @@ -1564,7 +1695,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] reap_page { @@ -1581,7 +1712,7 @@ pub mod api { weight_limit: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotReapable, @@ -1602,7 +1733,7 @@ pub mod api { #[codec(index = 8)] RecursiveDisallowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ProcessingFailed { @@ -1635,7 +1766,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -1645,12 +1776,12 @@ pub mod api { pub message_count: ::core::primitive::u64, pub size: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, @@ -1666,7 +1797,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_multi_threshold_1 { @@ -1714,7 +1845,7 @@ pub mod api { call_hash: [::core::primitive::u8; 32usize], }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MinimumThreshold, @@ -1745,7 +1876,7 @@ pub mod api { #[codec(index = 13)] AlreadyStored, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewMultisig { @@ -1781,14 +1912,14 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -1798,7 +1929,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_keys { @@ -1808,7 +1939,7 @@ pub mod api { #[codec(index = 1)] purge_keys, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidProof, @@ -1821,7 +1952,7 @@ pub mod api { #[codec(index = 4)] NoAccount, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, @@ -1832,7 +1963,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set { @@ -1846,7 +1977,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] TransactionFeePaid { @@ -1858,29 +1989,29 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FeeDetails<_0> { pub inclusion_fee: ::core::option::Option< runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, >, pub tip: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InclusionFee<_0> { pub base_fee: _0, pub len_fee: _0, pub adjusted_weight_fee: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDispatchInfo<_0, _1> { pub weight: _1, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub partial_fee: _0, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -1892,7 +2023,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] batch { @@ -1936,12 +2067,12 @@ pub mod api { weight: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCalls, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BatchInterrupted { @@ -1968,10 +2099,150 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] send { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , message : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedXcm > , } , # [codec (index = 1)] teleport_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , } , # [codec (index = 2)] reserve_transfer_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , } , # [codec (index = 3)] execute { message : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedXcm > , max_weight : :: sp_weights :: Weight , } , # [codec (index = 4)] force_xcm_version { location : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: staging_xcm :: v4 :: location :: Location > , version : :: core :: primitive :: u32 , } , # [codec (index = 5)] force_default_xcm_version { maybe_xcm_version : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 6)] force_subscribe_version_notify { location : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , } , # [codec (index = 7)] force_unsubscribe_version_notify { location : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , } , # [codec (index = 8)] limited_reserve_transfer_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , weight_limit : runtime_types :: xcm :: v3 :: WeightLimit , } , # [codec (index = 9)] limited_teleport_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , weight_limit : runtime_types :: xcm :: v3 :: WeightLimit , } , # [codec (index = 10)] force_suspension { suspended : :: core :: primitive :: bool , } , # [codec (index = 11)] transfer_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , weight_limit : runtime_types :: xcm :: v3 :: WeightLimit , } , # [codec (index = 12)] claim_assets { assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , } , # [codec (index = 13)] transfer_assets_using_type_and_then { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , assets_transfer_type : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: staging_xcm_executor :: traits :: asset_transfer :: TransferType > , remote_fees_id : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssetId > , fees_transfer_type : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: staging_xcm_executor :: traits :: asset_transfer :: TransferType > , custom_xcm_on_dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedXcm > , weight_limit : runtime_types :: xcm :: v3 :: WeightLimit , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + send { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + }, + #[codec(index = 1)] + teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 2)] + reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 3)] + execute { + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + max_weight: ::sp_weights::Weight, + }, + #[codec(index = 4)] + force_xcm_version { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, + version: ::core::primitive::u32, + }, + #[codec(index = 5)] + force_default_xcm_version { + maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 6)] + force_subscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 7)] + force_unsubscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 8)] + limited_reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 9)] + limited_teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 10)] + force_suspension { suspended: ::core::primitive::bool }, + #[codec(index = 11)] + transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 12)] + claim_assets { + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 13)] + transfer_assets_using_type_and_then { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + assets_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + remote_fees_id: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssetId, + >, + fees_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + custom_xcm_on_dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Unreachable, @@ -2024,7 +2295,7 @@ pub mod api { #[codec(index = 24)] LocalExecutionIncomplete, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, @@ -2161,14 +2432,14 @@ pub mod api { #[codec(index = 23)] VersionMigrationFinished { version: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Xcm(runtime_types::staging_xcm::v4::location::Location), #[codec(index = 1)] Response(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { @@ -2187,7 +2458,7 @@ pub mod api { #[codec(index = 2)] Ready { response: runtime_types::xcm::VersionedResponse, at: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, pub owner: runtime_types::xcm::VersionedLocation, @@ -2197,7 +2468,7 @@ pub mod api { ::core::primitive::u128, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -2216,17 +2487,17 @@ pub mod api { } pub mod polkadot_core_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -2236,20 +2507,20 @@ pub mod api { use super::runtime_types; pub mod primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeadData( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Id(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidationCode( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); @@ -2261,13 +2532,13 @@ pub mod api { use super::runtime_types; pub mod async_backing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AsyncBackingParams { pub max_candidate_depth: ::core::primitive::u32, pub allowed_ancestry_len: ::core::primitive::u32, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHostConfiguration { pub max_code_size: ::core::primitive::u32, pub max_head_data_size: ::core::primitive::u32, @@ -2281,7 +2552,7 @@ pub mod api { pub async_backing_params: runtime_types::polkadot_primitives::v6::async_backing::AsyncBackingParams, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, @@ -2290,7 +2561,7 @@ pub mod api { pub total_size: ::core::primitive::u32, pub mqc_head: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PersistedValidationData<_0, _1> { pub parent_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -2298,14 +2569,14 @@ pub mod api { pub relay_parent_storage_root: _0, pub max_pov_size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, #[codec(index = 1)] GoAhead, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeRestriction { #[codec(index = 0)] Present, @@ -2314,7 +2585,7 @@ pub mod api { } pub mod primitive_types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct U256(pub [::core::primitive::u64; 4usize]); } pub mod snowbridge_amcl { @@ -2323,14 +2594,14 @@ pub mod api { use super::runtime_types; pub mod big { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Big { pub w: [::core::primitive::i32; 14usize], } } pub mod ecp { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ECP { pub x: runtime_types::snowbridge_amcl::bls381::fp::FP, pub y: runtime_types::snowbridge_amcl::bls381::fp::FP, @@ -2339,7 +2610,7 @@ pub mod api { } pub mod fp { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FP { pub x: runtime_types::snowbridge_amcl::bls381::big::Big, pub xes: ::core::primitive::i32, @@ -2351,7 +2622,7 @@ pub mod api { use super::runtime_types; pub mod bls { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BlsError { #[codec(index = 0)] InvalidSignature, @@ -2367,7 +2638,7 @@ pub mod api { use super::runtime_types; pub mod deneb { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutionPayloadHeader { pub parent_hash: ::subxt::ext::subxt_core::utils::H256, pub fee_recipient: ::subxt::ext::subxt_core::utils::H160, @@ -2390,7 +2661,7 @@ pub mod api { pub excess_blob_gas: ::core::primitive::u64, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BeaconHeader { pub slot: ::core::primitive::u64, pub proposer_index: ::core::primitive::u64, @@ -2398,13 +2669,13 @@ pub mod api { pub state_root: ::subxt::ext::subxt_core::utils::H256, pub body_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CompactBeaconState { #[codec(compact)] pub slot: ::core::primitive::u64, pub block_roots_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CompactExecutionHeader { pub parent_hash: ::subxt::ext::subxt_core::utils::H256, #[codec(compact)] @@ -2412,14 +2683,14 @@ pub mod api { pub state_root: ::subxt::ext::subxt_core::utils::H256, pub receipts_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutionHeaderState { pub beacon_block_root: ::subxt::ext::subxt_core::utils::H256, pub beacon_slot: ::core::primitive::u64, pub block_hash: ::subxt::ext::subxt_core::utils::H256, pub block_number: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutionPayloadHeader { pub parent_hash: ::subxt::ext::subxt_core::utils::H256, pub fee_recipient: ::subxt::ext::subxt_core::utils::H160, @@ -2439,12 +2710,12 @@ pub mod api { pub transactions_root: ::subxt::ext::subxt_core::utils::H256, pub withdrawals_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Fork { pub version: [::core::primitive::u8; 4usize], pub epoch: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ForkVersions { pub genesis: runtime_types::snowbridge_beacon_primitives::types::Fork, pub altair: runtime_types::snowbridge_beacon_primitives::types::Fork, @@ -2452,24 +2723,24 @@ pub mod api { pub capella: runtime_types::snowbridge_beacon_primitives::types::Fork, pub deneb: runtime_types::snowbridge_beacon_primitives::types::Fork, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PublicKey(pub [::core::primitive::u8; 48usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 96usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncAggregate { pub sync_committee_bits: [::core::primitive::u8; 64usize], pub sync_committee_signature: runtime_types::snowbridge_beacon_primitives::types::Signature, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncCommittee { pub pubkeys: [runtime_types::snowbridge_beacon_primitives::types::PublicKey; 512usize], pub aggregate_pubkey: runtime_types::snowbridge_beacon_primitives::types::PublicKey, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncCommitteePrepared { pub root: ::subxt::ext::subxt_core::utils::H256, pub pubkeys: ::subxt::ext::subxt_core::alloc::boxed::Box< @@ -2477,20 +2748,28 @@ pub mod api { >, pub aggregate_pubkey: runtime_types::snowbridge_milagro_bls::keys::PublicKey, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedExecutionPayloadHeader { - # [codec (index = 0)] Capella (runtime_types :: snowbridge_beacon_primitives :: types :: ExecutionPayloadHeader ,) , # [codec (index = 1)] Deneb (runtime_types :: snowbridge_beacon_primitives :: types :: deneb :: ExecutionPayloadHeader ,) , } + #[codec(index = 0)] + Capella( + runtime_types::snowbridge_beacon_primitives::types::ExecutionPayloadHeader, + ), + #[codec(index = 1)] + Deneb( + runtime_types::snowbridge_beacon_primitives::types::deneb::ExecutionPayloadHeader, + ), + } } pub mod updates { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AncestryProof { pub header_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::utils::H256, >, pub finalized_block_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckpointUpdate { pub header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, pub current_sync_committee: @@ -2504,9 +2783,18 @@ pub mod api { ::subxt::ext::subxt_core::utils::H256, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ExecutionHeaderUpdate { pub header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub ancestry_proof : :: core :: option :: Option < runtime_types :: snowbridge_beacon_primitives :: updates :: AncestryProof > , pub execution_header : runtime_types :: snowbridge_beacon_primitives :: types :: VersionedExecutionPayloadHeader , pub execution_branch : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: subxt :: ext :: subxt_core :: utils :: H256 > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ExecutionHeaderUpdate { + pub header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub ancestry_proof: ::core::option::Option< + runtime_types::snowbridge_beacon_primitives::updates::AncestryProof, + >, + pub execution_header: runtime_types::snowbridge_beacon_primitives::types::VersionedExecutionPayloadHeader, + pub execution_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct NextSyncCommitteeUpdate { pub next_sync_committee: runtime_types::snowbridge_beacon_primitives::types::SyncCommittee, @@ -2514,15 +2802,30 @@ pub mod api { ::subxt::ext::subxt_core::utils::H256, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Update { pub attested_header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub sync_aggregate : runtime_types :: snowbridge_beacon_primitives :: types :: SyncAggregate , pub signature_slot : :: core :: primitive :: u64 , pub next_sync_committee_update : :: core :: option :: Option < runtime_types :: snowbridge_beacon_primitives :: updates :: NextSyncCommitteeUpdate > , pub finalized_header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub finality_branch : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: subxt :: ext :: subxt_core :: utils :: H256 > , pub block_roots_root : :: subxt :: ext :: subxt_core :: utils :: H256 , pub block_roots_branch : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: subxt :: ext :: subxt_core :: utils :: H256 > , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Update { + pub attested_header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub sync_aggregate: runtime_types::snowbridge_beacon_primitives::types::SyncAggregate, + pub signature_slot: ::core::primitive::u64, + pub next_sync_committee_update: ::core::option::Option< + runtime_types::snowbridge_beacon_primitives::updates::NextSyncCommitteeUpdate, + >, + pub finalized_header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub finality_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub block_roots_root: ::subxt::ext::subxt_core::utils::H256, + pub block_roots_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + } } } pub mod snowbridge_core { use super::runtime_types; pub mod inbound { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Log { pub address: ::subxt::ext::subxt_core::utils::H160, pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -2530,12 +2833,12 @@ pub mod api { >, pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Message { pub event_log: runtime_types::snowbridge_core::inbound::Log, pub proof: runtime_types::snowbridge_core::inbound::Proof, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Proof { pub block_hash: ::subxt::ext::subxt_core::utils::H256, pub tx_index: ::core::primitive::u32, @@ -2548,7 +2851,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VerificationError { #[codec(index = 0)] HeaderNotFound, @@ -2562,7 +2865,7 @@ pub mod api { } pub mod operating_mode { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BasicOperatingMode { #[codec(index = 0)] Normal, @@ -2574,7 +2877,7 @@ pub mod api { use super::runtime_types; pub mod v1 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AgentExecuteCommand { #[codec(index = 0)] TransferToken { @@ -2583,7 +2886,7 @@ pub mod api { amount: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Command { #[codec(index = 0)] AgentExecute { @@ -2635,13 +2938,13 @@ pub mod api { multiplier: runtime_types::snowbridge_core::pricing::UD60x18, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Initializer { pub params: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub maximum_required_gas: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OperatingMode { #[codec(index = 0)] Normal, @@ -2649,12 +2952,12 @@ pub mod api { RejectingOutboundMessages, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Fee<_0> { pub local: _0, pub remote: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SendError { #[codec(index = 0)] MessageTooLarge, @@ -2666,34 +2969,34 @@ pub mod api { } pub mod pricing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PricingParameters<_0> { pub exchange_rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, pub rewards: runtime_types::snowbridge_core::pricing::Rewards<_0>, pub fee_per_gas: runtime_types::primitive_types::U256, pub multiplier: runtime_types::sp_arithmetic::fixed_point::FixedU128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Rewards<_0> { pub local: _0, pub remote: runtime_types::primitive_types::U256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UD60x18(pub runtime_types::primitive_types::U256); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Channel { pub agent_id: ::subxt::ext::subxt_core::utils::H256, pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChannelId(pub [::core::primitive::u8; 32usize]); } pub mod snowbridge_milagro_bls { use super::runtime_types; pub mod keys { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PublicKey { pub point: runtime_types::snowbridge_amcl::bls381::ecp::ECP, } @@ -2701,7 +3004,7 @@ pub mod api { } pub mod snowbridge_outbound_queue_merkle_tree { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MerkleProof { pub root: ::subxt::ext::subxt_core::utils::H256, pub proof: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -2716,10 +3019,32 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] force_checkpoint { update : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: CheckpointUpdate > , } , # [codec (index = 1)] submit { update : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: Update > , } , # [codec (index = 2)] submit_execution_header { update : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: ExecutionHeaderUpdate > , } , # [codec (index = 3)] set_operating_mode { mode : runtime_types :: snowbridge_core :: operating_mode :: BasicOperatingMode , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + force_checkpoint { + update: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_beacon_primitives::updates::CheckpointUpdate, + >, + }, + #[codec(index = 1)] + submit { + update: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_beacon_primitives::updates::Update, + >, + }, + #[codec(index = 2)] + submit_execution_header { + update: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_beacon_primitives::updates::ExecutionHeaderUpdate, + >, + }, + #[codec(index = 3)] + set_operating_mode { + mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] SkippedSyncCommitteePeriod, @@ -2774,7 +3099,7 @@ pub mod api { #[codec(index = 24)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BeaconHeaderImported { @@ -2799,7 +3124,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit { message: runtime_types::snowbridge_core::inbound::Message }, @@ -2808,7 +3133,7 @@ pub mod api { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidGateway, @@ -2835,7 +3160,7 @@ pub mod api { runtime_types::snowbridge_router_primitives::inbound::ConvertMessageError, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] MessageReceived { @@ -2849,7 +3174,7 @@ pub mod api { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SendError { #[codec(index = 0)] NotApplicable, @@ -2872,14 +3197,14 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_operating_mode { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MessageTooLarge, @@ -2888,7 +3213,7 @@ pub mod api { #[codec(index = 2)] InvalidChannel, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] MessageQueued { id: ::subxt::ext::subxt_core::utils::H256 }, @@ -2910,7 +3235,7 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommittedMessage { pub channel_id: runtime_types::snowbridge_core::ChannelId, #[codec(compact)] @@ -2931,7 +3256,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] upgrade { @@ -2986,7 +3311,7 @@ pub mod api { register_token: runtime_types::primitive_types::U256, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] LocationConversionFailed, @@ -3011,7 +3336,7 @@ pub mod api { #[codec(index = 10)] InvalidUpgradeParameters, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Upgrade { @@ -3066,7 +3391,7 @@ pub mod api { use super::runtime_types; pub mod inbound { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConvertMessageError { #[codec(index = 0)] UnsupportedVersion, @@ -3078,16 +3403,16 @@ pub mod api { pub mod fixed_point { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct FixedU128(pub ::core::primitive::u128); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -3103,7 +3428,7 @@ pub mod api { use super::runtime_types; pub mod app_sr25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } } @@ -3112,27 +3437,27 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::ed25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); } } pub mod sp_consensus_slots { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Slot(pub ::core::primitive::u64); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -3143,44 +3468,44 @@ pub mod api { use super::runtime_types; pub mod crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } pub mod ecdsa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 65usize]); } pub mod ed25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 64usize]); } pub mod sr25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 64usize]); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueMetadata( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Void {} } pub mod sp_inherents { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckInherentsResult { pub okay: ::core::primitive::bool, pub fatal_error: ::core::primitive::bool, pub errors: runtime_types::sp_inherents::InherentData, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InherentData { pub data: ::subxt::ext::subxt_core::utils::KeyedVec< [::core::primitive::u8; 8usize], @@ -3194,7 +3519,7 @@ pub mod api { use super::runtime_types; pub mod block { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Block<_0, _1> { pub header: _0, pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, @@ -3202,7 +3527,7 @@ pub mod api { } pub mod digest { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DigestItem { #[codec(index = 6)] PreRuntime( @@ -3228,7 +3553,7 @@ pub mod api { } pub mod transaction_validity { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum InvalidTransaction { #[codec(index = 0)] Call, @@ -3253,7 +3578,7 @@ pub mod api { #[codec(index = 10)] BadSigner, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionSource { #[codec(index = 0)] InBlock, @@ -3262,14 +3587,14 @@ pub mod api { #[codec(index = 2)] External, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionValidityError { #[codec(index = 0)] Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), #[codec(index = 1)] Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UnknownTransaction { #[codec(index = 0)] CannotLookup, @@ -3278,7 +3603,7 @@ pub mod api { #[codec(index = 2)] Custom(::core::primitive::u8), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidTransaction { pub priority: ::core::primitive::u64, pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -3291,7 +3616,7 @@ pub mod api { pub propagate: ::core::primitive::bool, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchError { #[codec(index = 0)] Other, @@ -3322,12 +3647,12 @@ pub mod api { #[codec(index = 13)] RootNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiSignature { #[codec(index = 0)] Ed25519(runtime_types::sp_core::ed25519::Signature), @@ -3336,7 +3661,7 @@ pub mod api { #[codec(index = 2)] Ecdsa(runtime_types::sp_core::ecdsa::Signature), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -3359,7 +3684,7 @@ pub mod api { #[codec(index = 9)] Blocked, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -3371,7 +3696,7 @@ pub mod api { use super::runtime_types; pub mod storage_proof { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StorageProof { pub trie_nodes: ::subxt::ext::subxt_core::alloc::vec::Vec< ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -3381,7 +3706,7 @@ pub mod api { } pub mod sp_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeVersion { pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, @@ -3398,7 +3723,7 @@ pub mod api { } pub mod sp_weights { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -3408,7 +3733,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} } } @@ -3418,7 +3743,7 @@ pub mod api { use super::runtime_types; pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v3::junctions::Junctions, @@ -3429,21 +3754,21 @@ pub mod api { use super::runtime_types; pub mod asset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Asset { pub id: runtime_types::staging_xcm::v4::asset::AssetId, pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetFilter { #[codec(index = 0)] Definite(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 1)] Wild(runtime_types::staging_xcm::v4::asset::WildAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AssetId(pub runtime_types::staging_xcm::v4::location::Location); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -3458,20 +3783,20 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Assets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::staging_xcm::v4::asset::Asset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildAsset { #[codec(index = 0)] All, @@ -3490,7 +3815,7 @@ pub mod api { count: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, @@ -3500,7 +3825,7 @@ pub mod api { } pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -3545,7 +3870,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -3579,7 +3904,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -3603,7 +3928,7 @@ pub mod api { } pub mod location { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Location { pub parents: ::core::primitive::u8, pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, @@ -3611,7 +3936,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Outcome { #[codec(index = 0)] Complete { used: ::sp_weights::Weight }, @@ -3624,7 +3949,7 @@ pub mod api { Error { error: runtime_types::xcm::v3::traits::Error }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), @@ -3833,7 +4158,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -3850,14 +4175,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v4::location::Location, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -3881,7 +4206,7 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::staging_xcm::v4::Instruction, @@ -3895,7 +4220,7 @@ pub mod api { use super::runtime_types; pub mod asset_transfer { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransferType { #[codec(index = 0)] Teleport, @@ -3913,7 +4238,7 @@ pub mod api { use super::runtime_types; pub mod double_encoded { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DoubleEncoded { pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } @@ -3922,7 +4247,7 @@ pub mod api { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -3963,14 +4288,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -3987,39 +4312,39 @@ pub mod api { #[codec(index = 6)] Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v2::multiasset::MultiAsset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -4032,7 +4357,7 @@ pub mod api { } pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -4095,7 +4420,7 @@ pub mod api { runtime_types::xcm::v2::junction::Junction, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -4103,7 +4428,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -4159,7 +4484,7 @@ pub mod api { WeightNotComputable, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -4186,7 +4511,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -4217,7 +4542,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -4357,7 +4682,7 @@ pub mod api { #[codec(index = 27)] UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] Any, @@ -4372,7 +4697,7 @@ pub mod api { #[codec(index = 3)] Kusama, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginKind { #[codec(index = 0)] Native, @@ -4383,7 +4708,7 @@ pub mod api { #[codec(index = 3)] Xcm, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -4399,14 +4724,14 @@ pub mod api { #[codec(index = 3)] Version(::core::primitive::u32), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(#[codec(compact)] ::core::primitive::u64), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v2::Instruction, @@ -4417,7 +4742,7 @@ pub mod api { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -4440,7 +4765,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -4471,7 +4796,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -4513,7 +4838,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -4547,7 +4872,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -4613,14 +4938,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] Abstract([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -4635,39 +4960,39 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v3::multiasset::MultiAsset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -4689,7 +5014,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -4773,7 +5098,7 @@ pub mod api { ExceedsStackLimit, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -4984,7 +5309,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -5001,7 +5326,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -5018,14 +5343,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -5049,28 +5374,28 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(::sp_weights::Weight), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v3::Instruction, >, ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::AssetId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -5079,7 +5404,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::Assets), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), @@ -5088,7 +5413,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), @@ -5097,7 +5422,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Response), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm), diff --git a/relay-clients/client-bridge-hub-polkadot/src/codegen_runtime.rs b/relay-clients/client-bridge-hub-polkadot/src/codegen_runtime.rs index 26dd02291f..4390607043 100644 --- a/relay-clients/client-bridge-hub-polkadot/src/codegen_runtime.rs +++ b/relay-clients/client-bridge-hub-polkadot/src/codegen_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -17,7 +17,7 @@ //! Autogenerated runtime API //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen //! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url -//! wss://polkadot-bridge-hub-rpc.polkadot.io/ +//! wss://polkadot-bridge-hub-rpc.polkadot.io #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] @@ -33,43 +33,43 @@ pub mod api { use super::runtime_types; pub mod bounded_btree_set { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedBTreeSet<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedBTreeSet<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct WeakBoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod bp_header_chain { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AuthoritySet { - pub authorities: ::std::vec::Vec<( + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, pub set_id: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HeaderChainError { #[codec(index = 0)] UnknownHeader, #[codec(index = 1)] StorageProof(runtime_types::bp_runtime::storage_proof::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeaderFinalityInfo<_0, _1> { pub finality_proof: _0, pub new_verification_context: ::core::option::Option<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredHeaderData<_0, _1> { pub number: _0, pub state_root: _1, @@ -77,47 +77,49 @@ pub mod api { } pub mod bp_messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DeliveredMessages { pub begin: ::core::primitive::u64, pub end: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundLaneData<_0> { - pub relayers: ::std::vec::Vec>, + pub relayers: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bp_messages::UnrewardedRelayer<_0>, + >, pub last_confirmed_nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundMessageDetails { pub dispatch_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LaneId(pub [::core::primitive::u8; 4usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageKey { pub lane_id: runtime_types::bp_messages::LaneId, pub nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MessagesOperatingMode { #[codec(index = 0)] Basic(runtime_types::bp_runtime::BasicOperatingMode), #[codec(index = 1)] RejectingOutboundMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundLaneData { pub oldest_unpruned_nonce: ::core::primitive::u64, pub latest_received_nonce: ::core::primitive::u64, pub latest_generated_nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundMessageDetails { pub nonce: ::core::primitive::u64, pub dispatch_weight: ::sp_weights::Weight, pub size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ReceivalResult<_0> { #[codec(index = 0)] Dispatched(runtime_types::bp_runtime::messages::MessageDispatchResult<_0>), @@ -128,20 +130,20 @@ pub mod api { #[codec(index = 3)] TooManyUnconfirmedMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReceivedMessages<_0> { pub lane: runtime_types::bp_messages::LaneId, - pub receive_results: ::std::vec::Vec<( + pub receive_results: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::core::primitive::u64, runtime_types::bp_messages::ReceivalResult<_0>, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnrewardedRelayer<_0> { pub relayer: _0, pub messages: runtime_types::bp_messages::DeliveredMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VerificationError { #[codec(index = 0)] EmptyMessageProof, @@ -167,37 +169,39 @@ pub mod api { } pub mod bp_parachains { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BestParaHeadHash { pub at_relay_block_number: ::core::primitive::u32, - pub head_hash: ::subxt::utils::H256, + pub head_hash: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaInfo { pub best_head_hash: runtime_types::bp_parachains::BestParaHeadHash, pub next_imported_hash_position: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParaStoredHeaderData(pub ::std::vec::Vec<::core::primitive::u8>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ParaStoredHeaderData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } pub mod bp_relayers { use super::runtime_types; pub mod registration { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Registration<_0, _1> { pub valid_till: _0, pub stake: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RewardsAccountOwner { #[codec(index = 0)] ThisChain, #[codec(index = 1)] BridgedChain, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RewardsAccountParams { pub lane_id: runtime_types::bp_messages::LaneId, pub bridged_chain_id: [::core::primitive::u8; 4usize], @@ -208,7 +212,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageDispatchResult<_0> { pub unspent_weight: ::sp_weights::Weight, pub dispatch_level_result: _0, @@ -216,7 +220,7 @@ pub mod api { } pub mod storage_proof { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DuplicateNodesInProof, @@ -232,28 +236,28 @@ pub mod api { StorageValueDecodeFailed(runtime_types::bp_runtime::StrippableError), } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BasicOperatingMode { #[codec(index = 0)] Normal, #[codec(index = 1)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeaderId<_0, _1>(pub _1, pub _0); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OwnedBridgeModuleError { #[codec(index = 0)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StrippableError; } pub mod bridge_hub_common { use super::runtime_types; pub mod message_queue { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AggregateMessageOrigin { #[codec(index = 0)] Here, @@ -268,9 +272,9 @@ pub mod api { } pub mod bridge_hub_polkadot_runtime { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BridgeRejectObsoleteHeadersAndMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginCaller { #[codec(index = 0)] system( @@ -285,9 +289,9 @@ pub mod api { #[codec(index = 3)] Void(runtime_types::sp_core::Void), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -338,7 +342,7 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Call), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeError { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Error), @@ -381,7 +385,7 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -430,9 +434,9 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Event), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionKeys { pub aura: runtime_types::sp_consensus_aura::sr25519::app_sr25519::Public, } @@ -441,7 +445,7 @@ pub mod api { use super::runtime_types; pub mod messages_xcm_extension { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum XcmBlobMessageDispatchResult { #[codec(index = 0)] InvalidPayload, @@ -453,9 +457,9 @@ pub mod api { } pub mod refund_relayer_extension { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RefundBridgedParachainMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RefundSignedExtensionAdapter<_0>(pub _0); } } @@ -463,9 +467,9 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] StartedExport, @@ -490,7 +494,7 @@ pub mod api { #[codec(index = 10)] Completed { error: ::core::primitive::bool }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MigrationState { #[codec(index = 0)] NotStarted, @@ -519,10 +523,31 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_validation_data { data : runtime_types :: cumulus_primitives_parachain_inherent :: ParachainInherentData , } , # [codec (index = 1)] sudo_send_upward_message { message : :: std :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 2)] authorize_upgrade { code_hash : :: subxt :: utils :: H256 , check_version : :: core :: primitive :: bool , } , # [codec (index = 3)] enact_authorized_upgrade { code : :: std :: vec :: Vec < :: core :: primitive :: u8 > , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_validation_data { + data: runtime_types::cumulus_primitives_parachain_inherent::ParachainInherentData, + }, + #[codec(index = 1)] + sudo_send_upward_message { + message: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + }, + #[codec(index = 2)] + authorize_upgrade { + code_hash: ::subxt::ext::subxt_core::utils::H256, + check_version: ::core::primitive::bool, + }, + #[codec(index = 3)] + enact_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] OverlappingUpgrades, @@ -541,7 +566,7 @@ pub mod api { #[codec(index = 7)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ValidationFunctionStored, @@ -554,7 +579,7 @@ pub mod api { #[codec(index = 4)] DownwardMessagesProcessed { weight_used: ::sp_weights::Weight, - dmq_head: ::subxt::utils::H256, + dmq_head: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 5)] UpwardMessageSent { @@ -564,9 +589,24 @@ pub mod api { } pub mod relay_state_snapshot { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MessagingStateSnapshot { pub dmq_mqc_head : :: subxt :: utils :: H256 , pub relay_dispatch_queue_remaining_capacity : runtime_types :: cumulus_pallet_parachain_system :: relay_state_snapshot :: RelayDispatchQueueRemainingCapacity , pub ingress_channels : :: std :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: AbridgedHrmpChannel ,) > , pub egress_channels : :: std :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: AbridgedHrmpChannel ,) > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MessagingStateSnapshot { + pub dmq_mqc_head: ::subxt::ext::subxt_core::utils::H256, + pub relay_dispatch_queue_remaining_capacity: runtime_types::cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity, + pub ingress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v6::AbridgedHrmpChannel, + ), + >, + pub egress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v6::AbridgedHrmpChannel, + ), + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RelayDispatchQueueRemainingCapacity { pub remaining_count: ::core::primitive::u32, pub remaining_size: ::core::primitive::u32, @@ -574,26 +614,47 @@ pub mod api { } pub mod unincluded_segment { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Ancestor < _0 > { pub used_bandwidth : runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: UsedBandwidth , pub para_head_hash : :: core :: option :: Option < _0 > , pub consumed_go_ahead_signal : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeGoAhead > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Ancestor<_0> { + pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, + pub para_head_hash: ::core::option::Option<_0>, + pub consumed_go_ahead_signal: ::core::option::Option< + runtime_types::polkadot_primitives::v6::UpgradeGoAhead, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannelUpdate { pub msg_count: ::core::primitive::u32, pub total_bytes: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct SegmentTracker < _0 > { pub used_bandwidth : runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: UsedBandwidth , pub hrmp_watermark : :: core :: option :: Option < :: core :: primitive :: u32 > , pub consumed_go_ahead_signal : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeGoAhead > , # [codec (skip)] pub __subxt_unused_type_params : :: core :: marker :: PhantomData < _0 > } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct UsedBandwidth { pub ump_msg_count : :: core :: primitive :: u32 , pub ump_total_bytes : :: core :: primitive :: u32 , pub hrmp_outgoing : :: subxt :: utils :: KeyedVec < runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: HrmpChannelUpdate > , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct SegmentTracker<_0> { + pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, + pub hrmp_watermark: ::core::option::Option<::core::primitive::u32>, + pub consumed_go_ahead_signal: ::core::option::Option< + runtime_types::polkadot_primitives::v6::UpgradeGoAhead, + >, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct UsedBandwidth { + pub ump_msg_count: ::core::primitive::u32, + pub ump_total_bytes: ::core::primitive::u32, + pub hrmp_outgoing: ::subxt::ext::subxt_core::utils::KeyedVec< + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate, + >, + } } } pub mod cumulus_pallet_xcm { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] InvalidFormat([::core::primitive::u8; 32usize]), @@ -605,7 +666,7 @@ pub mod api { runtime_types::staging_xcm::v4::traits::Outcome, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Relay, @@ -618,7 +679,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 1)] suspend_xcm_execution, @@ -631,7 +692,7 @@ pub mod api { #[codec(index = 5)] update_resume_threshold { new: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] BadQueueConfig, @@ -640,13 +701,13 @@ pub mod api { #[codec(index = 2)] AlreadyResumed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] XcmpMessageSent { message_hash: [::core::primitive::u8; 32usize] }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundChannelDetails { pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, pub state: runtime_types::cumulus_pallet_xcmp_queue::OutboundState, @@ -654,14 +715,14 @@ pub mod api { pub first_index: ::core::primitive::u16, pub last_index: ::core::primitive::u16, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OutboundState { #[codec(index = 0)] Ok, #[codec(index = 1)] Suspended, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueueConfigData { pub suspend_threshold: ::core::primitive::u32, pub drop_threshold: ::core::primitive::u32, @@ -670,10 +731,12 @@ pub mod api { } pub mod cumulus_primitives_core { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CollationInfo { - pub upward_messages: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, - pub horizontal_messages: ::std::vec::Vec< + pub upward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub horizontal_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::OutboundHrmpMessage< runtime_types::polkadot_parachain_primitives::primitives::Id, >, @@ -688,24 +751,24 @@ pub mod api { } pub mod cumulus_primitives_parachain_inherent { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MessageQueueChain(pub ::subxt::utils::H256); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MessageQueueChain(pub ::subxt::ext::subxt_core::utils::H256); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParachainInherentData { pub validation_data: runtime_types::polkadot_primitives::v6::PersistedValidationData< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, pub relay_chain_state: runtime_types::sp_trie::storage_proof::StorageProof, - pub downward_messages: ::std::vec::Vec< + pub downward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundDownwardMessage< ::core::primitive::u32, >, >, - pub horizontal_messages: ::subxt::utils::KeyedVec< + pub horizontal_messages: ::subxt::ext::subxt_core::utils::KeyedVec< runtime_types::polkadot_parachain_primitives::primitives::Id, - ::std::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundHrmpMessage< ::core::primitive::u32, >, @@ -715,20 +778,20 @@ pub mod api { } pub mod finality_grandpa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commit<_0, _1, _2, _3> { pub target_hash: _0, pub target_number: _1, - pub precommits: ::std::vec::Vec< + pub precommits: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::finality_grandpa::SignedPrecommit<_0, _1, _2, _3>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SignedPrecommit<_0, _1, _2, _3> { pub precommit: runtime_types::finality_grandpa::Precommit<_0, _1>, pub signature: _2, @@ -739,7 +802,7 @@ pub mod api { use super::runtime_types; pub mod dispatch { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -748,26 +811,26 @@ pub mod api { #[codec(index = 2)] Mandatory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchInfo { pub weight: ::sp_weights::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, #[codec(index = 1)] No, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -781,7 +844,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -799,9 +862,7 @@ pub mod api { use super::runtime_types; pub mod misc { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -818,49 +879,49 @@ pub mod api { use super::runtime_types; pub mod check_genesis { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckMortality(pub ::sp_runtime::generic::Era); } pub mod check_non_zero_sender { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockWeights { pub base_block: ::sp_weights::Weight, pub max_block: ::sp_weights::Weight, @@ -868,7 +929,7 @@ pub mod api { runtime_types::frame_system::limits::WeightsPerClass, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeightsPerClass { pub base_extrinsic: ::sp_weights::Weight, pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>, @@ -878,40 +939,56 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - remark { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] - set_code { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 3)] - set_code_without_checks { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code_without_checks { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 4)] set_storage { - items: ::std::vec::Vec<( - ::std::vec::Vec<::core::primitive::u8>, - ::std::vec::Vec<::core::primitive::u8>, + items: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, }, #[codec(index = 5)] - kill_storage { keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>> }, + kill_storage { + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + }, #[codec(index = 6)] kill_prefix { - prefix: ::std::vec::Vec<::core::primitive::u8>, + prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] - remark_with_event { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark_with_event { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 9)] - authorize_upgrade { code_hash: ::subxt::utils::H256 }, + authorize_upgrade { code_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 10)] - authorize_upgrade_without_checks { code_hash: ::subxt::utils::H256 }, + authorize_upgrade_without_checks { + code_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 11)] - apply_authorized_upgrade { code: ::std::vec::Vec<::core::primitive::u8> }, + apply_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidSpecName, @@ -930,7 +1007,7 @@ pub mod api { #[codec(index = 7)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { @@ -948,15 +1025,18 @@ pub mod api { #[codec(index = 4)] KilledAccount { account: ::sp_core::crypto::AccountId32 }, #[codec(index = 5)] - Remarked { sender: ::sp_core::crypto::AccountId32, hash: ::subxt::utils::H256 }, + Remarked { + sender: ::sp_core::crypto::AccountId32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 6)] UpgradeAuthorized { - code_hash: ::subxt::utils::H256, + code_hash: ::subxt::ext::subxt_core::utils::H256, check_version: ::core::primitive::bool, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -964,24 +1044,24 @@ pub mod api { pub sufficients: ::core::primitive::u32, pub data: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CodeUpgradeAuthorization { - pub code_hash: ::subxt::utils::H256, + pub code_hash: ::subxt::ext::subxt_core::utils::H256, pub check_version: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, - pub topics: ::std::vec::Vec<_1>, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, - pub spec_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -995,42 +1075,67 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] transfer_allow_death { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 2)] force_transfer { - source: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 3)] transfer_keep_alive { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 4)] transfer_all { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] force_unreserve { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, amount: ::core::primitive::u128, }, #[codec(index = 6)] - upgrade_accounts { who: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, + upgrade_accounts { + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + }, #[codec(index = 8)] force_set_balance { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] new_free: ::core::primitive::u128, }, @@ -1041,7 +1146,7 @@ pub mod api { delta: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] VestingBalance, @@ -1068,7 +1173,7 @@ pub mod api { #[codec(index = 11)] DeltaZero, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Endowed { @@ -1158,41 +1263,41 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, pub frozen: _0, pub flags: runtime_types::pallet_balances::types::ExtraFlags, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AdjustmentDirection { #[codec(index = 0)] Increase, #[codec(index = 1)] Decrease, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ExtraFlags(pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -1201,7 +1306,7 @@ pub mod api { #[codec(index = 2)] All, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -1212,11 +1317,11 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit_finality_proof { - finality_target: ::std::boxed::Box< + finality_target: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_runtime::generic::Header< ::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256, @@ -1245,7 +1350,7 @@ pub mod api { operating_mode: runtime_types::bp_runtime::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidJustification, @@ -1264,12 +1369,12 @@ pub mod api { #[codec(index = 7)] BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] UpdatedBestFinalizedHeader { number: ::core::primitive::u32, - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, grandpa_info: runtime_types::bp_header_chain::HeaderFinalityInfo< ::bp_header_chain::justification::GrandpaJustification< ::sp_runtime::generic::Header< @@ -1284,7 +1389,7 @@ pub mod api { } pub mod storage_types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredAuthoritySet { pub authorities: runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::sp_consensus_grandpa::app::Public, @@ -1298,7 +1403,7 @@ pub mod api { use super::runtime_types; pub mod outbound_lane { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ReceivalConfirmationError { #[codec(index = 0)] FailedToConfirmFutureMessages, @@ -1312,29 +1417,106 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_owner { new_owner : :: core :: option :: Option < :: sp_core :: crypto :: AccountId32 > , } , # [codec (index = 1)] set_operating_mode { operating_mode : runtime_types :: bp_messages :: MessagesOperatingMode , } , # [codec (index = 2)] receive_messages_proof { relayer_id_at_bridged_chain : :: sp_core :: crypto :: AccountId32 , proof : :: bridge_runtime_common :: messages :: target :: FromBridgedChainMessagesProof < :: subxt :: utils :: H256 > , messages_count : :: core :: primitive :: u32 , dispatch_weight : :: sp_weights :: Weight , } , # [codec (index = 3)] receive_messages_delivery_proof { proof : :: bridge_runtime_common :: messages :: source :: FromBridgedChainMessagesDeliveryProof < :: subxt :: utils :: H256 > , relayers_state : :: bp_messages :: UnrewardedRelayersState , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_owner { + new_owner: ::core::option::Option<::sp_core::crypto::AccountId32>, + }, + #[codec(index = 1)] + set_operating_mode { + operating_mode: runtime_types::bp_messages::MessagesOperatingMode, + }, + #[codec(index = 2)] + receive_messages_proof { + relayer_id_at_bridged_chain: ::sp_core::crypto::AccountId32, + proof: ::bridge_runtime_common::messages::target::FromBridgedChainMessagesProof< + ::subxt::ext::subxt_core::utils::H256, + >, + messages_count: ::core::primitive::u32, + dispatch_weight: ::sp_weights::Weight, + }, + #[codec(index = 3)] + receive_messages_delivery_proof { + proof: ::bridge_runtime_common::messages::source::FromBridgedChainMessagesDeliveryProof< + ::subxt::ext::subxt_core::utils::H256, + >, + relayers_state: ::bp_messages::UnrewardedRelayersState, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { - # [codec (index = 0)] NotOperatingNormally , # [codec (index = 1)] InactiveOutboundLane , # [codec (index = 2)] MessageDispatchInactive , # [codec (index = 3)] MessageRejectedByChainVerifier (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 4)] MessageRejectedByPallet (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 5)] FailedToWithdrawMessageFee , # [codec (index = 6)] TooManyMessagesInTheProof , # [codec (index = 7)] InvalidMessagesProof , # [codec (index = 8)] InvalidMessagesDeliveryProof , # [codec (index = 9)] InvalidUnrewardedRelayersState , # [codec (index = 10)] InsufficientDispatchWeight , # [codec (index = 11)] MessageIsNotYetSent , # [codec (index = 12)] ReceivalConfirmation (runtime_types :: pallet_bridge_messages :: outbound_lane :: ReceivalConfirmationError ,) , # [codec (index = 13)] BridgeModule (runtime_types :: bp_runtime :: OwnedBridgeModuleError ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + NotOperatingNormally, + #[codec(index = 1)] + InactiveOutboundLane, + #[codec(index = 2)] + MessageDispatchInactive, + #[codec(index = 3)] + MessageRejectedByChainVerifier( + runtime_types::bp_messages::VerificationError, + ), + #[codec(index = 4)] + MessageRejectedByPallet( + runtime_types::bp_messages::VerificationError, + ), + #[codec(index = 5)] + FailedToWithdrawMessageFee, + #[codec(index = 6)] + TooManyMessagesInTheProof, + #[codec(index = 7)] + InvalidMessagesProof, + #[codec(index = 8)] + InvalidMessagesDeliveryProof, + #[codec(index = 9)] + InvalidUnrewardedRelayersState, + #[codec(index = 10)] + InsufficientDispatchWeight, + #[codec(index = 11)] + MessageIsNotYetSent, + #[codec(index = 12)] + ReceivalConfirmation( + runtime_types::pallet_bridge_messages::outbound_lane::ReceivalConfirmationError, + ), + #[codec(index = 13)] + BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] MessageAccepted { lane_id : runtime_types :: bp_messages :: LaneId , nonce : :: core :: primitive :: u64 , } , # [codec (index = 1)] MessagesReceived (:: std :: vec :: Vec < runtime_types :: bp_messages :: ReceivedMessages < runtime_types :: bridge_runtime_common :: messages_xcm_extension :: XcmBlobMessageDispatchResult > > ,) , # [codec (index = 2)] MessagesDelivered { lane_id : runtime_types :: bp_messages :: LaneId , messages : runtime_types :: bp_messages :: DeliveredMessages , } , } + #[codec(index = 0)] + MessageAccepted { + lane_id: runtime_types::bp_messages::LaneId, + nonce: ::core::primitive::u64, + }, + #[codec(index = 1)] + MessagesReceived( + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bp_messages::ReceivedMessages< + runtime_types::bridge_runtime_common::messages_xcm_extension::XcmBlobMessageDispatchResult, + >, + >, + ), + #[codec(index = 2)] + MessagesDelivered { + lane_id: runtime_types::bp_messages::LaneId, + messages: runtime_types::bp_messages::DeliveredMessages, + }, + } } } pub mod pallet_bridge_parachains { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit_parachain_heads { - at_relay_block: (::core::primitive::u32, ::subxt::utils::H256), - parachains: ::std::vec::Vec<( + at_relay_block: + (::core::primitive::u32, ::subxt::ext::subxt_core::utils::H256), + parachains: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::bp_polkadot_core::parachains::ParaId, - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, )>, parachain_heads_proof: ::bp_polkadot_core::parachains::ParaHeadsProof, }, @@ -1345,7 +1527,7 @@ pub mod api { operating_mode: runtime_types::bp_runtime::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnknownRelayChainBlock, @@ -1356,7 +1538,7 @@ pub mod api { #[codec(index = 3)] BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] UntrackedParachainRejected { parachain: ::bp_polkadot_core::parachains::ParaId }, @@ -1365,24 +1547,24 @@ pub mod api { #[codec(index = 2)] IncorrectParachainHeadHash { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, - actual_parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, + actual_parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] RejectedObsoleteParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 4)] RejectedLargeParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, parachain_head_size: ::core::primitive::u32, }, #[codec(index = 5)] UpdatedParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, } } @@ -1391,7 +1573,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim_rewards { @@ -1402,7 +1584,7 @@ pub mod api { #[codec(index = 2)] deregister, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NoRewardForRelayer, @@ -1421,7 +1603,7 @@ pub mod api { #[codec(index = 7)] RegistrationIsStillActive, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] RewardRegistered { @@ -1460,10 +1642,14 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - set_invulnerables { new: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, + set_invulnerables { + new: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + }, #[codec(index = 1)] set_desired_candidates { max: ::core::primitive::u32 }, #[codec(index = 2)] @@ -1484,12 +1670,12 @@ pub mod api { target: ::sp_core::crypto::AccountId32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateInfo<_0, _1> { pub who: _0, pub deposit: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCandidates, @@ -1526,11 +1712,13 @@ pub mod api { #[codec(index = 16)] InvalidUnreserve, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewInvulnerables { - invulnerables: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + invulnerables: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, #[codec(index = 1)] InvulnerableAdded { account_id: ::sp_core::crypto::AccountId32 }, @@ -1567,7 +1755,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] reap_page { @@ -1584,7 +1772,7 @@ pub mod api { weight_limit: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotReapable, @@ -1605,18 +1793,18 @@ pub mod api { #[codec(index = 8)] RecursiveDisallowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ProcessingFailed { - id: ::subxt::utils::H256, + id: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin, error: runtime_types::frame_support::traits::messages::ProcessMessageError, }, #[codec(index = 1)] Processed { - id: ::subxt::utils::H256, + id: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin, weight_used: ::sp_weights::Weight, @@ -1638,7 +1826,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -1648,12 +1836,12 @@ pub mod api { pub message_count: ::core::primitive::u64, pub size: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, @@ -1669,23 +1857,27 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_multi_threshold_1 { - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, - call: ::std::boxed::Box< + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_polkadot_runtime::RuntimeCall, >, }, #[codec(index = 1)] as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_polkadot_runtime::RuntimeCall, >, max_weight: ::sp_weights::Weight, @@ -1693,7 +1885,9 @@ pub mod api { #[codec(index = 2)] approve_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, @@ -1703,13 +1897,15 @@ pub mod api { #[codec(index = 3)] cancel_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MinimumThreshold, @@ -1740,7 +1936,7 @@ pub mod api { #[codec(index = 13)] AlreadyStored, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewMultisig { @@ -1776,14 +1972,14 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -1793,17 +1989,17 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_keys { keys: runtime_types::bridge_hub_polkadot_runtime::SessionKeys, - proof: ::std::vec::Vec<::core::primitive::u8>, + proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] purge_keys, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidProof, @@ -1816,7 +2012,7 @@ pub mod api { #[codec(index = 4)] NoAccount, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, @@ -1827,7 +2023,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set { @@ -1841,7 +2037,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] TransactionFeePaid { @@ -1853,29 +2049,29 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FeeDetails<_0> { pub inclusion_fee: ::core::option::Option< runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, >, pub tip: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InclusionFee<_0> { pub base_fee: _0, pub len_fee: _0, pub adjusted_weight_fee: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDispatchInfo<_0, _1> { pub weight: _1, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub partial_fee: _0, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -1887,56 +2083,56 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] batch { - calls: ::std::vec::Vec< + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::bridge_hub_polkadot_runtime::RuntimeCall, >, }, #[codec(index = 1)] as_derivative { index: ::core::primitive::u16, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_polkadot_runtime::RuntimeCall, >, }, #[codec(index = 2)] batch_all { - calls: ::std::vec::Vec< + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::bridge_hub_polkadot_runtime::RuntimeCall, >, }, #[codec(index = 3)] dispatch_as { - as_origin: ::std::boxed::Box< + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_polkadot_runtime::OriginCaller, >, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_polkadot_runtime::RuntimeCall, >, }, #[codec(index = 4)] force_batch { - calls: ::std::vec::Vec< + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::bridge_hub_polkadot_runtime::RuntimeCall, >, }, #[codec(index = 5)] with_weight { - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_polkadot_runtime::RuntimeCall, >, weight: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCalls, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BatchInterrupted { @@ -1963,36 +2159,55 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] send { - dest: ::std::boxed::Box, - message: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, }, #[codec(index = 1)] teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, fee_asset_item: ::core::primitive::u32, }, #[codec(index = 2)] reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, fee_asset_item: ::core::primitive::u32, }, #[codec(index = 3)] execute { - message: ::std::boxed::Box, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, max_weight: ::sp_weights::Weight, }, #[codec(index = 4)] force_xcm_version { - location: - ::std::boxed::Box, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, version: ::core::primitive::u32, }, #[codec(index = 5)] @@ -2001,25 +2216,41 @@ pub mod api { }, #[codec(index = 6)] force_subscribe_version_notify { - location: ::std::boxed::Box, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, }, #[codec(index = 7)] force_unsubscribe_version_notify { - location: ::std::boxed::Box, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, }, #[codec(index = 8)] limited_reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, fee_asset_item: ::core::primitive::u32, weight_limit: runtime_types::xcm::v3::WeightLimit, }, #[codec(index = 9)] limited_teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, fee_asset_item: ::core::primitive::u32, weight_limit: runtime_types::xcm::v3::WeightLimit, }, @@ -2027,19 +2258,29 @@ pub mod api { force_suspension { suspended: ::core::primitive::bool }, #[codec(index = 11)] transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, fee_asset_item: ::core::primitive::u32, weight_limit: runtime_types::xcm::v3::WeightLimit, }, #[codec(index = 12)] claim_assets { - assets: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Unreachable, @@ -2092,7 +2333,7 @@ pub mod api { #[codec(index = 24)] LocalExecutionIncomplete, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, @@ -2156,7 +2397,7 @@ pub mod api { ResponseTaken { query_id: ::core::primitive::u64 }, #[codec(index = 11)] AssetsTrapped { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::staging_xcm::v4::location::Location, assets: runtime_types::xcm::VersionedAssets, }, @@ -2222,21 +2463,21 @@ pub mod api { }, #[codec(index = 22)] AssetsClaimed { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::staging_xcm::v4::location::Location, assets: runtime_types::xcm::VersionedAssets, }, #[codec(index = 23)] VersionMigrationFinished { version: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Xcm(runtime_types::staging_xcm::v4::location::Location), #[codec(index = 1)] Response(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { @@ -2255,7 +2496,7 @@ pub mod api { #[codec(index = 2)] Ready { response: runtime_types::xcm::VersionedResponse, at: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, pub owner: runtime_types::xcm::VersionedLocation, @@ -2265,7 +2506,7 @@ pub mod api { ::core::primitive::u128, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -2273,7 +2514,9 @@ pub mod api { MigrateVersionNotifiers, #[codec(index = 2)] NotifyCurrentTargets( - ::core::option::Option<::std::vec::Vec<::core::primitive::u8>>, + ::core::option::Option< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, ), #[codec(index = 3)] MigrateAndNotifyOldTargets, @@ -2282,39 +2525,43 @@ pub mod api { } pub mod polkadot_core_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, - pub msg: ::std::vec::Vec<::core::primitive::u8>, + pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod polkadot_parachain_primitives { use super::runtime_types; pub mod primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct HeadData(pub ::std::vec::Vec<::core::primitive::u8>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct HeadData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Id(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ValidationCode(pub ::std::vec::Vec<::core::primitive::u8>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidationCode( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } } pub mod polkadot_primitives { @@ -2323,13 +2570,13 @@ pub mod api { use super::runtime_types; pub mod async_backing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AsyncBackingParams { pub max_candidate_depth: ::core::primitive::u32, pub allowed_ancestry_len: ::core::primitive::u32, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHostConfiguration { pub max_code_size: ::core::primitive::u32, pub max_head_data_size: ::core::primitive::u32, @@ -2343,16 +2590,16 @@ pub mod api { pub async_backing_params: runtime_types::polkadot_primitives::v6::async_backing::AsyncBackingParams, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, pub max_message_size: ::core::primitive::u32, pub msg_count: ::core::primitive::u32, pub total_size: ::core::primitive::u32, - pub mqc_head: ::core::option::Option<::subxt::utils::H256>, + pub mqc_head: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PersistedValidationData<_0, _1> { pub parent_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -2360,14 +2607,14 @@ pub mod api { pub relay_parent_storage_root: _0, pub max_pov_size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, #[codec(index = 1)] GoAhead, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeRestriction { #[codec(index = 0)] Present, @@ -2376,7 +2623,7 @@ pub mod api { } pub mod primitive_types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct U256(pub [::core::primitive::u64; 4usize]); } pub mod snowbridge_amcl { @@ -2385,14 +2632,14 @@ pub mod api { use super::runtime_types; pub mod big { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Big { pub w: [::core::primitive::i32; 14usize], } } pub mod ecp { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ECP { pub x: runtime_types::snowbridge_amcl::bls381::fp::FP, pub y: runtime_types::snowbridge_amcl::bls381::fp::FP, @@ -2401,7 +2648,7 @@ pub mod api { } pub mod fp { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FP { pub x: runtime_types::snowbridge_amcl::bls381::big::Big, pub xes: ::core::primitive::i32, @@ -2413,7 +2660,7 @@ pub mod api { use super::runtime_types; pub mod bls { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BlsError { #[codec(index = 0)] InvalidSignature, @@ -2429,80 +2676,84 @@ pub mod api { use super::runtime_types; pub mod deneb { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutionPayloadHeader { - pub parent_hash: ::subxt::utils::H256, - pub fee_recipient: ::subxt::utils::H160, - pub state_root: ::subxt::utils::H256, - pub receipts_root: ::subxt::utils::H256, - pub logs_bloom: ::std::vec::Vec<::core::primitive::u8>, - pub prev_randao: ::subxt::utils::H256, + pub parent_hash: ::subxt::ext::subxt_core::utils::H256, + pub fee_recipient: ::subxt::ext::subxt_core::utils::H160, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub receipts_root: ::subxt::ext::subxt_core::utils::H256, + pub logs_bloom: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub prev_randao: ::subxt::ext::subxt_core::utils::H256, pub block_number: ::core::primitive::u64, pub gas_limit: ::core::primitive::u64, pub gas_used: ::core::primitive::u64, pub timestamp: ::core::primitive::u64, - pub extra_data: ::std::vec::Vec<::core::primitive::u8>, + pub extra_data: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub base_fee_per_gas: runtime_types::primitive_types::U256, - pub block_hash: ::subxt::utils::H256, - pub transactions_root: ::subxt::utils::H256, - pub withdrawals_root: ::subxt::utils::H256, + pub block_hash: ::subxt::ext::subxt_core::utils::H256, + pub transactions_root: ::subxt::ext::subxt_core::utils::H256, + pub withdrawals_root: ::subxt::ext::subxt_core::utils::H256, pub blob_gas_used: ::core::primitive::u64, pub excess_blob_gas: ::core::primitive::u64, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BeaconHeader { pub slot: ::core::primitive::u64, pub proposer_index: ::core::primitive::u64, - pub parent_root: ::subxt::utils::H256, - pub state_root: ::subxt::utils::H256, - pub body_root: ::subxt::utils::H256, + pub parent_root: ::subxt::ext::subxt_core::utils::H256, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub body_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CompactBeaconState { #[codec(compact)] pub slot: ::core::primitive::u64, - pub block_roots_root: ::subxt::utils::H256, + pub block_roots_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CompactExecutionHeader { - pub parent_hash: ::subxt::utils::H256, + pub parent_hash: ::subxt::ext::subxt_core::utils::H256, #[codec(compact)] pub block_number: ::core::primitive::u64, - pub state_root: ::subxt::utils::H256, - pub receipts_root: ::subxt::utils::H256, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub receipts_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutionHeaderState { - pub beacon_block_root: ::subxt::utils::H256, + pub beacon_block_root: ::subxt::ext::subxt_core::utils::H256, pub beacon_slot: ::core::primitive::u64, - pub block_hash: ::subxt::utils::H256, + pub block_hash: ::subxt::ext::subxt_core::utils::H256, pub block_number: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutionPayloadHeader { - pub parent_hash: ::subxt::utils::H256, - pub fee_recipient: ::subxt::utils::H160, - pub state_root: ::subxt::utils::H256, - pub receipts_root: ::subxt::utils::H256, - pub logs_bloom: ::std::vec::Vec<::core::primitive::u8>, - pub prev_randao: ::subxt::utils::H256, + pub parent_hash: ::subxt::ext::subxt_core::utils::H256, + pub fee_recipient: ::subxt::ext::subxt_core::utils::H160, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub receipts_root: ::subxt::ext::subxt_core::utils::H256, + pub logs_bloom: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub prev_randao: ::subxt::ext::subxt_core::utils::H256, pub block_number: ::core::primitive::u64, pub gas_limit: ::core::primitive::u64, pub gas_used: ::core::primitive::u64, pub timestamp: ::core::primitive::u64, - pub extra_data: ::std::vec::Vec<::core::primitive::u8>, + pub extra_data: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub base_fee_per_gas: runtime_types::primitive_types::U256, - pub block_hash: ::subxt::utils::H256, - pub transactions_root: ::subxt::utils::H256, - pub withdrawals_root: ::subxt::utils::H256, + pub block_hash: ::subxt::ext::subxt_core::utils::H256, + pub transactions_root: ::subxt::ext::subxt_core::utils::H256, + pub withdrawals_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Fork { pub version: [::core::primitive::u8; 4usize], pub epoch: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ForkVersions { pub genesis: runtime_types::snowbridge_beacon_primitives::types::Fork, pub altair: runtime_types::snowbridge_beacon_primitives::types::Fork, @@ -2510,89 +2761,135 @@ pub mod api { pub capella: runtime_types::snowbridge_beacon_primitives::types::Fork, pub deneb: runtime_types::snowbridge_beacon_primitives::types::Fork, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PublicKey(pub [::core::primitive::u8; 48usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 96usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncAggregate { pub sync_committee_bits: [::core::primitive::u8; 64usize], pub sync_committee_signature: runtime_types::snowbridge_beacon_primitives::types::Signature, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncCommittee { pub pubkeys: [runtime_types::snowbridge_beacon_primitives::types::PublicKey; 512usize], pub aggregate_pubkey: runtime_types::snowbridge_beacon_primitives::types::PublicKey, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncCommitteePrepared { - pub root: ::subxt::utils::H256, - pub pubkeys: ::std::boxed::Box< + pub root: ::subxt::ext::subxt_core::utils::H256, + pub pubkeys: ::subxt::ext::subxt_core::alloc::boxed::Box< [runtime_types::snowbridge_milagro_bls::keys::PublicKey; 512usize], >, pub aggregate_pubkey: runtime_types::snowbridge_milagro_bls::keys::PublicKey, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedExecutionPayloadHeader { - # [codec (index = 0)] Capella (runtime_types :: snowbridge_beacon_primitives :: types :: ExecutionPayloadHeader ,) , # [codec (index = 1)] Deneb (runtime_types :: snowbridge_beacon_primitives :: types :: deneb :: ExecutionPayloadHeader ,) , } + #[codec(index = 0)] + Capella( + runtime_types::snowbridge_beacon_primitives::types::ExecutionPayloadHeader, + ), + #[codec(index = 1)] + Deneb( + runtime_types::snowbridge_beacon_primitives::types::deneb::ExecutionPayloadHeader, + ), + } } pub mod updates { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AncestryProof { - pub header_branch: ::std::vec::Vec<::subxt::utils::H256>, - pub finalized_block_root: ::subxt::utils::H256, + pub header_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub finalized_block_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckpointUpdate { pub header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, pub current_sync_committee: runtime_types::snowbridge_beacon_primitives::types::SyncCommittee, - pub current_sync_committee_branch: ::std::vec::Vec<::subxt::utils::H256>, - pub validators_root: ::subxt::utils::H256, - pub block_roots_root: ::subxt::utils::H256, - pub block_roots_branch: ::std::vec::Vec<::subxt::utils::H256>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ExecutionHeaderUpdate { pub header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub ancestry_proof : :: core :: option :: Option < runtime_types :: snowbridge_beacon_primitives :: updates :: AncestryProof > , pub execution_header : runtime_types :: snowbridge_beacon_primitives :: types :: VersionedExecutionPayloadHeader , pub execution_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub current_sync_committee_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub validators_root: ::subxt::ext::subxt_core::utils::H256, + pub block_roots_root: ::subxt::ext::subxt_core::utils::H256, + pub block_roots_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ExecutionHeaderUpdate { + pub header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub ancestry_proof: ::core::option::Option< + runtime_types::snowbridge_beacon_primitives::updates::AncestryProof, + >, + pub execution_header: runtime_types::snowbridge_beacon_primitives::types::VersionedExecutionPayloadHeader, + pub execution_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct NextSyncCommitteeUpdate { pub next_sync_committee: runtime_types::snowbridge_beacon_primitives::types::SyncCommittee, - pub next_sync_committee_branch: ::std::vec::Vec<::subxt::utils::H256>, + pub next_sync_committee_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Update { pub attested_header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub sync_aggregate : runtime_types :: snowbridge_beacon_primitives :: types :: SyncAggregate , pub signature_slot : :: core :: primitive :: u64 , pub next_sync_committee_update : :: core :: option :: Option < runtime_types :: snowbridge_beacon_primitives :: updates :: NextSyncCommitteeUpdate > , pub finalized_header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub finality_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , pub block_roots_root : :: subxt :: utils :: H256 , pub block_roots_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Update { + pub attested_header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub sync_aggregate: runtime_types::snowbridge_beacon_primitives::types::SyncAggregate, + pub signature_slot: ::core::primitive::u64, + pub next_sync_committee_update: ::core::option::Option< + runtime_types::snowbridge_beacon_primitives::updates::NextSyncCommitteeUpdate, + >, + pub finalized_header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub finality_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub block_roots_root: ::subxt::ext::subxt_core::utils::H256, + pub block_roots_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + } } } pub mod snowbridge_core { use super::runtime_types; pub mod inbound { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Log { - pub address: ::subxt::utils::H160, - pub topics: ::std::vec::Vec<::subxt::utils::H256>, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub address: ::subxt::ext::subxt_core::utils::H160, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Message { pub event_log: runtime_types::snowbridge_core::inbound::Log, pub proof: runtime_types::snowbridge_core::inbound::Proof, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Proof { - pub block_hash: ::subxt::utils::H256, + pub block_hash: ::subxt::ext::subxt_core::utils::H256, pub tx_index: ::core::primitive::u32, pub data: ( - ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, - ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VerificationError { #[codec(index = 0)] HeaderNotFound, @@ -2606,7 +2903,7 @@ pub mod api { } pub mod operating_mode { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BasicOperatingMode { #[codec(index = 0)] Normal, @@ -2618,37 +2915,37 @@ pub mod api { use super::runtime_types; pub mod v1 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AgentExecuteCommand { #[codec(index = 0)] TransferToken { - token: ::subxt::utils::H160, - recipient: ::subxt::utils::H160, + token: ::subxt::ext::subxt_core::utils::H160, + recipient: ::subxt::ext::subxt_core::utils::H160, amount: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Command { #[codec(index = 0)] AgentExecute { - agent_id: ::subxt::utils::H256, + agent_id: ::subxt::ext::subxt_core::utils::H256, command: runtime_types::snowbridge_core::outbound::v1::AgentExecuteCommand, }, #[codec(index = 1)] Upgrade { - impl_address: ::subxt::utils::H160, - impl_code_hash: ::subxt::utils::H256, + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, initializer: ::core::option::Option< runtime_types::snowbridge_core::outbound::v1::Initializer, >, }, #[codec(index = 2)] - CreateAgent { agent_id: ::subxt::utils::H256 }, + CreateAgent { agent_id: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 3)] CreateChannel { channel_id: runtime_types::snowbridge_core::ChannelId, - agent_id: ::subxt::utils::H256, + agent_id: ::subxt::ext::subxt_core::utils::H256, mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, }, #[codec(index = 4)] @@ -2662,8 +2959,8 @@ pub mod api { }, #[codec(index = 6)] TransferNativeFromAgent { - agent_id: ::subxt::utils::H256, - recipient: ::subxt::utils::H160, + agent_id: ::subxt::ext::subxt_core::utils::H256, + recipient: ::subxt::ext::subxt_core::utils::H160, amount: ::core::primitive::u128, }, #[codec(index = 7)] @@ -2679,12 +2976,13 @@ pub mod api { multiplier: runtime_types::snowbridge_core::pricing::UD60x18, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Initializer { - pub params: ::std::vec::Vec<::core::primitive::u8>, + pub params: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub maximum_required_gas: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OperatingMode { #[codec(index = 0)] Normal, @@ -2692,12 +2990,12 @@ pub mod api { RejectingOutboundMessages, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Fee<_0> { pub local: _0, pub remote: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SendError { #[codec(index = 0)] MessageTooLarge, @@ -2709,34 +3007,34 @@ pub mod api { } pub mod pricing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PricingParameters<_0> { pub exchange_rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, pub rewards: runtime_types::snowbridge_core::pricing::Rewards<_0>, pub fee_per_gas: runtime_types::primitive_types::U256, pub multiplier: runtime_types::sp_arithmetic::fixed_point::FixedU128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Rewards<_0> { pub local: _0, pub remote: runtime_types::primitive_types::U256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UD60x18(pub runtime_types::primitive_types::U256); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Channel { - pub agent_id: ::subxt::utils::H256, + pub agent_id: ::subxt::ext::subxt_core::utils::H256, pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChannelId(pub [::core::primitive::u8; 32usize]); } pub mod snowbridge_milagro_bls { use super::runtime_types; pub mod keys { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PublicKey { pub point: runtime_types::snowbridge_amcl::bls381::ecp::ECP, } @@ -2744,23 +3042,47 @@ pub mod api { } pub mod snowbridge_outbound_queue_merkle_tree { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MerkleProof { - pub root: ::subxt::utils::H256, - pub proof: ::std::vec::Vec<::subxt::utils::H256>, + pub root: ::subxt::ext::subxt_core::utils::H256, + pub proof: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, pub number_of_leaves: ::core::primitive::u64, pub leaf_index: ::core::primitive::u64, - pub leaf: ::subxt::utils::H256, + pub leaf: ::subxt::ext::subxt_core::utils::H256, } } pub mod snowbridge_pallet_ethereum_client { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] force_checkpoint { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: CheckpointUpdate > , } , # [codec (index = 1)] submit { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: Update > , } , # [codec (index = 2)] submit_execution_header { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: ExecutionHeaderUpdate > , } , # [codec (index = 3)] set_operating_mode { mode : runtime_types :: snowbridge_core :: operating_mode :: BasicOperatingMode , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + force_checkpoint { + update: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_beacon_primitives::updates::CheckpointUpdate, + >, + }, + #[codec(index = 1)] + submit { + update: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_beacon_primitives::updates::Update, + >, + }, + #[codec(index = 2)] + submit_execution_header { + update: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_beacon_primitives::updates::ExecutionHeaderUpdate, + >, + }, + #[codec(index = 3)] + set_operating_mode { + mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] SkippedSyncCommitteePeriod, @@ -2813,16 +3135,16 @@ pub mod api { #[codec(index = 23)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BeaconHeaderImported { - block_hash: ::subxt::utils::H256, + block_hash: ::subxt::ext::subxt_core::utils::H256, slot: ::core::primitive::u64, }, #[codec(index = 1)] ExecutionHeaderImported { - block_hash: ::subxt::utils::H256, + block_hash: ::subxt::ext::subxt_core::utils::H256, block_number: ::core::primitive::u64, }, #[codec(index = 2)] @@ -2838,7 +3160,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit { message: runtime_types::snowbridge_core::inbound::Message }, @@ -2847,7 +3169,7 @@ pub mod api { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidGateway, @@ -2874,7 +3196,7 @@ pub mod api { runtime_types::snowbridge_router_primitives::inbound::ConvertMessageError, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] MessageReceived { @@ -2888,7 +3210,7 @@ pub mod api { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SendError { #[codec(index = 0)] NotApplicable, @@ -2911,14 +3233,14 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_operating_mode { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MessageTooLarge, @@ -2927,14 +3249,20 @@ pub mod api { #[codec(index = 2)] InvalidChannel, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - MessageQueued { id: ::subxt::utils::H256 }, + MessageQueued { id: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 1)] - MessageAccepted { id: ::subxt::utils::H256, nonce: ::core::primitive::u64 }, + MessageAccepted { + id: ::subxt::ext::subxt_core::utils::H256, + nonce: ::core::primitive::u64, + }, #[codec(index = 2)] - MessagesCommitted { root: ::subxt::utils::H256, count: ::core::primitive::u64 }, + MessagesCommitted { + root: ::subxt::ext::subxt_core::utils::H256, + count: ::core::primitive::u64, + }, #[codec(index = 3)] OperatingModeChanged { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, @@ -2943,20 +3271,20 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommittedMessage { pub channel_id: runtime_types::snowbridge_core::ChannelId, #[codec(compact)] pub nonce: ::core::primitive::u64, pub command: ::core::primitive::u8, - pub params: ::std::vec::Vec<::core::primitive::u8>, + pub params: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] pub max_dispatch_gas: ::core::primitive::u64, #[codec(compact)] pub max_fee_per_gas: ::core::primitive::u128, #[codec(compact)] pub reward: ::core::primitive::u128, - pub id: ::subxt::utils::H256, + pub id: ::subxt::ext::subxt_core::utils::H256, } } } @@ -2964,12 +3292,12 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] upgrade { - impl_address: ::subxt::utils::H160, - impl_code_hash: ::subxt::utils::H256, + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, initializer: ::core::option::Option< runtime_types::snowbridge_core::outbound::v1::Initializer, >, @@ -3001,13 +3329,15 @@ pub mod api { }, #[codec(index = 7)] transfer_native_from_agent { - recipient: ::subxt::utils::H160, + recipient: ::subxt::ext::subxt_core::utils::H160, amount: ::core::primitive::u128, }, #[codec(index = 8)] force_transfer_native_from_agent { - location: ::std::boxed::Box, - recipient: ::subxt::utils::H160, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + recipient: ::subxt::ext::subxt_core::utils::H160, amount: ::core::primitive::u128, }, #[codec(index = 9)] @@ -3017,7 +3347,7 @@ pub mod api { register_token: runtime_types::primitive_types::U256, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] LocationConversionFailed, @@ -3042,24 +3372,26 @@ pub mod api { #[codec(index = 10)] InvalidUpgradeParameters, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Upgrade { - impl_address: ::subxt::utils::H160, - impl_code_hash: ::subxt::utils::H256, - initializer_params_hash: ::core::option::Option<::subxt::utils::H256>, + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, + initializer_params_hash: + ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, }, #[codec(index = 1)] CreateAgent { - location: - ::std::boxed::Box, - agent_id: ::subxt::utils::H256, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, + agent_id: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 2)] CreateChannel { channel_id: runtime_types::snowbridge_core::ChannelId, - agent_id: ::subxt::utils::H256, + agent_id: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] UpdateChannel { @@ -3072,8 +3404,8 @@ pub mod api { }, #[codec(index = 5)] TransferNativeFromAgent { - agent_id: ::subxt::utils::H256, - recipient: ::subxt::utils::H160, + agent_id: ::subxt::ext::subxt_core::utils::H256, + recipient: ::subxt::ext::subxt_core::utils::H160, amount: ::core::primitive::u128, }, #[codec(index = 6)] @@ -3095,7 +3427,7 @@ pub mod api { use super::runtime_types; pub mod inbound { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConvertMessageError { #[codec(index = 0)] UnsupportedVersion, @@ -3107,16 +3439,16 @@ pub mod api { pub mod fixed_point { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct FixedU128(pub ::core::primitive::u128); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -3132,7 +3464,7 @@ pub mod api { use super::runtime_types; pub mod app_sr25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } } @@ -3141,27 +3473,27 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::ed25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); } } pub mod sp_consensus_slots { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Slot(pub ::core::primitive::u64); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -3172,46 +3504,48 @@ pub mod api { use super::runtime_types; pub mod crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } pub mod ecdsa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 65usize]); } pub mod ed25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 64usize]); } pub mod sr25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 64usize]); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OpaqueMetadata(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueMetadata( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Void {} } pub mod sp_inherents { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckInherentsResult { pub okay: ::core::primitive::bool, pub fatal_error: ::core::primitive::bool, pub errors: runtime_types::sp_inherents::InherentData, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InherentData { - pub data: ::subxt::utils::KeyedVec< + pub data: ::subxt::ext::subxt_core::utils::KeyedVec< [::core::primitive::u8; 8usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, } } @@ -3221,33 +3555,33 @@ pub mod api { use super::runtime_types; pub mod block { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Block<_0, _1> { pub header: _0, - pub extrinsics: ::std::vec::Vec<_1>, + pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } } pub mod digest { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DigestItem { #[codec(index = 6)] PreRuntime( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 4)] Consensus( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 5)] Seal( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 0)] - Other(::std::vec::Vec<::core::primitive::u8>), + Other(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), #[codec(index = 8)] RuntimeEnvironmentUpdated, } @@ -3255,7 +3589,7 @@ pub mod api { } pub mod transaction_validity { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum InvalidTransaction { #[codec(index = 0)] Call, @@ -3280,7 +3614,7 @@ pub mod api { #[codec(index = 10)] BadSigner, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionSource { #[codec(index = 0)] InBlock, @@ -3289,14 +3623,14 @@ pub mod api { #[codec(index = 2)] External, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionValidityError { #[codec(index = 0)] Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), #[codec(index = 1)] Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UnknownTransaction { #[codec(index = 0)] CannotLookup, @@ -3305,16 +3639,20 @@ pub mod api { #[codec(index = 2)] Custom(::core::primitive::u8), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidTransaction { pub priority: ::core::primitive::u64, - pub requires: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, - pub provides: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, pub longevity: ::core::primitive::u64, pub propagate: ::core::primitive::bool, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchError { #[codec(index = 0)] Other, @@ -3345,12 +3683,12 @@ pub mod api { #[codec(index = 13)] RootNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiSignature { #[codec(index = 0)] Ed25519(runtime_types::sp_core::ed25519::Signature), @@ -3359,7 +3697,7 @@ pub mod api { #[codec(index = 2)] Ecdsa(runtime_types::sp_core::ecdsa::Signature), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -3382,7 +3720,7 @@ pub mod api { #[codec(index = 9)] Blocked, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -3394,30 +3732,34 @@ pub mod api { use super::runtime_types; pub mod storage_proof { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StorageProof { - pub trie_nodes: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + pub trie_nodes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, } } } pub mod sp_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeVersion { - pub spec_name: ::std::string::String, - pub impl_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, + pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, pub authoring_version: ::core::primitive::u32, pub spec_version: ::core::primitive::u32, pub impl_version: ::core::primitive::u32, - pub apis: - ::std::vec::Vec<([::core::primitive::u8; 8usize], ::core::primitive::u32)>, + pub apis: ::subxt::ext::subxt_core::alloc::vec::Vec<( + [::core::primitive::u8; 8usize], + ::core::primitive::u32, + )>, pub transaction_version: ::core::primitive::u32, pub state_version: ::core::primitive::u8, } } pub mod sp_weights { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -3427,7 +3769,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} } } @@ -3437,7 +3779,7 @@ pub mod api { use super::runtime_types; pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v3::junctions::Junctions, @@ -3448,21 +3790,21 @@ pub mod api { use super::runtime_types; pub mod asset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Asset { pub id: runtime_types::staging_xcm::v4::asset::AssetId, pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetFilter { #[codec(index = 0)] Definite(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 1)] Wild(runtime_types::staging_xcm::v4::asset::WildAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AssetId(pub runtime_types::staging_xcm::v4::location::Location); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -3477,18 +3819,20 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Assets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::asset::Asset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildAsset { #[codec(index = 0)] All, @@ -3507,7 +3851,7 @@ pub mod api { count: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, @@ -3517,7 +3861,7 @@ pub mod api { } pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -3562,7 +3906,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -3596,7 +3940,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -3620,7 +3964,7 @@ pub mod api { } pub mod location { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Location { pub parents: ::core::primitive::u8, pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, @@ -3628,7 +3972,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Outcome { #[codec(index = 0)] Complete { used: ::sp_weights::Weight }, @@ -3641,7 +3985,7 @@ pub mod api { Error { error: runtime_types::xcm::v3::traits::Error }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), @@ -3786,15 +4130,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -3848,245 +4194,38 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PalletInfo { + #[codec(compact)] + pub index: ::core::primitive::u32, + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + #[codec(compact)] + pub major: ::core::primitive::u32, + #[codec(compact)] + pub minor: ::core::primitive::u32, + #[codec(compact)] + pub patch: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueryResponseInfo { + pub destination: runtime_types::staging_xcm::v4::location::Location, + #[codec(compact)] + pub query_id: ::core::primitive::u64, + pub max_weight: ::sp_weights::Weight, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Response { #[codec(index = 0)] - WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), + Null, #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::staging_xcm::v4::asset::Assets), + Assets(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::staging_xcm::v4::Response, - max_weight: ::sp_weights::Weight, - querier: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_kind: runtime_types::xcm::v2::OriginKind, - require_weight_at_most: ::sp_weights::Weight, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::staging_xcm::v4::junctions::Junctions), - #[codec(index = 12)] - ReportError(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::staging_xcm::v4::asset::AssetFilter, - want: runtime_types::staging_xcm::v4::asset::Assets, - maximal: ::core::primitive::bool, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - reserve: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 18)] - ReportHolding { - response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::staging_xcm::v4::asset::Asset, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::staging_xcm::v4::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::staging_xcm::v4::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - ticket: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - max_response_weight: ::sp_weights::Weight, - }, - #[codec(index = 27)] - UnsubscribeVersion, - #[codec(index = 28)] - BurnAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 29)] - ExpectAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 30)] - ExpectOrigin( - ::core::option::Option, - ), - #[codec(index = 31)] - ExpectError( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 32)] - ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), - #[codec(index = 33)] - QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, - response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, - }, - #[codec(index = 34)] - ExpectPallet { - #[codec(compact)] - index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, - #[codec(compact)] - crate_major: ::core::primitive::u32, - #[codec(compact)] - min_crate_minor: ::core::primitive::u32, - }, - #[codec(index = 35)] - ReportTransactStatus(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 36)] - ClearTransactStatus, - #[codec(index = 37)] - UniversalOrigin(runtime_types::staging_xcm::v4::junction::Junction), - #[codec(index = 38)] - ExportMessage { - network: runtime_types::staging_xcm::v4::junction::NetworkId, - destination: runtime_types::staging_xcm::v4::junctions::Junctions, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 39)] - LockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - unlocker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 40)] - UnlockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - target: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 41)] - NoteUnlockable { - asset: runtime_types::staging_xcm::v4::asset::Asset, - owner: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 42)] - RequestUnlock { - asset: runtime_types::staging_xcm::v4::asset::Asset, - locker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 43)] - SetFeesMode { jit_withdraw: ::core::primitive::bool }, - #[codec(index = 44)] - SetTopic([::core::primitive::u8; 32usize]), - #[codec(index = 45)] - ClearTopic, - #[codec(index = 46)] - AliasOrigin(runtime_types::staging_xcm::v4::location::Location), - #[codec(index = 47)] - UnpaidExecution { - weight_limit: runtime_types::xcm::v3::WeightLimit, - check_origin: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PalletInfo { - #[codec(compact)] - pub index: ::core::primitive::u32, - pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - #[codec(compact)] - pub major: ::core::primitive::u32, - #[codec(compact)] - pub minor: ::core::primitive::u32, - #[codec(compact)] - pub patch: ::core::primitive::u32, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct QueryResponseInfo { - pub destination: runtime_types::staging_xcm::v4::location::Location, - #[codec(compact)] - pub query_id: ::core::primitive::u64, - pub max_weight: ::sp_weights::Weight, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Response { - #[codec(index = 0)] - Null, - #[codec(index = 1)] - Assets(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 2)] - ExecutionResult( + ExecutionResult( ::core::option::Option<( ::core::primitive::u32, runtime_types::xcm::v3::traits::Error, @@ -4103,30 +4242,28 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::Instruction, + >, + ); } } pub mod xcm { use super::runtime_types; pub mod double_encoded { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DoubleEncoded { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct DoubleEncoded2 { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, + pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod v2 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -4167,14 +4304,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] - Abstract(::std::vec::Vec<::core::primitive::u8>), + Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -4189,39 +4326,41 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), #[codec(index = 6)] - Blob(::std::vec::Vec<::core::primitive::u8>), + Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -4234,7 +4373,7 @@ pub mod api { } pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -4297,7 +4436,7 @@ pub mod api { runtime_types::xcm::v2::junction::Junction, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -4305,7 +4444,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -4361,7 +4500,7 @@ pub mod api { WeightNotComputable, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -4388,7 +4527,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -4419,7 +4558,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -4559,147 +4698,7 @@ pub mod api { #[codec(index = 27)] UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { - #[codec(index = 0)] - WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::xcm::v2::Response, - #[codec(compact)] - max_weight: ::core::primitive::u64, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_type: runtime_types::xcm::v2::OriginKind, - #[codec(compact)] - require_weight_at_most: ::core::primitive::u64, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::xcm::v2::multilocation::Junctions), - #[codec(index = 12)] - ReportError { - #[codec(compact)] - query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - receive: runtime_types::xcm::v2::multiasset::MultiAssets, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - reserve: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 18)] - QueryHolding { - #[codec(compact)] - query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::xcm::v2::multiasset::MultiAsset, - weight_limit: runtime_types::xcm::v2::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v2::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v2::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - ticket: runtime_types::xcm::v2::multilocation::MultiLocation, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, - #[codec(index = 27)] - UnsubscribeVersion, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] Any, @@ -4714,7 +4713,7 @@ pub mod api { #[codec(index = 3)] Kusama, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginKind { #[codec(index = 0)] Native, @@ -4725,7 +4724,7 @@ pub mod api { #[codec(index = 3)] Xcm, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -4741,23 +4740,25 @@ pub mod api { #[codec(index = 3)] Version(::core::primitive::u32), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(#[codec(compact)] ::core::primitive::u64), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::Instruction, + >, + ); } pub mod v3 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -4780,7 +4781,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -4811,7 +4812,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -4853,7 +4854,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -4887,7 +4888,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -4953,14 +4954,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] Abstract([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -4975,37 +4976,39 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -5027,7 +5030,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -5111,7 +5114,7 @@ pub mod api { ExceedsStackLimit, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -5258,224 +5261,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, - response_info: runtime_types::xcm::v3::QueryResponseInfo, - }, - #[codec(index = 34)] - ExpectPallet { - #[codec(compact)] - index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, - #[codec(compact)] - crate_major: ::core::primitive::u32, - #[codec(compact)] - min_crate_minor: ::core::primitive::u32, - }, - #[codec(index = 35)] - ReportTransactStatus(runtime_types::xcm::v3::QueryResponseInfo), - #[codec(index = 36)] - ClearTransactStatus, - #[codec(index = 37)] - UniversalOrigin(runtime_types::xcm::v3::junction::Junction), - #[codec(index = 38)] - ExportMessage { - network: runtime_types::xcm::v3::junction::NetworkId, - destination: runtime_types::xcm::v3::junctions::Junctions, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 39)] - LockAsset { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - unlocker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 40)] - UnlockAsset { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - target: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 41)] - NoteUnlockable { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - owner: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 42)] - RequestUnlock { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - locker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 43)] - SetFeesMode { jit_withdraw: ::core::primitive::bool }, - #[codec(index = 44)] - SetTopic([::core::primitive::u8; 32usize]), - #[codec(index = 45)] - ClearTopic, - #[codec(index = 46)] - AliasOrigin(runtime_types::staging_xcm::v3::multilocation::MultiLocation), - #[codec(index = 47)] - UnpaidExecution { - weight_limit: runtime_types::xcm::v3::WeightLimit, - check_origin: ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { - #[codec(index = 0)] - WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::xcm::v3::Response, - max_weight: ::sp_weights::Weight, - querier: ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_kind: runtime_types::xcm::v2::OriginKind, - require_weight_at_most: ::sp_weights::Weight, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::xcm::v3::junctions::Junctions), - #[codec(index = 12)] - ReportError(runtime_types::xcm::v3::QueryResponseInfo), - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - want: runtime_types::xcm::v3::multiasset::MultiAssets, - maximal: ::core::primitive::bool, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 18)] - ReportHolding { - response_info: runtime_types::xcm::v3::QueryResponseInfo, - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::xcm::v3::multiasset::MultiAsset, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v3::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v3::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - ticket: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - max_response_weight: ::sp_weights::Weight, - }, - #[codec(index = 27)] - UnsubscribeVersion, - #[codec(index = 28)] - BurnAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 29)] - ExpectAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 30)] - ExpectOrigin( - ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - ), - #[codec(index = 31)] - ExpectError( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 32)] - ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), - #[codec(index = 33)] - QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::xcm::v3::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -5529,7 +5325,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -5546,7 +5342,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -5563,14 +5359,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -5594,26 +5390,28 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(::sp_weights::Weight), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::Instruction, + >, + ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::AssetId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -5622,7 +5420,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::Assets), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), @@ -5631,7 +5429,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), @@ -5640,7 +5438,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Response), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm), @@ -5649,15 +5447,6 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Xcm), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum VersionedXcm2 { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::Xcm2), - #[codec(index = 3)] - V3(runtime_types::xcm::v3::Xcm2), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::Xcm2), - } } } } diff --git a/relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs b/relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs index 5b49b79c39..cc8e281498 100644 --- a/relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs +++ b/relay-clients/client-bridge-hub-rococo/src/codegen_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -16,9 +16,8 @@ //! Autogenerated runtime API //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen -//! EXECUTED COMMAND: target/debug/runtime-codegen --from-wasm-file -//! ../../../polkadot-sdk/target/release/wbuild/bridge-hub-rococo-runtime/bridge_hub_rococo_runtime. -//! compact.compressed.wasm +//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url +//! wss://rococo-bridge-hub-rpc.polkadot.io:443 #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] @@ -34,43 +33,43 @@ pub mod api { use super::runtime_types; pub mod bounded_btree_set { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedBTreeSet<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedBTreeSet<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct WeakBoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod bp_header_chain { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AuthoritySet { - pub authorities: ::std::vec::Vec<( + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, pub set_id: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HeaderChainError { #[codec(index = 0)] UnknownHeader, #[codec(index = 1)] StorageProof(runtime_types::bp_runtime::storage_proof::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeaderFinalityInfo<_0, _1> { pub finality_proof: _0, pub new_verification_context: ::core::option::Option<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredHeaderData<_0, _1> { pub number: _0, pub state_root: _1, @@ -78,38 +77,58 @@ pub mod api { } pub mod bp_messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DeliveredMessages { pub begin: ::core::primitive::u64, pub end: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundLaneData<_0> { - pub relayers: ::std::vec::Vec>, + pub relayers: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bp_messages::UnrewardedRelayer<_0>, + >, pub last_confirmed_nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InboundMessageDetails { + pub dispatch_weight: ::sp_weights::Weight, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LaneId(pub [::core::primitive::u8; 4usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageKey { pub lane_id: runtime_types::bp_messages::LaneId, pub nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MessagesOperatingMode { #[codec(index = 0)] Basic(runtime_types::bp_runtime::BasicOperatingMode), #[codec(index = 1)] RejectingOutboundMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundLaneData { pub oldest_unpruned_nonce: ::core::primitive::u64, pub latest_received_nonce: ::core::primitive::u64, pub latest_generated_nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum ReceivalResult<_0> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OutboundMessageDetails { + pub nonce: ::core::primitive::u64, + pub dispatch_weight: ::sp_weights::Weight, + pub size: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ReceivedMessages<_0> { + pub lane: runtime_types::bp_messages::LaneId, + pub receive_results: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::core::primitive::u64, + runtime_types::bp_messages::ReceptionResult<_0>, + )>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ReceptionResult<_0> { #[codec(index = 0)] Dispatched(runtime_types::bp_runtime::messages::MessageDispatchResult<_0>), #[codec(index = 1)] @@ -119,20 +138,12 @@ pub mod api { #[codec(index = 3)] TooManyUnconfirmedMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ReceivedMessages<_0> { - pub lane: runtime_types::bp_messages::LaneId, - pub receive_results: ::std::vec::Vec<( - ::core::primitive::u64, - runtime_types::bp_messages::ReceivalResult<_0>, - )>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnrewardedRelayer<_0> { pub relayer: _0, pub messages: runtime_types::bp_messages::DeliveredMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VerificationError { #[codec(index = 0)] EmptyMessageProof, @@ -158,37 +169,39 @@ pub mod api { } pub mod bp_parachains { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BestParaHeadHash { pub at_relay_block_number: ::core::primitive::u32, - pub head_hash: ::subxt::utils::H256, + pub head_hash: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaInfo { pub best_head_hash: runtime_types::bp_parachains::BestParaHeadHash, pub next_imported_hash_position: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParaStoredHeaderData(pub ::std::vec::Vec<::core::primitive::u8>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ParaStoredHeaderData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } pub mod bp_relayers { use super::runtime_types; pub mod registration { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Registration<_0, _1> { pub valid_till: _0, pub stake: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RewardsAccountOwner { #[codec(index = 0)] ThisChain, #[codec(index = 1)] BridgedChain, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RewardsAccountParams { pub lane_id: runtime_types::bp_messages::LaneId, pub bridged_chain_id: [::core::primitive::u8; 4usize], @@ -199,7 +212,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageDispatchResult<_0> { pub unspent_weight: ::sp_weights::Weight, pub dispatch_level_result: _0, @@ -207,7 +220,7 @@ pub mod api { } pub mod storage_proof { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DuplicateNodesInProof, @@ -223,28 +236,28 @@ pub mod api { StorageValueDecodeFailed(runtime_types::bp_runtime::StrippableError), } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BasicOperatingMode { #[codec(index = 0)] Normal, #[codec(index = 1)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeaderId<_0, _1>(pub _1, pub _0); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OwnedBridgeModuleError { #[codec(index = 0)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StrippableError; } pub mod bridge_hub_common { use super::runtime_types; pub mod message_queue { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AggregateMessageOrigin { #[codec(index = 0)] Here, @@ -259,9 +272,9 @@ pub mod api { } pub mod bridge_hub_rococo_runtime { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BridgeRejectObsoleteHeadersAndMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginCaller { #[codec(index = 0)] system( @@ -276,9 +289,9 @@ pub mod api { #[codec(index = 3)] Void(runtime_types::sp_core::Void), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -313,11 +326,9 @@ pub mod api { #[codec(index = 51)] BridgeWestendMessages(runtime_types::pallet_bridge_messages::pallet::Call), #[codec(index = 60)] - BridgePolkadotBulletinGrandpa(runtime_types::pallet_bridge_grandpa::pallet::Call2), + BridgePolkadotBulletinGrandpa(runtime_types::pallet_bridge_grandpa::pallet::Call), #[codec(index = 61)] - BridgePolkadotBulletinMessages( - runtime_types::pallet_bridge_messages::pallet::Call2, - ), + BridgePolkadotBulletinMessages(runtime_types::pallet_bridge_messages::pallet::Call), #[codec(index = 80)] EthereumInboundQueue(runtime_types::snowbridge_pallet_inbound_queue::pallet::Call), #[codec(index = 81)] @@ -333,7 +344,7 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Call), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeError { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Error), @@ -362,10 +373,10 @@ pub mod api { #[codec(index = 51)] BridgeWestendMessages(runtime_types::pallet_bridge_messages::pallet::Error), #[codec(index = 60)] - BridgePolkadotBulletinGrandpa(runtime_types::pallet_bridge_grandpa::pallet::Error2), + BridgePolkadotBulletinGrandpa(runtime_types::pallet_bridge_grandpa::pallet::Error), #[codec(index = 61)] BridgePolkadotBulletinMessages( - runtime_types::pallet_bridge_messages::pallet::Error2, + runtime_types::pallet_bridge_messages::pallet::Error, ), #[codec(index = 80)] EthereumInboundQueue(runtime_types::snowbridge_pallet_inbound_queue::pallet::Error), @@ -382,7 +393,7 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -415,10 +426,10 @@ pub mod api { #[codec(index = 51)] BridgeWestendMessages(runtime_types::pallet_bridge_messages::pallet::Event), #[codec(index = 60)] - BridgePolkadotBulletinGrandpa(runtime_types::pallet_bridge_grandpa::pallet::Event2), + BridgePolkadotBulletinGrandpa(runtime_types::pallet_bridge_grandpa::pallet::Event), #[codec(index = 61)] BridgePolkadotBulletinMessages( - runtime_types::pallet_bridge_messages::pallet::Event2, + runtime_types::pallet_bridge_messages::pallet::Event, ), #[codec(index = 80)] EthereumInboundQueue(runtime_types::snowbridge_pallet_inbound_queue::pallet::Event), @@ -435,9 +446,9 @@ pub mod api { #[codec(index = 175)] MessageQueue(runtime_types::pallet_message_queue::pallet::Event), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionKeys { pub aura: runtime_types::sp_consensus_aura::sr25519::app_sr25519::Public, } @@ -448,17 +459,15 @@ pub mod api { use super::runtime_types; pub mod refund_relayer_extension { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RefundBridgedGrandpaMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RefundBridgedMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RefundTransactionExtensionAdapter<_0>(pub _0); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RefundSignedExtensionAdapter<_0>(pub _0); } } pub mod messages_xcm_extension { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum XcmBlobMessageDispatchResult { #[codec(index = 0)] InvalidPayload, @@ -473,10 +482,31 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_validation_data { data : runtime_types :: cumulus_primitives_parachain_inherent :: ParachainInherentData , } , # [codec (index = 1)] sudo_send_upward_message { message : :: std :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 2)] authorize_upgrade { code_hash : :: subxt :: utils :: H256 , check_version : :: core :: primitive :: bool , } , # [codec (index = 3)] enact_authorized_upgrade { code : :: std :: vec :: Vec < :: core :: primitive :: u8 > , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_validation_data { + data: runtime_types::cumulus_primitives_parachain_inherent::ParachainInherentData, + }, + #[codec(index = 1)] + sudo_send_upward_message { + message: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + }, + #[codec(index = 2)] + authorize_upgrade { + code_hash: ::subxt::ext::subxt_core::utils::H256, + check_version: ::core::primitive::bool, + }, + #[codec(index = 3)] + enact_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] OverlappingUpgrades, @@ -495,7 +525,7 @@ pub mod api { #[codec(index = 7)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ValidationFunctionStored, @@ -508,7 +538,7 @@ pub mod api { #[codec(index = 4)] DownwardMessagesProcessed { weight_used: ::sp_weights::Weight, - dmq_head: ::subxt::utils::H256, + dmq_head: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 5)] UpwardMessageSent { @@ -518,9 +548,24 @@ pub mod api { } pub mod relay_state_snapshot { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MessagingStateSnapshot { pub dmq_mqc_head : :: subxt :: utils :: H256 , pub relay_dispatch_queue_remaining_capacity : runtime_types :: cumulus_pallet_parachain_system :: relay_state_snapshot :: RelayDispatchQueueRemainingCapacity , pub ingress_channels : :: std :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: AbridgedHrmpChannel ,) > , pub egress_channels : :: std :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: AbridgedHrmpChannel ,) > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MessagingStateSnapshot { + pub dmq_mqc_head: ::subxt::ext::subxt_core::utils::H256, + pub relay_dispatch_queue_remaining_capacity: runtime_types::cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity, + pub ingress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v7::AbridgedHrmpChannel, + ), + >, + pub egress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v7::AbridgedHrmpChannel, + ), + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RelayDispatchQueueRemainingCapacity { pub remaining_count: ::core::primitive::u32, pub remaining_size: ::core::primitive::u32, @@ -528,26 +573,47 @@ pub mod api { } pub mod unincluded_segment { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Ancestor < _0 > { pub used_bandwidth : runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: UsedBandwidth , pub para_head_hash : :: core :: option :: Option < _0 > , pub consumed_go_ahead_signal : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeGoAhead > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Ancestor<_0> { + pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, + pub para_head_hash: ::core::option::Option<_0>, + pub consumed_go_ahead_signal: ::core::option::Option< + runtime_types::polkadot_primitives::v7::UpgradeGoAhead, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannelUpdate { pub msg_count: ::core::primitive::u32, pub total_bytes: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct SegmentTracker < _0 > { pub used_bandwidth : runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: UsedBandwidth , pub hrmp_watermark : :: core :: option :: Option < :: core :: primitive :: u32 > , pub consumed_go_ahead_signal : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeGoAhead > , # [codec (skip)] pub __subxt_unused_type_params : :: core :: marker :: PhantomData < _0 > } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct UsedBandwidth { pub ump_msg_count : :: core :: primitive :: u32 , pub ump_total_bytes : :: core :: primitive :: u32 , pub hrmp_outgoing : :: subxt :: utils :: KeyedVec < runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: HrmpChannelUpdate > , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct SegmentTracker<_0> { + pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, + pub hrmp_watermark: ::core::option::Option<::core::primitive::u32>, + pub consumed_go_ahead_signal: ::core::option::Option< + runtime_types::polkadot_primitives::v7::UpgradeGoAhead, + >, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct UsedBandwidth { + pub ump_msg_count: ::core::primitive::u32, + pub ump_total_bytes: ::core::primitive::u32, + pub hrmp_outgoing: ::subxt::ext::subxt_core::utils::KeyedVec< + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate, + >, + } } } pub mod cumulus_pallet_xcm { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] InvalidFormat([::core::primitive::u8; 32usize]), @@ -559,7 +625,7 @@ pub mod api { runtime_types::staging_xcm::v4::traits::Outcome, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Relay, @@ -572,7 +638,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 1)] suspend_xcm_execution, @@ -585,7 +651,7 @@ pub mod api { #[codec(index = 5)] update_resume_threshold { new: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] BadQueueConfig, @@ -594,13 +660,13 @@ pub mod api { #[codec(index = 2)] AlreadyResumed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] XcmpMessageSent { message_hash: [::core::primitive::u8; 32usize] }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundChannelDetails { pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, pub state: runtime_types::cumulus_pallet_xcmp_queue::OutboundState, @@ -608,40 +674,60 @@ pub mod api { pub first_index: ::core::primitive::u16, pub last_index: ::core::primitive::u16, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OutboundState { #[codec(index = 0)] Ok, #[codec(index = 1)] Suspended, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueueConfigData { pub suspend_threshold: ::core::primitive::u32, pub drop_threshold: ::core::primitive::u32, pub resume_threshold: ::core::primitive::u32, } } + pub mod cumulus_primitives_core { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CollationInfo { + pub upward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub horizontal_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_core_primitives::OutboundHrmpMessage< + runtime_types::polkadot_parachain_primitives::primitives::Id, + >, + >, + pub new_validation_code: ::core::option::Option< + runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + >, + pub processed_downward_messages: ::core::primitive::u32, + pub hrmp_watermark: ::core::primitive::u32, + pub head_data: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + } + } pub mod cumulus_primitives_parachain_inherent { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MessageQueueChain(pub ::subxt::utils::H256); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MessageQueueChain(pub ::subxt::ext::subxt_core::utils::H256); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParachainInherentData { pub validation_data: - runtime_types::polkadot_primitives::v6::PersistedValidationData< - ::subxt::utils::H256, + runtime_types::polkadot_primitives::v7::PersistedValidationData< + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, pub relay_chain_state: runtime_types::sp_trie::storage_proof::StorageProof, - pub downward_messages: ::std::vec::Vec< + pub downward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundDownwardMessage< ::core::primitive::u32, >, >, - pub horizontal_messages: ::subxt::utils::KeyedVec< + pub horizontal_messages: ::subxt::ext::subxt_core::utils::KeyedVec< runtime_types::polkadot_parachain_primitives::primitives::Id, - ::std::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundHrmpMessage< ::core::primitive::u32, >, @@ -649,22 +735,27 @@ pub mod api { >, } } + pub mod cumulus_primitives_storage_weight_reclaim { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct StorageWeightReclaim; + } pub mod finality_grandpa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commit<_0, _1, _2, _3> { pub target_hash: _0, pub target_number: _1, - pub precommits: ::std::vec::Vec< + pub precommits: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::finality_grandpa::SignedPrecommit<_0, _1, _2, _3>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SignedPrecommit<_0, _1, _2, _3> { pub precommit: runtime_types::finality_grandpa::Precommit<_0, _1>, pub signature: _2, @@ -675,7 +766,7 @@ pub mod api { use super::runtime_types; pub mod dispatch { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -684,26 +775,26 @@ pub mod api { #[codec(index = 2)] Mandatory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchInfo { pub weight: ::sp_weights::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, #[codec(index = 1)] No, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -717,7 +808,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -729,15 +820,15 @@ pub mod api { Overweight(::sp_weights::Weight), #[codec(index = 4)] Yield, + #[codec(index = 5)] + StackLimitReached, } } pub mod tokens { use super::runtime_types; pub mod misc { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -754,49 +845,49 @@ pub mod api { use super::runtime_types; pub mod check_genesis { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckMortality(pub ::sp_runtime::generic::Era); } pub mod check_non_zero_sender { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockWeights { pub base_block: ::sp_weights::Weight, pub max_block: ::sp_weights::Weight, @@ -804,7 +895,7 @@ pub mod api { runtime_types::frame_system::limits::WeightsPerClass, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeightsPerClass { pub base_extrinsic: ::sp_weights::Weight, pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>, @@ -814,40 +905,56 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - remark { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] - set_code { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 3)] - set_code_without_checks { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code_without_checks { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 4)] set_storage { - items: ::std::vec::Vec<( - ::std::vec::Vec<::core::primitive::u8>, - ::std::vec::Vec<::core::primitive::u8>, + items: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, }, #[codec(index = 5)] - kill_storage { keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>> }, + kill_storage { + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + }, #[codec(index = 6)] kill_prefix { - prefix: ::std::vec::Vec<::core::primitive::u8>, + prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] - remark_with_event { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark_with_event { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 9)] - authorize_upgrade { code_hash: ::subxt::utils::H256 }, + authorize_upgrade { code_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 10)] - authorize_upgrade_without_checks { code_hash: ::subxt::utils::H256 }, + authorize_upgrade_without_checks { + code_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 11)] - apply_authorized_upgrade { code: ::std::vec::Vec<::core::primitive::u8> }, + apply_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidSpecName, @@ -868,7 +975,7 @@ pub mod api { #[codec(index = 8)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { @@ -886,15 +993,18 @@ pub mod api { #[codec(index = 4)] KilledAccount { account: ::sp_core::crypto::AccountId32 }, #[codec(index = 5)] - Remarked { sender: ::sp_core::crypto::AccountId32, hash: ::subxt::utils::H256 }, + Remarked { + sender: ::sp_core::crypto::AccountId32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 6)] UpgradeAuthorized { - code_hash: ::subxt::utils::H256, + code_hash: ::subxt::ext::subxt_core::utils::H256, check_version: ::core::primitive::bool, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -902,24 +1012,24 @@ pub mod api { pub sufficients: ::core::primitive::u32, pub data: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CodeUpgradeAuthorization { - pub code_hash: ::subxt::utils::H256, + pub code_hash: ::subxt::ext::subxt_core::utils::H256, pub check_version: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, - pub topics: ::std::vec::Vec<_1>, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, - pub spec_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -933,42 +1043,67 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] transfer_allow_death { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 2)] force_transfer { - source: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 3)] transfer_keep_alive { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 4)] transfer_all { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] force_unreserve { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, amount: ::core::primitive::u128, }, #[codec(index = 6)] - upgrade_accounts { who: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, + upgrade_accounts { + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + }, #[codec(index = 8)] force_set_balance { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] new_free: ::core::primitive::u128, }, @@ -978,8 +1113,14 @@ pub mod api { #[codec(compact)] delta: ::core::primitive::u128, }, + #[codec(index = 10)] + burn { + #[codec(compact)] + value: ::core::primitive::u128, + keep_alive: ::core::primitive::bool, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] VestingBalance, @@ -1006,7 +1147,7 @@ pub mod api { #[codec(index = 11)] DeltaZero, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Endowed { @@ -1096,41 +1237,41 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, pub frozen: _0, pub flags: runtime_types::pallet_balances::types::ExtraFlags, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AdjustmentDirection { #[codec(index = 0)] Increase, #[codec(index = 1)] Decrease, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ExtraFlags(pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -1139,7 +1280,7 @@ pub mod api { #[codec(index = 2)] All, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -1150,61 +1291,11 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit_finality_proof { - finality_target: ::std::boxed::Box< - ::sp_runtime::generic::Header< - ::core::primitive::u32, - ::sp_runtime::traits::BlakeTwo256, - >, - >, - justification: ::bp_header_chain::justification::GrandpaJustification< - ::sp_runtime::generic::Header< - ::core::primitive::u32, - ::sp_runtime::traits::BlakeTwo256, - >, - >, - }, - #[codec(index = 1)] - initialize { - init_data: ::bp_header_chain::InitializationData< - ::sp_runtime::generic::Header< - ::core::primitive::u32, - ::sp_runtime::traits::BlakeTwo256, - >, - >, - }, - #[codec(index = 2)] - set_owner { new_owner: ::core::option::Option<::sp_core::crypto::AccountId32> }, - #[codec(index = 3)] - set_operating_mode { - operating_mode: runtime_types::bp_runtime::BasicOperatingMode, - }, - #[codec(index = 4)] - submit_finality_proof_ex { - finality_target: ::std::boxed::Box< - ::sp_runtime::generic::Header< - ::core::primitive::u32, - ::sp_runtime::traits::BlakeTwo256, - >, - >, - justification: ::bp_header_chain::justification::GrandpaJustification< - ::sp_runtime::generic::Header< - ::core::primitive::u32, - ::sp_runtime::traits::BlakeTwo256, - >, - >, - current_set_id: ::core::primitive::u64, - is_free_execution_expected: ::core::primitive::bool, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call2 { - #[codec(index = 0)] - submit_finality_proof { - finality_target: ::std::boxed::Box< + finality_target: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_runtime::generic::Header< ::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256, @@ -1234,7 +1325,7 @@ pub mod api { }, #[codec(index = 4)] submit_finality_proof_ex { - finality_target: ::std::boxed::Box< + finality_target: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_runtime::generic::Header< ::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256, @@ -1250,7 +1341,7 @@ pub mod api { is_free_execution_expected: ::core::primitive::bool, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidJustification, @@ -1274,55 +1365,15 @@ pub mod api { FreeHeadersLimitExceded, #[codec(index = 10)] BelowFreeHeaderInterval, + #[codec(index = 11)] + HeaderOverflowLimits, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error2 { - #[codec(index = 0)] - InvalidJustification, - #[codec(index = 1)] - InvalidAuthoritySet, - #[codec(index = 2)] - OldHeader, - #[codec(index = 3)] - UnsupportedScheduledChange, - #[codec(index = 4)] - NotInitialized, - #[codec(index = 5)] - AlreadyInitialized, - #[codec(index = 6)] - TooManyAuthoritiesInSet, - #[codec(index = 7)] - BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), - #[codec(index = 8)] - InvalidAuthoritySetId, - #[codec(index = 9)] - FreeHeadersLimitExceded, - #[codec(index = 10)] - BelowFreeHeaderInterval, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] UpdatedBestFinalizedHeader { number: ::core::primitive::u32, - hash: ::subxt::utils::H256, - grandpa_info: runtime_types::bp_header_chain::HeaderFinalityInfo< - ::bp_header_chain::justification::GrandpaJustification< - ::sp_runtime::generic::Header< - ::core::primitive::u32, - ::sp_runtime::traits::BlakeTwo256, - >, - >, - runtime_types::bp_header_chain::AuthoritySet, - >, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event2 { - #[codec(index = 0)] - UpdatedBestFinalizedHeader { - number: ::core::primitive::u32, - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, grandpa_info: runtime_types::bp_header_chain::HeaderFinalityInfo< ::bp_header_chain::justification::GrandpaJustification< ::sp_runtime::generic::Header< @@ -1337,7 +1388,7 @@ pub mod api { } pub mod storage_types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredAuthoritySet { pub authorities: runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::sp_consensus_grandpa::app::Public, @@ -1345,22 +1396,14 @@ pub mod api { )>, pub set_id: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct StoredAuthoritySet2 { - pub authorities: runtime_types::bounded_collections::bounded_vec::BoundedVec<( - runtime_types::sp_consensus_grandpa::app::Public, - ::core::primitive::u64, - )>, - pub set_id: ::core::primitive::u64, - } } } pub mod pallet_bridge_messages { use super::runtime_types; pub mod outbound_lane { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum ReceivalConfirmationError { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ReceptionConfirmationError { #[codec(index = 0)] FailedToConfirmFutureMessages, #[codec(index = 1)] @@ -1373,38 +1416,106 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_owner { new_owner : :: core :: option :: Option < :: sp_core :: crypto :: AccountId32 > , } , # [codec (index = 1)] set_operating_mode { operating_mode : runtime_types :: bp_messages :: MessagesOperatingMode , } , # [codec (index = 2)] receive_messages_proof { relayer_id_at_bridged_chain : :: sp_core :: crypto :: AccountId32 , proof : :: bridge_runtime_common :: messages :: target :: FromBridgedChainMessagesProof < :: subxt :: utils :: H256 > , messages_count : :: core :: primitive :: u32 , dispatch_weight : :: sp_weights :: Weight , } , # [codec (index = 3)] receive_messages_delivery_proof { proof : :: bridge_runtime_common :: messages :: source :: FromBridgedChainMessagesDeliveryProof < :: subxt :: utils :: H256 > , relayers_state : :: bp_messages :: UnrewardedRelayersState , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call2 { - # [codec (index = 0)] set_owner { new_owner : :: core :: option :: Option < :: sp_core :: crypto :: AccountId32 > , } , # [codec (index = 1)] set_operating_mode { operating_mode : runtime_types :: bp_messages :: MessagesOperatingMode , } , # [codec (index = 2)] receive_messages_proof { relayer_id_at_bridged_chain : :: sp_core :: crypto :: AccountId32 , proof : :: bridge_runtime_common :: messages :: target :: FromBridgedChainMessagesProof < :: subxt :: utils :: H256 > , messages_count : :: core :: primitive :: u32 , dispatch_weight : :: sp_weights :: Weight , } , # [codec (index = 3)] receive_messages_delivery_proof { proof : :: bridge_runtime_common :: messages :: source :: FromBridgedChainMessagesDeliveryProof < :: subxt :: utils :: H256 > , relayers_state : :: bp_messages :: UnrewardedRelayersState , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_owner { + new_owner: ::core::option::Option<::sp_core::crypto::AccountId32>, + }, + #[codec(index = 1)] + set_operating_mode { + operating_mode: runtime_types::bp_messages::MessagesOperatingMode, + }, + #[codec(index = 2)] + receive_messages_proof { + relayer_id_at_bridged_chain: ::sp_core::crypto::AccountId32, + proof: ::bridge_runtime_common::messages::target::FromBridgedChainMessagesProof< + ::subxt::ext::subxt_core::utils::H256, + >, + messages_count: ::core::primitive::u32, + dispatch_weight: ::sp_weights::Weight, + }, + #[codec(index = 3)] + receive_messages_delivery_proof { + proof: ::bridge_runtime_common::messages::source::FromBridgedChainMessagesDeliveryProof< + ::subxt::ext::subxt_core::utils::H256, + >, + relayers_state: ::bp_messages::UnrewardedRelayersState, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { - # [codec (index = 0)] NotOperatingNormally , # [codec (index = 1)] InactiveOutboundLane , # [codec (index = 2)] MessageDispatchInactive , # [codec (index = 3)] MessageRejectedByChainVerifier (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 4)] MessageRejectedByPallet (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 5)] FailedToWithdrawMessageFee , # [codec (index = 6)] TooManyMessagesInTheProof , # [codec (index = 7)] InvalidMessagesProof , # [codec (index = 8)] InvalidMessagesDeliveryProof , # [codec (index = 9)] InvalidUnrewardedRelayersState , # [codec (index = 10)] InsufficientDispatchWeight , # [codec (index = 11)] MessageIsNotYetSent , # [codec (index = 12)] ReceivalConfirmation (runtime_types :: pallet_bridge_messages :: outbound_lane :: ReceivalConfirmationError ,) , # [codec (index = 13)] BridgeModule (runtime_types :: bp_runtime :: OwnedBridgeModuleError ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error2 { - # [codec (index = 0)] NotOperatingNormally , # [codec (index = 1)] InactiveOutboundLane , # [codec (index = 2)] MessageDispatchInactive , # [codec (index = 3)] MessageRejectedByChainVerifier (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 4)] MessageRejectedByPallet (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 5)] FailedToWithdrawMessageFee , # [codec (index = 6)] TooManyMessagesInTheProof , # [codec (index = 7)] InvalidMessagesProof , # [codec (index = 8)] InvalidMessagesDeliveryProof , # [codec (index = 9)] InvalidUnrewardedRelayersState , # [codec (index = 10)] InsufficientDispatchWeight , # [codec (index = 11)] MessageIsNotYetSent , # [codec (index = 12)] ReceivalConfirmation (runtime_types :: pallet_bridge_messages :: outbound_lane :: ReceivalConfirmationError ,) , # [codec (index = 13)] BridgeModule (runtime_types :: bp_runtime :: OwnedBridgeModuleError ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + NotOperatingNormally, + #[codec(index = 1)] + InactiveOutboundLane, + #[codec(index = 2)] + MessageDispatchInactive, + #[codec(index = 3)] + MessageRejectedByChainVerifier( + runtime_types::bp_messages::VerificationError, + ), + #[codec(index = 4)] + MessageRejectedByPallet( + runtime_types::bp_messages::VerificationError, + ), + #[codec(index = 5)] + FailedToWithdrawMessageFee, + #[codec(index = 6)] + TooManyMessagesInTheProof, + #[codec(index = 7)] + InvalidMessagesProof, + #[codec(index = 8)] + InvalidMessagesDeliveryProof, + #[codec(index = 9)] + InvalidUnrewardedRelayersState, + #[codec(index = 10)] + InsufficientDispatchWeight, + #[codec(index = 11)] + MessageIsNotYetSent, + #[codec(index = 12)] + ReceptionConfirmation( + runtime_types::pallet_bridge_messages::outbound_lane::ReceptionConfirmationError, + ), + #[codec(index = 13)] + BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] MessageAccepted { lane_id : runtime_types :: bp_messages :: LaneId , nonce : :: core :: primitive :: u64 , } , # [codec (index = 1)] MessagesReceived (:: std :: vec :: Vec < runtime_types :: bp_messages :: ReceivedMessages < runtime_types :: bridge_runtime_common :: messages_xcm_extension :: XcmBlobMessageDispatchResult > > ,) , # [codec (index = 2)] MessagesDelivered { lane_id : runtime_types :: bp_messages :: LaneId , messages : runtime_types :: bp_messages :: DeliveredMessages , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event2 { - # [codec (index = 0)] MessageAccepted { lane_id : runtime_types :: bp_messages :: LaneId , nonce : :: core :: primitive :: u64 , } , # [codec (index = 1)] MessagesReceived (:: std :: vec :: Vec < runtime_types :: bp_messages :: ReceivedMessages < runtime_types :: bridge_runtime_common :: messages_xcm_extension :: XcmBlobMessageDispatchResult > > ,) , # [codec (index = 2)] MessagesDelivered { lane_id : runtime_types :: bp_messages :: LaneId , messages : runtime_types :: bp_messages :: DeliveredMessages , } , } + #[codec(index = 0)] + MessageAccepted { + lane_id: runtime_types::bp_messages::LaneId, + nonce: ::core::primitive::u64, + }, + #[codec(index = 1)] + MessagesReceived( + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bp_messages::ReceivedMessages< + runtime_types::bridge_runtime_common::messages_xcm_extension::XcmBlobMessageDispatchResult, + >, + >, + ), + #[codec(index = 2)] + MessagesDelivered { + lane_id: runtime_types::bp_messages::LaneId, + messages: runtime_types::bp_messages::DeliveredMessages, + }, + } } } pub mod pallet_bridge_parachains { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit_parachain_heads { - at_relay_block: (::core::primitive::u32, ::subxt::utils::H256), - parachains: ::std::vec::Vec<( + at_relay_block: + (::core::primitive::u32, ::subxt::ext::subxt_core::utils::H256), + parachains: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::bp_polkadot_core::parachains::ParaId, - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, )>, parachain_heads_proof: ::bp_polkadot_core::parachains::ParaHeadsProof, }, @@ -1416,16 +1527,17 @@ pub mod api { }, #[codec(index = 3)] submit_parachain_heads_ex { - at_relay_block: (::core::primitive::u32, ::subxt::utils::H256), - parachains: ::std::vec::Vec<( + at_relay_block: + (::core::primitive::u32, ::subxt::ext::subxt_core::utils::H256), + parachains: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::bp_polkadot_core::parachains::ParaId, - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, )>, parachain_heads_proof: ::bp_polkadot_core::parachains::ParaHeadsProof, is_free_execution_expected: ::core::primitive::bool, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnknownRelayChainBlock, @@ -1436,7 +1548,7 @@ pub mod api { #[codec(index = 3)] BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] UntrackedParachainRejected { parachain: ::bp_polkadot_core::parachains::ParaId }, @@ -1445,24 +1557,24 @@ pub mod api { #[codec(index = 2)] IncorrectParachainHeadHash { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, - actual_parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, + actual_parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] RejectedObsoleteParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 4)] RejectedLargeParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, parachain_head_size: ::core::primitive::u32, }, #[codec(index = 5)] UpdatedParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, } } @@ -1471,7 +1583,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim_rewards { @@ -1482,7 +1594,7 @@ pub mod api { #[codec(index = 2)] deregister, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NoRewardForRelayer, @@ -1501,7 +1613,7 @@ pub mod api { #[codec(index = 7)] RegistrationIsStillActive, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] RewardRegistered { @@ -1540,10 +1652,14 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - set_invulnerables { new: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, + set_invulnerables { + new: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + }, #[codec(index = 1)] set_desired_candidates { max: ::core::primitive::u32 }, #[codec(index = 2)] @@ -1564,12 +1680,12 @@ pub mod api { target: ::sp_core::crypto::AccountId32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateInfo<_0, _1> { pub who: _0, pub deposit: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCandidates, @@ -1606,11 +1722,13 @@ pub mod api { #[codec(index = 16)] InvalidUnreserve, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewInvulnerables { - invulnerables: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + invulnerables: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, #[codec(index = 1)] InvulnerableAdded { account_id: ::sp_core::crypto::AccountId32 }, @@ -1647,7 +1765,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] reap_page { @@ -1664,7 +1782,7 @@ pub mod api { weight_limit: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotReapable, @@ -1685,18 +1803,18 @@ pub mod api { #[codec(index = 8)] RecursiveDisallowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ProcessingFailed { - id: ::subxt::utils::H256, + id: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin, error: runtime_types::frame_support::traits::messages::ProcessMessageError, }, #[codec(index = 1)] Processed { - id: ::subxt::utils::H256, + id: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin, weight_used: ::sp_weights::Weight, @@ -1718,7 +1836,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -1728,12 +1846,12 @@ pub mod api { pub message_count: ::core::primitive::u64, pub size: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, @@ -1749,23 +1867,27 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_multi_threshold_1 { - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, - call: ::std::boxed::Box< + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_rococo_runtime::RuntimeCall, >, }, #[codec(index = 1)] as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_rococo_runtime::RuntimeCall, >, max_weight: ::sp_weights::Weight, @@ -1773,7 +1895,9 @@ pub mod api { #[codec(index = 2)] approve_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, @@ -1783,13 +1907,15 @@ pub mod api { #[codec(index = 3)] cancel_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MinimumThreshold, @@ -1820,7 +1946,7 @@ pub mod api { #[codec(index = 13)] AlreadyStored, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewMultisig { @@ -1856,14 +1982,14 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -1873,17 +1999,17 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_keys { keys: runtime_types::bridge_hub_rococo_runtime::SessionKeys, - proof: ::std::vec::Vec<::core::primitive::u8>, + proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] purge_keys, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidProof, @@ -1896,7 +2022,7 @@ pub mod api { #[codec(index = 4)] NoAccount, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, @@ -1907,7 +2033,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set { @@ -1921,7 +2047,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] TransactionFeePaid { @@ -1931,9 +2057,31 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub mod types { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct FeeDetails<_0> { + pub inclusion_fee: ::core::option::Option< + runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, + >, + pub tip: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InclusionFee<_0> { + pub base_fee: _0, + pub len_fee: _0, + pub adjusted_weight_fee: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RuntimeDispatchInfo<_0, _1> { + pub weight: _1, + pub class: runtime_types::frame_support::dispatch::DispatchClass, + pub partial_fee: _0, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -1945,53 +2093,56 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] batch { - calls: - ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bridge_hub_rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] as_derivative { index: ::core::primitive::u16, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_rococo_runtime::RuntimeCall, >, }, #[codec(index = 2)] batch_all { - calls: - ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bridge_hub_rococo_runtime::RuntimeCall, + >, }, #[codec(index = 3)] dispatch_as { - as_origin: ::std::boxed::Box< + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_rococo_runtime::OriginCaller, >, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_rococo_runtime::RuntimeCall, >, }, #[codec(index = 4)] force_batch { - calls: - ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bridge_hub_rococo_runtime::RuntimeCall, + >, }, #[codec(index = 5)] with_weight { - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_rococo_runtime::RuntimeCall, >, weight: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCalls, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BatchInterrupted { @@ -2018,83 +2169,150 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - send { - dest: ::std::boxed::Box, - message: ::std::boxed::Box, - }, - #[codec(index = 1)] - teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - }, - #[codec(index = 2)] - reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - }, - #[codec(index = 3)] - execute { - message: ::std::boxed::Box, - max_weight: ::sp_weights::Weight, - }, - #[codec(index = 4)] - force_xcm_version { - location: - ::std::boxed::Box, - version: ::core::primitive::u32, - }, - #[codec(index = 5)] - force_default_xcm_version { - maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, - }, - #[codec(index = 6)] - force_subscribe_version_notify { - location: ::std::boxed::Box, - }, - #[codec(index = 7)] - force_unsubscribe_version_notify { - location: ::std::boxed::Box, - }, - #[codec(index = 8)] - limited_reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 9)] - limited_teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 10)] - force_suspension { suspended: ::core::primitive::bool }, - #[codec(index = 11)] - transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 12)] - claim_assets { - assets: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + send { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + }, + #[codec(index = 1)] + teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 2)] + reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 3)] + execute { + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + max_weight: ::sp_weights::Weight, + }, + #[codec(index = 4)] + force_xcm_version { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, + version: ::core::primitive::u32, + }, + #[codec(index = 5)] + force_default_xcm_version { + maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 6)] + force_subscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 7)] + force_unsubscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 8)] + limited_reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 9)] + limited_teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 10)] + force_suspension { suspended: ::core::primitive::bool }, + #[codec(index = 11)] + transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 12)] + claim_assets { + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 13)] + transfer_assets_using_type_and_then { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + assets_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + remote_fees_id: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssetId, + >, + fees_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + custom_xcm_on_dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Unreachable, @@ -2136,8 +2354,6 @@ pub mod api { LockNotFound, #[codec(index = 19)] InUse, - #[codec(index = 20)] - InvalidAssetNotConcrete, #[codec(index = 21)] InvalidAssetUnknownReserve, #[codec(index = 22)] @@ -2147,7 +2363,7 @@ pub mod api { #[codec(index = 24)] LocalExecutionIncomplete, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, @@ -2211,7 +2427,7 @@ pub mod api { ResponseTaken { query_id: ::core::primitive::u64 }, #[codec(index = 11)] AssetsTrapped { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::staging_xcm::v4::location::Location, assets: runtime_types::xcm::VersionedAssets, }, @@ -2277,21 +2493,21 @@ pub mod api { }, #[codec(index = 22)] AssetsClaimed { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::staging_xcm::v4::location::Location, assets: runtime_types::xcm::VersionedAssets, }, #[codec(index = 23)] VersionMigrationFinished { version: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Xcm(runtime_types::staging_xcm::v4::location::Location), #[codec(index = 1)] Response(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { @@ -2310,7 +2526,7 @@ pub mod api { #[codec(index = 2)] Ready { response: runtime_types::xcm::VersionedResponse, at: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, pub owner: runtime_types::xcm::VersionedLocation, @@ -2320,7 +2536,7 @@ pub mod api { ::core::primitive::u128, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -2328,7 +2544,9 @@ pub mod api { MigrateVersionNotifiers, #[codec(index = 2)] NotifyCurrentTargets( - ::core::option::Option<::std::vec::Vec<::core::primitive::u8>>, + ::core::option::Option< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, ), #[codec(index = 3)] MigrateAndNotifyOldTargets, @@ -2337,52 +2555,58 @@ pub mod api { } pub mod polkadot_core_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, - pub msg: ::std::vec::Vec<::core::primitive::u8>, + pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod polkadot_parachain_primitives { use super::runtime_types; pub mod primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct HeadData(pub ::std::vec::Vec<::core::primitive::u8>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct HeadData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Id(pub ::core::primitive::u32); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidationCode( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } } pub mod polkadot_primitives { use super::runtime_types; - pub mod v6 { + pub mod v7 { use super::runtime_types; pub mod async_backing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AsyncBackingParams { pub max_candidate_depth: ::core::primitive::u32, pub allowed_ancestry_len: ::core::primitive::u32, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHostConfiguration { pub max_code_size: ::core::primitive::u32, pub max_head_data_size: ::core::primitive::u32, @@ -2394,18 +2618,18 @@ pub mod api { pub validation_upgrade_cooldown: ::core::primitive::u32, pub validation_upgrade_delay: ::core::primitive::u32, pub async_backing_params: - runtime_types::polkadot_primitives::v6::async_backing::AsyncBackingParams, + runtime_types::polkadot_primitives::v7::async_backing::AsyncBackingParams, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, pub max_message_size: ::core::primitive::u32, pub msg_count: ::core::primitive::u32, pub total_size: ::core::primitive::u32, - pub mqc_head: ::core::option::Option<::subxt::utils::H256>, + pub mqc_head: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PersistedValidationData<_0, _1> { pub parent_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -2413,14 +2637,14 @@ pub mod api { pub relay_parent_storage_root: _0, pub max_pov_size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, #[codec(index = 1)] GoAhead, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeRestriction { #[codec(index = 0)] Present, @@ -2429,7 +2653,7 @@ pub mod api { } pub mod primitive_types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct U256(pub [::core::primitive::u64; 4usize]); } pub mod snowbridge_amcl { @@ -2438,14 +2662,14 @@ pub mod api { use super::runtime_types; pub mod big { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Big { pub w: [::core::primitive::i32; 14usize], } } pub mod ecp { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ECP { pub x: runtime_types::snowbridge_amcl::bls381::fp::FP, pub y: runtime_types::snowbridge_amcl::bls381::fp::FP, @@ -2454,7 +2678,7 @@ pub mod api { } pub mod fp { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FP { pub x: runtime_types::snowbridge_amcl::bls381::big::Big, pub xes: ::core::primitive::i32, @@ -2466,7 +2690,7 @@ pub mod api { use super::runtime_types; pub mod bls { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BlsError { #[codec(index = 0)] InvalidSignature, @@ -2482,80 +2706,87 @@ pub mod api { use super::runtime_types; pub mod deneb { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutionPayloadHeader { - pub parent_hash: ::subxt::utils::H256, - pub fee_recipient: ::subxt::utils::H160, - pub state_root: ::subxt::utils::H256, - pub receipts_root: ::subxt::utils::H256, - pub logs_bloom: ::std::vec::Vec<::core::primitive::u8>, - pub prev_randao: ::subxt::utils::H256, + pub parent_hash: ::subxt::ext::subxt_core::utils::H256, + pub fee_recipient: ::subxt::ext::subxt_core::utils::H160, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub receipts_root: ::subxt::ext::subxt_core::utils::H256, + pub logs_bloom: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub prev_randao: ::subxt::ext::subxt_core::utils::H256, pub block_number: ::core::primitive::u64, pub gas_limit: ::core::primitive::u64, pub gas_used: ::core::primitive::u64, pub timestamp: ::core::primitive::u64, - pub extra_data: ::std::vec::Vec<::core::primitive::u8>, + pub extra_data: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub base_fee_per_gas: runtime_types::primitive_types::U256, - pub block_hash: ::subxt::utils::H256, - pub transactions_root: ::subxt::utils::H256, - pub withdrawals_root: ::subxt::utils::H256, + pub block_hash: ::subxt::ext::subxt_core::utils::H256, + pub transactions_root: ::subxt::ext::subxt_core::utils::H256, + pub withdrawals_root: ::subxt::ext::subxt_core::utils::H256, pub blob_gas_used: ::core::primitive::u64, pub excess_blob_gas: ::core::primitive::u64, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AncestryProof { + pub header_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub finalized_block_root: ::subxt::ext::subxt_core::utils::H256, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BeaconHeader { pub slot: ::core::primitive::u64, pub proposer_index: ::core::primitive::u64, - pub parent_root: ::subxt::utils::H256, - pub state_root: ::subxt::utils::H256, - pub body_root: ::subxt::utils::H256, + pub parent_root: ::subxt::ext::subxt_core::utils::H256, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub body_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CompactBeaconState { #[codec(compact)] pub slot: ::core::primitive::u64, - pub block_roots_root: ::subxt::utils::H256, + pub block_roots_root: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct CompactExecutionHeader { - pub parent_hash: ::subxt::utils::H256, - #[codec(compact)] - pub block_number: ::core::primitive::u64, - pub state_root: ::subxt::utils::H256, - pub receipts_root: ::subxt::utils::H256, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ExecutionHeaderState { - pub beacon_block_root: ::subxt::utils::H256, - pub beacon_slot: ::core::primitive::u64, - pub block_hash: ::subxt::utils::H256, - pub block_number: ::core::primitive::u64, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutionPayloadHeader { - pub parent_hash: ::subxt::utils::H256, - pub fee_recipient: ::subxt::utils::H160, - pub state_root: ::subxt::utils::H256, - pub receipts_root: ::subxt::utils::H256, - pub logs_bloom: ::std::vec::Vec<::core::primitive::u8>, - pub prev_randao: ::subxt::utils::H256, + pub parent_hash: ::subxt::ext::subxt_core::utils::H256, + pub fee_recipient: ::subxt::ext::subxt_core::utils::H160, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub receipts_root: ::subxt::ext::subxt_core::utils::H256, + pub logs_bloom: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + pub prev_randao: ::subxt::ext::subxt_core::utils::H256, pub block_number: ::core::primitive::u64, pub gas_limit: ::core::primitive::u64, pub gas_used: ::core::primitive::u64, pub timestamp: ::core::primitive::u64, - pub extra_data: ::std::vec::Vec<::core::primitive::u8>, + pub extra_data: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub base_fee_per_gas: runtime_types::primitive_types::U256, - pub block_hash: ::subxt::utils::H256, - pub transactions_root: ::subxt::utils::H256, - pub withdrawals_root: ::subxt::utils::H256, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub block_hash: ::subxt::ext::subxt_core::utils::H256, + pub transactions_root: ::subxt::ext::subxt_core::utils::H256, + pub withdrawals_root: ::subxt::ext::subxt_core::utils::H256, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ExecutionProof { + pub header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub ancestry_proof: ::core::option::Option< + runtime_types::snowbridge_beacon_primitives::types::AncestryProof, + >, + pub execution_header: runtime_types::snowbridge_beacon_primitives::types::VersionedExecutionPayloadHeader, + pub execution_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Fork { pub version: [::core::primitive::u8; 4usize], pub epoch: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ForkVersions { pub genesis: runtime_types::snowbridge_beacon_primitives::types::Fork, pub altair: runtime_types::snowbridge_beacon_primitives::types::Fork, @@ -2563,89 +2794,117 @@ pub mod api { pub capella: runtime_types::snowbridge_beacon_primitives::types::Fork, pub deneb: runtime_types::snowbridge_beacon_primitives::types::Fork, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PublicKey(pub [::core::primitive::u8; 48usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 96usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncAggregate { pub sync_committee_bits: [::core::primitive::u8; 64usize], pub sync_committee_signature: runtime_types::snowbridge_beacon_primitives::types::Signature, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncCommittee { pub pubkeys: [runtime_types::snowbridge_beacon_primitives::types::PublicKey; 512usize], pub aggregate_pubkey: runtime_types::snowbridge_beacon_primitives::types::PublicKey, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SyncCommitteePrepared { - pub root: ::subxt::utils::H256, - pub pubkeys: ::std::boxed::Box< + pub root: ::subxt::ext::subxt_core::utils::H256, + pub pubkeys: ::subxt::ext::subxt_core::alloc::boxed::Box< [runtime_types::snowbridge_milagro_bls::keys::PublicKey; 512usize], >, pub aggregate_pubkey: runtime_types::snowbridge_milagro_bls::keys::PublicKey, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedExecutionPayloadHeader { - # [codec (index = 0)] Capella (runtime_types :: snowbridge_beacon_primitives :: types :: ExecutionPayloadHeader ,) , # [codec (index = 1)] Deneb (runtime_types :: snowbridge_beacon_primitives :: types :: deneb :: ExecutionPayloadHeader ,) , } + #[codec(index = 0)] + Capella( + runtime_types::snowbridge_beacon_primitives::types::ExecutionPayloadHeader, + ), + #[codec(index = 1)] + Deneb( + runtime_types::snowbridge_beacon_primitives::types::deneb::ExecutionPayloadHeader, + ), + } } pub mod updates { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct AncestryProof { - pub header_branch: ::std::vec::Vec<::subxt::utils::H256>, - pub finalized_block_root: ::subxt::utils::H256, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckpointUpdate { pub header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, pub current_sync_committee: runtime_types::snowbridge_beacon_primitives::types::SyncCommittee, - pub current_sync_committee_branch: ::std::vec::Vec<::subxt::utils::H256>, - pub validators_root: ::subxt::utils::H256, - pub block_roots_root: ::subxt::utils::H256, - pub block_roots_branch: ::std::vec::Vec<::subxt::utils::H256>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ExecutionHeaderUpdate { pub header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub ancestry_proof : :: core :: option :: Option < runtime_types :: snowbridge_beacon_primitives :: updates :: AncestryProof > , pub execution_header : runtime_types :: snowbridge_beacon_primitives :: types :: VersionedExecutionPayloadHeader , pub execution_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub current_sync_committee_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub validators_root: ::subxt::ext::subxt_core::utils::H256, + pub block_roots_root: ::subxt::ext::subxt_core::utils::H256, + pub block_roots_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct NextSyncCommitteeUpdate { pub next_sync_committee: runtime_types::snowbridge_beacon_primitives::types::SyncCommittee, - pub next_sync_committee_branch: ::std::vec::Vec<::subxt::utils::H256>, + pub next_sync_committee_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Update { pub attested_header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub sync_aggregate : runtime_types :: snowbridge_beacon_primitives :: types :: SyncAggregate , pub signature_slot : :: core :: primitive :: u64 , pub next_sync_committee_update : :: core :: option :: Option < runtime_types :: snowbridge_beacon_primitives :: updates :: NextSyncCommitteeUpdate > , pub finalized_header : runtime_types :: snowbridge_beacon_primitives :: types :: BeaconHeader , pub finality_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , pub block_roots_root : :: subxt :: utils :: H256 , pub block_roots_branch : :: std :: vec :: Vec < :: subxt :: utils :: H256 > , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Update { + pub attested_header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub sync_aggregate: runtime_types::snowbridge_beacon_primitives::types::SyncAggregate, + pub signature_slot: ::core::primitive::u64, + pub next_sync_committee_update: ::core::option::Option< + runtime_types::snowbridge_beacon_primitives::updates::NextSyncCommitteeUpdate, + >, + pub finalized_header: runtime_types::snowbridge_beacon_primitives::types::BeaconHeader, + pub finality_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub block_roots_root: ::subxt::ext::subxt_core::utils::H256, + pub block_roots_branch: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + } } } pub mod snowbridge_core { use super::runtime_types; pub mod inbound { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Log { - pub address: ::subxt::utils::H160, - pub topics: ::std::vec::Vec<::subxt::utils::H256>, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub address: ::subxt::ext::subxt_core::utils::H160, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Message { pub event_log: runtime_types::snowbridge_core::inbound::Log, pub proof: runtime_types::snowbridge_core::inbound::Proof, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Proof { - pub block_hash: ::subxt::utils::H256, - pub tx_index: ::core::primitive::u32, - pub data: ( - ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, - ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + pub receipt_proof: ( + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, ), + pub execution_proof: + runtime_types::snowbridge_beacon_primitives::types::ExecutionProof, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VerificationError { #[codec(index = 0)] HeaderNotFound, @@ -2655,11 +2914,13 @@ pub mod api { InvalidLog, #[codec(index = 3)] InvalidProof, + #[codec(index = 4)] + InvalidExecutionProof, } } pub mod operating_mode { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BasicOperatingMode { #[codec(index = 0)] Normal, @@ -2671,12 +2932,74 @@ pub mod api { use super::runtime_types; pub mod v1 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AgentExecuteCommand { + #[codec(index = 0)] + TransferToken { + token: ::subxt::ext::subxt_core::utils::H160, + recipient: ::subxt::ext::subxt_core::utils::H160, + amount: ::core::primitive::u128, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Command { + #[codec(index = 0)] + AgentExecute { + agent_id: ::subxt::ext::subxt_core::utils::H256, + command: + runtime_types::snowbridge_core::outbound::v1::AgentExecuteCommand, + }, + #[codec(index = 1)] + Upgrade { + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, + initializer: ::core::option::Option< + runtime_types::snowbridge_core::outbound::v1::Initializer, + >, + }, + #[codec(index = 2)] + CreateAgent { agent_id: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 3)] + CreateChannel { + channel_id: runtime_types::snowbridge_core::ChannelId, + agent_id: ::subxt::ext::subxt_core::utils::H256, + mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, + }, + #[codec(index = 4)] + UpdateChannel { + channel_id: runtime_types::snowbridge_core::ChannelId, + mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, + }, + #[codec(index = 5)] + SetOperatingMode { + mode: runtime_types::snowbridge_core::outbound::v1::OperatingMode, + }, + #[codec(index = 6)] + TransferNativeFromAgent { + agent_id: ::subxt::ext::subxt_core::utils::H256, + recipient: ::subxt::ext::subxt_core::utils::H160, + amount: ::core::primitive::u128, + }, + #[codec(index = 7)] + SetTokenTransferFees { + create_asset_xcm: ::core::primitive::u128, + transfer_asset_xcm: ::core::primitive::u128, + register_token: runtime_types::primitive_types::U256, + }, + #[codec(index = 8)] + SetPricingParameters { + exchange_rate: runtime_types::snowbridge_core::pricing::UD60x18, + delivery_cost: ::core::primitive::u128, + multiplier: runtime_types::snowbridge_core::pricing::UD60x18, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Initializer { - pub params: ::std::vec::Vec<::core::primitive::u8>, + pub params: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, pub maximum_required_gas: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OperatingMode { #[codec(index = 0)] Normal, @@ -2684,7 +3007,12 @@ pub mod api { RejectingOutboundMessages, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Fee<_0> { + pub local: _0, + pub remote: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SendError { #[codec(index = 0)] MessageTooLarge, @@ -2696,44 +3024,76 @@ pub mod api { } pub mod pricing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PricingParameters<_0> { pub exchange_rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, pub rewards: runtime_types::snowbridge_core::pricing::Rewards<_0>, pub fee_per_gas: runtime_types::primitive_types::U256, + pub multiplier: runtime_types::sp_arithmetic::fixed_point::FixedU128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Rewards<_0> { pub local: _0, pub remote: runtime_types::primitive_types::U256, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct UD60x18(pub runtime_types::primitive_types::U256); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Channel { - pub agent_id: ::subxt::utils::H256, + pub agent_id: ::subxt::ext::subxt_core::utils::H256, pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChannelId(pub [::core::primitive::u8; 32usize]); } pub mod snowbridge_milagro_bls { use super::runtime_types; pub mod keys { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PublicKey { pub point: runtime_types::snowbridge_amcl::bls381::ecp::ECP, } } } + pub mod snowbridge_outbound_queue_merkle_tree { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MerkleProof { + pub root: ::subxt::ext::subxt_core::utils::H256, + pub proof: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + pub number_of_leaves: ::core::primitive::u64, + pub leaf_index: ::core::primitive::u64, + pub leaf: ::subxt::ext::subxt_core::utils::H256, + } + } pub mod snowbridge_pallet_ethereum_client { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] force_checkpoint { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: CheckpointUpdate > , } , # [codec (index = 1)] submit { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: Update > , } , # [codec (index = 2)] submit_execution_header { update : :: std :: boxed :: Box < runtime_types :: snowbridge_beacon_primitives :: updates :: ExecutionHeaderUpdate > , } , # [codec (index = 3)] set_operating_mode { mode : runtime_types :: snowbridge_core :: operating_mode :: BasicOperatingMode , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + force_checkpoint { + update: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_beacon_primitives::updates::CheckpointUpdate, + >, + }, + #[codec(index = 1)] + submit { + update: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::snowbridge_beacon_primitives::updates::Update, + >, + }, + #[codec(index = 3)] + set_operating_mode { + mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] SkippedSyncCommitteePeriod, @@ -2754,51 +3114,48 @@ pub mod api { #[codec(index = 8)] InvalidBlockRootsRootMerkleProof, #[codec(index = 9)] - HeaderNotFinalized, + InvalidFinalizedHeaderGap, #[codec(index = 10)] - BlockBodyHashTreeRootFailed, + HeaderNotFinalized, #[codec(index = 11)] - HeaderHashTreeRootFailed, + BlockBodyHashTreeRootFailed, #[codec(index = 12)] - SyncCommitteeHashTreeRootFailed, + HeaderHashTreeRootFailed, #[codec(index = 13)] - SigningRootHashTreeRootFailed, + SyncCommitteeHashTreeRootFailed, #[codec(index = 14)] - ForkDataHashTreeRootFailed, + SigningRootHashTreeRootFailed, #[codec(index = 15)] - ExpectedFinalizedHeaderNotStored, + ForkDataHashTreeRootFailed, #[codec(index = 16)] - BLSPreparePublicKeysFailed, + ExpectedFinalizedHeaderNotStored, #[codec(index = 17)] + BLSPreparePublicKeysFailed, + #[codec(index = 18)] BLSVerificationFailed( runtime_types::snowbridge_beacon_primitives::bls::BlsError, ), - #[codec(index = 18)] - InvalidUpdateSlot, #[codec(index = 19)] - InvalidSyncCommitteeUpdate, + InvalidUpdateSlot, #[codec(index = 20)] - ExecutionHeaderTooFarBehind, + InvalidSyncCommitteeUpdate, #[codec(index = 21)] - ExecutionHeaderSkippedBlock, + ExecutionHeaderTooFarBehind, #[codec(index = 22)] + ExecutionHeaderSkippedBlock, + #[codec(index = 23)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BeaconHeaderImported { - block_hash: ::subxt::utils::H256, + block_hash: ::subxt::ext::subxt_core::utils::H256, slot: ::core::primitive::u64, }, #[codec(index = 1)] - ExecutionHeaderImported { - block_hash: ::subxt::utils::H256, - block_number: ::core::primitive::u64, - }, - #[codec(index = 2)] SyncCommitteeUpdated { period: ::core::primitive::u64 }, - #[codec(index = 3)] + #[codec(index = 2)] OperatingModeChanged { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, @@ -2809,7 +3166,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit { message: runtime_types::snowbridge_core::inbound::Message }, @@ -2818,7 +3175,7 @@ pub mod api { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidGateway, @@ -2845,7 +3202,7 @@ pub mod api { runtime_types::snowbridge_router_primitives::inbound::ConvertMessageError, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] MessageReceived { @@ -2859,7 +3216,7 @@ pub mod api { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SendError { #[codec(index = 0)] NotApplicable, @@ -2882,14 +3239,14 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_operating_mode { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MessageTooLarge, @@ -2898,14 +3255,20 @@ pub mod api { #[codec(index = 2)] InvalidChannel, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - MessageQueued { id: ::subxt::utils::H256 }, + MessageQueued { id: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 1)] - MessageAccepted { id: ::subxt::utils::H256, nonce: ::core::primitive::u64 }, + MessageAccepted { + id: ::subxt::ext::subxt_core::utils::H256, + nonce: ::core::primitive::u64, + }, #[codec(index = 2)] - MessagesCommitted { root: ::subxt::utils::H256, count: ::core::primitive::u64 }, + MessagesCommitted { + root: ::subxt::ext::subxt_core::utils::H256, + count: ::core::primitive::u64, + }, #[codec(index = 3)] OperatingModeChanged { mode: runtime_types::snowbridge_core::operating_mode::BasicOperatingMode, @@ -2914,20 +3277,20 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommittedMessage { pub channel_id: runtime_types::snowbridge_core::ChannelId, #[codec(compact)] pub nonce: ::core::primitive::u64, pub command: ::core::primitive::u8, - pub params: ::std::vec::Vec<::core::primitive::u8>, + pub params: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] pub max_dispatch_gas: ::core::primitive::u64, #[codec(compact)] pub max_fee_per_gas: ::core::primitive::u128, #[codec(compact)] pub reward: ::core::primitive::u128, - pub id: ::subxt::utils::H256, + pub id: ::subxt::ext::subxt_core::utils::H256, } } } @@ -2935,12 +3298,12 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] upgrade { - impl_address: ::subxt::utils::H160, - impl_code_hash: ::subxt::utils::H256, + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, initializer: ::core::option::Option< runtime_types::snowbridge_core::outbound::v1::Initializer, >, @@ -2972,13 +3335,15 @@ pub mod api { }, #[codec(index = 7)] transfer_native_from_agent { - recipient: ::subxt::utils::H160, + recipient: ::subxt::ext::subxt_core::utils::H160, amount: ::core::primitive::u128, }, #[codec(index = 8)] force_transfer_native_from_agent { - location: ::std::boxed::Box, - recipient: ::subxt::utils::H160, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + recipient: ::subxt::ext::subxt_core::utils::H160, amount: ::core::primitive::u128, }, #[codec(index = 9)] @@ -2988,7 +3353,7 @@ pub mod api { register_token: runtime_types::primitive_types::U256, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] LocationConversionFailed, @@ -3013,24 +3378,26 @@ pub mod api { #[codec(index = 10)] InvalidUpgradeParameters, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Upgrade { - impl_address: ::subxt::utils::H160, - impl_code_hash: ::subxt::utils::H256, - initializer_params_hash: ::core::option::Option<::subxt::utils::H256>, + impl_address: ::subxt::ext::subxt_core::utils::H160, + impl_code_hash: ::subxt::ext::subxt_core::utils::H256, + initializer_params_hash: + ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, }, #[codec(index = 1)] CreateAgent { - location: - ::std::boxed::Box, - agent_id: ::subxt::utils::H256, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, + agent_id: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 2)] CreateChannel { channel_id: runtime_types::snowbridge_core::ChannelId, - agent_id: ::subxt::utils::H256, + agent_id: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] UpdateChannel { @@ -3043,8 +3410,8 @@ pub mod api { }, #[codec(index = 5)] TransferNativeFromAgent { - agent_id: ::subxt::utils::H256, - recipient: ::subxt::utils::H160, + agent_id: ::subxt::ext::subxt_core::utils::H256, + recipient: ::subxt::ext::subxt_core::utils::H160, amount: ::core::primitive::u128, }, #[codec(index = 6)] @@ -3066,7 +3433,7 @@ pub mod api { use super::runtime_types; pub mod inbound { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConvertMessageError { #[codec(index = 0)] UnsupportedVersion, @@ -3078,16 +3445,16 @@ pub mod api { pub mod fixed_point { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct FixedU128(pub ::core::primitive::u128); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -3103,8 +3470,8 @@ pub mod api { use super::runtime_types; pub mod app_sr25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); } } } @@ -3112,84 +3479,167 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::ed25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 64usize]); } } pub mod sp_consensus_slots { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Slot(pub ::core::primitive::u64); + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct SlotDuration(pub ::core::primitive::u64); } pub mod sp_core { use super::runtime_types; pub mod crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } - pub mod ecdsa { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 65usize]); - } - pub mod ed25519 { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueMetadata( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Void {} + } + pub mod sp_inherents { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CheckInherentsResult { + pub okay: ::core::primitive::bool, + pub fatal_error: ::core::primitive::bool, + pub errors: runtime_types::sp_inherents::InherentData, } - pub mod sr25519 { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InherentData { + pub data: ::subxt::ext::subxt_core::utils::KeyedVec< + [::core::primitive::u8; 8usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Void {} } pub mod sp_runtime { use super::runtime_types; pub mod generic { use super::runtime_types; + pub mod block { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Block<_0, _1> { + pub header: _0, + pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + } + } pub mod digest { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DigestItem { #[codec(index = 6)] PreRuntime( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 4)] Consensus( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 5)] Seal( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 0)] - Other(::std::vec::Vec<::core::primitive::u8>), + Other(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), #[codec(index = 8)] RuntimeEnvironmentUpdated, } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub mod transaction_validity { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum InvalidTransaction { + #[codec(index = 0)] + Call, + #[codec(index = 1)] + Payment, + #[codec(index = 2)] + Future, + #[codec(index = 3)] + Stale, + #[codec(index = 4)] + BadProof, + #[codec(index = 5)] + AncientBirthBlock, + #[codec(index = 6)] + ExhaustsResources, + #[codec(index = 7)] + Custom(::core::primitive::u8), + #[codec(index = 8)] + BadMandatory, + #[codec(index = 9)] + MandatoryValidation, + #[codec(index = 10)] + BadSigner, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionSource { + #[codec(index = 0)] + InBlock, + #[codec(index = 1)] + Local, + #[codec(index = 2)] + External, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionValidityError { + #[codec(index = 0)] + Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), + #[codec(index = 1)] + Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum UnknownTransaction { + #[codec(index = 0)] + CannotLookup, + #[codec(index = 1)] + NoUnsignedValidator, + #[codec(index = 2)] + Custom(::core::primitive::u8), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidTransaction { + pub priority: ::core::primitive::u64, + pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub longevity: ::core::primitive::u64, + pub propagate: ::core::primitive::bool, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchError { #[codec(index = 0)] Other, @@ -3220,21 +3670,28 @@ pub mod api { #[codec(index = 13)] RootNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ExtrinsicInclusionMode { + #[codec(index = 0)] + AllExtrinsics, + #[codec(index = 1)] + OnlyInherents, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiSignature { #[codec(index = 0)] - Ed25519(runtime_types::sp_core::ed25519::Signature), + Ed25519([::core::primitive::u8; 64usize]), #[codec(index = 1)] - Sr25519(runtime_types::sp_core::sr25519::Signature), + Sr25519([::core::primitive::u8; 64usize]), #[codec(index = 2)] - Ecdsa(runtime_types::sp_core::ecdsa::Signature), + Ecdsa([::core::primitive::u8; 65usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -3257,7 +3714,7 @@ pub mod api { #[codec(index = 9)] Blocked, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -3269,30 +3726,34 @@ pub mod api { use super::runtime_types; pub mod storage_proof { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StorageProof { - pub trie_nodes: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + pub trie_nodes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, } } } pub mod sp_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeVersion { - pub spec_name: ::std::string::String, - pub impl_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, + pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, pub authoring_version: ::core::primitive::u32, pub spec_version: ::core::primitive::u32, pub impl_version: ::core::primitive::u32, - pub apis: - ::std::vec::Vec<([::core::primitive::u8; 8usize], ::core::primitive::u32)>, + pub apis: ::subxt::ext::subxt_core::alloc::vec::Vec<( + [::core::primitive::u8; 8usize], + ::core::primitive::u32, + )>, pub transaction_version: ::core::primitive::u32, pub state_version: ::core::primitive::u8, } } pub mod sp_weights { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -3302,7 +3763,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} } } @@ -3312,7 +3773,7 @@ pub mod api { use super::runtime_types; pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v3::junctions::Junctions, @@ -3323,21 +3784,21 @@ pub mod api { use super::runtime_types; pub mod asset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Asset { pub id: runtime_types::staging_xcm::v4::asset::AssetId, pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetFilter { #[codec(index = 0)] Definite(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 1)] Wild(runtime_types::staging_xcm::v4::asset::WildAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AssetId(pub runtime_types::staging_xcm::v4::location::Location); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -3352,18 +3813,20 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Assets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::asset::Asset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildAsset { #[codec(index = 0)] All, @@ -3382,7 +3845,7 @@ pub mod api { count: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, @@ -3392,7 +3855,7 @@ pub mod api { } pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -3437,7 +3900,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -3471,7 +3934,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -3495,7 +3958,7 @@ pub mod api { } pub mod location { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Location { pub parents: ::core::primitive::u8, pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, @@ -3503,7 +3966,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Outcome { #[codec(index = 0)] Complete { used: ::sp_weights::Weight }, @@ -3516,7 +3979,7 @@ pub mod api { Error { error: runtime_types::xcm::v3::traits::Error }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), @@ -3661,15 +4124,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -3723,245 +4188,38 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PalletInfo { + #[codec(compact)] + pub index: ::core::primitive::u32, + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + #[codec(compact)] + pub major: ::core::primitive::u32, + #[codec(compact)] + pub minor: ::core::primitive::u32, + #[codec(compact)] + pub patch: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueryResponseInfo { + pub destination: runtime_types::staging_xcm::v4::location::Location, + #[codec(compact)] + pub query_id: ::core::primitive::u64, + pub max_weight: ::sp_weights::Weight, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Response { #[codec(index = 0)] - WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), + Null, #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::staging_xcm::v4::asset::Assets), + Assets(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::staging_xcm::v4::Response, - max_weight: ::sp_weights::Weight, - querier: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_kind: runtime_types::xcm::v2::OriginKind, - require_weight_at_most: ::sp_weights::Weight, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::staging_xcm::v4::junctions::Junctions), - #[codec(index = 12)] - ReportError(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::staging_xcm::v4::asset::AssetFilter, - want: runtime_types::staging_xcm::v4::asset::Assets, - maximal: ::core::primitive::bool, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - reserve: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 18)] - ReportHolding { - response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::staging_xcm::v4::asset::Asset, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::staging_xcm::v4::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::staging_xcm::v4::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - ticket: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - max_response_weight: ::sp_weights::Weight, - }, - #[codec(index = 27)] - UnsubscribeVersion, - #[codec(index = 28)] - BurnAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 29)] - ExpectAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 30)] - ExpectOrigin( - ::core::option::Option, - ), - #[codec(index = 31)] - ExpectError( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 32)] - ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), - #[codec(index = 33)] - QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, - response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, - }, - #[codec(index = 34)] - ExpectPallet { - #[codec(compact)] - index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, - #[codec(compact)] - crate_major: ::core::primitive::u32, - #[codec(compact)] - min_crate_minor: ::core::primitive::u32, - }, - #[codec(index = 35)] - ReportTransactStatus(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 36)] - ClearTransactStatus, - #[codec(index = 37)] - UniversalOrigin(runtime_types::staging_xcm::v4::junction::Junction), - #[codec(index = 38)] - ExportMessage { - network: runtime_types::staging_xcm::v4::junction::NetworkId, - destination: runtime_types::staging_xcm::v4::junctions::Junctions, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 39)] - LockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - unlocker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 40)] - UnlockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - target: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 41)] - NoteUnlockable { - asset: runtime_types::staging_xcm::v4::asset::Asset, - owner: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 42)] - RequestUnlock { - asset: runtime_types::staging_xcm::v4::asset::Asset, - locker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 43)] - SetFeesMode { jit_withdraw: ::core::primitive::bool }, - #[codec(index = 44)] - SetTopic([::core::primitive::u8; 32usize]), - #[codec(index = 45)] - ClearTopic, - #[codec(index = 46)] - AliasOrigin(runtime_types::staging_xcm::v4::location::Location), - #[codec(index = 47)] - UnpaidExecution { - weight_limit: runtime_types::xcm::v3::WeightLimit, - check_origin: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PalletInfo { - #[codec(compact)] - pub index: ::core::primitive::u32, - pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - #[codec(compact)] - pub major: ::core::primitive::u32, - #[codec(compact)] - pub minor: ::core::primitive::u32, - #[codec(compact)] - pub patch: ::core::primitive::u32, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct QueryResponseInfo { - pub destination: runtime_types::staging_xcm::v4::location::Location, - #[codec(compact)] - pub query_id: ::core::primitive::u64, - pub max_weight: ::sp_weights::Weight, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Response { - #[codec(index = 0)] - Null, - #[codec(index = 1)] - Assets(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 2)] - ExecutionResult( + ExecutionResult( ::core::option::Option<( ::core::primitive::u32, runtime_types::xcm::v3::traits::Error, @@ -3978,30 +4236,48 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::Instruction, + >, + ); + } + } + pub mod staging_xcm_executor { + use super::runtime_types; + pub mod traits { + use super::runtime_types; + pub mod asset_transfer { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransferType { + #[codec(index = 0)] + Teleport, + #[codec(index = 1)] + LocalReserve, + #[codec(index = 2)] + DestinationReserve, + #[codec(index = 3)] + RemoteReserve(runtime_types::xcm::VersionedLocation), + } + } } } pub mod xcm { use super::runtime_types; pub mod double_encoded { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DoubleEncoded { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct DoubleEncoded2 { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, + pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod v2 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -4042,14 +4318,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] - Abstract(::std::vec::Vec<::core::primitive::u8>), + Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -4064,39 +4340,41 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), #[codec(index = 6)] - Blob(::std::vec::Vec<::core::primitive::u8>), + Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -4109,7 +4387,7 @@ pub mod api { } pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -4172,7 +4450,7 @@ pub mod api { runtime_types::xcm::v2::junction::Junction, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -4180,7 +4458,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -4236,7 +4514,7 @@ pub mod api { WeightNotComputable, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -4263,7 +4541,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -4294,7 +4572,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -4434,147 +4712,7 @@ pub mod api { #[codec(index = 27)] UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { - #[codec(index = 0)] - WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::xcm::v2::Response, - #[codec(compact)] - max_weight: ::core::primitive::u64, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_type: runtime_types::xcm::v2::OriginKind, - #[codec(compact)] - require_weight_at_most: ::core::primitive::u64, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::xcm::v2::multilocation::Junctions), - #[codec(index = 12)] - ReportError { - #[codec(compact)] - query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - receive: runtime_types::xcm::v2::multiasset::MultiAssets, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - reserve: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 18)] - QueryHolding { - #[codec(compact)] - query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::xcm::v2::multiasset::MultiAsset, - weight_limit: runtime_types::xcm::v2::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v2::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v2::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - ticket: runtime_types::xcm::v2::multilocation::MultiLocation, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, - #[codec(index = 27)] - UnsubscribeVersion, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] Any, @@ -4589,7 +4727,7 @@ pub mod api { #[codec(index = 3)] Kusama, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginKind { #[codec(index = 0)] Native, @@ -4600,7 +4738,7 @@ pub mod api { #[codec(index = 3)] Xcm, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -4616,23 +4754,25 @@ pub mod api { #[codec(index = 3)] Version(::core::primitive::u32), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(#[codec(compact)] ::core::primitive::u64), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::Instruction, + >, + ); } pub mod v3 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -4655,7 +4795,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -4686,7 +4826,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -4728,7 +4868,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -4762,7 +4902,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -4828,14 +4968,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] Abstract([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -4850,37 +4990,39 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -4902,7 +5044,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -4986,7 +5128,7 @@ pub mod api { ExceedsStackLimit, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -5133,15 +5275,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::xcm::v3::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -5195,216 +5339,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { - #[codec(index = 0)] - WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::xcm::v3::Response, - max_weight: ::sp_weights::Weight, - querier: ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_kind: runtime_types::xcm::v2::OriginKind, - require_weight_at_most: ::sp_weights::Weight, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::xcm::v3::junctions::Junctions), - #[codec(index = 12)] - ReportError(runtime_types::xcm::v3::QueryResponseInfo), - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - want: runtime_types::xcm::v3::multiasset::MultiAssets, - maximal: ::core::primitive::bool, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 18)] - ReportHolding { - response_info: runtime_types::xcm::v3::QueryResponseInfo, - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::xcm::v3::multiasset::MultiAsset, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v3::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v3::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - ticket: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - max_response_weight: ::sp_weights::Weight, - }, - #[codec(index = 27)] - UnsubscribeVersion, - #[codec(index = 28)] - BurnAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 29)] - ExpectAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 30)] - ExpectOrigin( - ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - ), - #[codec(index = 31)] - ExpectError( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 32)] - ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), - #[codec(index = 33)] - QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, - response_info: runtime_types::xcm::v3::QueryResponseInfo, - }, - #[codec(index = 34)] - ExpectPallet { - #[codec(compact)] - index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, - #[codec(compact)] - crate_major: ::core::primitive::u32, - #[codec(compact)] - min_crate_minor: ::core::primitive::u32, - }, - #[codec(index = 35)] - ReportTransactStatus(runtime_types::xcm::v3::QueryResponseInfo), - #[codec(index = 36)] - ClearTransactStatus, - #[codec(index = 37)] - UniversalOrigin(runtime_types::xcm::v3::junction::Junction), - #[codec(index = 38)] - ExportMessage { - network: runtime_types::xcm::v3::junction::NetworkId, - destination: runtime_types::xcm::v3::junctions::Junctions, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 39)] - LockAsset { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - unlocker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 40)] - UnlockAsset { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - target: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 41)] - NoteUnlockable { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - owner: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 42)] - RequestUnlock { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - locker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 43)] - SetFeesMode { jit_withdraw: ::core::primitive::bool }, - #[codec(index = 44)] - SetTopic([::core::primitive::u8; 32usize]), - #[codec(index = 45)] - ClearTopic, - #[codec(index = 46)] - AliasOrigin(runtime_types::staging_xcm::v3::multilocation::MultiLocation), - #[codec(index = 47)] - UnpaidExecution { - weight_limit: runtime_types::xcm::v3::WeightLimit, - check_origin: ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -5421,7 +5356,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -5438,14 +5373,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -5469,26 +5404,28 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(::sp_weights::Weight), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::Instruction, + >, + ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::AssetId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -5497,7 +5434,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::Assets), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), @@ -5506,7 +5443,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), @@ -5515,7 +5452,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Response), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm), @@ -5524,15 +5461,6 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Xcm), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum VersionedXcm2 { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::Xcm2), - #[codec(index = 3)] - V3(runtime_types::xcm::v3::Xcm2), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::Xcm2), - } } } } diff --git a/relay-clients/client-bridge-hub-rococo/src/lib.rs b/relay-clients/client-bridge-hub-rococo/src/lib.rs index f0ee40a342..884d6e9896 100644 --- a/relay-clients/client-bridge-hub-rococo/src/lib.rs +++ b/relay-clients/client-bridge-hub-rococo/src/lib.rs @@ -35,9 +35,12 @@ pub use codegen_runtime::api::runtime_types; pub type RuntimeCall = runtime_types::bridge_hub_rococo_runtime::RuntimeCall; pub type BridgeMessagesCall = runtime_types::pallet_bridge_messages::pallet::Call; -pub type BridgeBulletinMessagesCall = runtime_types::pallet_bridge_messages::pallet::Call2; + +// TODO: https://github.com/paritytech/parity-bridges-common/issues/2547 - regenerate when ready - shuold be Call2 +pub type BridgeBulletinMessagesCall = runtime_types::pallet_bridge_messages::pallet::Call; pub type BridgeGrandpaCall = runtime_types::pallet_bridge_grandpa::pallet::Call; -pub type BridgeBulletinGrandpaCall = runtime_types::pallet_bridge_grandpa::pallet::Call2; +// TODO: https://github.com/paritytech/parity-bridges-common/issues/2547 - regenerate when ready - shuold be Call2 +pub type BridgeBulletinGrandpaCall = runtime_types::pallet_bridge_grandpa::pallet::Call; pub type BridgeParachainCall = runtime_types::pallet_bridge_parachains::pallet::Call; type UncheckedExtrinsic = bp_bridge_hub_rococo::UncheckedExtrinsic; type UtilityCall = runtime_types::pallet_utility::pallet::Call; diff --git a/relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs b/relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs index 1bab176062..b650697df2 100644 --- a/relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs +++ b/relay-clients/client-bridge-hub-westend/src/codegen_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -16,9 +16,8 @@ //! Autogenerated runtime API //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen -//! EXECUTED COMMAND: target/debug/runtime-codegen --from-wasm-file -//! ../../../polkadot-sdk/target/release/wbuild/bridge-hub-westend-runtime/ -//! bridge_hub_westend_runtime.compact.compressed.wasm +//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url +//! wss://westend-bridge-hub-rpc.polkadot.io:443 #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] @@ -34,43 +33,43 @@ pub mod api { use super::runtime_types; pub mod bounded_btree_set { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedBTreeSet<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedBTreeSet<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct WeakBoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod bp_header_chain { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AuthoritySet { - pub authorities: ::std::vec::Vec<( + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, pub set_id: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HeaderChainError { #[codec(index = 0)] UnknownHeader, #[codec(index = 1)] StorageProof(runtime_types::bp_runtime::storage_proof::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeaderFinalityInfo<_0, _1> { pub finality_proof: _0, pub new_verification_context: ::core::option::Option<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredHeaderData<_0, _1> { pub number: _0, pub state_root: _1, @@ -78,38 +77,58 @@ pub mod api { } pub mod bp_messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DeliveredMessages { pub begin: ::core::primitive::u64, pub end: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundLaneData<_0> { - pub relayers: ::std::vec::Vec>, + pub relayers: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bp_messages::UnrewardedRelayer<_0>, + >, pub last_confirmed_nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InboundMessageDetails { + pub dispatch_weight: ::sp_weights::Weight, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LaneId(pub [::core::primitive::u8; 4usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageKey { pub lane_id: runtime_types::bp_messages::LaneId, pub nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MessagesOperatingMode { #[codec(index = 0)] Basic(runtime_types::bp_runtime::BasicOperatingMode), #[codec(index = 1)] RejectingOutboundMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundLaneData { pub oldest_unpruned_nonce: ::core::primitive::u64, pub latest_received_nonce: ::core::primitive::u64, pub latest_generated_nonce: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum ReceivalResult<_0> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OutboundMessageDetails { + pub nonce: ::core::primitive::u64, + pub dispatch_weight: ::sp_weights::Weight, + pub size: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ReceivedMessages<_0> { + pub lane: runtime_types::bp_messages::LaneId, + pub receive_results: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::core::primitive::u64, + runtime_types::bp_messages::ReceptionResult<_0>, + )>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ReceptionResult<_0> { #[codec(index = 0)] Dispatched(runtime_types::bp_runtime::messages::MessageDispatchResult<_0>), #[codec(index = 1)] @@ -119,20 +138,12 @@ pub mod api { #[codec(index = 3)] TooManyUnconfirmedMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ReceivedMessages<_0> { - pub lane: runtime_types::bp_messages::LaneId, - pub receive_results: ::std::vec::Vec<( - ::core::primitive::u64, - runtime_types::bp_messages::ReceivalResult<_0>, - )>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnrewardedRelayer<_0> { pub relayer: _0, pub messages: runtime_types::bp_messages::DeliveredMessages, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VerificationError { #[codec(index = 0)] EmptyMessageProof, @@ -158,37 +169,39 @@ pub mod api { } pub mod bp_parachains { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BestParaHeadHash { pub at_relay_block_number: ::core::primitive::u32, - pub head_hash: ::subxt::utils::H256, + pub head_hash: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaInfo { pub best_head_hash: runtime_types::bp_parachains::BestParaHeadHash, pub next_imported_hash_position: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParaStoredHeaderData(pub ::std::vec::Vec<::core::primitive::u8>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ParaStoredHeaderData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } pub mod bp_relayers { use super::runtime_types; pub mod registration { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Registration<_0, _1> { pub valid_till: _0, pub stake: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RewardsAccountOwner { #[codec(index = 0)] ThisChain, #[codec(index = 1)] BridgedChain, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RewardsAccountParams { pub lane_id: runtime_types::bp_messages::LaneId, pub bridged_chain_id: [::core::primitive::u8; 4usize], @@ -199,7 +212,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MessageDispatchResult<_0> { pub unspent_weight: ::sp_weights::Weight, pub dispatch_level_result: _0, @@ -207,7 +220,7 @@ pub mod api { } pub mod storage_proof { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DuplicateNodesInProof, @@ -223,28 +236,28 @@ pub mod api { StorageValueDecodeFailed(runtime_types::bp_runtime::StrippableError), } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BasicOperatingMode { #[codec(index = 0)] Normal, #[codec(index = 1)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeaderId<_0, _1>(pub _1, pub _0); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OwnedBridgeModuleError { #[codec(index = 0)] Halted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StrippableError; } pub mod bridge_hub_common { use super::runtime_types; pub mod message_queue { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AggregateMessageOrigin { #[codec(index = 0)] Here, @@ -259,9 +272,9 @@ pub mod api { } pub mod bridge_hub_westend_runtime { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BridgeRejectObsoleteHeadersAndMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginCaller { #[codec(index = 0)] system( @@ -276,9 +289,9 @@ pub mod api { #[codec(index = 3)] Void(runtime_types::sp_core::Void), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -315,7 +328,7 @@ pub mod api { #[codec(index = 250)] MessageQueue(runtime_types::pallet_message_queue::pallet::Call), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeError { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Error), @@ -346,7 +359,7 @@ pub mod api { #[codec(index = 250)] MessageQueue(runtime_types::pallet_message_queue::pallet::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -381,9 +394,9 @@ pub mod api { #[codec(index = 250)] MessageQueue(runtime_types::pallet_message_queue::pallet::Event), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionKeys { pub aura: runtime_types::sp_consensus_aura::sr25519::app_sr25519::Public, } @@ -394,15 +407,15 @@ pub mod api { use super::runtime_types; pub mod refund_relayer_extension { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RefundBridgedMessages; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RefundTransactionExtensionAdapter<_0>(pub _0); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RefundSignedExtensionAdapter<_0>(pub _0); } } pub mod messages_xcm_extension { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum XcmBlobMessageDispatchResult { #[codec(index = 0)] InvalidPayload, @@ -417,10 +430,31 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_validation_data { data : runtime_types :: cumulus_primitives_parachain_inherent :: ParachainInherentData , } , # [codec (index = 1)] sudo_send_upward_message { message : :: std :: vec :: Vec < :: core :: primitive :: u8 > , } , # [codec (index = 2)] authorize_upgrade { code_hash : :: subxt :: utils :: H256 , check_version : :: core :: primitive :: bool , } , # [codec (index = 3)] enact_authorized_upgrade { code : :: std :: vec :: Vec < :: core :: primitive :: u8 > , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_validation_data { + data: runtime_types::cumulus_primitives_parachain_inherent::ParachainInherentData, + }, + #[codec(index = 1)] + sudo_send_upward_message { + message: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + }, + #[codec(index = 2)] + authorize_upgrade { + code_hash: ::subxt::ext::subxt_core::utils::H256, + check_version: ::core::primitive::bool, + }, + #[codec(index = 3)] + enact_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::core::primitive::u8, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] OverlappingUpgrades, @@ -439,7 +473,7 @@ pub mod api { #[codec(index = 7)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ValidationFunctionStored, @@ -452,7 +486,7 @@ pub mod api { #[codec(index = 4)] DownwardMessagesProcessed { weight_used: ::sp_weights::Weight, - dmq_head: ::subxt::utils::H256, + dmq_head: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 5)] UpwardMessageSent { @@ -462,9 +496,24 @@ pub mod api { } pub mod relay_state_snapshot { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MessagingStateSnapshot { pub dmq_mqc_head : :: subxt :: utils :: H256 , pub relay_dispatch_queue_remaining_capacity : runtime_types :: cumulus_pallet_parachain_system :: relay_state_snapshot :: RelayDispatchQueueRemainingCapacity , pub ingress_channels : :: std :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: AbridgedHrmpChannel ,) > , pub egress_channels : :: std :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: AbridgedHrmpChannel ,) > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MessagingStateSnapshot { + pub dmq_mqc_head: ::subxt::ext::subxt_core::utils::H256, + pub relay_dispatch_queue_remaining_capacity: runtime_types::cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity, + pub ingress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v7::AbridgedHrmpChannel, + ), + >, + pub egress_channels: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v7::AbridgedHrmpChannel, + ), + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RelayDispatchQueueRemainingCapacity { pub remaining_count: ::core::primitive::u32, pub remaining_size: ::core::primitive::u32, @@ -472,26 +521,47 @@ pub mod api { } pub mod unincluded_segment { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Ancestor < _0 > { pub used_bandwidth : runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: UsedBandwidth , pub para_head_hash : :: core :: option :: Option < _0 > , pub consumed_go_ahead_signal : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeGoAhead > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Ancestor<_0> { + pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, + pub para_head_hash: ::core::option::Option<_0>, + pub consumed_go_ahead_signal: ::core::option::Option< + runtime_types::polkadot_primitives::v7::UpgradeGoAhead, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannelUpdate { pub msg_count: ::core::primitive::u32, pub total_bytes: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct SegmentTracker < _0 > { pub used_bandwidth : runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: UsedBandwidth , pub hrmp_watermark : :: core :: option :: Option < :: core :: primitive :: u32 > , pub consumed_go_ahead_signal : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeGoAhead > , # [codec (skip)] pub __subxt_unused_type_params : :: core :: marker :: PhantomData < _0 > } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct UsedBandwidth { pub ump_msg_count : :: core :: primitive :: u32 , pub ump_total_bytes : :: core :: primitive :: u32 , pub hrmp_outgoing : :: subxt :: utils :: KeyedVec < runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: cumulus_pallet_parachain_system :: unincluded_segment :: HrmpChannelUpdate > , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct SegmentTracker<_0> { + pub used_bandwidth: runtime_types::cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth, + pub hrmp_watermark: ::core::option::Option<::core::primitive::u32>, + pub consumed_go_ahead_signal: ::core::option::Option< + runtime_types::polkadot_primitives::v7::UpgradeGoAhead, + >, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct UsedBandwidth { + pub ump_msg_count: ::core::primitive::u32, + pub ump_total_bytes: ::core::primitive::u32, + pub hrmp_outgoing: ::subxt::ext::subxt_core::utils::KeyedVec< + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate, + >, + } } } pub mod cumulus_pallet_xcm { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] InvalidFormat([::core::primitive::u8; 32usize]), @@ -503,7 +573,7 @@ pub mod api { runtime_types::staging_xcm::v4::traits::Outcome, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Relay, @@ -516,7 +586,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 1)] suspend_xcm_execution, @@ -529,7 +599,7 @@ pub mod api { #[codec(index = 5)] update_resume_threshold { new: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] BadQueueConfig, @@ -538,13 +608,13 @@ pub mod api { #[codec(index = 2)] AlreadyResumed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] XcmpMessageSent { message_hash: [::core::primitive::u8; 32usize] }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundChannelDetails { pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, pub state: runtime_types::cumulus_pallet_xcmp_queue::OutboundState, @@ -552,40 +622,60 @@ pub mod api { pub first_index: ::core::primitive::u16, pub last_index: ::core::primitive::u16, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OutboundState { #[codec(index = 0)] Ok, #[codec(index = 1)] Suspended, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueueConfigData { pub suspend_threshold: ::core::primitive::u32, pub drop_threshold: ::core::primitive::u32, pub resume_threshold: ::core::primitive::u32, } } + pub mod cumulus_primitives_core { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CollationInfo { + pub upward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub horizontal_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_core_primitives::OutboundHrmpMessage< + runtime_types::polkadot_parachain_primitives::primitives::Id, + >, + >, + pub new_validation_code: ::core::option::Option< + runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + >, + pub processed_downward_messages: ::core::primitive::u32, + pub hrmp_watermark: ::core::primitive::u32, + pub head_data: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + } + } pub mod cumulus_primitives_parachain_inherent { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MessageQueueChain(pub ::subxt::utils::H256); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MessageQueueChain(pub ::subxt::ext::subxt_core::utils::H256); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParachainInherentData { pub validation_data: - runtime_types::polkadot_primitives::v6::PersistedValidationData< - ::subxt::utils::H256, + runtime_types::polkadot_primitives::v7::PersistedValidationData< + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, pub relay_chain_state: runtime_types::sp_trie::storage_proof::StorageProof, - pub downward_messages: ::std::vec::Vec< + pub downward_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundDownwardMessage< ::core::primitive::u32, >, >, - pub horizontal_messages: ::subxt::utils::KeyedVec< + pub horizontal_messages: ::subxt::ext::subxt_core::utils::KeyedVec< runtime_types::polkadot_parachain_primitives::primitives::Id, - ::std::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundHrmpMessage< ::core::primitive::u32, >, @@ -593,22 +683,27 @@ pub mod api { >, } } + pub mod cumulus_primitives_storage_weight_reclaim { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct StorageWeightReclaim; + } pub mod finality_grandpa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commit<_0, _1, _2, _3> { pub target_hash: _0, pub target_number: _1, - pub precommits: ::std::vec::Vec< + pub precommits: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::finality_grandpa::SignedPrecommit<_0, _1, _2, _3>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SignedPrecommit<_0, _1, _2, _3> { pub precommit: runtime_types::finality_grandpa::Precommit<_0, _1>, pub signature: _2, @@ -619,7 +714,7 @@ pub mod api { use super::runtime_types; pub mod dispatch { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -628,26 +723,26 @@ pub mod api { #[codec(index = 2)] Mandatory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchInfo { pub weight: ::sp_weights::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, #[codec(index = 1)] No, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -661,7 +756,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -679,9 +774,7 @@ pub mod api { use super::runtime_types; pub mod misc { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -698,49 +791,49 @@ pub mod api { use super::runtime_types; pub mod check_genesis { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckMortality(pub ::sp_runtime::generic::Era); } pub mod check_non_zero_sender { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockWeights { pub base_block: ::sp_weights::Weight, pub max_block: ::sp_weights::Weight, @@ -748,7 +841,7 @@ pub mod api { runtime_types::frame_system::limits::WeightsPerClass, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeightsPerClass { pub base_extrinsic: ::sp_weights::Weight, pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>, @@ -758,40 +851,56 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - remark { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] - set_code { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 3)] - set_code_without_checks { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code_without_checks { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 4)] set_storage { - items: ::std::vec::Vec<( - ::std::vec::Vec<::core::primitive::u8>, - ::std::vec::Vec<::core::primitive::u8>, + items: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, }, #[codec(index = 5)] - kill_storage { keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>> }, + kill_storage { + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + }, #[codec(index = 6)] kill_prefix { - prefix: ::std::vec::Vec<::core::primitive::u8>, + prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] - remark_with_event { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark_with_event { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 9)] - authorize_upgrade { code_hash: ::subxt::utils::H256 }, + authorize_upgrade { code_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 10)] - authorize_upgrade_without_checks { code_hash: ::subxt::utils::H256 }, + authorize_upgrade_without_checks { + code_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 11)] - apply_authorized_upgrade { code: ::std::vec::Vec<::core::primitive::u8> }, + apply_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidSpecName, @@ -812,7 +921,7 @@ pub mod api { #[codec(index = 8)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { @@ -830,15 +939,18 @@ pub mod api { #[codec(index = 4)] KilledAccount { account: ::sp_core::crypto::AccountId32 }, #[codec(index = 5)] - Remarked { sender: ::sp_core::crypto::AccountId32, hash: ::subxt::utils::H256 }, + Remarked { + sender: ::sp_core::crypto::AccountId32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 6)] UpgradeAuthorized { - code_hash: ::subxt::utils::H256, + code_hash: ::subxt::ext::subxt_core::utils::H256, check_version: ::core::primitive::bool, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -846,24 +958,24 @@ pub mod api { pub sufficients: ::core::primitive::u32, pub data: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CodeUpgradeAuthorization { - pub code_hash: ::subxt::utils::H256, + pub code_hash: ::subxt::ext::subxt_core::utils::H256, pub check_version: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, - pub topics: ::std::vec::Vec<_1>, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, - pub spec_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -877,42 +989,67 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] transfer_allow_death { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 2)] force_transfer { - source: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 3)] transfer_keep_alive { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 4)] transfer_all { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] force_unreserve { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, amount: ::core::primitive::u128, }, #[codec(index = 6)] - upgrade_accounts { who: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, + upgrade_accounts { + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + }, #[codec(index = 8)] force_set_balance { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] new_free: ::core::primitive::u128, }, @@ -923,7 +1060,7 @@ pub mod api { delta: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] VestingBalance, @@ -950,7 +1087,7 @@ pub mod api { #[codec(index = 11)] DeltaZero, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Endowed { @@ -1040,41 +1177,41 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, pub frozen: _0, pub flags: runtime_types::pallet_balances::types::ExtraFlags, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AdjustmentDirection { #[codec(index = 0)] Increase, #[codec(index = 1)] Decrease, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ExtraFlags(pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -1083,7 +1220,7 @@ pub mod api { #[codec(index = 2)] All, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -1094,11 +1231,11 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit_finality_proof { - finality_target: ::std::boxed::Box< + finality_target: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_runtime::generic::Header< ::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256, @@ -1128,7 +1265,7 @@ pub mod api { }, #[codec(index = 4)] submit_finality_proof_ex { - finality_target: ::std::boxed::Box< + finality_target: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_runtime::generic::Header< ::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256, @@ -1144,7 +1281,7 @@ pub mod api { is_free_execution_expected: ::core::primitive::bool, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidJustification, @@ -1168,13 +1305,15 @@ pub mod api { FreeHeadersLimitExceded, #[codec(index = 10)] BelowFreeHeaderInterval, + #[codec(index = 11)] + HeaderOverflowLimits, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] UpdatedBestFinalizedHeader { number: ::core::primitive::u32, - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, grandpa_info: runtime_types::bp_header_chain::HeaderFinalityInfo< ::bp_header_chain::justification::GrandpaJustification< ::sp_runtime::generic::Header< @@ -1189,7 +1328,7 @@ pub mod api { } pub mod storage_types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredAuthoritySet { pub authorities: runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::sp_consensus_grandpa::app::Public, @@ -1203,8 +1342,8 @@ pub mod api { use super::runtime_types; pub mod outbound_lane { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum ReceivalConfirmationError { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ReceptionConfirmationError { #[codec(index = 0)] FailedToConfirmFutureMessages, #[codec(index = 1)] @@ -1217,29 +1356,106 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_owner { new_owner : :: core :: option :: Option < :: sp_core :: crypto :: AccountId32 > , } , # [codec (index = 1)] set_operating_mode { operating_mode : runtime_types :: bp_messages :: MessagesOperatingMode , } , # [codec (index = 2)] receive_messages_proof { relayer_id_at_bridged_chain : :: sp_core :: crypto :: AccountId32 , proof : :: bridge_runtime_common :: messages :: target :: FromBridgedChainMessagesProof < :: subxt :: utils :: H256 > , messages_count : :: core :: primitive :: u32 , dispatch_weight : :: sp_weights :: Weight , } , # [codec (index = 3)] receive_messages_delivery_proof { proof : :: bridge_runtime_common :: messages :: source :: FromBridgedChainMessagesDeliveryProof < :: subxt :: utils :: H256 > , relayers_state : :: bp_messages :: UnrewardedRelayersState , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_owner { + new_owner: ::core::option::Option<::sp_core::crypto::AccountId32>, + }, + #[codec(index = 1)] + set_operating_mode { + operating_mode: runtime_types::bp_messages::MessagesOperatingMode, + }, + #[codec(index = 2)] + receive_messages_proof { + relayer_id_at_bridged_chain: ::sp_core::crypto::AccountId32, + proof: ::bridge_runtime_common::messages::target::FromBridgedChainMessagesProof< + ::subxt::ext::subxt_core::utils::H256, + >, + messages_count: ::core::primitive::u32, + dispatch_weight: ::sp_weights::Weight, + }, + #[codec(index = 3)] + receive_messages_delivery_proof { + proof: ::bridge_runtime_common::messages::source::FromBridgedChainMessagesDeliveryProof< + ::subxt::ext::subxt_core::utils::H256, + >, + relayers_state: ::bp_messages::UnrewardedRelayersState, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { - # [codec (index = 0)] NotOperatingNormally , # [codec (index = 1)] InactiveOutboundLane , # [codec (index = 2)] MessageDispatchInactive , # [codec (index = 3)] MessageRejectedByChainVerifier (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 4)] MessageRejectedByPallet (runtime_types :: bp_messages :: VerificationError ,) , # [codec (index = 5)] FailedToWithdrawMessageFee , # [codec (index = 6)] TooManyMessagesInTheProof , # [codec (index = 7)] InvalidMessagesProof , # [codec (index = 8)] InvalidMessagesDeliveryProof , # [codec (index = 9)] InvalidUnrewardedRelayersState , # [codec (index = 10)] InsufficientDispatchWeight , # [codec (index = 11)] MessageIsNotYetSent , # [codec (index = 12)] ReceivalConfirmation (runtime_types :: pallet_bridge_messages :: outbound_lane :: ReceivalConfirmationError ,) , # [codec (index = 13)] BridgeModule (runtime_types :: bp_runtime :: OwnedBridgeModuleError ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + NotOperatingNormally, + #[codec(index = 1)] + InactiveOutboundLane, + #[codec(index = 2)] + MessageDispatchInactive, + #[codec(index = 3)] + MessageRejectedByChainVerifier( + runtime_types::bp_messages::VerificationError, + ), + #[codec(index = 4)] + MessageRejectedByPallet( + runtime_types::bp_messages::VerificationError, + ), + #[codec(index = 5)] + FailedToWithdrawMessageFee, + #[codec(index = 6)] + TooManyMessagesInTheProof, + #[codec(index = 7)] + InvalidMessagesProof, + #[codec(index = 8)] + InvalidMessagesDeliveryProof, + #[codec(index = 9)] + InvalidUnrewardedRelayersState, + #[codec(index = 10)] + InsufficientDispatchWeight, + #[codec(index = 11)] + MessageIsNotYetSent, + #[codec(index = 12)] + ReceptionConfirmation( + runtime_types::pallet_bridge_messages::outbound_lane::ReceptionConfirmationError, + ), + #[codec(index = 13)] + BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] MessageAccepted { lane_id : runtime_types :: bp_messages :: LaneId , nonce : :: core :: primitive :: u64 , } , # [codec (index = 1)] MessagesReceived (:: std :: vec :: Vec < runtime_types :: bp_messages :: ReceivedMessages < runtime_types :: bridge_runtime_common :: messages_xcm_extension :: XcmBlobMessageDispatchResult > > ,) , # [codec (index = 2)] MessagesDelivered { lane_id : runtime_types :: bp_messages :: LaneId , messages : runtime_types :: bp_messages :: DeliveredMessages , } , } + #[codec(index = 0)] + MessageAccepted { + lane_id: runtime_types::bp_messages::LaneId, + nonce: ::core::primitive::u64, + }, + #[codec(index = 1)] + MessagesReceived( + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bp_messages::ReceivedMessages< + runtime_types::bridge_runtime_common::messages_xcm_extension::XcmBlobMessageDispatchResult, + >, + >, + ), + #[codec(index = 2)] + MessagesDelivered { + lane_id: runtime_types::bp_messages::LaneId, + messages: runtime_types::bp_messages::DeliveredMessages, + }, + } } } pub mod pallet_bridge_parachains { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit_parachain_heads { - at_relay_block: (::core::primitive::u32, ::subxt::utils::H256), - parachains: ::std::vec::Vec<( + at_relay_block: + (::core::primitive::u32, ::subxt::ext::subxt_core::utils::H256), + parachains: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::bp_polkadot_core::parachains::ParaId, - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, )>, parachain_heads_proof: ::bp_polkadot_core::parachains::ParaHeadsProof, }, @@ -1251,16 +1467,17 @@ pub mod api { }, #[codec(index = 3)] submit_parachain_heads_ex { - at_relay_block: (::core::primitive::u32, ::subxt::utils::H256), - parachains: ::std::vec::Vec<( + at_relay_block: + (::core::primitive::u32, ::subxt::ext::subxt_core::utils::H256), + parachains: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::bp_polkadot_core::parachains::ParaId, - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, )>, parachain_heads_proof: ::bp_polkadot_core::parachains::ParaHeadsProof, is_free_execution_expected: ::core::primitive::bool, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnknownRelayChainBlock, @@ -1271,7 +1488,7 @@ pub mod api { #[codec(index = 3)] BridgeModule(runtime_types::bp_runtime::OwnedBridgeModuleError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] UntrackedParachainRejected { parachain: ::bp_polkadot_core::parachains::ParaId }, @@ -1280,24 +1497,24 @@ pub mod api { #[codec(index = 2)] IncorrectParachainHeadHash { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, - actual_parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, + actual_parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] RejectedObsoleteParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 4)] RejectedLargeParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, parachain_head_size: ::core::primitive::u32, }, #[codec(index = 5)] UpdatedParachainHead { parachain: ::bp_polkadot_core::parachains::ParaId, - parachain_head_hash: ::subxt::utils::H256, + parachain_head_hash: ::subxt::ext::subxt_core::utils::H256, }, } } @@ -1306,7 +1523,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim_rewards { @@ -1317,7 +1534,7 @@ pub mod api { #[codec(index = 2)] deregister, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NoRewardForRelayer, @@ -1336,7 +1553,7 @@ pub mod api { #[codec(index = 7)] RegistrationIsStillActive, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] RewardRegistered { @@ -1375,10 +1592,14 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - set_invulnerables { new: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, + set_invulnerables { + new: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + }, #[codec(index = 1)] set_desired_candidates { max: ::core::primitive::u32 }, #[codec(index = 2)] @@ -1399,12 +1620,12 @@ pub mod api { target: ::sp_core::crypto::AccountId32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateInfo<_0, _1> { pub who: _0, pub deposit: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCandidates, @@ -1441,11 +1662,13 @@ pub mod api { #[codec(index = 16)] InvalidUnreserve, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewInvulnerables { - invulnerables: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + invulnerables: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, #[codec(index = 1)] InvulnerableAdded { account_id: ::sp_core::crypto::AccountId32 }, @@ -1482,7 +1705,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] reap_page { @@ -1499,7 +1722,7 @@ pub mod api { weight_limit: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotReapable, @@ -1520,18 +1743,18 @@ pub mod api { #[codec(index = 8)] RecursiveDisallowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ProcessingFailed { - id: ::subxt::utils::H256, + id: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin, error: runtime_types::frame_support::traits::messages::ProcessMessageError, }, #[codec(index = 1)] Processed { - id: ::subxt::utils::H256, + id: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::bridge_hub_common::message_queue::AggregateMessageOrigin, weight_used: ::sp_weights::Weight, @@ -1553,7 +1776,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -1563,12 +1786,12 @@ pub mod api { pub message_count: ::core::primitive::u64, pub size: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, @@ -1584,23 +1807,27 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_multi_threshold_1 { - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, - call: ::std::boxed::Box< + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_westend_runtime::RuntimeCall, >, }, #[codec(index = 1)] as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_westend_runtime::RuntimeCall, >, max_weight: ::sp_weights::Weight, @@ -1608,7 +1835,9 @@ pub mod api { #[codec(index = 2)] approve_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, @@ -1618,13 +1847,15 @@ pub mod api { #[codec(index = 3)] cancel_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MinimumThreshold, @@ -1655,7 +1886,7 @@ pub mod api { #[codec(index = 13)] AlreadyStored, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewMultisig { @@ -1691,14 +1922,14 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -1708,17 +1939,17 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_keys { keys: runtime_types::bridge_hub_westend_runtime::SessionKeys, - proof: ::std::vec::Vec<::core::primitive::u8>, + proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] purge_keys, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidProof, @@ -1731,7 +1962,7 @@ pub mod api { #[codec(index = 4)] NoAccount, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, @@ -1742,7 +1973,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set { @@ -1756,7 +1987,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] TransactionFeePaid { @@ -1766,9 +1997,31 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub mod types { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct FeeDetails<_0> { + pub inclusion_fee: ::core::option::Option< + runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, + >, + pub tip: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InclusionFee<_0> { + pub base_fee: _0, + pub len_fee: _0, + pub adjusted_weight_fee: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RuntimeDispatchInfo<_0, _1> { + pub weight: _1, + pub class: runtime_types::frame_support::dispatch::DispatchClass, + pub partial_fee: _0, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -1780,53 +2033,56 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] batch { - calls: - ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bridge_hub_westend_runtime::RuntimeCall, + >, }, #[codec(index = 1)] as_derivative { index: ::core::primitive::u16, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_westend_runtime::RuntimeCall, >, }, #[codec(index = 2)] batch_all { - calls: - ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bridge_hub_westend_runtime::RuntimeCall, + >, }, #[codec(index = 3)] dispatch_as { - as_origin: ::std::boxed::Box< + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_westend_runtime::OriginCaller, >, - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_westend_runtime::RuntimeCall, >, }, #[codec(index = 4)] force_batch { - calls: - ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::bridge_hub_westend_runtime::RuntimeCall, + >, }, #[codec(index = 5)] with_weight { - call: ::std::boxed::Box< + call: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::bridge_hub_westend_runtime::RuntimeCall, >, weight: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCalls, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BatchInterrupted { @@ -1853,83 +2109,150 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - send { - dest: ::std::boxed::Box, - message: ::std::boxed::Box, - }, - #[codec(index = 1)] - teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - }, - #[codec(index = 2)] - reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - }, - #[codec(index = 3)] - execute { - message: ::std::boxed::Box, - max_weight: ::sp_weights::Weight, - }, - #[codec(index = 4)] - force_xcm_version { - location: - ::std::boxed::Box, - version: ::core::primitive::u32, - }, - #[codec(index = 5)] - force_default_xcm_version { - maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, - }, - #[codec(index = 6)] - force_subscribe_version_notify { - location: ::std::boxed::Box, - }, - #[codec(index = 7)] - force_unsubscribe_version_notify { - location: ::std::boxed::Box, - }, - #[codec(index = 8)] - limited_reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 9)] - limited_teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 10)] - force_suspension { suspended: ::core::primitive::bool }, - #[codec(index = 11)] - transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 12)] - claim_assets { - assets: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + send { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + }, + #[codec(index = 1)] + teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 2)] + reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 3)] + execute { + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + max_weight: ::sp_weights::Weight, + }, + #[codec(index = 4)] + force_xcm_version { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, + version: ::core::primitive::u32, + }, + #[codec(index = 5)] + force_default_xcm_version { + maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 6)] + force_subscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 7)] + force_unsubscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 8)] + limited_reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 9)] + limited_teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 10)] + force_suspension { suspended: ::core::primitive::bool }, + #[codec(index = 11)] + transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 12)] + claim_assets { + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 13)] + transfer_assets_using_type_and_then { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + assets_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + remote_fees_id: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssetId, + >, + fees_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + custom_xcm_on_dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Unreachable, @@ -1971,8 +2294,6 @@ pub mod api { LockNotFound, #[codec(index = 19)] InUse, - #[codec(index = 20)] - InvalidAssetNotConcrete, #[codec(index = 21)] InvalidAssetUnknownReserve, #[codec(index = 22)] @@ -1982,7 +2303,7 @@ pub mod api { #[codec(index = 24)] LocalExecutionIncomplete, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, @@ -2046,7 +2367,7 @@ pub mod api { ResponseTaken { query_id: ::core::primitive::u64 }, #[codec(index = 11)] AssetsTrapped { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::staging_xcm::v4::location::Location, assets: runtime_types::xcm::VersionedAssets, }, @@ -2112,21 +2433,21 @@ pub mod api { }, #[codec(index = 22)] AssetsClaimed { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::staging_xcm::v4::location::Location, assets: runtime_types::xcm::VersionedAssets, }, #[codec(index = 23)] VersionMigrationFinished { version: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Xcm(runtime_types::staging_xcm::v4::location::Location), #[codec(index = 1)] Response(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { @@ -2145,7 +2466,7 @@ pub mod api { #[codec(index = 2)] Ready { response: runtime_types::xcm::VersionedResponse, at: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, pub owner: runtime_types::xcm::VersionedLocation, @@ -2155,7 +2476,7 @@ pub mod api { ::core::primitive::u128, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -2163,7 +2484,9 @@ pub mod api { MigrateVersionNotifiers, #[codec(index = 2)] NotifyCurrentTargets( - ::core::option::Option<::std::vec::Vec<::core::primitive::u8>>, + ::core::option::Option< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, ), #[codec(index = 3)] MigrateAndNotifyOldTargets, @@ -2172,52 +2495,58 @@ pub mod api { } pub mod polkadot_core_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, - pub msg: ::std::vec::Vec<::core::primitive::u8>, + pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod polkadot_parachain_primitives { use super::runtime_types; pub mod primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct HeadData(pub ::std::vec::Vec<::core::primitive::u8>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct HeadData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Id(pub ::core::primitive::u32); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidationCode( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } } pub mod polkadot_primitives { use super::runtime_types; - pub mod v6 { + pub mod v7 { use super::runtime_types; pub mod async_backing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AsyncBackingParams { pub max_candidate_depth: ::core::primitive::u32, pub allowed_ancestry_len: ::core::primitive::u32, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHostConfiguration { pub max_code_size: ::core::primitive::u32, pub max_head_data_size: ::core::primitive::u32, @@ -2229,18 +2558,18 @@ pub mod api { pub validation_upgrade_cooldown: ::core::primitive::u32, pub validation_upgrade_delay: ::core::primitive::u32, pub async_backing_params: - runtime_types::polkadot_primitives::v6::async_backing::AsyncBackingParams, + runtime_types::polkadot_primitives::v7::async_backing::AsyncBackingParams, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AbridgedHrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, pub max_message_size: ::core::primitive::u32, pub msg_count: ::core::primitive::u32, pub total_size: ::core::primitive::u32, - pub mqc_head: ::core::option::Option<::subxt::utils::H256>, + pub mqc_head: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PersistedValidationData<_0, _1> { pub parent_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -2248,14 +2577,14 @@ pub mod api { pub relay_parent_storage_root: _0, pub max_pov_size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, #[codec(index = 1)] GoAhead, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeRestriction { #[codec(index = 0)] Present, @@ -2264,7 +2593,7 @@ pub mod api { } pub mod snowbridge_core { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChannelId(pub [::core::primitive::u8; 32usize]); } pub mod sp_arithmetic { @@ -2272,16 +2601,16 @@ pub mod api { pub mod fixed_point { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct FixedU128(pub ::core::primitive::u128); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -2297,8 +2626,8 @@ pub mod api { use super::runtime_types; pub mod app_sr25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); } } } @@ -2306,84 +2635,167 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::ed25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 64usize]); } } pub mod sp_consensus_slots { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Slot(pub ::core::primitive::u64); + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct SlotDuration(pub ::core::primitive::u64); } pub mod sp_core { use super::runtime_types; pub mod crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } - pub mod ecdsa { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 65usize]); - } - pub mod ed25519 { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueMetadata( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Void {} + } + pub mod sp_inherents { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CheckInherentsResult { + pub okay: ::core::primitive::bool, + pub fatal_error: ::core::primitive::bool, + pub errors: runtime_types::sp_inherents::InherentData, } - pub mod sr25519 { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InherentData { + pub data: ::subxt::ext::subxt_core::utils::KeyedVec< + [::core::primitive::u8; 8usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Void {} } pub mod sp_runtime { use super::runtime_types; pub mod generic { use super::runtime_types; + pub mod block { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Block<_0, _1> { + pub header: _0, + pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + } + } pub mod digest { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DigestItem { #[codec(index = 6)] PreRuntime( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 4)] Consensus( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 5)] Seal( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 0)] - Other(::std::vec::Vec<::core::primitive::u8>), + Other(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), #[codec(index = 8)] RuntimeEnvironmentUpdated, } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub mod transaction_validity { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum InvalidTransaction { + #[codec(index = 0)] + Call, + #[codec(index = 1)] + Payment, + #[codec(index = 2)] + Future, + #[codec(index = 3)] + Stale, + #[codec(index = 4)] + BadProof, + #[codec(index = 5)] + AncientBirthBlock, + #[codec(index = 6)] + ExhaustsResources, + #[codec(index = 7)] + Custom(::core::primitive::u8), + #[codec(index = 8)] + BadMandatory, + #[codec(index = 9)] + MandatoryValidation, + #[codec(index = 10)] + BadSigner, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionSource { + #[codec(index = 0)] + InBlock, + #[codec(index = 1)] + Local, + #[codec(index = 2)] + External, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionValidityError { + #[codec(index = 0)] + Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), + #[codec(index = 1)] + Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum UnknownTransaction { + #[codec(index = 0)] + CannotLookup, + #[codec(index = 1)] + NoUnsignedValidator, + #[codec(index = 2)] + Custom(::core::primitive::u8), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidTransaction { + pub priority: ::core::primitive::u64, + pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub longevity: ::core::primitive::u64, + pub propagate: ::core::primitive::bool, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchError { #[codec(index = 0)] Other, @@ -2414,21 +2826,28 @@ pub mod api { #[codec(index = 13)] RootNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ExtrinsicInclusionMode { + #[codec(index = 0)] + AllExtrinsics, + #[codec(index = 1)] + OnlyInherents, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiSignature { #[codec(index = 0)] - Ed25519(runtime_types::sp_core::ed25519::Signature), + Ed25519([::core::primitive::u8; 64usize]), #[codec(index = 1)] - Sr25519(runtime_types::sp_core::sr25519::Signature), + Sr25519([::core::primitive::u8; 64usize]), #[codec(index = 2)] - Ecdsa(runtime_types::sp_core::ecdsa::Signature), + Ecdsa([::core::primitive::u8; 65usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -2451,7 +2870,7 @@ pub mod api { #[codec(index = 9)] Blocked, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -2463,30 +2882,34 @@ pub mod api { use super::runtime_types; pub mod storage_proof { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StorageProof { - pub trie_nodes: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + pub trie_nodes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, } } } pub mod sp_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeVersion { - pub spec_name: ::std::string::String, - pub impl_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, + pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, pub authoring_version: ::core::primitive::u32, pub spec_version: ::core::primitive::u32, pub impl_version: ::core::primitive::u32, - pub apis: - ::std::vec::Vec<([::core::primitive::u8; 8usize], ::core::primitive::u32)>, + pub apis: ::subxt::ext::subxt_core::alloc::vec::Vec<( + [::core::primitive::u8; 8usize], + ::core::primitive::u32, + )>, pub transaction_version: ::core::primitive::u32, pub state_version: ::core::primitive::u8, } } pub mod sp_weights { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -2496,7 +2919,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} } } @@ -2506,7 +2929,7 @@ pub mod api { use super::runtime_types; pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v3::junctions::Junctions, @@ -2517,21 +2940,21 @@ pub mod api { use super::runtime_types; pub mod asset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Asset { pub id: runtime_types::staging_xcm::v4::asset::AssetId, pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetFilter { #[codec(index = 0)] Definite(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 1)] Wild(runtime_types::staging_xcm::v4::asset::WildAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AssetId(pub runtime_types::staging_xcm::v4::location::Location); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -2546,18 +2969,20 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Assets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::asset::Asset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildAsset { #[codec(index = 0)] All, @@ -2576,7 +3001,7 @@ pub mod api { count: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, @@ -2586,7 +3011,7 @@ pub mod api { } pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -2631,7 +3056,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -2665,7 +3090,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -2689,7 +3114,7 @@ pub mod api { } pub mod location { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Location { pub parents: ::core::primitive::u8, pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, @@ -2697,7 +3122,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Outcome { #[codec(index = 0)] Complete { used: ::sp_weights::Weight }, @@ -2710,7 +3135,7 @@ pub mod api { Error { error: runtime_types::xcm::v3::traits::Error }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), @@ -2855,15 +3280,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -2917,285 +3344,96 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PalletInfo { + #[codec(compact)] + pub index: ::core::primitive::u32, + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + #[codec(compact)] + pub major: ::core::primitive::u32, + #[codec(compact)] + pub minor: ::core::primitive::u32, + #[codec(compact)] + pub patch: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueryResponseInfo { + pub destination: runtime_types::staging_xcm::v4::location::Location, + #[codec(compact)] + pub query_id: ::core::primitive::u64, + pub max_weight: ::sp_weights::Weight, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Response { #[codec(index = 0)] - WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), + Null, #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::staging_xcm::v4::asset::Assets), + Assets(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::staging_xcm::v4::asset::Assets), + ExecutionResult( + ::core::option::Option<( + ::core::primitive::u32, + runtime_types::xcm::v3::traits::Error, + )>, + ), #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::staging_xcm::v4::Response, - max_weight: ::sp_weights::Weight, - querier: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, + Version(::core::primitive::u32), #[codec(index = 4)] - TransferAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, + PalletsInfo( + runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v4::PalletInfo, + >, + ), #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_kind: runtime_types::xcm::v2::OriginKind, - require_weight_at_most: ::sp_weights::Weight, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::staging_xcm::v4::junctions::Junctions), - #[codec(index = 12)] - ReportError(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - beneficiary: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::staging_xcm::v4::asset::AssetFilter, - want: runtime_types::staging_xcm::v4::asset::Assets, - maximal: ::core::primitive::bool, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - reserve: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - dest: runtime_types::staging_xcm::v4::location::Location, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 18)] - ReportHolding { - response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, - assets: runtime_types::staging_xcm::v4::asset::AssetFilter, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::staging_xcm::v4::asset::Asset, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::staging_xcm::v4::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::staging_xcm::v4::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::staging_xcm::v4::asset::Assets, - ticket: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - max_response_weight: ::sp_weights::Weight, - }, - #[codec(index = 27)] - UnsubscribeVersion, - #[codec(index = 28)] - BurnAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 29)] - ExpectAsset(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 30)] - ExpectOrigin( - ::core::option::Option, - ), - #[codec(index = 31)] - ExpectError( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 32)] - ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), - #[codec(index = 33)] - QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, - response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, - }, - #[codec(index = 34)] - ExpectPallet { - #[codec(compact)] - index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, - #[codec(compact)] - crate_major: ::core::primitive::u32, - #[codec(compact)] - min_crate_minor: ::core::primitive::u32, - }, - #[codec(index = 35)] - ReportTransactStatus(runtime_types::staging_xcm::v4::QueryResponseInfo), - #[codec(index = 36)] - ClearTransactStatus, - #[codec(index = 37)] - UniversalOrigin(runtime_types::staging_xcm::v4::junction::Junction), - #[codec(index = 38)] - ExportMessage { - network: runtime_types::staging_xcm::v4::junction::NetworkId, - destination: runtime_types::staging_xcm::v4::junctions::Junctions, - xcm: runtime_types::staging_xcm::v4::Xcm, - }, - #[codec(index = 39)] - LockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - unlocker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 40)] - UnlockAsset { - asset: runtime_types::staging_xcm::v4::asset::Asset, - target: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 41)] - NoteUnlockable { - asset: runtime_types::staging_xcm::v4::asset::Asset, - owner: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 42)] - RequestUnlock { - asset: runtime_types::staging_xcm::v4::asset::Asset, - locker: runtime_types::staging_xcm::v4::location::Location, - }, - #[codec(index = 43)] - SetFeesMode { jit_withdraw: ::core::primitive::bool }, - #[codec(index = 44)] - SetTopic([::core::primitive::u8; 32usize]), - #[codec(index = 45)] - ClearTopic, - #[codec(index = 46)] - AliasOrigin(runtime_types::staging_xcm::v4::location::Location), - #[codec(index = 47)] - UnpaidExecution { - weight_limit: runtime_types::xcm::v3::WeightLimit, - check_origin: ::core::option::Option< - runtime_types::staging_xcm::v4::location::Location, - >, - }, + DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PalletInfo { - #[codec(compact)] - pub index: ::core::primitive::u32, - pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::Instruction, >, - pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u8, - >, - #[codec(compact)] - pub major: ::core::primitive::u32, - #[codec(compact)] - pub minor: ::core::primitive::u32, - #[codec(compact)] - pub patch: ::core::primitive::u32, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct QueryResponseInfo { - pub destination: runtime_types::staging_xcm::v4::location::Location, - #[codec(compact)] - pub query_id: ::core::primitive::u64, - pub max_weight: ::sp_weights::Weight, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Response { - #[codec(index = 0)] - Null, - #[codec(index = 1)] - Assets(runtime_types::staging_xcm::v4::asset::Assets), - #[codec(index = 2)] - ExecutionResult( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 3)] - Version(::core::primitive::u32), - #[codec(index = 4)] - PalletsInfo( - runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::staging_xcm::v4::PalletInfo, - >, - ), - #[codec(index = 5)] - DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), + ); + } + } + pub mod staging_xcm_executor { + use super::runtime_types; + pub mod traits { + use super::runtime_types; + pub mod asset_transfer { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransferType { + #[codec(index = 0)] + Teleport, + #[codec(index = 1)] + LocalReserve, + #[codec(index = 2)] + DestinationReserve, + #[codec(index = 3)] + RemoteReserve(runtime_types::xcm::VersionedLocation), + } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); } } pub mod xcm { use super::runtime_types; pub mod double_encoded { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DoubleEncoded { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct DoubleEncoded2 { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, + pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod v2 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -3236,14 +3474,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] - Abstract(::std::vec::Vec<::core::primitive::u8>), + Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -3258,39 +3496,41 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), #[codec(index = 6)] - Blob(::std::vec::Vec<::core::primitive::u8>), + Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -3303,7 +3543,7 @@ pub mod api { } pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -3366,7 +3606,7 @@ pub mod api { runtime_types::xcm::v2::junction::Junction, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -3374,7 +3614,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -3430,7 +3670,7 @@ pub mod api { WeightNotComputable, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -3457,179 +3697,39 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, - #[codec(index = 1)] - Members { - #[codec(compact)] - count: ::core::primitive::u32, - }, - #[codec(index = 2)] - Fraction { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, - #[codec(index = 3)] - AtLeastProportion { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, - #[codec(index = 4)] - MoreThanProportion { - #[codec(compact)] - nom: ::core::primitive::u32, - #[codec(compact)] - denom: ::core::primitive::u32, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction { - #[codec(index = 0)] - WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::xcm::v2::multiasset::MultiAssets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::xcm::v2::Response, - #[codec(compact)] - max_weight: ::core::primitive::u64, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_type: runtime_types::xcm::v2::OriginKind, - #[codec(compact)] - require_weight_at_most: ::core::primitive::u64, - call: runtime_types::xcm::double_encoded::DoubleEncoded, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::xcm::v2::multilocation::Junctions), - #[codec(index = 12)] - ReportError { - #[codec(compact)] - query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - #[codec(compact)] - max_response_weight: ::core::primitive::u64, - }, - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - beneficiary: runtime_types::xcm::v2::multilocation::MultiLocation, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - #[codec(compact)] - max_assets: ::core::primitive::u32, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - receive: runtime_types::xcm::v2::multiasset::MultiAssets, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - reserve: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, - }, - #[codec(index = 18)] - QueryHolding { - #[codec(compact)] - query_id: ::core::primitive::u64, - dest: runtime_types::xcm::v2::multilocation::MultiLocation, - assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, + #[codec(index = 1)] + Members { #[codec(compact)] - max_response_weight: ::core::primitive::u64, + count: ::core::primitive::u32, }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::xcm::v2::multiasset::MultiAsset, - weight_limit: runtime_types::xcm::v2::WeightLimit, + #[codec(index = 2)] + Fraction { + #[codec(compact)] + nom: ::core::primitive::u32, + #[codec(compact)] + denom: ::core::primitive::u32, }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v2::Xcm), - #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v2::Xcm), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::xcm::v2::multiasset::MultiAssets, - ticket: runtime_types::xcm::v2::multilocation::MultiLocation, + #[codec(index = 3)] + AtLeastProportion { + #[codec(compact)] + nom: ::core::primitive::u32, + #[codec(compact)] + denom: ::core::primitive::u32, }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { + #[codec(index = 4)] + MoreThanProportion { #[codec(compact)] - query_id: ::core::primitive::u64, + nom: ::core::primitive::u32, #[codec(compact)] - max_response_weight: ::core::primitive::u64, + denom: ::core::primitive::u32, }, - #[codec(index = 27)] - UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] @@ -3660,7 +3760,7 @@ pub mod api { origin_type: runtime_types::xcm::v2::OriginKind, #[codec(compact)] require_weight_at_most: ::core::primitive::u64, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, + call: runtime_types::xcm::double_encoded::DoubleEncoded, }, #[codec(index = 7)] HrmpNewChannelOpenRequest { @@ -3746,9 +3846,9 @@ pub mod api { #[codec(index = 20)] RefundSurplus, #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v2::Xcm2), + SetErrorHandler(runtime_types::xcm::v2::Xcm), #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v2::Xcm2), + SetAppendix(runtime_types::xcm::v2::Xcm), #[codec(index = 23)] ClearError, #[codec(index = 24)] @@ -3768,7 +3868,7 @@ pub mod api { #[codec(index = 27)] UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] Any, @@ -3783,7 +3883,7 @@ pub mod api { #[codec(index = 3)] Kusama, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginKind { #[codec(index = 0)] Native, @@ -3794,7 +3894,7 @@ pub mod api { #[codec(index = 3)] Xcm, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -3810,23 +3910,25 @@ pub mod api { #[codec(index = 3)] Version(::core::primitive::u32), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(#[codec(compact)] ::core::primitive::u64), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::Instruction, + >, + ); } pub mod v3 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -3849,7 +3951,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -3880,7 +3982,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -3922,7 +4024,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -3956,7 +4058,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -4022,14 +4124,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] Abstract([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -4044,37 +4146,39 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -4096,7 +4200,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -4180,7 +4284,7 @@ pub mod api { ExceedsStackLimit, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -4327,224 +4431,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, - response_info: runtime_types::xcm::v3::QueryResponseInfo, - }, - #[codec(index = 34)] - ExpectPallet { - #[codec(compact)] - index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, - #[codec(compact)] - crate_major: ::core::primitive::u32, - #[codec(compact)] - min_crate_minor: ::core::primitive::u32, - }, - #[codec(index = 35)] - ReportTransactStatus(runtime_types::xcm::v3::QueryResponseInfo), - #[codec(index = 36)] - ClearTransactStatus, - #[codec(index = 37)] - UniversalOrigin(runtime_types::xcm::v3::junction::Junction), - #[codec(index = 38)] - ExportMessage { - network: runtime_types::xcm::v3::junction::NetworkId, - destination: runtime_types::xcm::v3::junctions::Junctions, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 39)] - LockAsset { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - unlocker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 40)] - UnlockAsset { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - target: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 41)] - NoteUnlockable { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - owner: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 42)] - RequestUnlock { - asset: runtime_types::xcm::v3::multiasset::MultiAsset, - locker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 43)] - SetFeesMode { jit_withdraw: ::core::primitive::bool }, - #[codec(index = 44)] - SetTopic([::core::primitive::u8; 32usize]), - #[codec(index = 45)] - ClearTopic, - #[codec(index = 46)] - AliasOrigin(runtime_types::staging_xcm::v3::multilocation::MultiLocation), - #[codec(index = 47)] - UnpaidExecution { - weight_limit: runtime_types::xcm::v3::WeightLimit, - check_origin: ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Instruction2 { - #[codec(index = 0)] - WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 1)] - ReserveAssetDeposited(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 2)] - ReceiveTeleportedAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 3)] - QueryResponse { - #[codec(compact)] - query_id: ::core::primitive::u64, - response: runtime_types::xcm::v3::Response, - max_weight: ::sp_weights::Weight, - querier: ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - }, - #[codec(index = 4)] - TransferAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 5)] - TransferReserveAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 6)] - Transact { - origin_kind: runtime_types::xcm::v2::OriginKind, - require_weight_at_most: ::sp_weights::Weight, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, - }, - #[codec(index = 7)] - HrmpNewChannelOpenRequest { - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - max_message_size: ::core::primitive::u32, - #[codec(compact)] - max_capacity: ::core::primitive::u32, - }, - #[codec(index = 8)] - HrmpChannelAccepted { - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 9)] - HrmpChannelClosing { - #[codec(compact)] - initiator: ::core::primitive::u32, - #[codec(compact)] - sender: ::core::primitive::u32, - #[codec(compact)] - recipient: ::core::primitive::u32, - }, - #[codec(index = 10)] - ClearOrigin, - #[codec(index = 11)] - DescendOrigin(runtime_types::xcm::v3::junctions::Junctions), - #[codec(index = 12)] - ReportError(runtime_types::xcm::v3::QueryResponseInfo), - #[codec(index = 13)] - DepositAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 14)] - DepositReserveAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 15)] - ExchangeAsset { - give: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - want: runtime_types::xcm::v3::multiasset::MultiAssets, - maximal: ::core::primitive::bool, - }, - #[codec(index = 16)] - InitiateReserveWithdraw { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 17)] - InitiateTeleport { - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, - }, - #[codec(index = 18)] - ReportHolding { - response_info: runtime_types::xcm::v3::QueryResponseInfo, - assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - }, - #[codec(index = 19)] - BuyExecution { - fees: runtime_types::xcm::v3::multiasset::MultiAsset, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 20)] - RefundSurplus, - #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v3::Xcm2), - #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v3::Xcm2), - #[codec(index = 23)] - ClearError, - #[codec(index = 24)] - ClaimAsset { - assets: runtime_types::xcm::v3::multiasset::MultiAssets, - ticket: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - }, - #[codec(index = 25)] - Trap(#[codec(compact)] ::core::primitive::u64), - #[codec(index = 26)] - SubscribeVersion { - #[codec(compact)] - query_id: ::core::primitive::u64, - max_response_weight: ::sp_weights::Weight, - }, - #[codec(index = 27)] - UnsubscribeVersion, - #[codec(index = 28)] - BurnAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 29)] - ExpectAsset(runtime_types::xcm::v3::multiasset::MultiAssets), - #[codec(index = 30)] - ExpectOrigin( - ::core::option::Option< - runtime_types::staging_xcm::v3::multilocation::MultiLocation, - >, - ), - #[codec(index = 31)] - ExpectError( - ::core::option::Option<( - ::core::primitive::u32, - runtime_types::xcm::v3::traits::Error, - )>, - ), - #[codec(index = 32)] - ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), - #[codec(index = 33)] - QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::xcm::v3::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -4598,7 +4495,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -4615,7 +4512,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -4632,14 +4529,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -4663,26 +4560,28 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(::sp_weights::Weight), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm2(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::Instruction, + >, + ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::AssetId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -4691,7 +4590,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::Assets), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), @@ -4700,7 +4599,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), @@ -4709,7 +4608,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Response), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm), @@ -4718,15 +4617,6 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Xcm), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum VersionedXcm2 { - #[codec(index = 2)] - V2(runtime_types::xcm::v2::Xcm2), - #[codec(index = 3)] - V3(runtime_types::xcm::v3::Xcm2), - #[codec(index = 4)] - V4(runtime_types::staging_xcm::v4::Xcm2), - } } } } diff --git a/relay-clients/client-kusama/src/codegen_runtime.rs b/relay-clients/client-kusama/src/codegen_runtime.rs index 245cb753f2..ccffa740d0 100644 --- a/relay-clients/client-kusama/src/codegen_runtime.rs +++ b/relay-clients/client-kusama/src/codegen_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -16,7 +16,7 @@ //! Autogenerated runtime API //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen -//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://kusama-rpc.polkadot.io/ +//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://kusama-rpc.polkadot.io #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] @@ -32,37 +32,37 @@ pub mod api { use super::runtime_types; pub mod bounded_btree_map { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BoundedBTreeMap<_0, _1>( pub ::subxt::ext::subxt_core::utils::KeyedVec<_0, _1>, ); } pub mod bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod finality_grandpa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Equivocation<_0, _1, _2> { pub round_number: ::core::primitive::u64, pub identity: _0, pub first: (_1, _2), pub second: (_1, _2), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Prevote<_0, _1> { pub target_hash: _0, pub target_number: _1, @@ -72,7 +72,7 @@ pub mod api { use super::runtime_types; pub mod dispatch { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -81,31 +81,31 @@ pub mod api { #[codec(index = 2)] Mandatory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchInfo { pub weight: ::sp_weights::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, #[codec(index = 1)] No, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PostDispatchInfo { pub actual_weight: ::core::option::Option<::sp_weights::Weight>, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -119,7 +119,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -135,7 +135,7 @@ pub mod api { } pub mod preimages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Bounded<_0, _1> { #[codec(index = 0)] Legacy { @@ -157,7 +157,7 @@ pub mod api { } pub mod schedule { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchTime<_0> { #[codec(index = 0)] At(_0), @@ -170,9 +170,9 @@ pub mod api { pub mod fungible { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -181,9 +181,7 @@ pub mod api { } pub mod misc { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -193,7 +191,7 @@ pub mod api { } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { @@ -202,49 +200,49 @@ pub mod api { use super::runtime_types; pub mod check_genesis { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckMortality(pub ::sp_runtime::generic::Era); } pub mod check_non_zero_sender { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockWeights { pub base_block: ::sp_weights::Weight, pub max_block: ::sp_weights::Weight, @@ -252,7 +250,7 @@ pub mod api { runtime_types::frame_system::limits::WeightsPerClass, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeightsPerClass { pub base_extrinsic: ::sp_weights::Weight, pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>, @@ -262,7 +260,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] remark { @@ -311,7 +309,7 @@ pub mod api { code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidSpecName, @@ -330,7 +328,7 @@ pub mod api { #[codec(index = 7)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { @@ -359,7 +357,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -367,24 +365,24 @@ pub mod api { pub sufficients: ::core::primitive::u32, pub data: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CodeUpgradeAuthorization { pub code_hash: ::subxt::ext::subxt_core::utils::H256, pub check_version: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -398,7 +396,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] create { @@ -421,14 +419,14 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnknownAssetKind, #[codec(index = 1)] AlreadyExists, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] AssetRateCreated { @@ -455,7 +453,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { @@ -488,7 +486,7 @@ pub mod api { config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidEquivocationProof, @@ -505,12 +503,12 @@ pub mod api { use super::runtime_types; pub mod list { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bag { pub head: ::core::option::Option<::sp_core::crypto::AccountId32>, pub tail: ::core::option::Option<::sp_core::crypto::AccountId32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ListError { #[codec(index = 0)] Duplicate, @@ -521,7 +519,7 @@ pub mod api { #[codec(index = 3)] NodeNotFound, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Node { pub id: ::sp_core::crypto::AccountId32, pub prev: ::core::option::Option<::sp_core::crypto::AccountId32>, @@ -532,7 +530,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] rebag { @@ -560,12 +558,12 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] List(runtime_types::pallet_bags_list::list::ListError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Rebagged { @@ -585,7 +583,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] transfer_allow_death { @@ -656,7 +654,7 @@ pub mod api { delta: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] VestingBalance, @@ -683,7 +681,7 @@ pub mod api { #[codec(index = 11)] DeltaZero, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Endowed { @@ -773,41 +771,41 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, pub frozen: _0, pub flags: runtime_types::pallet_balances::types::ExtraFlags, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AdjustmentDirection { #[codec(index = 0)] Increase, #[codec(index = 1)] Decrease, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ExtraFlags(pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -816,7 +814,7 @@ pub mod api { #[codec(index = 2)] All, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -827,7 +825,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { @@ -854,7 +852,7 @@ pub mod api { #[codec(index = 2)] set_new_genesis { delay_in_blocks: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidKeyOwnershipProof, @@ -871,7 +869,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] propose_bounty { @@ -932,7 +930,7 @@ pub mod api { remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InsufficientProposersBalance, @@ -957,7 +955,7 @@ pub mod api { #[codec(index = 10)] TooManyQueued, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BountyProposed { index: ::core::primitive::u32 }, @@ -996,7 +994,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bounty<_0, _1, _2> { pub proposer: _0, pub value: _1, @@ -1005,7 +1003,7 @@ pub mod api { pub bond: _1, pub status: runtime_types::pallet_bounties::BountyStatus<_0, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BountyStatus<_0, _1> { #[codec(index = 0)] Proposed, @@ -1025,7 +1023,7 @@ pub mod api { use super::runtime_types; pub mod coretime_interface { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CoreAssignment { #[codec(index = 0)] Idle, @@ -1040,7 +1038,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] add_child_bounty { @@ -1104,7 +1102,7 @@ pub mod api { child_bounty_id: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParentBountyNotActive, @@ -1113,7 +1111,7 @@ pub mod api { #[codec(index = 2)] TooManyChildBounties, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Added { index: ::core::primitive::u32, child_index: ::core::primitive::u32 }, @@ -1134,7 +1132,7 @@ pub mod api { Canceled { index: ::core::primitive::u32, child_index: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChildBounty<_0, _1, _2> { pub parent_bounty: ::core::primitive::u32, pub value: _1, @@ -1142,7 +1140,7 @@ pub mod api { pub curator_deposit: _1, pub status: runtime_types::pallet_child_bounties::ChildBountyStatus<_0, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ChildBountyStatus<_0, _1> { #[codec(index = 0)] Added, @@ -1158,7 +1156,7 @@ pub mod api { use super::runtime_types; pub mod conviction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Conviction { #[codec(index = 0)] None, @@ -1178,7 +1176,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] vote { @@ -1223,7 +1221,7 @@ pub mod api { index: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotOngoing, @@ -1250,7 +1248,7 @@ pub mod api { #[codec(index = 11)] BadClass, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Delegated(::sp_core::crypto::AccountId32, ::sp_core::crypto::AccountId32), @@ -1260,12 +1258,12 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Delegations<_0> { pub votes: _0, pub capital: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Tally<_0> { pub ayes: _0, pub nays: _0, @@ -1274,7 +1272,7 @@ pub mod api { } pub mod vote { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AccountVote<_0> { #[codec(index = 0)] Standard { @@ -1286,7 +1284,7 @@ pub mod api { #[codec(index = 2)] SplitAbstain { aye: _0, nay: _0, abstain: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Casting<_0, _1, _2> { pub votes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( _1, @@ -1298,7 +1296,7 @@ pub mod api { #[codec(skip)] pub __ignore: ::core::marker::PhantomData<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Delegating<_0, _1, _2> { pub balance: _0, pub target: _1, @@ -1307,18 +1305,18 @@ pub mod api { runtime_types::pallet_conviction_voting::types::Delegations<_0>, pub prior: runtime_types::pallet_conviction_voting::vote::PriorLock<_2, _0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PriorLock<_0, _1>(pub _0, pub _1); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Vote(pub ::core::primitive::u8); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Voting<_0, _1, _2, _3> { #[codec(index = 0)] Casting(runtime_types::pallet_conviction_voting::vote::Casting<_0, _2, _2>), @@ -1334,10 +1332,49 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] submit_unsigned { raw_solution : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: staging_kusama_runtime :: NposCompactSolution24 > > , witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , } , # [codec (index = 1)] set_minimum_untrusted_score { maybe_next_score : :: core :: option :: Option < runtime_types :: sp_npos_elections :: ElectionScore > , } , # [codec (index = 2)] set_emergency_election_result { supports : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (:: sp_core :: crypto :: AccountId32 , runtime_types :: sp_npos_elections :: Support < :: sp_core :: crypto :: AccountId32 > ,) > , } , # [codec (index = 3)] submit { raw_solution : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: staging_kusama_runtime :: NposCompactSolution24 > > , } , # [codec (index = 4)] governance_fallback { maybe_max_voters : :: core :: option :: Option < :: core :: primitive :: u32 > , maybe_max_targets : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + submit_unsigned { + raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::staging_kusama_runtime::NposCompactSolution24, + >, + >, + witness: runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize, + }, + #[codec(index = 1)] + set_minimum_untrusted_score { + maybe_next_score: ::core::option::Option< + runtime_types::sp_npos_elections::ElectionScore, + >, + }, + #[codec(index = 2)] + set_emergency_election_result { + supports: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + ::sp_core::crypto::AccountId32, + runtime_types::sp_npos_elections::Support< + ::sp_core::crypto::AccountId32, + >, + ), + >, + }, + #[codec(index = 3)] + submit { + raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::staging_kusama_runtime::NposCompactSolution24, + >, + >, + }, + #[codec(index = 4)] + governance_fallback { + maybe_max_voters: ::core::option::Option<::core::primitive::u32>, + maybe_max_targets: ::core::option::Option<::core::primitive::u32>, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PreDispatchEarlySubmission, @@ -1370,7 +1407,7 @@ pub mod api { #[codec(index = 14)] PreDispatchDifferentRound, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] SolutionStored { @@ -1411,7 +1448,7 @@ pub mod api { } pub mod signed { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SignedSubmission<_0, _1, _2> { pub who: _0, pub deposit: _1, @@ -1420,7 +1457,7 @@ pub mod api { pub call_fee: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ElectionCompute { #[codec(index = 0)] OnChain, @@ -1433,7 +1470,7 @@ pub mod api { #[codec(index = 4)] Emergency, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase<_0> { #[codec(index = 0)] Off, @@ -1444,13 +1481,13 @@ pub mod api { #[codec(index = 3)] Emergency, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RawSolution<_0> { pub solution: _0, pub score: runtime_types::sp_npos_elections::ElectionScore, pub round: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReadySolution { pub supports: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::sp_core::crypto::AccountId32, @@ -1459,12 +1496,12 @@ pub mod api { pub score: runtime_types::sp_npos_elections::ElectionScore, pub compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RoundSnapshot<_0, _1> { pub voters: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, pub targets: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SolutionOrSnapshotSize { #[codec(compact)] pub voters: ::core::primitive::u32, @@ -1476,7 +1513,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] register_fast_unstake, @@ -1485,7 +1522,7 @@ pub mod api { #[codec(index = 2)] control { eras_to_check: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotController, @@ -1500,7 +1537,7 @@ pub mod api { #[codec(index = 5)] CallNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Unstaked { @@ -1525,7 +1562,7 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnstakeRequest { pub stashes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::sp_core::crypto::AccountId32, @@ -1541,7 +1578,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { @@ -1569,7 +1606,7 @@ pub mod api { best_finalized_block_number: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PauseFailed, @@ -1586,7 +1623,7 @@ pub mod api { #[codec(index = 6)] DuplicateOffenceReport, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewAuthorities { @@ -1601,7 +1638,7 @@ pub mod api { Resumed, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredPendingChange<_0> { pub scheduled_at: _0, pub delay: _0, @@ -1612,7 +1649,7 @@ pub mod api { )>, pub forced: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum StoredState<_0> { #[codec(index = 0)] Live, @@ -1628,7 +1665,7 @@ pub mod api { use super::runtime_types; pub mod legacy { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdentityInfo { pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::pallet_identity::types::Data, @@ -1646,7 +1683,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] add_registrar { @@ -1797,7 +1834,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManySubAccounts, @@ -1852,7 +1889,7 @@ pub mod api { #[codec(index = 25)] NotExpired, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IdentitySet { who: ::sp_core::crypto::AccountId32 }, @@ -1940,12 +1977,12 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AuthorityProperties<_0> { pub suffix: _0, pub allocation: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Data { #[codec(index = 0)] None, @@ -2024,7 +2061,7 @@ pub mod api { #[codec(index = 37)] ShaThree256([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Judgement<_0> { #[codec(index = 0)] Unknown, @@ -2041,13 +2078,13 @@ pub mod api { #[codec(index = 6)] Erroneous, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RegistrarInfo<_0, _1, _2> { pub account: _1, pub fee: _0, pub fields: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Registration<_0, _2> { pub judgements: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::core::primitive::u32, @@ -2062,7 +2099,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim { index: ::core::primitive::u32 }, @@ -2088,7 +2125,7 @@ pub mod api { #[codec(index = 4)] freeze { index: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotAssigned, @@ -2101,7 +2138,7 @@ pub mod api { #[codec(index = 4)] Permanent, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IndexAssigned { @@ -2122,10 +2159,22 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] reap_page { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , } , # [codec (index = 1)] execute_overweight { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page : :: core :: primitive :: u32 , index : :: core :: primitive :: u32 , weight_limit : :: sp_weights :: Weight , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + reap_page { + message_origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page_index: ::core::primitive::u32, + }, + #[codec(index = 1)] + execute_overweight { + message_origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page: ::core::primitive::u32, + index: ::core::primitive::u32, + weight_limit: ::sp_weights::Weight, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotReapable, @@ -2146,11 +2195,36 @@ pub mod api { #[codec(index = 8)] RecursiveDisallowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] ProcessingFailed { id : :: subxt :: ext :: subxt_core :: utils :: H256 , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , error : runtime_types :: frame_support :: traits :: messages :: ProcessMessageError , } , # [codec (index = 1)] Processed { id : :: subxt :: ext :: subxt_core :: utils :: H256 , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , weight_used : :: sp_weights :: Weight , success : :: core :: primitive :: bool , } , # [codec (index = 2)] OverweightEnqueued { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , message_index : :: core :: primitive :: u32 , } , # [codec (index = 3)] PageReaped { origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , index : :: core :: primitive :: u32 , } , } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + ProcessingFailed { + id: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + error: runtime_types::frame_support::traits::messages::ProcessMessageError, + }, + #[codec(index = 1)] + Processed { + id: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + weight_used: ::sp_weights::Weight, + success: ::core::primitive::bool, + }, + #[codec(index = 2)] + OverweightEnqueued { + id: [::core::primitive::u8; 32usize], + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page_index: ::core::primitive::u32, + message_index: ::core::primitive::u32, + }, + #[codec(index = 3)] + PageReaped { + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + index: ::core::primitive::u32, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -2160,12 +2234,12 @@ pub mod api { pub message_count: ::core::primitive::u64, pub size: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, @@ -2181,7 +2255,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_multi_threshold_1 { @@ -2229,7 +2303,7 @@ pub mod api { call_hash: [::core::primitive::u8; 32usize], }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MinimumThreshold, @@ -2260,7 +2334,7 @@ pub mod api { #[codec(index = 13)] AlreadyStored, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewMultisig { @@ -2296,14 +2370,14 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -2313,12 +2387,12 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bid<_0, _1> { pub amount: _0, pub who: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] place_bid { @@ -2358,7 +2432,7 @@ pub mod api { index: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DurationTooSmall, @@ -2391,7 +2465,7 @@ pub mod api { #[codec(index = 14)] AlreadyPrivate, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BidPlaced { @@ -2436,18 +2510,18 @@ pub mod api { index: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HoldReason { #[codec(index = 0)] NftReceipt, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReceiptRecord<_0, _1, _2> { pub proportion: runtime_types::sp_arithmetic::per_things::Perquintill, pub owner: ::core::option::Option<(_0, _2)>, pub expiry: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SummaryRecord<_0, _1> { pub proportion_owed: runtime_types::sp_arithmetic::per_things::Perquintill, pub index: ::core::primitive::u32, @@ -2461,7 +2535,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] join { @@ -2637,7 +2711,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DefensiveError { #[codec(index = 0)] NotEnoughSpaceInUnbondPool, @@ -2650,7 +2724,7 @@ pub mod api { #[codec(index = 4)] BondedStashKilledPrematurely, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PoolNotFound, @@ -2717,7 +2791,7 @@ pub mod api { #[codec(index = 31)] NothingToAdjust, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Created { @@ -2826,20 +2900,20 @@ pub mod api { amount: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum FreezeReason { #[codec(index = 0)] PoolMinBalance, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BondExtra<_0> { #[codec(index = 0)] FreeBalance(_0), #[codec(index = 1)] Rewards, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BondedPoolInner { pub commission: runtime_types::pallet_nomination_pools::Commission, pub member_counter: ::core::primitive::u32, @@ -2849,7 +2923,7 @@ pub mod api { >, pub state: runtime_types::pallet_nomination_pools::PoolState, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ClaimPermission { #[codec(index = 0)] Permissioned, @@ -2860,7 +2934,7 @@ pub mod api { #[codec(index = 3)] PermissionlessAll, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commission { pub current: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, @@ -2879,19 +2953,19 @@ pub mod api { >, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommissionChangeRate<_0> { pub max_increase: runtime_types::sp_arithmetic::per_things::Perbill, pub min_delay: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CommissionClaimPermission<_0> { #[codec(index = 0)] Permissionless, #[codec(index = 1)] Account(_0), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -2900,7 +2974,7 @@ pub mod api { #[codec(index = 2)] Remove, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PoolMember { pub pool_id: ::core::primitive::u32, pub points: ::core::primitive::u128, @@ -2912,14 +2986,14 @@ pub mod api { ::core::primitive::u128, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PoolRoles<_0> { pub depositor: _0, pub root: ::core::option::Option<_0>, pub nominator: ::core::option::Option<_0>, pub bouncer: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PoolState { #[codec(index = 0)] Open, @@ -2928,7 +3002,7 @@ pub mod api { #[codec(index = 2)] Destroying, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RewardPool { pub last_recorded_reward_counter: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -2937,7 +3011,7 @@ pub mod api { pub total_commission_pending: ::core::primitive::u128, pub total_commission_claimed: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SubPools { pub no_era: runtime_types::pallet_nomination_pools::UnbondPool, pub with_era: @@ -2946,7 +3020,7 @@ pub mod api { runtime_types::pallet_nomination_pools::UnbondPool, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnbondPool { pub points: ::core::primitive::u128, pub balance: ::core::primitive::u128, @@ -2956,7 +3030,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Offence { @@ -2970,7 +3044,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] note_preimage { @@ -2989,7 +3063,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooBig, @@ -3008,7 +3082,7 @@ pub mod api { #[codec(index = 7)] TooFew, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Noted { hash: ::subxt::ext::subxt_core::utils::H256 }, @@ -3017,13 +3091,13 @@ pub mod api { #[codec(index = 2)] Cleared { hash: ::subxt::ext::subxt_core::utils::H256 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HoldReason { #[codec(index = 0)] Preimage, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OldRequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { deposit: (_0, _1), len: ::core::primitive::u32 }, @@ -3034,7 +3108,7 @@ pub mod api { len: ::core::option::Option<::core::primitive::u32>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { ticket: (_0, _1), len: ::core::primitive::u32 }, @@ -3050,7 +3124,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] proxy { @@ -3146,7 +3220,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooMany, @@ -3165,7 +3239,7 @@ pub mod api { #[codec(index = 7)] NoSelfProxy, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ProxyExecuted { @@ -3201,13 +3275,13 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Announcement<_0, _1, _2> { pub real: _0, pub call_hash: _1, pub height: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ProxyDefinition<_0, _1, _2> { pub delegate: _0, pub proxy_type: _1, @@ -3218,7 +3292,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] add_member { @@ -3265,7 +3339,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] AlreadyMember, @@ -3288,7 +3362,7 @@ pub mod api { #[codec(index = 9)] SameMember, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] MemberAdded { who: ::sp_core::crypto::AccountId32 }, @@ -3317,9 +3391,9 @@ pub mod api { } } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -3327,13 +3401,13 @@ pub mod api { pub struct MemberRecord { pub rank: ::core::primitive::u16, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Tally { pub bare_ayes: ::core::primitive::u32, pub ayes: ::core::primitive::u32, pub nays: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VoteRecord { #[codec(index = 0)] Aye(::core::primitive::u32), @@ -3345,7 +3419,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_recovered { @@ -3418,7 +3492,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotAllowed, @@ -3453,7 +3527,7 @@ pub mod api { #[codec(index = 15)] BadState, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] RecoveryCreated { account: ::sp_core::crypto::AccountId32 }, @@ -3482,13 +3556,13 @@ pub mod api { RecoveryRemoved { lost_account: ::sp_core::crypto::AccountId32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ActiveRecovery<_0, _1, _2> { pub created: _0, pub deposit: _1, pub friends: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RecoveryConfig<_0, _1, _2> { pub delay_period: _0, pub deposit: _1, @@ -3500,7 +3574,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit { @@ -3536,7 +3610,7 @@ pub mod api { maybe_hash: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotOngoing, @@ -3565,7 +3639,7 @@ pub mod api { #[codec(index = 12)] PreimageNotExist, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event1 { #[codec(index = 0)] Submitted { @@ -3663,7 +3737,7 @@ pub mod api { hash: ::subxt::ext::subxt_core::utils::H256, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event2 { #[codec(index = 0)] Submitted { @@ -3752,7 +3826,7 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Curve { #[codec(index = 0)] LinearDecreasing { @@ -3774,17 +3848,17 @@ pub mod api { y_offset: runtime_types::sp_arithmetic::fixed_point::FixedI64, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DecidingStatus<_0> { pub since: _0, pub confirming: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Deposit<_0, _1> { pub who: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ReferendumInfo<_0, _1, _2, _3, _4, _5, _6, _7> { #[codec(index = 0)] Ongoing( @@ -3842,7 +3916,7 @@ pub mod api { #[codec(index = 5)] Killed(_2), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7> { pub track: _0, pub origin: _1, @@ -3860,7 +3934,7 @@ pub mod api { pub in_queue: ::core::primitive::bool, pub alarm: ::core::option::Option<(_2, _7)>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct TrackInfo<_0, _1> { pub name: ::subxt::ext::subxt_core::alloc::string::String, pub max_deciding: ::core::primitive::u32, @@ -3878,7 +3952,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] schedule { @@ -3935,7 +4009,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] FailedToSchedule, @@ -3948,7 +4022,7 @@ pub mod api { #[codec(index = 4)] Named, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Scheduled { when: ::core::primitive::u32, index: ::core::primitive::u32 }, @@ -3978,7 +4052,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Scheduled<_0, _1, _2, _3, _4> { pub maybe_id: ::core::option::Option<_0>, pub priority: ::core::primitive::u8, @@ -3993,7 +4067,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_keys { @@ -4003,7 +4077,7 @@ pub mod api { #[codec(index = 1)] purge_keys, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidProof, @@ -4016,7 +4090,7 @@ pub mod api { #[codec(index = 4)] NoAccount, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, @@ -4027,7 +4101,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] bid { value: ::core::primitive::u128 }, @@ -4110,7 +4184,7 @@ pub mod api { max: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotMember, @@ -4177,7 +4251,7 @@ pub mod api { #[codec(index = 31)] NoVotes, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Founded { founder: ::sp_core::crypto::AccountId32 }, @@ -4242,20 +4316,20 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bid<_0, _1> { pub who: _0, pub kind: runtime_types::pallet_society::BidKind<_0, _1>, pub value: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BidKind<_0, _1> { #[codec(index = 0)] Deposit(_1), #[codec(index = 1)] Vouch(_0, _1), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Candidacy<_0, _1> { pub round: ::core::primitive::u32, pub kind: runtime_types::pallet_society::BidKind<_0, _1>, @@ -4263,42 +4337,42 @@ pub mod api { pub tally: runtime_types::pallet_society::Tally, pub skeptic_struck: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct GroupParams<_0> { pub max_members: ::core::primitive::u32, pub max_intake: ::core::primitive::u32, pub max_strikes: ::core::primitive::u32, pub candidate_deposit: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IntakeRecord<_0, _1> { pub who: _0, pub bid: _1, pub round: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MemberRecord { pub rank: ::core::primitive::u32, pub strikes: ::core::primitive::u32, pub vouching: ::core::option::Option, pub index: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PayoutRecord<_0, _1> { pub paid: _0, pub payouts: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Tally { pub approvals: ::core::primitive::u32, pub rejections: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Vote { pub approve: ::core::primitive::bool, pub weight: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VouchingStatus { #[codec(index = 0)] Vouching, @@ -4312,7 +4386,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] bond { @@ -4482,7 +4556,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -4491,7 +4565,7 @@ pub mod api { #[codec(index = 2)] Remove, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotController, @@ -4550,7 +4624,7 @@ pub mod api { #[codec(index = 27)] CannotRestoreLedger, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] EraPaid { @@ -4628,31 +4702,31 @@ pub mod api { } pub mod slashing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SlashingSpans { pub span_index: ::core::primitive::u32, pub last_start: ::core::primitive::u32, pub last_nonzero_slash: ::core::primitive::u32, pub prior: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SpanRecord<_0> { pub slashed: _0, pub paid_out: _0, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ActiveEraInfo { pub index: ::core::primitive::u32, pub start: ::core::option::Option<::core::primitive::u64>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EraRewardPoints<_0> { pub total: ::core::primitive::u32, pub individual: ::subxt::ext::subxt_core::utils::KeyedVec<_0, ::core::primitive::u32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Forcing { #[codec(index = 0)] NotForcing, @@ -4663,7 +4737,7 @@ pub mod api { #[codec(index = 3)] ForceAlways, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Nominations { pub targets: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::sp_core::crypto::AccountId32, @@ -4671,7 +4745,7 @@ pub mod api { pub submitted_in: ::core::primitive::u32, pub suppressed: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RewardDestination<_0> { #[codec(index = 0)] Staked, @@ -4684,7 +4758,7 @@ pub mod api { #[codec(index = 4)] None, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StakingLedger { pub stash: ::sp_core::crypto::AccountId32, #[codec(compact)] @@ -4699,7 +4773,7 @@ pub mod api { ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnappliedSlash<_0, _1> { pub validator: _0, pub own: _1, @@ -4707,14 +4781,14 @@ pub mod api { pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub payout: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnlockChunk<_0> { #[codec(compact)] pub value: _0, #[codec(compact)] pub era: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidatorPrefs { #[codec(compact)] pub commission: runtime_types::sp_arithmetic::per_things::Perbill, @@ -4725,7 +4799,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set { @@ -4739,7 +4813,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] TransactionFeePaid { @@ -4751,29 +4825,29 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FeeDetails<_0> { pub inclusion_fee: ::core::option::Option< runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, >, pub tip: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InclusionFee<_0> { pub base_fee: _0, pub len_fee: _0, pub adjusted_weight_fee: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDispatchInfo<_0, _1> { pub weight: _1, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub partial_fee: _0, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -4785,7 +4859,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] propose_spend { @@ -4839,7 +4913,7 @@ pub mod api { #[codec(index = 8)] void_spend { index: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InsufficientProposersBalance, @@ -4866,7 +4940,7 @@ pub mod api { #[codec(index = 11)] Inconclusive, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Proposed { proposal_index: ::core::primitive::u32 }, @@ -4923,7 +4997,7 @@ pub mod api { SpendProcessed { index: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PaymentState<_0> { #[codec(index = 0)] Pending, @@ -4932,14 +5006,14 @@ pub mod api { #[codec(index = 2)] Failed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Proposal<_0, _1> { pub proposer: _0, pub value: _1, pub beneficiary: _0, pub bond: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SpendStatus<_0, _1, _2, _3, _4> { pub asset_kind: _0, pub amount: _1, @@ -4953,7 +5027,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] batch { @@ -4997,12 +5071,12 @@ pub mod api { weight: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCalls, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BatchInterrupted { @@ -5029,7 +5103,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] vest, @@ -5080,7 +5154,7 @@ pub mod api { schedule_index: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotVesting, @@ -5093,7 +5167,7 @@ pub mod api { #[codec(index = 4)] InvalidScheduleParams, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] VestingUpdated { @@ -5106,14 +5180,14 @@ pub mod api { } pub mod vesting_info { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VestingInfo<_0, _1> { pub locked: _0, pub per_block: _0, pub starting_block: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V0, @@ -5125,7 +5199,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] whitelist_call { call_hash: ::subxt::ext::subxt_core::utils::H256 }, @@ -5144,7 +5218,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnavailablePreImage, @@ -5157,7 +5231,7 @@ pub mod api { #[codec(index = 4)] CallAlreadyWhitelisted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] CallWhitelisted { call_hash: ::subxt::ext::subxt_core::utils::H256 }, @@ -5180,10 +5254,150 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] send { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , message : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedXcm > , } , # [codec (index = 1)] teleport_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , } , # [codec (index = 2)] reserve_transfer_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , } , # [codec (index = 3)] execute { message : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedXcm > , max_weight : :: sp_weights :: Weight , } , # [codec (index = 4)] force_xcm_version { location : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: staging_xcm :: v4 :: location :: Location > , version : :: core :: primitive :: u32 , } , # [codec (index = 5)] force_default_xcm_version { maybe_xcm_version : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 6)] force_subscribe_version_notify { location : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , } , # [codec (index = 7)] force_unsubscribe_version_notify { location : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , } , # [codec (index = 8)] limited_reserve_transfer_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , weight_limit : runtime_types :: xcm :: v3 :: WeightLimit , } , # [codec (index = 9)] limited_teleport_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , weight_limit : runtime_types :: xcm :: v3 :: WeightLimit , } , # [codec (index = 10)] force_suspension { suspended : :: core :: primitive :: bool , } , # [codec (index = 11)] transfer_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , weight_limit : runtime_types :: xcm :: v3 :: WeightLimit , } , # [codec (index = 12)] claim_assets { assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , } , # [codec (index = 13)] transfer_assets_using_type_and_then { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , assets_transfer_type : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: staging_xcm_executor :: traits :: asset_transfer :: TransferType > , remote_fees_id : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssetId > , fees_transfer_type : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: staging_xcm_executor :: traits :: asset_transfer :: TransferType > , custom_xcm_on_dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedXcm > , weight_limit : runtime_types :: xcm :: v3 :: WeightLimit , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + send { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + }, + #[codec(index = 1)] + teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 2)] + reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 3)] + execute { + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + max_weight: ::sp_weights::Weight, + }, + #[codec(index = 4)] + force_xcm_version { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, + version: ::core::primitive::u32, + }, + #[codec(index = 5)] + force_default_xcm_version { + maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 6)] + force_subscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 7)] + force_unsubscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 8)] + limited_reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 9)] + limited_teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 10)] + force_suspension { suspended: ::core::primitive::bool }, + #[codec(index = 11)] + transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 12)] + claim_assets { + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 13)] + transfer_assets_using_type_and_then { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + assets_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + remote_fees_id: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssetId, + >, + fees_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + custom_xcm_on_dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Unreachable, @@ -5236,7 +5450,7 @@ pub mod api { #[codec(index = 24)] LocalExecutionIncomplete, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, @@ -5373,14 +5587,14 @@ pub mod api { #[codec(index = 23)] VersionMigrationFinished { version: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Xcm(runtime_types::staging_xcm::v4::location::Location), #[codec(index = 1)] Response(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { @@ -5399,7 +5613,7 @@ pub mod api { #[codec(index = 2)] Ready { response: runtime_types::xcm::VersionedResponse, at: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, pub owner: runtime_types::xcm::VersionedLocation, @@ -5409,7 +5623,7 @@ pub mod api { ::core::primitive::u128, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -5428,19 +5642,19 @@ pub mod api { } pub mod polkadot_core_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateHash(pub ::subxt::ext::subxt_core::utils::H256); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -5450,29 +5664,29 @@ pub mod api { use super::runtime_types; pub mod primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeadData( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannelId { pub sender: runtime_types::polkadot_parachain_primitives::primitives::Id, pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Id(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidationCode( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidationCodeHash(pub ::subxt::ext::subxt_core::utils::H256); } } @@ -5482,19 +5696,29 @@ pub mod api { use super::runtime_types; pub mod assignment_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } pub mod async_backing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AsyncBackingParams { pub max_candidate_depth: ::core::primitive::u32, pub allowed_ancestry_len: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BackingState < _0 , _1 > { pub constraints : runtime_types :: polkadot_primitives :: v6 :: async_backing :: Constraints < _1 > , pub pending_availability : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: polkadot_primitives :: v6 :: async_backing :: CandidatePendingAvailability < _0 , _1 > > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BackingState<_0, _1> { + pub constraints: runtime_types::polkadot_primitives::v6::async_backing::Constraints< + _1, + >, + pub pending_availability: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v6::async_backing::CandidatePendingAvailability< + _0, + _1, + >, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidatePendingAvailability<_0, _1> { pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub descriptor: @@ -5504,13 +5728,44 @@ pub mod api { pub relay_parent_number: _1, pub max_pov_size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Constraints < _0 > { pub min_relay_parent_number : _0 , pub max_pov_size : :: core :: primitive :: u32 , pub max_code_size : :: core :: primitive :: u32 , pub ump_remaining : :: core :: primitive :: u32 , pub ump_remaining_bytes : :: core :: primitive :: u32 , pub max_ump_num_per_candidate : :: core :: primitive :: u32 , pub dmp_remaining_messages : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < _0 > , pub hrmp_inbound : runtime_types :: polkadot_primitives :: v6 :: async_backing :: InboundHrmpLimitations < _0 > , pub hrmp_channels_out : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: async_backing :: OutboundHrmpChannelLimitations ,) > , pub max_hrmp_num_per_candidate : :: core :: primitive :: u32 , pub required_parent : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , pub validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , pub upgrade_restriction : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeRestriction > , pub future_validation_code : :: core :: option :: Option < (_0 , runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash ,) > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Constraints<_0> { + pub min_relay_parent_number: _0, + pub max_pov_size: ::core::primitive::u32, + pub max_code_size: ::core::primitive::u32, + pub ump_remaining: ::core::primitive::u32, + pub ump_remaining_bytes: ::core::primitive::u32, + pub max_ump_num_per_candidate: ::core::primitive::u32, + pub dmp_remaining_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + _0, + >, + pub hrmp_inbound: runtime_types::polkadot_primitives::v6::async_backing::InboundHrmpLimitations< + _0, + >, + pub hrmp_channels_out: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v6::async_backing::OutboundHrmpChannelLimitations, + ), + >, + pub max_hrmp_num_per_candidate: ::core::primitive::u32, + pub required_parent: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + pub validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + pub upgrade_restriction: ::core::option::Option< + runtime_types::polkadot_primitives::v6::UpgradeRestriction, + >, + pub future_validation_code: ::core::option::Option< + ( + _0, + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + ), + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpLimitations<_0> { pub valid_watermarks: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpChannelLimitations { pub bytes_remaining: ::core::primitive::u32, pub messages_remaining: ::core::primitive::u32, @@ -5518,14 +5773,14 @@ pub mod api { } pub mod collator_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); } pub mod executor_params { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ExecutorParam { #[codec(index = 1)] MaxMemoryPages(::core::primitive::u32), @@ -5548,7 +5803,7 @@ pub mod api { #[codec(index = 7)] WasmExtBulkMemory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutorParams( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::executor_params::ExecutorParam, @@ -5557,7 +5812,7 @@ pub mod api { } pub mod signed { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UncheckedSigned<_0, _1> { pub payload: _0, pub validator_index: runtime_types::polkadot_primitives::v6::ValidatorIndex, @@ -5569,7 +5824,7 @@ pub mod api { } pub mod slashing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeProof { pub time_slot: runtime_types::polkadot_primitives::v6::slashing::DisputesTimeSlot, @@ -5579,16 +5834,16 @@ pub mod api { pub validator_id: runtime_types::polkadot_primitives::v6::validator_app::Public, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputesTimeSlot { pub session_index: ::core::primitive::u32, pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueKeyOwnershipProof( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PendingSlashes { pub keys: ::subxt::ext::subxt_core::utils::KeyedVec< runtime_types::polkadot_primitives::v6::ValidatorIndex, @@ -5597,7 +5852,7 @@ pub mod api { pub kind: runtime_types::polkadot_primitives::v6::slashing::SlashingOffenceKind, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SlashingOffenceKind { #[codec(index = 0)] ForInvalid, @@ -5607,19 +5862,19 @@ pub mod api { } pub mod validator_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AvailabilityBitfield( pub ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, ::subxt::ext::subxt_core::utils::bits::Lsb0, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BackedCandidate<_0> { pub candidate: runtime_types::polkadot_primitives::v6::CommittedCandidateReceipt<_0>, @@ -5631,7 +5886,7 @@ pub mod api { ::subxt::ext::subxt_core::utils::bits::Lsb0, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateCommitments<_0> { pub upward_messages: runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -5651,9 +5906,19 @@ pub mod api { pub processed_downward_messages: ::core::primitive::u32, pub hrmp_watermark: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct CandidateDescriptor < _0 > { pub para_id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , pub relay_parent : _0 , pub collator : runtime_types :: polkadot_primitives :: v6 :: collator_app :: Public , pub persisted_validation_data_hash : :: subxt :: ext :: subxt_core :: utils :: H256 , pub pov_hash : :: subxt :: ext :: subxt_core :: utils :: H256 , pub erasure_root : :: subxt :: ext :: subxt_core :: utils :: H256 , pub signature : runtime_types :: polkadot_primitives :: v6 :: collator_app :: Signature , pub para_head : :: subxt :: ext :: subxt_core :: utils :: H256 , pub validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CandidateDescriptor<_0> { + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub relay_parent: _0, + pub collator: runtime_types::polkadot_primitives::v6::collator_app::Public, + pub persisted_validation_data_hash: ::subxt::ext::subxt_core::utils::H256, + pub pov_hash: ::subxt::ext::subxt_core::utils::H256, + pub erasure_root: ::subxt::ext::subxt_core::utils::H256, + pub signature: runtime_types::polkadot_primitives::v6::collator_app::Signature, + pub para_head: ::subxt::ext::subxt_core::utils::H256, + pub validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CandidateEvent<_0> { #[codec(index = 0)] CandidateBacked( @@ -5676,12 +5941,12 @@ pub mod api { runtime_types::polkadot_primitives::v6::CoreIndex, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateReceipt<_0> { pub descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, pub commitments_hash: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommittedCandidateReceipt<_0> { pub descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, pub commitments: runtime_types::polkadot_primitives::v6::CandidateCommitments< @@ -5689,15 +5954,15 @@ pub mod api { >, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct CoreIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CoreState<_0, _1> { #[codec(index = 0)] Occupied(runtime_types::polkadot_primitives::v6::OccupiedCore<_0, _1>), @@ -5706,7 +5971,7 @@ pub mod api { #[codec(index = 2)] Free, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeState<_0> { pub validators_for: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, @@ -5719,14 +5984,14 @@ pub mod api { pub start: _0, pub concluded_at: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeStatement { #[codec(index = 0)] Valid(runtime_types::polkadot_primitives::v6::ValidDisputeStatementKind), #[codec(index = 1)] Invalid(runtime_types::polkadot_primitives::v6::InvalidDisputeStatementKind), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeStatementSet { pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub session: ::core::primitive::u32, @@ -5737,26 +6002,26 @@ pub mod api { )>, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct GroupIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct GroupRotationInfo<_0> { pub session_start_block: _0, pub group_rotation_frequency: _0, pub now: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IndexedVec<_0, _1>( pub ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, #[codec(skip)] pub ::core::marker::PhantomData<_0>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InherentData<_0> { pub bitfields: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::signed::UncheckedSigned< @@ -5774,12 +6039,12 @@ pub mod api { >, pub parent_header: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum InvalidDisputeStatementKind { #[codec(index = 0)] Explicit, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OccupiedCore<_0, _1> { pub next_up_on_available: ::core::option::Option< runtime_types::polkadot_primitives::v6::ScheduledCore, @@ -5798,7 +6063,7 @@ pub mod api { pub candidate_descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OccupiedCoreAssumption { #[codec(index = 0)] Included, @@ -5807,7 +6072,7 @@ pub mod api { #[codec(index = 2)] Free, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PersistedValidationData<_0, _1> { pub parent_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -5815,30 +6080,35 @@ pub mod api { pub relay_parent_storage_root: _0, pub max_pov_size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PvfCheckStatement { pub accept : :: core :: primitive :: bool , pub subject : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , pub session_index : :: core :: primitive :: u32 , pub validator_index : runtime_types :: polkadot_primitives :: v6 :: ValidatorIndex , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PvfCheckStatement { + pub accept: ::core::primitive::bool, + pub subject: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + pub session_index: ::core::primitive::u32, + pub validator_index: runtime_types::polkadot_primitives::v6::ValidatorIndex, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PvfExecKind { #[codec(index = 0)] Backing, #[codec(index = 1)] Approval, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PvfPrepKind { #[codec(index = 0)] Precheck, #[codec(index = 1)] Prepare, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ScheduledCore { pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, pub collator: ::core::option::Option< runtime_types::polkadot_primitives::v6::collator_app::Public, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ScrapedOnChainVotes<_0> { pub session: ::core::primitive::u32, pub backing_validators_per_candidate: @@ -5853,7 +6123,7 @@ pub mod api { runtime_types::polkadot_primitives::v6::DisputeStatementSet, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionInfo { pub active_validator_indices: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::ValidatorIndex, @@ -5883,19 +6153,19 @@ pub mod api { pub no_show_slots: ::core::primitive::u32, pub needed_approvals: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, #[codec(index = 1)] GoAhead, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeRestriction { #[codec(index = 0)] Present, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ValidDisputeStatementKind { #[codec(index = 0)] Explicit, @@ -5913,15 +6183,15 @@ pub mod api { ), } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ValidatorIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ValidityAttestation { #[codec(index = 1)] Implicit(runtime_types::polkadot_primitives::v6::validator_app::Signature), @@ -5932,9 +6202,9 @@ pub mod api { pub mod vstaging { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -5950,7 +6220,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] new_auction { @@ -5975,7 +6245,7 @@ pub mod api { #[codec(index = 2)] cancel_auction, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] AuctionInProgress, @@ -5992,7 +6262,7 @@ pub mod api { #[codec(index = 6)] AlreadyLeasedOut, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] AuctionStarted { @@ -6039,7 +6309,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim { @@ -6080,7 +6350,7 @@ pub mod api { maybe_preclaim: ::core::option::Option<::sp_core::crypto::AccountId32>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidEthereumSignature, @@ -6095,7 +6365,7 @@ pub mod api { #[codec(index = 5)] VestedBalanceExists, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Claimed { @@ -6106,11 +6376,11 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EcdsaSignature(pub [::core::primitive::u8; 65usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EthereumAddress(pub [::core::primitive::u8; 20usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum StatementKind { #[codec(index = 0)] Regular, @@ -6122,7 +6392,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] create { @@ -6194,7 +6464,7 @@ pub mod api { ::core::option::Option, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] FirstPeriodInPast, @@ -6243,7 +6513,7 @@ pub mod api { #[codec(index = 22)] NoLeasePeriod, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Created { @@ -6299,7 +6569,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FundInfo<_0, _1, _2, _3> { pub depositor: _0, pub verifier: ::core::option::Option, @@ -6313,7 +6583,7 @@ pub mod api { pub last_period: _3, pub fund_index: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum LastContribution<_0> { #[codec(index = 0)] Never, @@ -6327,14 +6597,14 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] reap_identity { who: ::sp_core::crypto::AccountId32 }, #[codec(index = 1)] poke_deposit { who: ::sp_core::crypto::AccountId32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IdentityReaped { who: ::sp_core::crypto::AccountId32 }, @@ -6349,7 +6619,7 @@ pub mod api { } pub mod impls { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocatableAsset { #[codec(index = 3)] V3 { @@ -6367,10 +6637,53 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] register { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , genesis_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 1)] force_register { who : :: sp_core :: crypto :: AccountId32 , deposit : :: core :: primitive :: u128 , id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , genesis_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 2)] deregister { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] swap { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , other : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 4)] remove_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] reserve , # [codec (index = 6)] add_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 7)] schedule_code_upgrade { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 8)] set_current_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + register { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 1)] + force_register { + who: ::sp_core::crypto::AccountId32, + deposit: ::core::primitive::u128, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 2)] + deregister { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + swap { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + other: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 4)] + remove_lock { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 5)] + reserve, + #[codec(index = 6)] + add_lock { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 7)] + schedule_code_upgrade { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 8)] + set_current_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotRegistered, @@ -6401,7 +6714,7 @@ pub mod api { #[codec(index = 13)] CannotSwap, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Registered { @@ -6424,7 +6737,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaInfo<_0, _1> { pub manager: _0, pub deposit: _1, @@ -6435,7 +6748,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_lease { @@ -6454,14 +6767,14 @@ pub mod api { para: runtime_types::polkadot_parachain_primitives::primitives::Id, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParaNotOnboarding, #[codec(index = 1)] LeaseError, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewLeasePeriod { lease_period: ::core::primitive::u32 }, @@ -6484,7 +6797,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] AssignmentsEmpty, @@ -6500,30 +6813,41 @@ pub mod api { AssignmentsNotSorted, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AssignmentState { pub ratio: runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, pub remaining: runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct CoreDescriptor < _0 > { pub queue : :: core :: option :: Option < runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: QueueDescriptor < _0 > > , pub current_work : :: core :: option :: Option < runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: WorkState < _0 > > , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CoreDescriptor<_0> { + pub queue: ::core::option::Option< + runtime_types::polkadot_runtime_parachains::assigner_coretime::QueueDescriptor< + _0, + >, + >, + pub current_work: ::core::option::Option< + runtime_types::polkadot_runtime_parachains::assigner_coretime::WorkState< + _0, + >, + >, + } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct PartsOf57600(pub ::core::primitive::u16); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueueDescriptor<_0> { pub first: _0, pub last: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Schedule<_0> { pub assignments: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::pallet_broker::coretime_interface::CoreAssignment, @@ -6532,14 +6856,24 @@ pub mod api { pub end_hint: ::core::option::Option<_0>, pub next_schedule: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct WorkState < _0 > { pub assignments : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (runtime_types :: pallet_broker :: coretime_interface :: CoreAssignment , runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: AssignmentState ,) > , pub end_hint : :: core :: option :: Option < _0 > , pub pos : :: core :: primitive :: u16 , pub step : runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: PartsOf57600 , } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct WorkState<_0> { + pub assignments: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::pallet_broker::coretime_interface::CoreAssignment, + runtime_types::polkadot_runtime_parachains::assigner_coretime::AssignmentState, + ), + >, + pub end_hint: ::core::option::Option<_0>, + pub pos: ::core::primitive::u16, + pub step: runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + } } pub mod assigner_on_demand { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] place_order_allow_death { @@ -6552,7 +6886,7 @@ pub mod api { para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidParaId, @@ -6561,7 +6895,7 @@ pub mod api { #[codec(index = 2)] SpotPriceHigherThanMaxAmount, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] OnDemandOrderPlaced { @@ -6574,12 +6908,12 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CoreAffinityCount { pub core_idx: runtime_types::polkadot_primitives::v6::CoreIndex, pub count: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EnqueuedOrder { pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, } @@ -6588,16 +6922,141 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_validation_upgrade_cooldown { new : :: core :: primitive :: u32 , } , # [codec (index = 1)] set_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 2)] set_code_retention_period { new : :: core :: primitive :: u32 , } , # [codec (index = 3)] set_max_code_size { new : :: core :: primitive :: u32 , } , # [codec (index = 4)] set_max_pov_size { new : :: core :: primitive :: u32 , } , # [codec (index = 5)] set_max_head_data_size { new : :: core :: primitive :: u32 , } , # [codec (index = 6)] set_coretime_cores { new : :: core :: primitive :: u32 , } , # [codec (index = 7)] set_on_demand_retries { new : :: core :: primitive :: u32 , } , # [codec (index = 8)] set_group_rotation_frequency { new : :: core :: primitive :: u32 , } , # [codec (index = 9)] set_paras_availability_period { new : :: core :: primitive :: u32 , } , # [codec (index = 11)] set_scheduling_lookahead { new : :: core :: primitive :: u32 , } , # [codec (index = 12)] set_max_validators_per_core { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 13)] set_max_validators { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 14)] set_dispute_period { new : :: core :: primitive :: u32 , } , # [codec (index = 15)] set_dispute_post_conclusion_acceptance_period { new : :: core :: primitive :: u32 , } , # [codec (index = 18)] set_no_show_slots { new : :: core :: primitive :: u32 , } , # [codec (index = 19)] set_n_delay_tranches { new : :: core :: primitive :: u32 , } , # [codec (index = 20)] set_zeroth_delay_tranche_width { new : :: core :: primitive :: u32 , } , # [codec (index = 21)] set_needed_approvals { new : :: core :: primitive :: u32 , } , # [codec (index = 22)] set_relay_vrf_modulo_samples { new : :: core :: primitive :: u32 , } , # [codec (index = 23)] set_max_upward_queue_count { new : :: core :: primitive :: u32 , } , # [codec (index = 24)] set_max_upward_queue_size { new : :: core :: primitive :: u32 , } , # [codec (index = 25)] set_max_downward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 27)] set_max_upward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 28)] set_max_upward_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 29)] set_hrmp_open_request_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 30)] set_hrmp_sender_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 31)] set_hrmp_recipient_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 32)] set_hrmp_channel_max_capacity { new : :: core :: primitive :: u32 , } , # [codec (index = 33)] set_hrmp_channel_max_total_size { new : :: core :: primitive :: u32 , } , # [codec (index = 34)] set_hrmp_max_parachain_inbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 36)] set_hrmp_channel_max_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 37)] set_hrmp_max_parachain_outbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 39)] set_hrmp_max_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 42)] set_pvf_voting_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 43)] set_minimum_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 44)] set_bypass_consistency_check { new : :: core :: primitive :: bool , } , # [codec (index = 45)] set_async_backing_params { new : runtime_types :: polkadot_primitives :: v6 :: async_backing :: AsyncBackingParams , } , # [codec (index = 46)] set_executor_params { new : runtime_types :: polkadot_primitives :: v6 :: executor_params :: ExecutorParams , } , # [codec (index = 47)] set_on_demand_base_fee { new : :: core :: primitive :: u128 , } , # [codec (index = 48)] set_on_demand_fee_variability { new : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 49)] set_on_demand_queue_max_size { new : :: core :: primitive :: u32 , } , # [codec (index = 50)] set_on_demand_target_queue_utilization { new : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 51)] set_on_demand_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 52)] set_minimum_backing_votes { new : :: core :: primitive :: u32 , } , # [codec (index = 53)] set_node_feature { index : :: core :: primitive :: u8 , value : :: core :: primitive :: bool , } , # [codec (index = 54)] set_approval_voting_params { new : runtime_types :: polkadot_primitives :: vstaging :: ApprovalVotingParams , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_validation_upgrade_cooldown { new: ::core::primitive::u32 }, + #[codec(index = 1)] + set_validation_upgrade_delay { new: ::core::primitive::u32 }, + #[codec(index = 2)] + set_code_retention_period { new: ::core::primitive::u32 }, + #[codec(index = 3)] + set_max_code_size { new: ::core::primitive::u32 }, + #[codec(index = 4)] + set_max_pov_size { new: ::core::primitive::u32 }, + #[codec(index = 5)] + set_max_head_data_size { new: ::core::primitive::u32 }, + #[codec(index = 6)] + set_coretime_cores { new: ::core::primitive::u32 }, + #[codec(index = 7)] + set_on_demand_retries { new: ::core::primitive::u32 }, + #[codec(index = 8)] + set_group_rotation_frequency { new: ::core::primitive::u32 }, + #[codec(index = 9)] + set_paras_availability_period { new: ::core::primitive::u32 }, + #[codec(index = 11)] + set_scheduling_lookahead { new: ::core::primitive::u32 }, + #[codec(index = 12)] + set_max_validators_per_core { + new: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 13)] + set_max_validators { + new: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 14)] + set_dispute_period { new: ::core::primitive::u32 }, + #[codec(index = 15)] + set_dispute_post_conclusion_acceptance_period { + new: ::core::primitive::u32, + }, + #[codec(index = 18)] + set_no_show_slots { new: ::core::primitive::u32 }, + #[codec(index = 19)] + set_n_delay_tranches { new: ::core::primitive::u32 }, + #[codec(index = 20)] + set_zeroth_delay_tranche_width { new: ::core::primitive::u32 }, + #[codec(index = 21)] + set_needed_approvals { new: ::core::primitive::u32 }, + #[codec(index = 22)] + set_relay_vrf_modulo_samples { new: ::core::primitive::u32 }, + #[codec(index = 23)] + set_max_upward_queue_count { new: ::core::primitive::u32 }, + #[codec(index = 24)] + set_max_upward_queue_size { new: ::core::primitive::u32 }, + #[codec(index = 25)] + set_max_downward_message_size { new: ::core::primitive::u32 }, + #[codec(index = 27)] + set_max_upward_message_size { new: ::core::primitive::u32 }, + #[codec(index = 28)] + set_max_upward_message_num_per_candidate { + new: ::core::primitive::u32, + }, + #[codec(index = 29)] + set_hrmp_open_request_ttl { new: ::core::primitive::u32 }, + #[codec(index = 30)] + set_hrmp_sender_deposit { new: ::core::primitive::u128 }, + #[codec(index = 31)] + set_hrmp_recipient_deposit { new: ::core::primitive::u128 }, + #[codec(index = 32)] + set_hrmp_channel_max_capacity { new: ::core::primitive::u32 }, + #[codec(index = 33)] + set_hrmp_channel_max_total_size { new: ::core::primitive::u32 }, + #[codec(index = 34)] + set_hrmp_max_parachain_inbound_channels { + new: ::core::primitive::u32, + }, + #[codec(index = 36)] + set_hrmp_channel_max_message_size { + new: ::core::primitive::u32, + }, + #[codec(index = 37)] + set_hrmp_max_parachain_outbound_channels { + new: ::core::primitive::u32, + }, + #[codec(index = 39)] + set_hrmp_max_message_num_per_candidate { + new: ::core::primitive::u32, + }, + #[codec(index = 42)] + set_pvf_voting_ttl { new: ::core::primitive::u32 }, + #[codec(index = 43)] + set_minimum_validation_upgrade_delay { + new: ::core::primitive::u32, + }, + #[codec(index = 44)] + set_bypass_consistency_check { new: ::core::primitive::bool }, + #[codec(index = 45)] + set_async_backing_params { + new: runtime_types::polkadot_primitives::v6::async_backing::AsyncBackingParams, + }, + #[codec(index = 46)] + set_executor_params { + new: runtime_types::polkadot_primitives::v6::executor_params::ExecutorParams, + }, + #[codec(index = 47)] + set_on_demand_base_fee { new: ::core::primitive::u128 }, + #[codec(index = 48)] + set_on_demand_fee_variability { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 49)] + set_on_demand_queue_max_size { new: ::core::primitive::u32 }, + #[codec(index = 50)] + set_on_demand_target_queue_utilization { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 51)] + set_on_demand_ttl { new: ::core::primitive::u32 }, + #[codec(index = 52)] + set_minimum_backing_votes { new: ::core::primitive::u32 }, + #[codec(index = 53)] + set_node_feature { + index: ::core::primitive::u8, + value: ::core::primitive::bool, + }, + #[codec(index = 54)] + set_approval_voting_params { + new: runtime_types::polkadot_primitives::vstaging::ApprovalVotingParams, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidNewValue, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HostConfiguration<_0> { pub max_code_size: ::core::primitive::u32, pub max_head_data_size: ::core::primitive::u32, @@ -6658,15 +7117,29 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 1)] request_core_count { count : :: core :: primitive :: u16 , } , # [codec (index = 4)] assign_core { core : :: core :: primitive :: u16 , begin : :: core :: primitive :: u32 , assignment : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (runtime_types :: pallet_broker :: coretime_interface :: CoreAssignment , runtime_types :: polkadot_runtime_parachains :: assigner_coretime :: PartsOf57600 ,) > , end_hint : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 1)] + request_core_count { count: ::core::primitive::u16 }, + #[codec(index = 4)] + assign_core { + core: ::core::primitive::u16, + begin: ::core::primitive::u32, + assignment: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::pallet_broker::coretime_interface::CoreAssignment, + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + ), + >, + end_hint: ::core::option::Option<::core::primitive::u32>, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotBroker, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] RevenueInfoRequested { when: ::core::primitive::u32 }, @@ -6679,12 +7152,12 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_unfreeze, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DuplicateDisputeStatementSets, @@ -6705,7 +7178,7 @@ pub mod api { #[codec(index = 8)] UnconfirmedDispute, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] DisputeInitiated( @@ -6725,9 +7198,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_dispute_lost_unsigned { @@ -6737,9 +7208,7 @@ pub mod api { key_owner_proof: ::sp_session::MembershipProof, }, } - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidKeyOwnershipProof, @@ -6756,14 +7225,14 @@ pub mod api { } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeLocation { #[codec(index = 0)] Local, #[codec(index = 1)] Remote, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeResult { #[codec(index = 0)] Valid, @@ -6775,10 +7244,56 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] hrmp_init_open_channel { recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 1)] hrmp_accept_open_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 2)] hrmp_close_channel { channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 3)] force_clean_hrmp { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , num_inbound : :: core :: primitive :: u32 , num_outbound : :: core :: primitive :: u32 , } , # [codec (index = 4)] force_process_hrmp_open { channels : :: core :: primitive :: u32 , } , # [codec (index = 5)] force_process_hrmp_close { channels : :: core :: primitive :: u32 , } , # [codec (index = 6)] hrmp_cancel_open_request { channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , open_requests : :: core :: primitive :: u32 , } , # [codec (index = 7)] force_open_hrmp_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , max_capacity : :: core :: primitive :: u32 , max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 8)] establish_system_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 9)] poke_channel_deposits { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + hrmp_init_open_channel { + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 1)] + hrmp_accept_open_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 2)] + hrmp_close_channel { + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 3)] + force_clean_hrmp { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + num_inbound: ::core::primitive::u32, + num_outbound: ::core::primitive::u32, + }, + #[codec(index = 4)] + force_process_hrmp_open { channels: ::core::primitive::u32 }, + #[codec(index = 5)] + force_process_hrmp_close { channels: ::core::primitive::u32 }, + #[codec(index = 6)] + hrmp_cancel_open_request { + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + open_requests: ::core::primitive::u32, + }, + #[codec(index = 7)] + force_open_hrmp_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + max_capacity: ::core::primitive::u32, + max_message_size: ::core::primitive::u32, + }, + #[codec(index = 8)] + establish_system_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 9)] + poke_channel_deposits { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] OpenHrmpChannelToSelf, @@ -6821,11 +7336,52 @@ pub mod api { #[codec(index = 19)] ChannelCreationNotAuthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] OpenChannelRequested { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 1)] OpenChannelCanceled { by_parachain : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 2)] OpenChannelAccepted { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] ChannelClosed { by_parachain : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 4)] HrmpChannelForceOpened { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 5)] HrmpSystemChannelOpened { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 6)] OpenChannelDepositsUpdated { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + OpenChannelRequested { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 1)] + OpenChannelCanceled { + by_parachain: runtime_types::polkadot_parachain_primitives::primitives::Id, + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 2)] + OpenChannelAccepted { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + ChannelClosed { + by_parachain: runtime_types::polkadot_parachain_primitives::primitives::Id, + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 4)] + HrmpChannelForceOpened { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 5)] + HrmpSystemChannelOpened { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 6)] + OpenChannelDepositsUpdated { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, @@ -6836,7 +7392,7 @@ pub mod api { pub sender_deposit: ::core::primitive::u128, pub recipient_deposit: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpOpenChannelRequest { pub confirmed: ::core::primitive::bool, pub _age: ::core::primitive::u32, @@ -6850,9 +7406,9 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnsortedOrDuplicateValidatorIndices, @@ -6913,7 +7469,7 @@ pub mod api { #[codec(index = 28)] BitfieldReferencesFreedCore, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] CandidateBacked( @@ -6948,17 +7504,17 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AggregateMessageOrigin { #[codec(index = 0)] Ump(runtime_types::polkadot_runtime_parachains::inclusion::UmpQueueId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AvailabilityBitfieldRecord<_0> { pub bitfield: runtime_types::polkadot_primitives::v6::AvailabilityBitfield, pub submitted_at: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidatePendingAvailability<_0, _1> { pub core: runtime_types::polkadot_primitives::v6::CoreIndex, pub hash: runtime_types::polkadot_core_primitives::CandidateHash, @@ -6975,7 +7531,7 @@ pub mod api { pub backed_in_number: _1, pub backing_group: runtime_types::polkadot_primitives::v6::GroupIndex, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UmpQueueId { #[codec(index = 0)] Para(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -6985,13 +7541,13 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_approve { up_to: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BufferedSessionChange { pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::validator_app::Public, @@ -7006,7 +7562,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Parachain(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -7017,10 +7573,53 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] force_set_current_code { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 1)] force_set_current_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , # [codec (index = 2)] force_schedule_code_upgrade { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , relay_parent_number : :: core :: primitive :: u32 , } , # [codec (index = 3)] force_note_new_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , # [codec (index = 4)] force_queue_action { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] add_trusted_validation_code { validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 6)] poke_unused_validation_code { validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , } , # [codec (index = 7)] include_pvf_check_statement { stmt : runtime_types :: polkadot_primitives :: v6 :: PvfCheckStatement , signature : runtime_types :: polkadot_primitives :: v6 :: validator_app :: Signature , } , # [codec (index = 8)] force_set_most_recent_context { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , context : :: core :: primitive :: u32 , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + force_set_current_code { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 1)] + force_set_current_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + #[codec(index = 2)] + force_schedule_code_upgrade { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + relay_parent_number: ::core::primitive::u32, + }, + #[codec(index = 3)] + force_note_new_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + #[codec(index = 4)] + force_queue_action { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 5)] + add_trusted_validation_code { + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 6)] + poke_unused_validation_code { + validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + }, + #[codec(index = 7)] + include_pvf_check_statement { + stmt: runtime_types::polkadot_primitives::v6::PvfCheckStatement, + signature: runtime_types::polkadot_primitives::v6::validator_app::Signature, + }, + #[codec(index = 8)] + force_set_most_recent_context { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + context: ::core::primitive::u32, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotRegistered, @@ -7047,11 +7646,47 @@ pub mod api { #[codec(index = 11)] CannotUpgradeCode, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] CurrentCodeUpdated (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 1)] CurrentHeadUpdated (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 2)] CodeUpgradeScheduled (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 3)] NewHeadNoted (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 4)] ActionQueued (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , :: core :: primitive :: u32 ,) , # [codec (index = 5)] PvfCheckStarted (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 6)] PvfCheckAccepted (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 7)] PvfCheckRejected (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + CurrentCodeUpdated( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 1)] + CurrentHeadUpdated( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 2)] + CodeUpgradeScheduled( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 3)] + NewHeadNoted( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 4)] + ActionQueued( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ::core::primitive::u32, + ), + #[codec(index = 5)] + PvfCheckStarted( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 6)] + PvfCheckAccepted( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 7)] + PvfCheckRejected( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaGenesisArgs { pub genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -7059,7 +7694,7 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, pub para_kind: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ParaLifecycle { #[codec(index = 0)] Onboarding, @@ -7076,14 +7711,14 @@ pub mod api { #[codec(index = 6)] OffboardingParachain, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaPastCodeMeta<_0> { pub upgrade_times: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::paras::ReplacementTimes<_0>, >, pub last_pruned: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PvfCheckActiveVoteState<_0> { pub votes_accept: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, @@ -7099,7 +7734,7 @@ pub mod api { runtime_types::polkadot_runtime_parachains::paras::PvfCheckCause<_0>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PvfCheckCause<_0> { #[codec(index = 0)] Onboarding(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -7110,12 +7745,12 @@ pub mod api { set_go_ahead: runtime_types::polkadot_runtime_parachains::paras::SetGoAhead, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReplacementTimes<_0> { pub expected_at: _0, pub activated_at: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SetGoAhead { #[codec(index = 0)] Yes, @@ -7127,7 +7762,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] enter { @@ -7139,7 +7774,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyInclusionInherents, @@ -7166,7 +7801,7 @@ pub mod api { use super::runtime_types; pub mod common { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Assignment { #[codec(index = 0)] Pool { @@ -7179,21 +7814,33 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CoreOccupied<_0> { - # [codec (index = 0)] Free , # [codec (index = 1)] Paras (runtime_types :: polkadot_runtime_parachains :: scheduler :: pallet :: ParasEntry < _0 > ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParasEntry < _0 > { pub assignment : runtime_types :: polkadot_runtime_parachains :: scheduler :: common :: Assignment , pub availability_timeouts : :: core :: primitive :: u32 , pub ttl : _0 , } + #[codec(index = 0)] + Free, + #[codec(index = 1)] + Paras( + runtime_types::polkadot_runtime_parachains::scheduler::pallet::ParasEntry< + _0, + >, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ParasEntry<_0> { + pub assignment: runtime_types::polkadot_runtime_parachains::scheduler::common::Assignment, + pub availability_timeouts: ::core::primitive::u32, + pub ttl: _0, + } } } pub mod shared { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AllowedRelayParentsTracker<_0, _1> { pub buffer: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _0)>, pub latest_number: _1, @@ -7204,12 +7851,12 @@ pub mod api { use super::runtime_types; pub mod fixed_point { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FixedI64(pub ::core::primitive::i64); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -7219,52 +7866,52 @@ pub mod api { pub mod per_things { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct PerU16(pub ::core::primitive::u16); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Perbill(pub ::core::primitive::u32); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Percent(pub ::core::primitive::u8); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Permill(pub ::core::primitive::u32); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Perquintill(pub ::core::primitive::u64); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -7278,7 +7925,7 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } } @@ -7286,12 +7933,12 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } pub mod digests { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NextConfigDescriptor { #[codec(index = 1)] V1 { @@ -7299,7 +7946,7 @@ pub mod api { allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PreDigest { #[codec(index = 1)] Primary(runtime_types::sp_consensus_babe::digests::PrimaryPreDigest), @@ -7310,25 +7957,25 @@ pub mod api { #[codec(index = 3)] SecondaryVRF(runtime_types::sp_consensus_babe::digests::SecondaryVRFPreDigest), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PrimaryPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SecondaryPlainPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SecondaryVRFPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AllowedSlots { #[codec(index = 0)] PrimarySlots, @@ -7337,7 +7984,7 @@ pub mod api { #[codec(index = 2)] PrimaryAndSecondaryVRFSlots, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BabeConfiguration { pub slot_duration: ::core::primitive::u64, pub epoch_length: ::core::primitive::u64, @@ -7349,12 +7996,12 @@ pub mod api { pub randomness: [::core::primitive::u8; 32usize], pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BabeEpochConfiguration { pub c: (::core::primitive::u64, ::core::primitive::u64), pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Epoch { pub epoch_index: ::core::primitive::u64, pub start_slot: runtime_types::sp_consensus_slots::Slot, @@ -7366,7 +8013,7 @@ pub mod api { pub randomness: [::core::primitive::u8; 32usize], pub config: runtime_types::sp_consensus_babe::BabeEpochConfiguration, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueKeyOwnershipProof( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); @@ -7375,7 +8022,7 @@ pub mod api { use super::runtime_types; pub mod commitment { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commitment<_0> { pub payload: runtime_types::sp_consensus_beefy::payload::Payload, pub block_number: _0, @@ -7384,14 +8031,14 @@ pub mod api { } pub mod ecdsa_crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::ecdsa::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::ecdsa::Signature); } pub mod mmr { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BeefyAuthoritySet<_0> { pub id: ::core::primitive::u64, pub len: ::core::primitive::u32, @@ -7400,7 +8047,7 @@ pub mod api { } pub mod payload { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Payload( pub ::subxt::ext::subxt_core::alloc::vec::Vec<( [::core::primitive::u8; 2usize], @@ -7408,21 +8055,21 @@ pub mod api { )>, ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EquivocationProof<_0, _1, _2> { pub first: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, pub second: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueKeyOwnershipProof( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidatorSet<_0> { pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub id: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VoteMessage<_0, _1, _2> { pub commitment: runtime_types::sp_consensus_beefy::commitment::Commitment<_0>, pub id: _1, @@ -7433,12 +8080,12 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::ed25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Equivocation<_0, _1> { #[codec(index = 0)] Prevote( @@ -7457,14 +8104,14 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueKeyOwnershipProof( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); } pub mod sp_consensus_slots { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EquivocationProof<_0, _1> { pub offender: _1, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -7472,9 +8119,9 @@ pub mod api { pub second_header: _0, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -7485,54 +8132,54 @@ pub mod api { use super::runtime_types; pub mod crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } pub mod ecdsa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 33usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 65usize]); } pub mod ed25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 64usize]); } pub mod sr25519 { use super::runtime_types; pub mod vrf { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VrfSignature { pub pre_output: [::core::primitive::u8; 32usize], pub proof: [::core::primitive::u8; 64usize], } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 64usize]); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueMetadata( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Void {} } pub mod sp_inherents { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckInherentsResult { pub okay: ::core::primitive::bool, pub fatal_error: ::core::primitive::bool, pub errors: runtime_types::sp_inherents::InherentData, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InherentData { pub data: ::subxt::ext::subxt_core::utils::KeyedVec< [::core::primitive::u8; 8usize], @@ -7542,11 +8189,11 @@ pub mod api { } pub mod sp_mmr_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EncodableOpaqueLeaf( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidNumericOp, @@ -7569,7 +8216,7 @@ pub mod api { #[codec(index = 9)] InvalidBestKnownBlock, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Proof<_0> { pub leaf_indices: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>, pub leaf_count: ::core::primitive::u64, @@ -7578,13 +8225,13 @@ pub mod api { } pub mod sp_npos_elections { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ElectionScore { pub minimal_stake: ::core::primitive::u128, pub sum_stake: ::core::primitive::u128, pub sum_stake_squared: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Support<_0> { pub total: ::core::primitive::u128, pub voters: @@ -7597,7 +8244,7 @@ pub mod api { use super::runtime_types; pub mod block { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Block<_0, _1> { pub header: _0, pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, @@ -7605,7 +8252,7 @@ pub mod api { } pub mod digest { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DigestItem { #[codec(index = 6)] PreRuntime( @@ -7631,7 +8278,7 @@ pub mod api { } pub mod transaction_validity { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum InvalidTransaction { #[codec(index = 0)] Call, @@ -7656,7 +8303,7 @@ pub mod api { #[codec(index = 10)] BadSigner, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionSource { #[codec(index = 0)] InBlock, @@ -7665,14 +8312,14 @@ pub mod api { #[codec(index = 2)] External, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionValidityError { #[codec(index = 0)] Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), #[codec(index = 1)] Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UnknownTransaction { #[codec(index = 0)] CannotLookup, @@ -7681,7 +8328,7 @@ pub mod api { #[codec(index = 2)] Custom(::core::primitive::u8), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidTransaction { pub priority: ::core::primitive::u64, pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -7694,7 +8341,7 @@ pub mod api { pub propagate: ::core::primitive::bool, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchError { #[codec(index = 0)] Other, @@ -7725,17 +8372,17 @@ pub mod api { #[codec(index = 13)] RootNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchErrorWithPostInfo<_0> { pub post_info: _0, pub error: runtime_types::sp_runtime::DispatchError, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiSignature { #[codec(index = 0)] Ed25519(runtime_types::sp_core::ed25519::Signature), @@ -7744,7 +8391,7 @@ pub mod api { #[codec(index = 2)] Ecdsa(runtime_types::sp_core::ecdsa::Signature), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiSigner { #[codec(index = 0)] Ed25519(runtime_types::sp_core::ed25519::Public), @@ -7753,7 +8400,7 @@ pub mod api { #[codec(index = 2)] Ecdsa(runtime_types::sp_core::ecdsa::Public), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -7776,7 +8423,7 @@ pub mod api { #[codec(index = 9)] Blocked, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -7788,13 +8435,13 @@ pub mod api { use super::runtime_types; pub mod offence { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OffenceDetails<_0, _1> { pub offender: _1, pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Exposure<_0, _1> { #[codec(compact)] pub total: _1, @@ -7804,7 +8451,7 @@ pub mod api { runtime_types::sp_staking::IndividualExposure<_0, _1>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExposurePage<_0, _1> { #[codec(compact)] pub page_total: _1, @@ -7812,13 +8459,13 @@ pub mod api { runtime_types::sp_staking::IndividualExposure<_0, _1>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IndividualExposure<_0, _1> { pub who: _0, #[codec(compact)] pub value: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PagedExposureMetadata<_0> { #[codec(compact)] pub total: _0, @@ -7830,7 +8477,7 @@ pub mod api { } pub mod sp_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeVersion { pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, @@ -7847,7 +8494,7 @@ pub mod api { } pub mod sp_weights { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -7861,9 +8508,7 @@ pub mod api { use super::runtime_types; pub mod pallet_custom_origins { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] StakingAdmin, @@ -7929,22 +8574,38 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] HeartbeatReceived { authority_id : runtime_types :: staging_kusama_runtime :: pallet_im_online :: sr25519 :: app_sr25519 :: Public , } , # [codec (index = 1)] AllGood , # [codec (index = 2)] SomeOffline { offline : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (:: sp_core :: crypto :: AccountId32 , runtime_types :: sp_staking :: Exposure < :: sp_core :: crypto :: AccountId32 , :: core :: primitive :: u128 > ,) > , } , } + #[codec(index = 0)] + HeartbeatReceived { + authority_id: runtime_types::staging_kusama_runtime::pallet_im_online::sr25519::app_sr25519::Public, + }, + #[codec(index = 1)] + AllGood, + #[codec(index = 2)] + SomeOffline { + offline: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + ::sp_core::crypto::AccountId32, + runtime_types::sp_staking::Exposure< + ::sp_core::crypto::AccountId32, + ::core::primitive::u128, + >, + ), + >, + }, + } } pub mod sr25519 { use super::runtime_types; pub mod app_sr25519 { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct NposCompactSolution24 { pub votes1: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, @@ -8181,10 +8842,28 @@ pub mod api { ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginCaller { - # [codec (index = 0)] system (runtime_types :: frame_support :: dispatch :: RawOrigin < :: sp_core :: crypto :: AccountId32 > ,) , # [codec (index = 43)] Origins (runtime_types :: staging_kusama_runtime :: governance :: origins :: pallet_custom_origins :: Origin ,) , # [codec (index = 50)] ParachainsOrigin (runtime_types :: polkadot_runtime_parachains :: origin :: pallet :: Origin ,) , # [codec (index = 99)] XcmPallet (runtime_types :: pallet_xcm :: pallet :: Origin ,) , # [codec (index = 4)] Void (runtime_types :: sp_core :: Void ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + system( + runtime_types::frame_support::dispatch::RawOrigin< + ::sp_core::crypto::AccountId32, + >, + ), + #[codec(index = 43)] + Origins( + runtime_types::staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin, + ), + #[codec(index = 50)] + ParachainsOrigin( + runtime_types::polkadot_runtime_parachains::origin::pallet::Origin, + ), + #[codec(index = 99)] + XcmPallet(runtime_types::pallet_xcm::pallet::Origin), + #[codec(index = 4)] + Void(runtime_types::sp_core::Void), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProxyType { #[codec(index = 0)] Any, @@ -8205,9 +8884,9 @@ pub mod api { #[codec(index = 8)] NominationPools, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -8326,7 +9005,7 @@ pub mod api { runtime_types::polkadot_runtime_common::identity_migrator::pallet::Call, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeError { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Error), @@ -8439,7 +9118,7 @@ pub mod api { #[codec(index = 200)] Beefy(runtime_types::pallet_beefy::pallet::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -8542,19 +9221,19 @@ pub mod api { runtime_types::polkadot_runtime_common::identity_migrator::pallet::Event, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeFreezeReason { #[codec(index = 41)] NominationPools(runtime_types::pallet_nomination_pools::pallet::FreezeReason), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason { #[codec(index = 32)] Preimage(runtime_types::pallet_preimage::pallet::HoldReason), #[codec(index = 38)] Nis(runtime_types::pallet_nis::pallet::HoldReason), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionKeys { pub grandpa: runtime_types::sp_consensus_grandpa::app::Public, pub babe: runtime_types::sp_consensus_babe::app::Public, @@ -8570,7 +9249,7 @@ pub mod api { use super::runtime_types; pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v3::junctions::Junctions, @@ -8581,21 +9260,21 @@ pub mod api { use super::runtime_types; pub mod asset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Asset { pub id: runtime_types::staging_xcm::v4::asset::AssetId, pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetFilter { #[codec(index = 0)] Definite(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 1)] Wild(runtime_types::staging_xcm::v4::asset::WildAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AssetId(pub runtime_types::staging_xcm::v4::location::Location); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -8610,20 +9289,20 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Assets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::staging_xcm::v4::asset::Asset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildAsset { #[codec(index = 0)] All, @@ -8642,7 +9321,7 @@ pub mod api { count: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, @@ -8652,7 +9331,7 @@ pub mod api { } pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -8697,7 +9376,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -8731,7 +9410,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -8755,7 +9434,7 @@ pub mod api { } pub mod location { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Location { pub parents: ::core::primitive::u8, pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, @@ -8763,7 +9442,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Outcome { #[codec(index = 0)] Complete { used: ::sp_weights::Weight }, @@ -8776,7 +9455,7 @@ pub mod api { Error { error: runtime_types::xcm::v3::traits::Error }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), @@ -8985,7 +9664,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -9002,14 +9681,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v4::location::Location, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -9033,7 +9712,7 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::staging_xcm::v4::Instruction, @@ -9047,7 +9726,7 @@ pub mod api { use super::runtime_types; pub mod asset_transfer { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransferType { #[codec(index = 0)] Teleport, @@ -9065,7 +9744,7 @@ pub mod api { use super::runtime_types; pub mod double_encoded { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DoubleEncoded { pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } @@ -9074,7 +9753,7 @@ pub mod api { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -9115,14 +9794,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -9139,39 +9818,39 @@ pub mod api { #[codec(index = 6)] Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v2::multiasset::MultiAsset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -9184,7 +9863,7 @@ pub mod api { } pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -9247,7 +9926,7 @@ pub mod api { runtime_types::xcm::v2::junction::Junction, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -9255,7 +9934,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -9311,7 +9990,7 @@ pub mod api { WeightNotComputable, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -9338,7 +10017,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -9369,7 +10048,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -9509,7 +10188,7 @@ pub mod api { #[codec(index = 27)] UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] Any, @@ -9524,7 +10203,7 @@ pub mod api { #[codec(index = 3)] Kusama, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginKind { #[codec(index = 0)] Native, @@ -9535,7 +10214,7 @@ pub mod api { #[codec(index = 3)] Xcm, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -9551,14 +10230,14 @@ pub mod api { #[codec(index = 3)] Version(::core::primitive::u32), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(#[codec(compact)] ::core::primitive::u64), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v2::Instruction, @@ -9569,7 +10248,7 @@ pub mod api { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -9592,7 +10271,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -9623,7 +10302,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -9665,7 +10344,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -9699,7 +10378,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -9765,14 +10444,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] Abstract([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -9787,39 +10466,39 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v3::multiasset::MultiAsset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -9841,7 +10520,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -9925,7 +10604,7 @@ pub mod api { ExceedsStackLimit, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -10136,7 +10815,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -10153,7 +10832,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -10170,14 +10849,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -10201,28 +10880,28 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(::sp_weights::Weight), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v3::Instruction, >, ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::AssetId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -10231,7 +10910,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::Assets), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), @@ -10240,7 +10919,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), @@ -10249,7 +10928,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Response), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm), diff --git a/relay-clients/client-polkadot/src/codegen_runtime.rs b/relay-clients/client-polkadot/src/codegen_runtime.rs index 2280b25259..ba3bd4ff30 100644 --- a/relay-clients/client-polkadot/src/codegen_runtime.rs +++ b/relay-clients/client-polkadot/src/codegen_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -16,7 +16,7 @@ //! Autogenerated runtime API //! THIS FILE WAS AUTOGENERATED USING parity-bridges-common::runtime-codegen -//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://dot-rpc.stakeworld.io/ +//! EXECUTED COMMAND: target/debug/runtime-codegen --from-node-url wss://dot-rpc.stakeworld.io #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] @@ -32,37 +32,37 @@ pub mod api { use super::runtime_types; pub mod bounded_btree_map { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BoundedBTreeMap<_0, _1>( pub ::subxt::ext::subxt_core::utils::KeyedVec<_0, _1>, ); } pub mod bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod finality_grandpa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Equivocation<_0, _1, _2> { pub round_number: ::core::primitive::u64, pub identity: _0, pub first: (_1, _2), pub second: (_1, _2), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Prevote<_0, _1> { pub target_hash: _0, pub target_number: _1, @@ -72,7 +72,7 @@ pub mod api { use super::runtime_types; pub mod dispatch { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -81,31 +81,31 @@ pub mod api { #[codec(index = 2)] Mandatory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchInfo { pub weight: ::sp_weights::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, #[codec(index = 1)] No, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PostDispatchInfo { pub actual_weight: ::core::option::Option<::sp_weights::Weight>, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -119,7 +119,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -135,7 +135,7 @@ pub mod api { } pub mod preimages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Bounded<_0, _1> { #[codec(index = 0)] Legacy { @@ -157,7 +157,7 @@ pub mod api { } pub mod schedule { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchTime<_0> { #[codec(index = 0)] At(_0), @@ -170,9 +170,9 @@ pub mod api { pub mod fungible { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -181,9 +181,7 @@ pub mod api { } pub mod misc { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -193,7 +191,7 @@ pub mod api { } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { @@ -202,49 +200,49 @@ pub mod api { use super::runtime_types; pub mod check_genesis { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckMortality(pub ::sp_runtime::generic::Era); } pub mod check_non_zero_sender { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockWeights { pub base_block: ::sp_weights::Weight, pub max_block: ::sp_weights::Weight, @@ -252,7 +250,7 @@ pub mod api { runtime_types::frame_system::limits::WeightsPerClass, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeightsPerClass { pub base_extrinsic: ::sp_weights::Weight, pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>, @@ -262,7 +260,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] remark { @@ -311,7 +309,7 @@ pub mod api { code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidSpecName, @@ -330,7 +328,7 @@ pub mod api { #[codec(index = 7)] Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { @@ -359,7 +357,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -367,24 +365,24 @@ pub mod api { pub sufficients: ::core::primitive::u32, pub data: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CodeUpgradeAuthorization { pub code_hash: ::subxt::ext::subxt_core::utils::H256, pub check_version: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -398,7 +396,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] create { @@ -421,14 +419,14 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnknownAssetKind, #[codec(index = 1)] AlreadyExists, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] AssetRateCreated { @@ -455,7 +453,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { @@ -488,7 +486,7 @@ pub mod api { config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidEquivocationProof, @@ -505,12 +503,12 @@ pub mod api { use super::runtime_types; pub mod list { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bag { pub head: ::core::option::Option<::sp_core::crypto::AccountId32>, pub tail: ::core::option::Option<::sp_core::crypto::AccountId32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ListError { #[codec(index = 0)] Duplicate, @@ -521,7 +519,7 @@ pub mod api { #[codec(index = 3)] NodeNotFound, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Node { pub id: ::sp_core::crypto::AccountId32, pub prev: ::core::option::Option<::sp_core::crypto::AccountId32>, @@ -532,7 +530,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] rebag { @@ -560,12 +558,12 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] List(runtime_types::pallet_bags_list::list::ListError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Rebagged { @@ -585,7 +583,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] transfer_allow_death { @@ -656,7 +654,7 @@ pub mod api { delta: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] VestingBalance, @@ -683,7 +681,7 @@ pub mod api { #[codec(index = 11)] DeltaZero, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Endowed { @@ -773,41 +771,41 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, pub frozen: _0, pub flags: runtime_types::pallet_balances::types::ExtraFlags, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AdjustmentDirection { #[codec(index = 0)] Increase, #[codec(index = 1)] Decrease, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ExtraFlags(pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -816,7 +814,7 @@ pub mod api { #[codec(index = 2)] All, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -827,7 +825,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { @@ -854,7 +852,7 @@ pub mod api { #[codec(index = 2)] set_new_genesis { delay_in_blocks: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidKeyOwnershipProof, @@ -871,7 +869,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] propose_bounty { @@ -932,7 +930,7 @@ pub mod api { remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InsufficientProposersBalance, @@ -957,7 +955,7 @@ pub mod api { #[codec(index = 10)] TooManyQueued, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BountyProposed { index: ::core::primitive::u32 }, @@ -996,7 +994,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bounty<_0, _1, _2> { pub proposer: _0, pub value: _1, @@ -1005,7 +1003,7 @@ pub mod api { pub bond: _1, pub status: runtime_types::pallet_bounties::BountyStatus<_0, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BountyStatus<_0, _1> { #[codec(index = 0)] Proposed, @@ -1025,7 +1023,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] add_child_bounty { @@ -1089,7 +1087,7 @@ pub mod api { child_bounty_id: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParentBountyNotActive, @@ -1098,7 +1096,7 @@ pub mod api { #[codec(index = 2)] TooManyChildBounties, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Added { index: ::core::primitive::u32, child_index: ::core::primitive::u32 }, @@ -1119,7 +1117,7 @@ pub mod api { Canceled { index: ::core::primitive::u32, child_index: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChildBounty<_0, _1, _2> { pub parent_bounty: ::core::primitive::u32, pub value: _1, @@ -1127,7 +1125,7 @@ pub mod api { pub curator_deposit: _1, pub status: runtime_types::pallet_child_bounties::ChildBountyStatus<_0, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ChildBountyStatus<_0, _1> { #[codec(index = 0)] Added, @@ -1143,7 +1141,7 @@ pub mod api { use super::runtime_types; pub mod conviction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Conviction { #[codec(index = 0)] None, @@ -1163,7 +1161,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] vote { @@ -1208,7 +1206,7 @@ pub mod api { index: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotOngoing, @@ -1235,7 +1233,7 @@ pub mod api { #[codec(index = 11)] BadClass, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Delegated(::sp_core::crypto::AccountId32, ::sp_core::crypto::AccountId32), @@ -1245,12 +1243,12 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Delegations<_0> { pub votes: _0, pub capital: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Tally<_0> { pub ayes: _0, pub nays: _0, @@ -1259,7 +1257,7 @@ pub mod api { } pub mod vote { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AccountVote<_0> { #[codec(index = 0)] Standard { @@ -1271,7 +1269,7 @@ pub mod api { #[codec(index = 2)] SplitAbstain { aye: _0, nay: _0, abstain: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Casting<_0, _1, _2> { pub votes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( _1, @@ -1283,7 +1281,7 @@ pub mod api { #[codec(skip)] pub __ignore: ::core::marker::PhantomData<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Delegating<_0, _1, _2> { pub balance: _0, pub target: _1, @@ -1292,18 +1290,18 @@ pub mod api { runtime_types::pallet_conviction_voting::types::Delegations<_0>, pub prior: runtime_types::pallet_conviction_voting::vote::PriorLock<_2, _0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PriorLock<_0, _1>(pub _0, pub _1); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Vote(pub ::core::primitive::u8); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Voting<_0, _1, _2, _3> { #[codec(index = 0)] Casting(runtime_types::pallet_conviction_voting::vote::Casting<_0, _2, _2>), @@ -1319,10 +1317,49 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] submit_unsigned { raw_solution : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: polkadot_runtime :: NposCompactSolution16 > > , witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , } , # [codec (index = 1)] set_minimum_untrusted_score { maybe_next_score : :: core :: option :: Option < runtime_types :: sp_npos_elections :: ElectionScore > , } , # [codec (index = 2)] set_emergency_election_result { supports : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (:: sp_core :: crypto :: AccountId32 , runtime_types :: sp_npos_elections :: Support < :: sp_core :: crypto :: AccountId32 > ,) > , } , # [codec (index = 3)] submit { raw_solution : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: polkadot_runtime :: NposCompactSolution16 > > , } , # [codec (index = 4)] governance_fallback { maybe_max_voters : :: core :: option :: Option < :: core :: primitive :: u32 > , maybe_max_targets : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + submit_unsigned { + raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::polkadot_runtime::NposCompactSolution16, + >, + >, + witness: runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize, + }, + #[codec(index = 1)] + set_minimum_untrusted_score { + maybe_next_score: ::core::option::Option< + runtime_types::sp_npos_elections::ElectionScore, + >, + }, + #[codec(index = 2)] + set_emergency_election_result { + supports: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + ::sp_core::crypto::AccountId32, + runtime_types::sp_npos_elections::Support< + ::sp_core::crypto::AccountId32, + >, + ), + >, + }, + #[codec(index = 3)] + submit { + raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::polkadot_runtime::NposCompactSolution16, + >, + >, + }, + #[codec(index = 4)] + governance_fallback { + maybe_max_voters: ::core::option::Option<::core::primitive::u32>, + maybe_max_targets: ::core::option::Option<::core::primitive::u32>, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PreDispatchEarlySubmission, @@ -1355,7 +1392,7 @@ pub mod api { #[codec(index = 14)] PreDispatchDifferentRound, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] SolutionStored { @@ -1396,7 +1433,7 @@ pub mod api { } pub mod signed { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SignedSubmission<_0, _1, _2> { pub who: _0, pub deposit: _1, @@ -1405,7 +1442,7 @@ pub mod api { pub call_fee: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ElectionCompute { #[codec(index = 0)] OnChain, @@ -1418,7 +1455,7 @@ pub mod api { #[codec(index = 4)] Emergency, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase<_0> { #[codec(index = 0)] Off, @@ -1429,13 +1466,13 @@ pub mod api { #[codec(index = 3)] Emergency, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RawSolution<_0> { pub solution: _0, pub score: runtime_types::sp_npos_elections::ElectionScore, pub round: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReadySolution { pub supports: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::sp_core::crypto::AccountId32, @@ -1444,12 +1481,12 @@ pub mod api { pub score: runtime_types::sp_npos_elections::ElectionScore, pub compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RoundSnapshot<_0, _1> { pub voters: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, pub targets: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SolutionOrSnapshotSize { #[codec(compact)] pub voters: ::core::primitive::u32, @@ -1461,7 +1498,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] register_fast_unstake, @@ -1470,7 +1507,7 @@ pub mod api { #[codec(index = 2)] control { eras_to_check: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotController, @@ -1485,7 +1522,7 @@ pub mod api { #[codec(index = 5)] CallNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Unstaked { @@ -1510,7 +1547,7 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnstakeRequest { pub stashes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::sp_core::crypto::AccountId32, @@ -1526,7 +1563,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { @@ -1554,7 +1591,7 @@ pub mod api { best_finalized_block_number: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PauseFailed, @@ -1571,7 +1608,7 @@ pub mod api { #[codec(index = 6)] DuplicateOffenceReport, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewAuthorities { @@ -1586,7 +1623,7 @@ pub mod api { Resumed, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredPendingChange<_0> { pub scheduled_at: _0, pub delay: _0, @@ -1597,7 +1634,7 @@ pub mod api { )>, pub forced: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum StoredState<_0> { #[codec(index = 0)] Live, @@ -1613,7 +1650,7 @@ pub mod api { use super::runtime_types; pub mod legacy { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdentityInfo { pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( runtime_types::pallet_identity::types::Data, @@ -1631,7 +1668,7 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] add_registrar { @@ -1782,7 +1819,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManySubAccounts, @@ -1837,7 +1874,7 @@ pub mod api { #[codec(index = 25)] NotExpired, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IdentitySet { who: ::sp_core::crypto::AccountId32 }, @@ -1925,12 +1962,12 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AuthorityProperties<_0> { pub suffix: _0, pub allocation: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Data { #[codec(index = 0)] None, @@ -2009,7 +2046,7 @@ pub mod api { #[codec(index = 37)] ShaThree256([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Judgement<_0> { #[codec(index = 0)] Unknown, @@ -2026,13 +2063,13 @@ pub mod api { #[codec(index = 6)] Erroneous, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RegistrarInfo<_0, _1, _2> { pub account: _1, pub fee: _0, pub fields: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Registration<_0, _2> { pub judgements: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::core::primitive::u32, @@ -2047,7 +2084,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim { index: ::core::primitive::u32 }, @@ -2073,7 +2110,7 @@ pub mod api { #[codec(index = 4)] freeze { index: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotAssigned, @@ -2086,7 +2123,7 @@ pub mod api { #[codec(index = 4)] Permanent, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IndexAssigned { @@ -2107,10 +2144,22 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] reap_page { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , } , # [codec (index = 1)] execute_overweight { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page : :: core :: primitive :: u32 , index : :: core :: primitive :: u32 , weight_limit : :: sp_weights :: Weight , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + reap_page { + message_origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page_index: ::core::primitive::u32, + }, + #[codec(index = 1)] + execute_overweight { + message_origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page: ::core::primitive::u32, + index: ::core::primitive::u32, + weight_limit: ::sp_weights::Weight, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotReapable, @@ -2131,11 +2180,36 @@ pub mod api { #[codec(index = 8)] RecursiveDisallowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] ProcessingFailed { id : :: subxt :: ext :: subxt_core :: utils :: H256 , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , error : runtime_types :: frame_support :: traits :: messages :: ProcessMessageError , } , # [codec (index = 1)] Processed { id : :: subxt :: ext :: subxt_core :: utils :: H256 , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , weight_used : :: sp_weights :: Weight , success : :: core :: primitive :: bool , } , # [codec (index = 2)] OverweightEnqueued { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , message_index : :: core :: primitive :: u32 , } , # [codec (index = 3)] PageReaped { origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , index : :: core :: primitive :: u32 , } , } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + ProcessingFailed { + id: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + error: runtime_types::frame_support::traits::messages::ProcessMessageError, + }, + #[codec(index = 1)] + Processed { + id: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + weight_used: ::sp_weights::Weight, + success: ::core::primitive::bool, + }, + #[codec(index = 2)] + OverweightEnqueued { + id: [::core::primitive::u8; 32usize], + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page_index: ::core::primitive::u32, + message_index: ::core::primitive::u32, + }, + #[codec(index = 3)] + PageReaped { + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + index: ::core::primitive::u32, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -2145,12 +2219,12 @@ pub mod api { pub message_count: ::core::primitive::u64, pub size: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, @@ -2166,7 +2240,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_multi_threshold_1 { @@ -2214,7 +2288,7 @@ pub mod api { call_hash: [::core::primitive::u8; 32usize], }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MinimumThreshold, @@ -2245,7 +2319,7 @@ pub mod api { #[codec(index = 13)] AlreadyStored, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewMultisig { @@ -2281,14 +2355,14 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -2298,7 +2372,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] join { @@ -2474,7 +2548,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DefensiveError { #[codec(index = 0)] NotEnoughSpaceInUnbondPool, @@ -2487,7 +2561,7 @@ pub mod api { #[codec(index = 4)] BondedStashKilledPrematurely, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PoolNotFound, @@ -2554,7 +2628,7 @@ pub mod api { #[codec(index = 31)] NothingToAdjust, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Created { @@ -2663,20 +2737,20 @@ pub mod api { amount: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum FreezeReason { #[codec(index = 0)] PoolMinBalance, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BondExtra<_0> { #[codec(index = 0)] FreeBalance(_0), #[codec(index = 1)] Rewards, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BondedPoolInner { pub commission: runtime_types::pallet_nomination_pools::Commission, pub member_counter: ::core::primitive::u32, @@ -2686,7 +2760,7 @@ pub mod api { >, pub state: runtime_types::pallet_nomination_pools::PoolState, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ClaimPermission { #[codec(index = 0)] Permissioned, @@ -2697,7 +2771,7 @@ pub mod api { #[codec(index = 3)] PermissionlessAll, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commission { pub current: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, @@ -2716,19 +2790,19 @@ pub mod api { >, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommissionChangeRate<_0> { pub max_increase: runtime_types::sp_arithmetic::per_things::Perbill, pub min_delay: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CommissionClaimPermission<_0> { #[codec(index = 0)] Permissionless, #[codec(index = 1)] Account(_0), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -2737,7 +2811,7 @@ pub mod api { #[codec(index = 2)] Remove, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PoolMember { pub pool_id: ::core::primitive::u32, pub points: ::core::primitive::u128, @@ -2749,14 +2823,14 @@ pub mod api { ::core::primitive::u128, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PoolRoles<_0> { pub depositor: _0, pub root: ::core::option::Option<_0>, pub nominator: ::core::option::Option<_0>, pub bouncer: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PoolState { #[codec(index = 0)] Open, @@ -2765,7 +2839,7 @@ pub mod api { #[codec(index = 2)] Destroying, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RewardPool { pub last_recorded_reward_counter: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -2774,7 +2848,7 @@ pub mod api { pub total_commission_pending: ::core::primitive::u128, pub total_commission_claimed: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SubPools { pub no_era: runtime_types::pallet_nomination_pools::UnbondPool, pub with_era: @@ -2783,7 +2857,7 @@ pub mod api { runtime_types::pallet_nomination_pools::UnbondPool, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnbondPool { pub points: ::core::primitive::u128, pub balance: ::core::primitive::u128, @@ -2793,7 +2867,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Offence { @@ -2807,7 +2881,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] note_preimage { @@ -2826,7 +2900,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooBig, @@ -2845,7 +2919,7 @@ pub mod api { #[codec(index = 7)] TooFew, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Noted { hash: ::subxt::ext::subxt_core::utils::H256 }, @@ -2854,13 +2928,13 @@ pub mod api { #[codec(index = 2)] Cleared { hash: ::subxt::ext::subxt_core::utils::H256 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HoldReason { #[codec(index = 0)] Preimage, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OldRequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { deposit: (_0, _1), len: ::core::primitive::u32 }, @@ -2871,7 +2945,7 @@ pub mod api { len: ::core::option::Option<::core::primitive::u32>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { ticket: (_0, _1), len: ::core::primitive::u32 }, @@ -2887,7 +2961,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] proxy { @@ -2981,7 +3055,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooMany, @@ -3000,7 +3074,7 @@ pub mod api { #[codec(index = 7)] NoSelfProxy, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ProxyExecuted { @@ -3036,13 +3110,13 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Announcement<_0, _1, _2> { pub real: _0, pub call_hash: _1, pub height: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ProxyDefinition<_0, _1, _2> { pub delegate: _0, pub proxy_type: _1, @@ -3053,7 +3127,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] submit { @@ -3089,7 +3163,7 @@ pub mod api { maybe_hash: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotOngoing, @@ -3118,7 +3192,7 @@ pub mod api { #[codec(index = 12)] PreimageNotExist, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Submitted { @@ -3219,7 +3293,7 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Curve { #[codec(index = 0)] LinearDecreasing { @@ -3241,17 +3315,17 @@ pub mod api { y_offset: runtime_types::sp_arithmetic::fixed_point::FixedI64, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DecidingStatus<_0> { pub since: _0, pub confirming: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Deposit<_0, _1> { pub who: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ReferendumInfo<_0, _1, _2, _3, _4, _5, _6, _7> { #[codec(index = 0)] Ongoing( @@ -3309,7 +3383,7 @@ pub mod api { #[codec(index = 5)] Killed(_2), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7> { pub track: _0, pub origin: _1, @@ -3327,7 +3401,7 @@ pub mod api { pub in_queue: ::core::primitive::bool, pub alarm: ::core::option::Option<(_2, _7)>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct TrackInfo<_0, _1> { pub name: ::subxt::ext::subxt_core::alloc::string::String, pub max_deciding: ::core::primitive::u32, @@ -3345,7 +3419,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] schedule { @@ -3402,7 +3476,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] FailedToSchedule, @@ -3415,7 +3489,7 @@ pub mod api { #[codec(index = 4)] Named, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Scheduled { when: ::core::primitive::u32, index: ::core::primitive::u32 }, @@ -3445,7 +3519,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Scheduled<_0, _1, _2, _3, _4> { pub maybe_id: ::core::option::Option<_0>, pub priority: ::core::primitive::u8, @@ -3460,7 +3534,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_keys { @@ -3470,7 +3544,7 @@ pub mod api { #[codec(index = 1)] purge_keys, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidProof, @@ -3483,7 +3557,7 @@ pub mod api { #[codec(index = 4)] NoAccount, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, @@ -3496,7 +3570,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] bond { @@ -3666,7 +3740,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -3675,7 +3749,7 @@ pub mod api { #[codec(index = 2)] Remove, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotController, @@ -3734,7 +3808,7 @@ pub mod api { #[codec(index = 27)] CannotRestoreLedger, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] EraPaid { @@ -3812,31 +3886,31 @@ pub mod api { } pub mod slashing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SlashingSpans { pub span_index: ::core::primitive::u32, pub last_start: ::core::primitive::u32, pub last_nonzero_slash: ::core::primitive::u32, pub prior: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SpanRecord<_0> { pub slashed: _0, pub paid_out: _0, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ActiveEraInfo { pub index: ::core::primitive::u32, pub start: ::core::option::Option<::core::primitive::u64>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EraRewardPoints<_0> { pub total: ::core::primitive::u32, pub individual: ::subxt::ext::subxt_core::utils::KeyedVec<_0, ::core::primitive::u32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Forcing { #[codec(index = 0)] NotForcing, @@ -3847,7 +3921,7 @@ pub mod api { #[codec(index = 3)] ForceAlways, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Nominations { pub targets: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::sp_core::crypto::AccountId32, @@ -3855,7 +3929,7 @@ pub mod api { pub submitted_in: ::core::primitive::u32, pub suppressed: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RewardDestination<_0> { #[codec(index = 0)] Staked, @@ -3868,7 +3942,7 @@ pub mod api { #[codec(index = 4)] None, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StakingLedger { pub stash: ::sp_core::crypto::AccountId32, #[codec(compact)] @@ -3883,7 +3957,7 @@ pub mod api { ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnappliedSlash<_0, _1> { pub validator: _0, pub own: _1, @@ -3891,14 +3965,14 @@ pub mod api { pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub payout: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnlockChunk<_0> { #[codec(compact)] pub value: _0, #[codec(compact)] pub era: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidatorPrefs { #[codec(compact)] pub commission: runtime_types::sp_arithmetic::per_things::Perbill, @@ -3909,7 +3983,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] control_auto_migration { @@ -3950,7 +4024,7 @@ pub mod api { runtime_types::pallet_state_trie_migration::pallet::Progress, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MaxSignedLimits, @@ -3965,7 +4039,7 @@ pub mod api { #[codec(index = 5)] BadChildRoot, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Migrated { @@ -3981,24 +4055,24 @@ pub mod api { #[codec(index = 3)] Halted { error: runtime_types::pallet_state_trie_migration::pallet::Error }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HoldReason { #[codec(index = 0)] SlashForMigrate, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MigrationCompute { #[codec(index = 0)] Signed, #[codec(index = 1)] Auto, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MigrationLimits { pub size: ::core::primitive::u32, pub item: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MigrationTask { pub progress_top: runtime_types::pallet_state_trie_migration::pallet::Progress, pub progress_child: @@ -4007,7 +4081,7 @@ pub mod api { pub top_items: ::core::primitive::u32, pub child_items: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Progress { #[codec(index = 0)] ToStart, @@ -4026,7 +4100,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set { @@ -4040,7 +4114,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] TransactionFeePaid { @@ -4052,29 +4126,29 @@ pub mod api { } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FeeDetails<_0> { pub inclusion_fee: ::core::option::Option< runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, >, pub tip: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InclusionFee<_0> { pub base_fee: _0, pub len_fee: _0, pub adjusted_weight_fee: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDispatchInfo<_0, _1> { pub weight: _1, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub partial_fee: _0, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -4086,7 +4160,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] propose_spend { @@ -4140,7 +4214,7 @@ pub mod api { #[codec(index = 8)] void_spend { index: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InsufficientProposersBalance, @@ -4167,7 +4241,7 @@ pub mod api { #[codec(index = 11)] Inconclusive, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Proposed { proposal_index: ::core::primitive::u32 }, @@ -4224,7 +4298,7 @@ pub mod api { SpendProcessed { index: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PaymentState<_0> { #[codec(index = 0)] Pending, @@ -4233,14 +4307,14 @@ pub mod api { #[codec(index = 2)] Failed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Proposal<_0, _1> { pub proposer: _0, pub value: _1, pub beneficiary: _0, pub bond: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SpendStatus<_0, _1, _2, _3, _4> { pub asset_kind: _0, pub amount: _1, @@ -4254,7 +4328,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] batch { @@ -4298,12 +4372,12 @@ pub mod api { weight: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCalls, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BatchInterrupted { @@ -4330,7 +4404,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] vest, @@ -4381,7 +4455,7 @@ pub mod api { schedule_index: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotVesting, @@ -4394,7 +4468,7 @@ pub mod api { #[codec(index = 4)] InvalidScheduleParams, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] VestingUpdated { @@ -4407,14 +4481,14 @@ pub mod api { } pub mod vesting_info { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VestingInfo<_0, _1> { pub locked: _0, pub per_block: _0, pub starting_block: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V0, @@ -4426,7 +4500,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] whitelist_call { call_hash: ::subxt::ext::subxt_core::utils::H256 }, @@ -4445,7 +4519,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnavailablePreImage, @@ -4458,7 +4532,7 @@ pub mod api { #[codec(index = 4)] CallAlreadyWhitelisted, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] CallWhitelisted { call_hash: ::subxt::ext::subxt_core::utils::H256 }, @@ -4481,7 +4555,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] send { @@ -4602,7 +4676,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Unreachable, @@ -4655,7 +4729,7 @@ pub mod api { #[codec(index = 24)] LocalExecutionIncomplete, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, @@ -4792,14 +4866,14 @@ pub mod api { #[codec(index = 23)] VersionMigrationFinished { version: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Xcm(runtime_types::staging_xcm::v4::location::Location), #[codec(index = 1)] Response(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { @@ -4818,7 +4892,7 @@ pub mod api { #[codec(index = 2)] Ready { response: runtime_types::xcm::VersionedResponse, at: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, pub owner: runtime_types::xcm::VersionedLocation, @@ -4828,7 +4902,7 @@ pub mod api { ::core::primitive::u128, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -4847,19 +4921,19 @@ pub mod api { } pub mod polkadot_core_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateHash(pub ::subxt::ext::subxt_core::utils::H256); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, @@ -4869,29 +4943,29 @@ pub mod api { use super::runtime_types; pub mod primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HeadData( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannelId { pub sender: runtime_types::polkadot_parachain_primitives::primitives::Id, pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Id(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidationCode( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidationCodeHash(pub ::subxt::ext::subxt_core::utils::H256); } } @@ -4901,19 +4975,29 @@ pub mod api { use super::runtime_types; pub mod assignment_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } pub mod async_backing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AsyncBackingParams { pub max_candidate_depth: ::core::primitive::u32, pub allowed_ancestry_len: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BackingState < _0 , _1 > { pub constraints : runtime_types :: polkadot_primitives :: v6 :: async_backing :: Constraints < _1 > , pub pending_availability : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: polkadot_primitives :: v6 :: async_backing :: CandidatePendingAvailability < _0 , _1 > > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BackingState<_0, _1> { + pub constraints: runtime_types::polkadot_primitives::v6::async_backing::Constraints< + _1, + >, + pub pending_availability: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v6::async_backing::CandidatePendingAvailability< + _0, + _1, + >, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidatePendingAvailability<_0, _1> { pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub descriptor: @@ -4923,13 +5007,44 @@ pub mod api { pub relay_parent_number: _1, pub max_pov_size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Constraints < _0 > { pub min_relay_parent_number : _0 , pub max_pov_size : :: core :: primitive :: u32 , pub max_code_size : :: core :: primitive :: u32 , pub ump_remaining : :: core :: primitive :: u32 , pub ump_remaining_bytes : :: core :: primitive :: u32 , pub max_ump_num_per_candidate : :: core :: primitive :: u32 , pub dmp_remaining_messages : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < _0 > , pub hrmp_inbound : runtime_types :: polkadot_primitives :: v6 :: async_backing :: InboundHrmpLimitations < _0 > , pub hrmp_channels_out : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: async_backing :: OutboundHrmpChannelLimitations ,) > , pub max_hrmp_num_per_candidate : :: core :: primitive :: u32 , pub required_parent : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , pub validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , pub upgrade_restriction : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeRestriction > , pub future_validation_code : :: core :: option :: Option < (_0 , runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash ,) > , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Constraints<_0> { + pub min_relay_parent_number: _0, + pub max_pov_size: ::core::primitive::u32, + pub max_code_size: ::core::primitive::u32, + pub ump_remaining: ::core::primitive::u32, + pub ump_remaining_bytes: ::core::primitive::u32, + pub max_ump_num_per_candidate: ::core::primitive::u32, + pub dmp_remaining_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + _0, + >, + pub hrmp_inbound: runtime_types::polkadot_primitives::v6::async_backing::InboundHrmpLimitations< + _0, + >, + pub hrmp_channels_out: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v6::async_backing::OutboundHrmpChannelLimitations, + ), + >, + pub max_hrmp_num_per_candidate: ::core::primitive::u32, + pub required_parent: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + pub validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + pub upgrade_restriction: ::core::option::Option< + runtime_types::polkadot_primitives::v6::UpgradeRestriction, + >, + pub future_validation_code: ::core::option::Option< + ( + _0, + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + ), + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpLimitations<_0> { pub valid_watermarks: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpChannelLimitations { pub bytes_remaining: ::core::primitive::u32, pub messages_remaining: ::core::primitive::u32, @@ -4937,14 +5052,14 @@ pub mod api { } pub mod collator_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); } pub mod executor_params { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ExecutorParam { #[codec(index = 1)] MaxMemoryPages(::core::primitive::u32), @@ -4967,7 +5082,7 @@ pub mod api { #[codec(index = 7)] WasmExtBulkMemory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutorParams( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::executor_params::ExecutorParam, @@ -4976,7 +5091,7 @@ pub mod api { } pub mod signed { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UncheckedSigned<_0, _1> { pub payload: _0, pub validator_index: runtime_types::polkadot_primitives::v6::ValidatorIndex, @@ -4988,7 +5103,7 @@ pub mod api { } pub mod slashing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeProof { pub time_slot: runtime_types::polkadot_primitives::v6::slashing::DisputesTimeSlot, @@ -4998,16 +5113,16 @@ pub mod api { pub validator_id: runtime_types::polkadot_primitives::v6::validator_app::Public, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputesTimeSlot { pub session_index: ::core::primitive::u32, pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueKeyOwnershipProof( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PendingSlashes { pub keys: ::subxt::ext::subxt_core::utils::KeyedVec< runtime_types::polkadot_primitives::v6::ValidatorIndex, @@ -5016,7 +5131,7 @@ pub mod api { pub kind: runtime_types::polkadot_primitives::v6::slashing::SlashingOffenceKind, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SlashingOffenceKind { #[codec(index = 0)] ForInvalid, @@ -5026,19 +5141,19 @@ pub mod api { } pub mod validator_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AvailabilityBitfield( pub ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, ::subxt::ext::subxt_core::utils::bits::Lsb0, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BackedCandidate<_0> { pub candidate: runtime_types::polkadot_primitives::v6::CommittedCandidateReceipt<_0>, @@ -5050,7 +5165,7 @@ pub mod api { ::subxt::ext::subxt_core::utils::bits::Lsb0, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateCommitments<_0> { pub upward_messages: runtime_types::bounded_collections::bounded_vec::BoundedVec< @@ -5070,9 +5185,19 @@ pub mod api { pub processed_downward_messages: ::core::primitive::u32, pub hrmp_watermark: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct CandidateDescriptor < _0 > { pub para_id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , pub relay_parent : _0 , pub collator : runtime_types :: polkadot_primitives :: v6 :: collator_app :: Public , pub persisted_validation_data_hash : :: subxt :: ext :: subxt_core :: utils :: H256 , pub pov_hash : :: subxt :: ext :: subxt_core :: utils :: H256 , pub erasure_root : :: subxt :: ext :: subxt_core :: utils :: H256 , pub signature : runtime_types :: polkadot_primitives :: v6 :: collator_app :: Signature , pub para_head : :: subxt :: ext :: subxt_core :: utils :: H256 , pub validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CandidateDescriptor<_0> { + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub relay_parent: _0, + pub collator: runtime_types::polkadot_primitives::v6::collator_app::Public, + pub persisted_validation_data_hash: ::subxt::ext::subxt_core::utils::H256, + pub pov_hash: ::subxt::ext::subxt_core::utils::H256, + pub erasure_root: ::subxt::ext::subxt_core::utils::H256, + pub signature: runtime_types::polkadot_primitives::v6::collator_app::Signature, + pub para_head: ::subxt::ext::subxt_core::utils::H256, + pub validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CandidateEvent<_0> { #[codec(index = 0)] CandidateBacked( @@ -5095,12 +5220,12 @@ pub mod api { runtime_types::polkadot_primitives::v6::CoreIndex, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateReceipt<_0> { pub descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, pub commitments_hash: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommittedCandidateReceipt<_0> { pub descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, pub commitments: runtime_types::polkadot_primitives::v6::CandidateCommitments< @@ -5108,15 +5233,15 @@ pub mod api { >, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct CoreIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CoreState<_0, _1> { #[codec(index = 0)] Occupied(runtime_types::polkadot_primitives::v6::OccupiedCore<_0, _1>), @@ -5125,7 +5250,7 @@ pub mod api { #[codec(index = 2)] Free, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeState<_0> { pub validators_for: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, @@ -5138,14 +5263,14 @@ pub mod api { pub start: _0, pub concluded_at: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeStatement { #[codec(index = 0)] Valid(runtime_types::polkadot_primitives::v6::ValidDisputeStatementKind), #[codec(index = 1)] Invalid(runtime_types::polkadot_primitives::v6::InvalidDisputeStatementKind), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeStatementSet { pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub session: ::core::primitive::u32, @@ -5156,26 +5281,26 @@ pub mod api { )>, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct GroupIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct GroupRotationInfo<_0> { pub session_start_block: _0, pub group_rotation_frequency: _0, pub now: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IndexedVec<_0, _1>( pub ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, #[codec(skip)] pub ::core::marker::PhantomData<_0>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InherentData<_0> { pub bitfields: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::signed::UncheckedSigned< @@ -5193,12 +5318,12 @@ pub mod api { >, pub parent_header: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum InvalidDisputeStatementKind { #[codec(index = 0)] Explicit, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OccupiedCore<_0, _1> { pub next_up_on_available: ::core::option::Option< runtime_types::polkadot_primitives::v6::ScheduledCore, @@ -5217,7 +5342,7 @@ pub mod api { pub candidate_descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OccupiedCoreAssumption { #[codec(index = 0)] Included, @@ -5226,7 +5351,7 @@ pub mod api { #[codec(index = 2)] Free, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PersistedValidationData<_0, _1> { pub parent_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -5234,30 +5359,35 @@ pub mod api { pub relay_parent_storage_root: _0, pub max_pov_size: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PvfCheckStatement { pub accept : :: core :: primitive :: bool , pub subject : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , pub session_index : :: core :: primitive :: u32 , pub validator_index : runtime_types :: polkadot_primitives :: v6 :: ValidatorIndex , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PvfCheckStatement { + pub accept: ::core::primitive::bool, + pub subject: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + pub session_index: ::core::primitive::u32, + pub validator_index: runtime_types::polkadot_primitives::v6::ValidatorIndex, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PvfExecKind { #[codec(index = 0)] Backing, #[codec(index = 1)] Approval, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PvfPrepKind { #[codec(index = 0)] Precheck, #[codec(index = 1)] Prepare, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ScheduledCore { pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, pub collator: ::core::option::Option< runtime_types::polkadot_primitives::v6::collator_app::Public, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ScrapedOnChainVotes<_0> { pub session: ::core::primitive::u32, pub backing_validators_per_candidate: @@ -5272,7 +5402,7 @@ pub mod api { runtime_types::polkadot_primitives::v6::DisputeStatementSet, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionInfo { pub active_validator_indices: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::ValidatorIndex, @@ -5302,19 +5432,19 @@ pub mod api { pub no_show_slots: ::core::primitive::u32, pub needed_approvals: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, #[codec(index = 1)] GoAhead, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeRestriction { #[codec(index = 0)] Present, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ValidDisputeStatementKind { #[codec(index = 0)] Explicit, @@ -5332,15 +5462,15 @@ pub mod api { ), } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ValidatorIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ValidityAttestation { #[codec(index = 1)] Implicit(runtime_types::polkadot_primitives::v6::validator_app::Signature), @@ -5351,9 +5481,9 @@ pub mod api { pub mod vstaging { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -5371,9 +5501,7 @@ pub mod api { use super::runtime_types; pub mod pallet_custom_origins { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] StakingAdmin, @@ -5413,22 +5541,38 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] HeartbeatReceived { authority_id : runtime_types :: polkadot_runtime :: pallet_im_online :: sr25519 :: app_sr25519 :: Public , } , # [codec (index = 1)] AllGood , # [codec (index = 2)] SomeOffline { offline : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (:: sp_core :: crypto :: AccountId32 , runtime_types :: sp_staking :: Exposure < :: sp_core :: crypto :: AccountId32 , :: core :: primitive :: u128 > ,) > , } , } + #[codec(index = 0)] + HeartbeatReceived { + authority_id: runtime_types::polkadot_runtime::pallet_im_online::sr25519::app_sr25519::Public, + }, + #[codec(index = 1)] + AllGood, + #[codec(index = 2)] + SomeOffline { + offline: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + ::sp_core::crypto::AccountId32, + runtime_types::sp_staking::Exposure< + ::sp_core::crypto::AccountId32, + ::core::primitive::u128, + >, + ), + >, + }, + } } pub mod sr25519 { use super::runtime_types; pub mod app_sr25519 { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct NposCompactSolution16 { pub votes1: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, @@ -5585,10 +5729,28 @@ pub mod api { ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginCaller { - # [codec (index = 0)] system (runtime_types :: frame_support :: dispatch :: RawOrigin < :: sp_core :: crypto :: AccountId32 > ,) , # [codec (index = 22)] Origins (runtime_types :: polkadot_runtime :: governance :: origins :: pallet_custom_origins :: Origin ,) , # [codec (index = 50)] ParachainsOrigin (runtime_types :: polkadot_runtime_parachains :: origin :: pallet :: Origin ,) , # [codec (index = 99)] XcmPallet (runtime_types :: pallet_xcm :: pallet :: Origin ,) , # [codec (index = 4)] Void (runtime_types :: sp_core :: Void ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + system( + runtime_types::frame_support::dispatch::RawOrigin< + ::sp_core::crypto::AccountId32, + >, + ), + #[codec(index = 22)] + Origins( + runtime_types::polkadot_runtime::governance::origins::pallet_custom_origins::Origin, + ), + #[codec(index = 50)] + ParachainsOrigin( + runtime_types::polkadot_runtime_parachains::origin::pallet::Origin, + ), + #[codec(index = 99)] + XcmPallet(runtime_types::pallet_xcm::pallet::Origin), + #[codec(index = 4)] + Void(runtime_types::sp_core::Void), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProxyType { #[codec(index = 0)] Any, @@ -5607,9 +5769,9 @@ pub mod api { #[codec(index = 8)] NominationPools, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -5708,7 +5870,7 @@ pub mod api { #[codec(index = 200)] Beefy(runtime_types::pallet_beefy::pallet::Call), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeError { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Error), @@ -5801,7 +5963,7 @@ pub mod api { #[codec(index = 200)] Beefy(runtime_types::pallet_beefy::pallet::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -5884,19 +6046,19 @@ pub mod api { #[codec(index = 101)] AssetRate(runtime_types::pallet_asset_rate::pallet::Event), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeFreezeReason { #[codec(index = 39)] NominationPools(runtime_types::pallet_nomination_pools::pallet::FreezeReason), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason { #[codec(index = 10)] Preimage(runtime_types::pallet_preimage::pallet::HoldReason), #[codec(index = 98)] StateTrieMigration(runtime_types::pallet_state_trie_migration::pallet::HoldReason), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionKeys { pub grandpa: runtime_types::sp_consensus_grandpa::app::Public, pub babe: runtime_types::sp_consensus_babe::app::Public, @@ -5912,7 +6074,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] new_auction { @@ -5937,7 +6099,7 @@ pub mod api { #[codec(index = 2)] cancel_auction, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] AuctionInProgress, @@ -5954,7 +6116,7 @@ pub mod api { #[codec(index = 6)] AlreadyLeasedOut, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] AuctionStarted { @@ -6001,7 +6163,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim { @@ -6042,7 +6204,7 @@ pub mod api { maybe_preclaim: ::core::option::Option<::sp_core::crypto::AccountId32>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidEthereumSignature, @@ -6057,7 +6219,7 @@ pub mod api { #[codec(index = 5)] VestedBalanceExists, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Claimed { @@ -6068,13 +6230,13 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EcdsaSignature(pub [::core::primitive::u8; 65usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EthereumAddress(pub [::core::primitive::u8; 20usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PrevalidateAttests; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum StatementKind { #[codec(index = 0)] Regular, @@ -6086,7 +6248,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] create { @@ -6158,7 +6320,7 @@ pub mod api { ::core::option::Option, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] FirstPeriodInPast, @@ -6207,7 +6369,7 @@ pub mod api { #[codec(index = 22)] NoLeasePeriod, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Created { @@ -6263,7 +6425,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FundInfo<_0, _1, _2, _3> { pub depositor: _0, pub verifier: ::core::option::Option, @@ -6277,7 +6439,7 @@ pub mod api { pub last_period: _3, pub fund_index: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum LastContribution<_0> { #[codec(index = 0)] Never, @@ -6289,7 +6451,7 @@ pub mod api { } pub mod impls { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocatableAsset { #[codec(index = 3)] V3 { @@ -6307,10 +6469,53 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] register { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , genesis_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 1)] force_register { who : :: sp_core :: crypto :: AccountId32 , deposit : :: core :: primitive :: u128 , id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , genesis_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 2)] deregister { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] swap { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , other : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 4)] remove_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] reserve , # [codec (index = 6)] add_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 7)] schedule_code_upgrade { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 8)] set_current_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + register { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 1)] + force_register { + who: ::sp_core::crypto::AccountId32, + deposit: ::core::primitive::u128, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 2)] + deregister { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + swap { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + other: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 4)] + remove_lock { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 5)] + reserve, + #[codec(index = 6)] + add_lock { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 7)] + schedule_code_upgrade { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 8)] + set_current_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotRegistered, @@ -6341,7 +6546,7 @@ pub mod api { #[codec(index = 13)] CannotSwap, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Registered { @@ -6364,7 +6569,7 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaInfo<_0, _1> { pub manager: _0, pub deposit: _1, @@ -6375,7 +6580,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_lease { @@ -6394,14 +6599,14 @@ pub mod api { para: runtime_types::polkadot_parachain_primitives::primitives::Id, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParaNotOnboarding, #[codec(index = 1)] LeaseError, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewLeasePeriod { lease_period: ::core::primitive::u32 }, @@ -6424,16 +6629,141 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_validation_upgrade_cooldown { new : :: core :: primitive :: u32 , } , # [codec (index = 1)] set_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 2)] set_code_retention_period { new : :: core :: primitive :: u32 , } , # [codec (index = 3)] set_max_code_size { new : :: core :: primitive :: u32 , } , # [codec (index = 4)] set_max_pov_size { new : :: core :: primitive :: u32 , } , # [codec (index = 5)] set_max_head_data_size { new : :: core :: primitive :: u32 , } , # [codec (index = 6)] set_coretime_cores { new : :: core :: primitive :: u32 , } , # [codec (index = 7)] set_on_demand_retries { new : :: core :: primitive :: u32 , } , # [codec (index = 8)] set_group_rotation_frequency { new : :: core :: primitive :: u32 , } , # [codec (index = 9)] set_paras_availability_period { new : :: core :: primitive :: u32 , } , # [codec (index = 11)] set_scheduling_lookahead { new : :: core :: primitive :: u32 , } , # [codec (index = 12)] set_max_validators_per_core { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 13)] set_max_validators { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 14)] set_dispute_period { new : :: core :: primitive :: u32 , } , # [codec (index = 15)] set_dispute_post_conclusion_acceptance_period { new : :: core :: primitive :: u32 , } , # [codec (index = 18)] set_no_show_slots { new : :: core :: primitive :: u32 , } , # [codec (index = 19)] set_n_delay_tranches { new : :: core :: primitive :: u32 , } , # [codec (index = 20)] set_zeroth_delay_tranche_width { new : :: core :: primitive :: u32 , } , # [codec (index = 21)] set_needed_approvals { new : :: core :: primitive :: u32 , } , # [codec (index = 22)] set_relay_vrf_modulo_samples { new : :: core :: primitive :: u32 , } , # [codec (index = 23)] set_max_upward_queue_count { new : :: core :: primitive :: u32 , } , # [codec (index = 24)] set_max_upward_queue_size { new : :: core :: primitive :: u32 , } , # [codec (index = 25)] set_max_downward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 27)] set_max_upward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 28)] set_max_upward_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 29)] set_hrmp_open_request_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 30)] set_hrmp_sender_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 31)] set_hrmp_recipient_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 32)] set_hrmp_channel_max_capacity { new : :: core :: primitive :: u32 , } , # [codec (index = 33)] set_hrmp_channel_max_total_size { new : :: core :: primitive :: u32 , } , # [codec (index = 34)] set_hrmp_max_parachain_inbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 36)] set_hrmp_channel_max_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 37)] set_hrmp_max_parachain_outbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 39)] set_hrmp_max_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 42)] set_pvf_voting_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 43)] set_minimum_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 44)] set_bypass_consistency_check { new : :: core :: primitive :: bool , } , # [codec (index = 45)] set_async_backing_params { new : runtime_types :: polkadot_primitives :: v6 :: async_backing :: AsyncBackingParams , } , # [codec (index = 46)] set_executor_params { new : runtime_types :: polkadot_primitives :: v6 :: executor_params :: ExecutorParams , } , # [codec (index = 47)] set_on_demand_base_fee { new : :: core :: primitive :: u128 , } , # [codec (index = 48)] set_on_demand_fee_variability { new : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 49)] set_on_demand_queue_max_size { new : :: core :: primitive :: u32 , } , # [codec (index = 50)] set_on_demand_target_queue_utilization { new : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 51)] set_on_demand_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 52)] set_minimum_backing_votes { new : :: core :: primitive :: u32 , } , # [codec (index = 53)] set_node_feature { index : :: core :: primitive :: u8 , value : :: core :: primitive :: bool , } , # [codec (index = 54)] set_approval_voting_params { new : runtime_types :: polkadot_primitives :: vstaging :: ApprovalVotingParams , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_validation_upgrade_cooldown { new: ::core::primitive::u32 }, + #[codec(index = 1)] + set_validation_upgrade_delay { new: ::core::primitive::u32 }, + #[codec(index = 2)] + set_code_retention_period { new: ::core::primitive::u32 }, + #[codec(index = 3)] + set_max_code_size { new: ::core::primitive::u32 }, + #[codec(index = 4)] + set_max_pov_size { new: ::core::primitive::u32 }, + #[codec(index = 5)] + set_max_head_data_size { new: ::core::primitive::u32 }, + #[codec(index = 6)] + set_coretime_cores { new: ::core::primitive::u32 }, + #[codec(index = 7)] + set_on_demand_retries { new: ::core::primitive::u32 }, + #[codec(index = 8)] + set_group_rotation_frequency { new: ::core::primitive::u32 }, + #[codec(index = 9)] + set_paras_availability_period { new: ::core::primitive::u32 }, + #[codec(index = 11)] + set_scheduling_lookahead { new: ::core::primitive::u32 }, + #[codec(index = 12)] + set_max_validators_per_core { + new: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 13)] + set_max_validators { + new: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 14)] + set_dispute_period { new: ::core::primitive::u32 }, + #[codec(index = 15)] + set_dispute_post_conclusion_acceptance_period { + new: ::core::primitive::u32, + }, + #[codec(index = 18)] + set_no_show_slots { new: ::core::primitive::u32 }, + #[codec(index = 19)] + set_n_delay_tranches { new: ::core::primitive::u32 }, + #[codec(index = 20)] + set_zeroth_delay_tranche_width { new: ::core::primitive::u32 }, + #[codec(index = 21)] + set_needed_approvals { new: ::core::primitive::u32 }, + #[codec(index = 22)] + set_relay_vrf_modulo_samples { new: ::core::primitive::u32 }, + #[codec(index = 23)] + set_max_upward_queue_count { new: ::core::primitive::u32 }, + #[codec(index = 24)] + set_max_upward_queue_size { new: ::core::primitive::u32 }, + #[codec(index = 25)] + set_max_downward_message_size { new: ::core::primitive::u32 }, + #[codec(index = 27)] + set_max_upward_message_size { new: ::core::primitive::u32 }, + #[codec(index = 28)] + set_max_upward_message_num_per_candidate { + new: ::core::primitive::u32, + }, + #[codec(index = 29)] + set_hrmp_open_request_ttl { new: ::core::primitive::u32 }, + #[codec(index = 30)] + set_hrmp_sender_deposit { new: ::core::primitive::u128 }, + #[codec(index = 31)] + set_hrmp_recipient_deposit { new: ::core::primitive::u128 }, + #[codec(index = 32)] + set_hrmp_channel_max_capacity { new: ::core::primitive::u32 }, + #[codec(index = 33)] + set_hrmp_channel_max_total_size { new: ::core::primitive::u32 }, + #[codec(index = 34)] + set_hrmp_max_parachain_inbound_channels { + new: ::core::primitive::u32, + }, + #[codec(index = 36)] + set_hrmp_channel_max_message_size { + new: ::core::primitive::u32, + }, + #[codec(index = 37)] + set_hrmp_max_parachain_outbound_channels { + new: ::core::primitive::u32, + }, + #[codec(index = 39)] + set_hrmp_max_message_num_per_candidate { + new: ::core::primitive::u32, + }, + #[codec(index = 42)] + set_pvf_voting_ttl { new: ::core::primitive::u32 }, + #[codec(index = 43)] + set_minimum_validation_upgrade_delay { + new: ::core::primitive::u32, + }, + #[codec(index = 44)] + set_bypass_consistency_check { new: ::core::primitive::bool }, + #[codec(index = 45)] + set_async_backing_params { + new: runtime_types::polkadot_primitives::v6::async_backing::AsyncBackingParams, + }, + #[codec(index = 46)] + set_executor_params { + new: runtime_types::polkadot_primitives::v6::executor_params::ExecutorParams, + }, + #[codec(index = 47)] + set_on_demand_base_fee { new: ::core::primitive::u128 }, + #[codec(index = 48)] + set_on_demand_fee_variability { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 49)] + set_on_demand_queue_max_size { new: ::core::primitive::u32 }, + #[codec(index = 50)] + set_on_demand_target_queue_utilization { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 51)] + set_on_demand_ttl { new: ::core::primitive::u32 }, + #[codec(index = 52)] + set_minimum_backing_votes { new: ::core::primitive::u32 }, + #[codec(index = 53)] + set_node_feature { + index: ::core::primitive::u8, + value: ::core::primitive::bool, + }, + #[codec(index = 54)] + set_approval_voting_params { + new: runtime_types::polkadot_primitives::vstaging::ApprovalVotingParams, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidNewValue, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HostConfiguration<_0> { pub max_code_size: ::core::primitive::u32, pub max_head_data_size: ::core::primitive::u32, @@ -6494,12 +6824,12 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_unfreeze, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DuplicateDisputeStatementSets, @@ -6520,7 +6850,7 @@ pub mod api { #[codec(index = 8)] UnconfirmedDispute, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] DisputeInitiated( @@ -6540,9 +6870,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_dispute_lost_unsigned { @@ -6552,9 +6880,7 @@ pub mod api { key_owner_proof: ::sp_session::MembershipProof, }, } - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidKeyOwnershipProof, @@ -6571,14 +6897,14 @@ pub mod api { } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeLocation { #[codec(index = 0)] Local, #[codec(index = 1)] Remote, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeResult { #[codec(index = 0)] Valid, @@ -6590,10 +6916,56 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] hrmp_init_open_channel { recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 1)] hrmp_accept_open_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 2)] hrmp_close_channel { channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 3)] force_clean_hrmp { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , num_inbound : :: core :: primitive :: u32 , num_outbound : :: core :: primitive :: u32 , } , # [codec (index = 4)] force_process_hrmp_open { channels : :: core :: primitive :: u32 , } , # [codec (index = 5)] force_process_hrmp_close { channels : :: core :: primitive :: u32 , } , # [codec (index = 6)] hrmp_cancel_open_request { channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , open_requests : :: core :: primitive :: u32 , } , # [codec (index = 7)] force_open_hrmp_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , max_capacity : :: core :: primitive :: u32 , max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 8)] establish_system_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 9)] poke_channel_deposits { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + hrmp_init_open_channel { + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 1)] + hrmp_accept_open_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 2)] + hrmp_close_channel { + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 3)] + force_clean_hrmp { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + num_inbound: ::core::primitive::u32, + num_outbound: ::core::primitive::u32, + }, + #[codec(index = 4)] + force_process_hrmp_open { channels: ::core::primitive::u32 }, + #[codec(index = 5)] + force_process_hrmp_close { channels: ::core::primitive::u32 }, + #[codec(index = 6)] + hrmp_cancel_open_request { + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + open_requests: ::core::primitive::u32, + }, + #[codec(index = 7)] + force_open_hrmp_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + max_capacity: ::core::primitive::u32, + max_message_size: ::core::primitive::u32, + }, + #[codec(index = 8)] + establish_system_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 9)] + poke_channel_deposits { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] OpenHrmpChannelToSelf, @@ -6636,11 +7008,52 @@ pub mod api { #[codec(index = 19)] ChannelCreationNotAuthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] OpenChannelRequested { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 1)] OpenChannelCanceled { by_parachain : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 2)] OpenChannelAccepted { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] ChannelClosed { by_parachain : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 4)] HrmpChannelForceOpened { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 5)] HrmpSystemChannelOpened { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 6)] OpenChannelDepositsUpdated { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + OpenChannelRequested { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 1)] + OpenChannelCanceled { + by_parachain: runtime_types::polkadot_parachain_primitives::primitives::Id, + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 2)] + OpenChannelAccepted { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + ChannelClosed { + by_parachain: runtime_types::polkadot_parachain_primitives::primitives::Id, + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 4)] + HrmpChannelForceOpened { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 5)] + HrmpSystemChannelOpened { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 6)] + OpenChannelDepositsUpdated { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, @@ -6651,7 +7064,7 @@ pub mod api { pub sender_deposit: ::core::primitive::u128, pub recipient_deposit: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpOpenChannelRequest { pub confirmed: ::core::primitive::bool, pub _age: ::core::primitive::u32, @@ -6665,9 +7078,9 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] UnsortedOrDuplicateValidatorIndices, @@ -6728,7 +7141,7 @@ pub mod api { #[codec(index = 28)] BitfieldReferencesFreedCore, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] CandidateBacked( @@ -6763,17 +7176,17 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AggregateMessageOrigin { #[codec(index = 0)] Ump(runtime_types::polkadot_runtime_parachains::inclusion::UmpQueueId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AvailabilityBitfieldRecord<_0> { pub bitfield: runtime_types::polkadot_primitives::v6::AvailabilityBitfield, pub submitted_at: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidatePendingAvailability<_0, _1> { pub core: runtime_types::polkadot_primitives::v6::CoreIndex, pub hash: runtime_types::polkadot_core_primitives::CandidateHash, @@ -6790,7 +7203,7 @@ pub mod api { pub backed_in_number: _1, pub backing_group: runtime_types::polkadot_primitives::v6::GroupIndex, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UmpQueueId { #[codec(index = 0)] Para(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -6800,13 +7213,13 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_approve { up_to: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BufferedSessionChange { pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::validator_app::Public, @@ -6821,7 +7234,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] Parachain(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -6832,10 +7245,53 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] force_set_current_code { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 1)] force_set_current_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , # [codec (index = 2)] force_schedule_code_upgrade { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , relay_parent_number : :: core :: primitive :: u32 , } , # [codec (index = 3)] force_note_new_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , # [codec (index = 4)] force_queue_action { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] add_trusted_validation_code { validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 6)] poke_unused_validation_code { validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , } , # [codec (index = 7)] include_pvf_check_statement { stmt : runtime_types :: polkadot_primitives :: v6 :: PvfCheckStatement , signature : runtime_types :: polkadot_primitives :: v6 :: validator_app :: Signature , } , # [codec (index = 8)] force_set_most_recent_context { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , context : :: core :: primitive :: u32 , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + force_set_current_code { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 1)] + force_set_current_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + #[codec(index = 2)] + force_schedule_code_upgrade { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + relay_parent_number: ::core::primitive::u32, + }, + #[codec(index = 3)] + force_note_new_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + #[codec(index = 4)] + force_queue_action { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 5)] + add_trusted_validation_code { + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 6)] + poke_unused_validation_code { + validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + }, + #[codec(index = 7)] + include_pvf_check_statement { + stmt: runtime_types::polkadot_primitives::v6::PvfCheckStatement, + signature: runtime_types::polkadot_primitives::v6::validator_app::Signature, + }, + #[codec(index = 8)] + force_set_most_recent_context { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + context: ::core::primitive::u32, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotRegistered, @@ -6862,11 +7318,47 @@ pub mod api { #[codec(index = 11)] CannotUpgradeCode, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] CurrentCodeUpdated (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 1)] CurrentHeadUpdated (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 2)] CodeUpgradeScheduled (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 3)] NewHeadNoted (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 4)] ActionQueued (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , :: core :: primitive :: u32 ,) , # [codec (index = 5)] PvfCheckStarted (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 6)] PvfCheckAccepted (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 7)] PvfCheckRejected (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + CurrentCodeUpdated( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 1)] + CurrentHeadUpdated( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 2)] + CodeUpgradeScheduled( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 3)] + NewHeadNoted( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 4)] + ActionQueued( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ::core::primitive::u32, + ), + #[codec(index = 5)] + PvfCheckStarted( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 6)] + PvfCheckAccepted( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 7)] + PvfCheckRejected( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaGenesisArgs { pub genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -6874,7 +7366,7 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, pub para_kind: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ParaLifecycle { #[codec(index = 0)] Onboarding, @@ -6891,14 +7383,14 @@ pub mod api { #[codec(index = 6)] OffboardingParachain, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaPastCodeMeta<_0> { pub upgrade_times: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::paras::ReplacementTimes<_0>, >, pub last_pruned: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PvfCheckActiveVoteState<_0> { pub votes_accept: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, @@ -6914,7 +7406,7 @@ pub mod api { runtime_types::polkadot_runtime_parachains::paras::PvfCheckCause<_0>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PvfCheckCause<_0> { #[codec(index = 0)] Onboarding(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -6925,12 +7417,12 @@ pub mod api { set_go_ahead: runtime_types::polkadot_runtime_parachains::paras::SetGoAhead, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReplacementTimes<_0> { pub expected_at: _0, pub activated_at: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SetGoAhead { #[codec(index = 0)] Yes, @@ -6942,7 +7434,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] enter { @@ -6954,7 +7446,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyInclusionInherents, @@ -6981,7 +7473,7 @@ pub mod api { use super::runtime_types; pub mod common { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Assignment { #[codec(index = 0)] Pool { @@ -6994,21 +7486,33 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum CoreOccupied<_0> { - # [codec (index = 0)] Free , # [codec (index = 1)] Paras (runtime_types :: polkadot_runtime_parachains :: scheduler :: pallet :: ParasEntry < _0 > ,) , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParasEntry < _0 > { pub assignment : runtime_types :: polkadot_runtime_parachains :: scheduler :: common :: Assignment , pub availability_timeouts : :: core :: primitive :: u32 , pub ttl : _0 , } + #[codec(index = 0)] + Free, + #[codec(index = 1)] + Paras( + runtime_types::polkadot_runtime_parachains::scheduler::pallet::ParasEntry< + _0, + >, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ParasEntry<_0> { + pub assignment: runtime_types::polkadot_runtime_parachains::scheduler::common::Assignment, + pub availability_timeouts: ::core::primitive::u32, + pub ttl: _0, + } } } pub mod shared { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AllowedRelayParentsTracker<_0, _1> { pub buffer: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _0)>, pub latest_number: _1, @@ -7019,12 +7523,12 @@ pub mod api { use super::runtime_types; pub mod fixed_point { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FixedI64(pub ::core::primitive::i64); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -7034,43 +7538,43 @@ pub mod api { pub mod per_things { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct PerU16(pub ::core::primitive::u16); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Perbill(pub ::core::primitive::u32); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Percent(pub ::core::primitive::u8); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Permill(pub ::core::primitive::u32); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -7084,7 +7588,7 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } } @@ -7092,12 +7596,12 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } pub mod digests { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NextConfigDescriptor { #[codec(index = 1)] V1 { @@ -7105,7 +7609,7 @@ pub mod api { allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PreDigest { #[codec(index = 1)] Primary(runtime_types::sp_consensus_babe::digests::PrimaryPreDigest), @@ -7116,25 +7620,25 @@ pub mod api { #[codec(index = 3)] SecondaryVRF(runtime_types::sp_consensus_babe::digests::SecondaryVRFPreDigest), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PrimaryPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SecondaryPlainPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SecondaryVRFPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AllowedSlots { #[codec(index = 0)] PrimarySlots, @@ -7143,7 +7647,7 @@ pub mod api { #[codec(index = 2)] PrimaryAndSecondaryVRFSlots, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BabeConfiguration { pub slot_duration: ::core::primitive::u64, pub epoch_length: ::core::primitive::u64, @@ -7155,12 +7659,12 @@ pub mod api { pub randomness: [::core::primitive::u8; 32usize], pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BabeEpochConfiguration { pub c: (::core::primitive::u64, ::core::primitive::u64), pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Epoch { pub epoch_index: ::core::primitive::u64, pub start_slot: runtime_types::sp_consensus_slots::Slot, @@ -7172,7 +7676,7 @@ pub mod api { pub randomness: [::core::primitive::u8; 32usize], pub config: runtime_types::sp_consensus_babe::BabeEpochConfiguration, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueKeyOwnershipProof( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); @@ -7181,7 +7685,7 @@ pub mod api { use super::runtime_types; pub mod commitment { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commitment<_0> { pub payload: runtime_types::sp_consensus_beefy::payload::Payload, pub block_number: _0, @@ -7190,14 +7694,14 @@ pub mod api { } pub mod ecdsa_crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::ecdsa::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::ecdsa::Signature); } pub mod mmr { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BeefyAuthoritySet<_0> { pub id: ::core::primitive::u64, pub len: ::core::primitive::u32, @@ -7206,7 +7710,7 @@ pub mod api { } pub mod payload { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Payload( pub ::subxt::ext::subxt_core::alloc::vec::Vec<( [::core::primitive::u8; 2usize], @@ -7214,21 +7718,21 @@ pub mod api { )>, ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EquivocationProof<_0, _1, _2> { pub first: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, pub second: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueKeyOwnershipProof( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidatorSet<_0> { pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub id: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VoteMessage<_0, _1, _2> { pub commitment: runtime_types::sp_consensus_beefy::commitment::Commitment<_0>, pub id: _1, @@ -7239,12 +7743,12 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub runtime_types::sp_core::ed25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Equivocation<_0, _1> { #[codec(index = 0)] Prevote( @@ -7263,14 +7767,14 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueKeyOwnershipProof( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); } pub mod sp_consensus_slots { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EquivocationProof<_0, _1> { pub offender: _1, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -7278,9 +7782,9 @@ pub mod api { pub second_header: _0, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -7291,54 +7795,54 @@ pub mod api { use super::runtime_types; pub mod crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } pub mod ecdsa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 33usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 65usize]); } pub mod ed25519 { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 64usize]); } pub mod sr25519 { use super::runtime_types; pub mod vrf { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VrfSignature { pub pre_output: [::core::primitive::u8; 32usize], pub proof: [::core::primitive::u8; 64usize], } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Signature(pub [::core::primitive::u8; 64usize]); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OpaqueMetadata( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Void {} } pub mod sp_inherents { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckInherentsResult { pub okay: ::core::primitive::bool, pub fatal_error: ::core::primitive::bool, pub errors: runtime_types::sp_inherents::InherentData, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InherentData { pub data: ::subxt::ext::subxt_core::utils::KeyedVec< [::core::primitive::u8; 8usize], @@ -7348,11 +7852,11 @@ pub mod api { } pub mod sp_mmr_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EncodableOpaqueLeaf( pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidNumericOp, @@ -7375,7 +7879,7 @@ pub mod api { #[codec(index = 9)] InvalidBestKnownBlock, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Proof<_0> { pub leaf_indices: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>, pub leaf_count: ::core::primitive::u64, @@ -7384,13 +7888,13 @@ pub mod api { } pub mod sp_npos_elections { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ElectionScore { pub minimal_stake: ::core::primitive::u128, pub sum_stake: ::core::primitive::u128, pub sum_stake_squared: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Support<_0> { pub total: ::core::primitive::u128, pub voters: @@ -7403,7 +7907,7 @@ pub mod api { use super::runtime_types; pub mod block { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Block<_0, _1> { pub header: _0, pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, @@ -7411,7 +7915,7 @@ pub mod api { } pub mod digest { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DigestItem { #[codec(index = 6)] PreRuntime( @@ -7437,7 +7941,7 @@ pub mod api { } pub mod transaction_validity { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum InvalidTransaction { #[codec(index = 0)] Call, @@ -7462,7 +7966,7 @@ pub mod api { #[codec(index = 10)] BadSigner, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionSource { #[codec(index = 0)] InBlock, @@ -7471,14 +7975,14 @@ pub mod api { #[codec(index = 2)] External, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionValidityError { #[codec(index = 0)] Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), #[codec(index = 1)] Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UnknownTransaction { #[codec(index = 0)] CannotLookup, @@ -7487,7 +7991,7 @@ pub mod api { #[codec(index = 2)] Custom(::core::primitive::u8), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidTransaction { pub priority: ::core::primitive::u64, pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< @@ -7500,7 +8004,7 @@ pub mod api { pub propagate: ::core::primitive::bool, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchError { #[codec(index = 0)] Other, @@ -7531,17 +8035,17 @@ pub mod api { #[codec(index = 13)] RootNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchErrorWithPostInfo<_0> { pub post_info: _0, pub error: runtime_types::sp_runtime::DispatchError, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiSignature { #[codec(index = 0)] Ed25519(runtime_types::sp_core::ed25519::Signature), @@ -7550,7 +8054,7 @@ pub mod api { #[codec(index = 2)] Ecdsa(runtime_types::sp_core::ecdsa::Signature), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiSigner { #[codec(index = 0)] Ed25519(runtime_types::sp_core::ed25519::Public), @@ -7559,7 +8063,7 @@ pub mod api { #[codec(index = 2)] Ecdsa(runtime_types::sp_core::ecdsa::Public), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -7582,7 +8086,7 @@ pub mod api { #[codec(index = 9)] Blocked, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -7594,13 +8098,13 @@ pub mod api { use super::runtime_types; pub mod offence { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OffenceDetails<_0, _1> { pub offender: _1, pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Exposure<_0, _1> { #[codec(compact)] pub total: _1, @@ -7610,7 +8114,7 @@ pub mod api { runtime_types::sp_staking::IndividualExposure<_0, _1>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExposurePage<_0, _1> { #[codec(compact)] pub page_total: _1, @@ -7618,13 +8122,13 @@ pub mod api { runtime_types::sp_staking::IndividualExposure<_0, _1>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IndividualExposure<_0, _1> { pub who: _0, #[codec(compact)] pub value: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PagedExposureMetadata<_0> { #[codec(compact)] pub total: _0, @@ -7636,7 +8140,7 @@ pub mod api { } pub mod sp_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeVersion { pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, @@ -7653,7 +8157,7 @@ pub mod api { } pub mod sp_weights { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -7665,7 +8169,7 @@ pub mod api { use super::runtime_types; pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v3::junctions::Junctions, @@ -7676,21 +8180,21 @@ pub mod api { use super::runtime_types; pub mod asset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Asset { pub id: runtime_types::staging_xcm::v4::asset::AssetId, pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetFilter { #[codec(index = 0)] Definite(runtime_types::staging_xcm::v4::asset::Assets), #[codec(index = 1)] Wild(runtime_types::staging_xcm::v4::asset::WildAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AssetId(pub runtime_types::staging_xcm::v4::location::Location); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -7705,20 +8209,20 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Assets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::staging_xcm::v4::asset::Asset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildAsset { #[codec(index = 0)] All, @@ -7737,7 +8241,7 @@ pub mod api { count: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, @@ -7747,7 +8251,7 @@ pub mod api { } pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -7792,7 +8296,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -7826,7 +8330,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -7850,7 +8354,7 @@ pub mod api { } pub mod location { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Location { pub parents: ::core::primitive::u8, pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, @@ -7858,7 +8362,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Outcome { #[codec(index = 0)] Complete { used: ::sp_weights::Weight }, @@ -7871,7 +8375,7 @@ pub mod api { Error { error: runtime_types::xcm::v3::traits::Error }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), @@ -8080,7 +8584,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -8097,14 +8601,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v4::location::Location, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -8128,7 +8632,7 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::staging_xcm::v4::Instruction, @@ -8140,7 +8644,7 @@ pub mod api { use super::runtime_types; pub mod double_encoded { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DoubleEncoded { pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } @@ -8149,7 +8653,7 @@ pub mod api { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -8190,14 +8694,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -8214,39 +8718,39 @@ pub mod api { #[codec(index = 6)] Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v2::multiasset::MultiAsset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -8259,7 +8763,7 @@ pub mod api { } pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -8322,7 +8826,7 @@ pub mod api { runtime_types::xcm::v2::junction::Junction, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -8330,7 +8834,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -8386,7 +8890,7 @@ pub mod api { WeightNotComputable, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -8413,7 +8917,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -8444,7 +8948,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -8584,7 +9088,7 @@ pub mod api { #[codec(index = 27)] UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] Any, @@ -8599,7 +9103,7 @@ pub mod api { #[codec(index = 3)] Kusama, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginKind { #[codec(index = 0)] Native, @@ -8610,7 +9114,7 @@ pub mod api { #[codec(index = 3)] Xcm, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -8626,14 +9130,14 @@ pub mod api { #[codec(index = 3)] Version(::core::primitive::u32), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(#[codec(compact)] ::core::primitive::u64), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v2::Instruction, @@ -8644,7 +9148,7 @@ pub mod api { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -8667,7 +9171,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -8698,7 +9202,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -8740,7 +9244,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -8774,7 +9278,7 @@ pub mod api { } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -8840,14 +9344,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] Abstract([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -8862,39 +9366,39 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v3::multiasset::MultiAsset, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -8916,7 +9420,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -9000,7 +9504,7 @@ pub mod api { ExceedsStackLimit, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -9211,7 +9715,7 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -9228,7 +9732,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -9245,14 +9749,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -9276,28 +9780,28 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(::sp_weights::Weight), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Xcm( pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::xcm::v3::Instruction, >, ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::AssetId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -9306,7 +9810,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::asset::Assets), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), @@ -9315,7 +9819,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), @@ -9324,7 +9828,7 @@ pub mod api { #[codec(index = 4)] V4(runtime_types::staging_xcm::v4::Response), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm), diff --git a/relay-clients/client-rococo/src/codegen_runtime.rs b/relay-clients/client-rococo/src/codegen_runtime.rs index 959812b11b..c080de3100 100644 --- a/relay-clients/client-rococo/src/codegen_runtime.rs +++ b/relay-clients/client-rococo/src/codegen_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -20,48 +20,66 @@ #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] +#[allow(rustdoc::broken_intra_doc_links)] pub mod api { - use super::api as root_mod; + #[allow(unused_imports)] + mod root_mod { + pub use super::*; + } pub mod runtime_types { use super::runtime_types; pub mod bounded_collections { use super::runtime_types; pub mod bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct WeakBoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod finality_grandpa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Equivocation<_0, _1, _2> { pub round_number: ::core::primitive::u64, pub identity: _0, pub first: (_1, _2), pub second: (_1, _2), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Prevote<_0, _1> { pub target_hash: _0, pub target_number: _1, } } + pub mod frame_metadata_hash_extension { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CheckMetadataHash { + pub mode: runtime_types::frame_metadata_hash_extension::Mode, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Mode { + #[codec(index = 0)] + Disabled, + #[codec(index = 1)] + Enabled, + } + } pub mod frame_support { use super::runtime_types; pub mod dispatch { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -70,26 +88,31 @@ pub mod api { #[codec(index = 2)] Mandatory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchInfo { pub weight: ::sp_weights::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, #[codec(index = 1)] No, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PostDispatchInfo { + pub actual_weight: ::core::option::Option<::sp_weights::Weight>, + pub pays_fee: runtime_types::frame_support::dispatch::Pays, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -103,7 +126,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -115,23 +138,17 @@ pub mod api { Overweight(::sp_weights::Weight), #[codec(index = 4)] Yield, + #[codec(index = 5)] + StackLimitReached, } } - pub mod misc { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct WrapperOpaque<_0>( - #[codec(compact)] pub ::core::primitive::u32, - pub _0, - ); - } pub mod preimages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Bounded<_0> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Bounded<_0, _1> { #[codec(index = 0)] Legacy { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 1)] Inline( @@ -141,19 +158,39 @@ pub mod api { ), #[codec(index = 2)] Lookup { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, len: ::core::primitive::u32, }, - __Ignore(::core::marker::PhantomData<_0>), + __Ignore(::core::marker::PhantomData<(_0, _1)>), + } + } + pub mod schedule { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum DispatchTime<_0> { + #[codec(index = 0)] + At(_0), + #[codec(index = 1)] + After(_0), } } pub mod tokens { use super::runtime_types; - pub mod misc { + pub mod fungible { use super::runtime_types; #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, )] + pub struct HoldConsideration(pub ::core::primitive::u128); + } + pub mod misc { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -163,7 +200,7 @@ pub mod api { } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { @@ -172,49 +209,49 @@ pub mod api { use super::runtime_types; pub mod check_genesis { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckMortality(pub ::sp_runtime::generic::Era); } pub mod check_non_zero_sender { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockWeights { pub base_block: ::sp_weights::Weight, pub max_block: ::sp_weights::Weight, @@ -222,7 +259,7 @@ pub mod api { runtime_types::frame_system::limits::WeightsPerClass, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeightsPerClass { pub base_extrinsic: ::sp_weights::Weight, pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>, @@ -232,34 +269,56 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - remark { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] - set_code { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 3)] - set_code_without_checks { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code_without_checks { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 4)] set_storage { - items: ::std::vec::Vec<( - ::std::vec::Vec<::core::primitive::u8>, - ::std::vec::Vec<::core::primitive::u8>, + items: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, }, #[codec(index = 5)] - kill_storage { keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>> }, + kill_storage { + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + }, #[codec(index = 6)] kill_prefix { - prefix: ::std::vec::Vec<::core::primitive::u8>, + prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] - remark_with_event { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark_with_event { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, + #[codec(index = 9)] + authorize_upgrade { code_hash: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 10)] + authorize_upgrade_without_checks { + code_hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 11)] + apply_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidSpecName, @@ -273,8 +332,14 @@ pub mod api { NonZeroRefCount, #[codec(index = 5)] CallFiltered, + #[codec(index = 6)] + MultiBlockMigrationsOngoing, + #[codec(index = 7)] + NothingAuthorized, + #[codec(index = 8)] + Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { @@ -292,30 +357,43 @@ pub mod api { #[codec(index = 4)] KilledAccount { account: ::sp_core::crypto::AccountId32 }, #[codec(index = 5)] - Remarked { sender: ::sp_core::crypto::AccountId32, hash: ::subxt::utils::H256 }, + Remarked { + sender: ::sp_core::crypto::AccountId32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 6)] + UpgradeAuthorized { + code_hash: ::subxt::ext::subxt_core::utils::H256, + check_version: ::core::primitive::bool, + }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountInfo<_0, _1> { pub nonce: _0, - pub consumers: _0, - pub providers: _0, - pub sufficients: _0, + pub consumers: ::core::primitive::u32, + pub providers: ::core::primitive::u32, + pub sufficients: ::core::primitive::u32, pub data: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CodeUpgradeAuthorization { + pub code_hash: ::subxt::ext::subxt_core::utils::H256, + pub check_version: ::core::primitive::bool, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, - pub topics: ::std::vec::Vec<_1>, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, - pub spec_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -325,15 +403,74 @@ pub mod api { Initialization, } } + pub mod pallet_asset_rate { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + create { + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + >, + rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + #[codec(index = 1)] + update { + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + >, + rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + #[codec(index = 2)] + remove { + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + UnknownAssetKind, + #[codec(index = 1)] + AlreadyExists, + #[codec(index = 2)] + Overflow, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + AssetRateCreated { + asset_kind: + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + #[codec(index = 1)] + AssetRateRemoved { + asset_kind: + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + }, + #[codec(index = 2)] + AssetRateUpdated { + asset_kind: + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + old: runtime_types::sp_arithmetic::fixed_point::FixedU128, + new: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + } + } + } pub mod pallet_babe { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< ::sp_runtime::generic::Header< ::core::primitive::u32, @@ -346,7 +483,7 @@ pub mod api { }, #[codec(index = 1)] report_equivocation_unsigned { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< ::sp_runtime::generic::Header< ::core::primitive::u32, @@ -362,7 +499,7 @@ pub mod api { config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidEquivocationProof, @@ -379,61 +516,84 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] transfer_allow_death { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, - #[codec(index = 1)] - set_balance_deprecated { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - #[codec(compact)] - new_free: ::core::primitive::u128, - #[codec(compact)] - old_reserved: ::core::primitive::u128, - }, #[codec(index = 2)] force_transfer { - source: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 3)] transfer_keep_alive { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 4)] transfer_all { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] force_unreserve { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, amount: ::core::primitive::u128, }, #[codec(index = 6)] - upgrade_accounts { who: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, - #[codec(index = 7)] - transfer { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - #[codec(compact)] - value: ::core::primitive::u128, + upgrade_accounts { + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, #[codec(index = 8)] force_set_balance { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] new_free: ::core::primitive::u128, }, + #[codec(index = 9)] + force_adjust_total_issuance { + direction: runtime_types::pallet_balances::types::AdjustmentDirection, + #[codec(compact)] + delta: ::core::primitive::u128, + }, + #[codec(index = 10)] + burn { + #[codec(compact)] + value: ::core::primitive::u128, + keep_alive: ::core::primitive::bool, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] VestingBalance, @@ -455,8 +615,12 @@ pub mod api { TooManyHolds, #[codec(index = 9)] TooManyFreezes, + #[codec(index = 10)] + IssuanceDeactivated, + #[codec(index = 11)] + DeltaZero, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Endowed { @@ -537,38 +701,50 @@ pub mod api { Frozen { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, #[codec(index = 20)] Thawed { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, + #[codec(index = 21)] + TotalIssuanceForced { + old: ::core::primitive::u128, + new: ::core::primitive::u128, + }, } } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, pub frozen: _0, pub flags: runtime_types::pallet_balances::types::ExtraFlags, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AdjustmentDirection { + #[codec(index = 0)] + Increase, + #[codec(index = 1)] + Decrease, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ExtraFlags(pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -577,7 +753,7 @@ pub mod api { #[codec(index = 2)] All, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -588,32 +764,34 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { - equivocation_proof: ::std::boxed::Box< - runtime_types::sp_consensus_beefy::EquivocationProof< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::sp_consensus_beefy::DoubleVotingProof< ::core::primitive::u32, - runtime_types::sp_consensus_beefy::crypto::Public, - runtime_types::sp_consensus_beefy::crypto::Signature, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Signature, >, >, key_owner_proof: ::sp_session::MembershipProof, }, #[codec(index = 1)] report_equivocation_unsigned { - equivocation_proof: ::std::boxed::Box< - runtime_types::sp_consensus_beefy::EquivocationProof< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::sp_consensus_beefy::DoubleVotingProof< ::core::primitive::u32, - runtime_types::sp_consensus_beefy::crypto::Public, - runtime_types::sp_consensus_beefy::crypto::Signature, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Signature, >, >, key_owner_proof: ::sp_session::MembershipProof, }, + #[codec(index = 2)] + set_new_genesis { delay_in_blocks: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidKeyOwnershipProof, @@ -621,6 +799,8 @@ pub mod api { InvalidEquivocationProof, #[codec(index = 2)] DuplicateOffenceReport, + #[codec(index = 3)] + InvalidConfiguration, } } } @@ -628,13 +808,14 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] propose_bounty { #[codec(compact)] value: ::core::primitive::u128, - description: ::std::vec::Vec<::core::primitive::u8>, + description: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] approve_bounty { @@ -645,7 +826,10 @@ pub mod api { propose_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, - curator: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + curator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] fee: ::core::primitive::u128, }, @@ -663,8 +847,10 @@ pub mod api { award_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, - beneficiary: - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 6)] claim_bounty { @@ -680,10 +866,10 @@ pub mod api { extend_bounty_expiry { #[codec(compact)] bounty_id: ::core::primitive::u32, - remark: ::std::vec::Vec<::core::primitive::u8>, + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InsufficientProposersBalance, @@ -708,7 +894,7 @@ pub mod api { #[codec(index = 10)] TooManyQueued, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BountyProposed { index: ::core::primitive::u32 }, @@ -731,9 +917,23 @@ pub mod api { BountyCanceled { index: ::core::primitive::u32 }, #[codec(index = 6)] BountyExtended { index: ::core::primitive::u32 }, + #[codec(index = 7)] + BountyApproved { index: ::core::primitive::u32 }, + #[codec(index = 8)] + CuratorProposed { + bounty_id: ::core::primitive::u32, + curator: ::sp_core::crypto::AccountId32, + }, + #[codec(index = 9)] + CuratorUnassigned { bounty_id: ::core::primitive::u32 }, + #[codec(index = 10)] + CuratorAccepted { + bounty_id: ::core::primitive::u32, + curator: ::sp_core::crypto::AccountId32, + }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bounty<_0, _1, _2> { pub proposer: _0, pub value: _1, @@ -742,7 +942,7 @@ pub mod api { pub bond: _1, pub status: runtime_types::pallet_bounties::BountyStatus<_0, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BountyStatus<_0, _1> { #[codec(index = 0)] Proposed, @@ -758,11 +958,26 @@ pub mod api { PendingPayout { curator: _0, beneficiary: _0, unlock_at: _1 }, } } + pub mod pallet_broker { + use super::runtime_types; + pub mod coretime_interface { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CoreAssignment { + #[codec(index = 0)] + Idle, + #[codec(index = 1)] + Pool, + #[codec(index = 2)] + Task(::core::primitive::u32), + } + } + } pub mod pallet_child_bounties { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] add_child_bounty { @@ -770,7 +985,8 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] value: ::core::primitive::u128, - description: ::std::vec::Vec<::core::primitive::u8>, + description: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] propose_curator { @@ -778,7 +994,10 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - curator: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + curator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] fee: ::core::primitive::u128, }, @@ -802,8 +1021,10 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - beneficiary: - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 5)] claim_child_bounty { @@ -820,7 +1041,7 @@ pub mod api { child_bounty_id: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParentBountyNotActive, @@ -829,7 +1050,7 @@ pub mod api { #[codec(index = 2)] TooManyChildBounties, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Added { index: ::core::primitive::u32, child_index: ::core::primitive::u32 }, @@ -850,15 +1071,15 @@ pub mod api { Canceled { index: ::core::primitive::u32, child_index: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChildBounty<_0, _1, _2> { - pub parent_bounty: _2, + pub parent_bounty: ::core::primitive::u32, pub value: _1, pub fee: _1, pub curator_deposit: _1, pub status: runtime_types::pallet_child_bounties::ChildBountyStatus<_0, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ChildBountyStatus<_0, _1> { #[codec(index = 0)] Added, @@ -870,600 +1091,193 @@ pub mod api { PendingPayout { curator: _0, beneficiary: _0, unlock_at: _1 }, } } - pub mod pallet_collective { + pub mod pallet_conviction_voting { use super::runtime_types; + pub mod conviction { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Conviction { + #[codec(index = 0)] + None, + #[codec(index = 1)] + Locked1x, + #[codec(index = 2)] + Locked2x, + #[codec(index = 3)] + Locked3x, + #[codec(index = 4)] + Locked4x, + #[codec(index = 5)] + Locked5x, + #[codec(index = 6)] + Locked6x, + } + } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - set_members { - new_members: ::std::vec::Vec<::sp_core::crypto::AccountId32>, - prime: ::core::option::Option<::sp_core::crypto::AccountId32>, - old_count: ::core::primitive::u32, + vote { + #[codec(compact)] + poll_index: ::core::primitive::u32, + vote: runtime_types::pallet_conviction_voting::vote::AccountVote< + ::core::primitive::u128, + >, }, #[codec(index = 1)] - execute { - proposal: ::std::boxed::Box, - #[codec(compact)] - length_bound: ::core::primitive::u32, + delegate { + class: ::core::primitive::u16, + to: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + conviction: runtime_types::pallet_conviction_voting::conviction::Conviction, + balance: ::core::primitive::u128, }, #[codec(index = 2)] - propose { - #[codec(compact)] - threshold: ::core::primitive::u32, - proposal: ::std::boxed::Box, - #[codec(compact)] - length_bound: ::core::primitive::u32, - }, + undelegate { class: ::core::primitive::u16 }, #[codec(index = 3)] - vote { - proposal: ::subxt::utils::H256, - #[codec(compact)] + unlock { + class: ::core::primitive::u16, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 4)] + remove_vote { + class: ::core::option::Option<::core::primitive::u16>, index: ::core::primitive::u32, - approve: ::core::primitive::bool, }, #[codec(index = 5)] - disapprove_proposal { proposal_hash: ::subxt::utils::H256 }, - #[codec(index = 6)] - close { - proposal_hash: ::subxt::utils::H256, - #[codec(compact)] + remove_other_vote { + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + class: ::core::primitive::u16, index: ::core::primitive::u32, - proposal_weight_bound: ::sp_weights::Weight, - #[codec(compact)] - length_bound: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] - NotMember, + NotOngoing, #[codec(index = 1)] - DuplicateProposal, + NotVoter, #[codec(index = 2)] - ProposalMissing, + NoPermission, #[codec(index = 3)] - WrongIndex, + NoPermissionYet, #[codec(index = 4)] - DuplicateVote, + AlreadyDelegating, #[codec(index = 5)] - AlreadyInitialized, + AlreadyVoting, #[codec(index = 6)] - TooEarly, + InsufficientFunds, #[codec(index = 7)] - TooManyProposals, + NotDelegating, #[codec(index = 8)] - WrongProposalWeight, + Nonsense, #[codec(index = 9)] - WrongProposalLength, + MaxVotesReached, + #[codec(index = 10)] + ClassNeeded, + #[codec(index = 11)] + BadClass, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Proposed { - account: ::sp_core::crypto::AccountId32, - proposal_index: ::core::primitive::u32, - proposal_hash: ::subxt::utils::H256, - threshold: ::core::primitive::u32, - }, + Delegated(::sp_core::crypto::AccountId32, ::sp_core::crypto::AccountId32), #[codec(index = 1)] - Voted { - account: ::sp_core::crypto::AccountId32, - proposal_hash: ::subxt::utils::H256, - voted: ::core::primitive::bool, - yes: ::core::primitive::u32, - no: ::core::primitive::u32, - }, - #[codec(index = 2)] - Approved { proposal_hash: ::subxt::utils::H256 }, - #[codec(index = 3)] - Disapproved { proposal_hash: ::subxt::utils::H256 }, - #[codec(index = 4)] - Executed { - proposal_hash: ::subxt::utils::H256, - result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, - }, - #[codec(index = 5)] - MemberExecuted { - proposal_hash: ::subxt::utils::H256, - result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, - }, - #[codec(index = 6)] - Closed { - proposal_hash: ::subxt::utils::H256, - yes: ::core::primitive::u32, - no: ::core::primitive::u32, - }, + Undelegated(::sp_core::crypto::AccountId32), } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum RawOrigin<_0> { - #[codec(index = 0)] - Members(::core::primitive::u32, ::core::primitive::u32), - #[codec(index = 1)] - Member(_0), - #[codec(index = 2)] - _Phantom, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Votes<_0, _1> { - pub index: _1, - pub threshold: _1, - pub ayes: ::std::vec::Vec<_0>, - pub nays: ::std::vec::Vec<_0>, - pub end: _1, - } - } - pub mod pallet_democracy { - use super::runtime_types; - pub mod conviction { + pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Conviction { - #[codec(index = 0)] - None, - #[codec(index = 1)] - Locked1x, - #[codec(index = 2)] - Locked2x, - #[codec(index = 3)] - Locked3x, - #[codec(index = 4)] - Locked4x, - #[codec(index = 5)] - Locked5x, - #[codec(index = 6)] - Locked6x, + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Delegations<_0> { + pub votes: _0, + pub capital: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Tally<_0> { + pub ayes: _0, + pub nays: _0, + pub support: _0, } } - pub mod pallet { + pub mod vote { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AccountVote<_0> { #[codec(index = 0)] - propose { - proposal: runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::rococo_runtime::RuntimeCall, - >, - #[codec(compact)] - value: ::core::primitive::u128, + Standard { + vote: runtime_types::pallet_conviction_voting::vote::Vote, + balance: _0, }, #[codec(index = 1)] - second { - #[codec(compact)] - proposal: ::core::primitive::u32, - }, + Split { aye: _0, nay: _0 }, #[codec(index = 2)] - vote { - #[codec(compact)] - ref_index: ::core::primitive::u32, - vote: runtime_types::pallet_democracy::vote::AccountVote< - ::core::primitive::u128, - >, - }, - #[codec(index = 3)] - emergency_cancel { ref_index: ::core::primitive::u32 }, - #[codec(index = 4)] - external_propose { - proposal: runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::rococo_runtime::RuntimeCall, - >, - }, - #[codec(index = 5)] - external_propose_majority { - proposal: runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::rococo_runtime::RuntimeCall, - >, - }, - #[codec(index = 6)] - external_propose_default { - proposal: runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::rococo_runtime::RuntimeCall, - >, - }, - #[codec(index = 7)] - fast_track { - proposal_hash: ::subxt::utils::H256, - voting_period: ::core::primitive::u32, - delay: ::core::primitive::u32, - }, - #[codec(index = 8)] - veto_external { proposal_hash: ::subxt::utils::H256 }, - #[codec(index = 9)] - cancel_referendum { - #[codec(compact)] - ref_index: ::core::primitive::u32, - }, - #[codec(index = 10)] - delegate { - to: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - conviction: runtime_types::pallet_democracy::conviction::Conviction, - balance: ::core::primitive::u128, - }, - #[codec(index = 11)] - undelegate, - #[codec(index = 12)] - clear_public_proposals, - #[codec(index = 13)] - unlock { - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - }, - #[codec(index = 14)] - remove_vote { index: ::core::primitive::u32 }, - #[codec(index = 15)] - remove_other_vote { - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - index: ::core::primitive::u32, - }, - #[codec(index = 16)] - blacklist { - proposal_hash: ::subxt::utils::H256, - maybe_ref_index: ::core::option::Option<::core::primitive::u32>, - }, - #[codec(index = 17)] - cancel_proposal { - #[codec(compact)] - prop_index: ::core::primitive::u32, - }, - #[codec(index = 18)] - set_metadata { - owner: runtime_types::pallet_democracy::types::MetadataOwner, - maybe_hash: ::core::option::Option<::subxt::utils::H256>, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - ValueLow, - #[codec(index = 1)] - ProposalMissing, - #[codec(index = 2)] - AlreadyCanceled, - #[codec(index = 3)] - DuplicateProposal, - #[codec(index = 4)] - ProposalBlacklisted, - #[codec(index = 5)] - NotSimpleMajority, - #[codec(index = 6)] - InvalidHash, - #[codec(index = 7)] - NoProposal, - #[codec(index = 8)] - AlreadyVetoed, - #[codec(index = 9)] - ReferendumInvalid, - #[codec(index = 10)] - NoneWaiting, - #[codec(index = 11)] - NotVoter, - #[codec(index = 12)] - NoPermission, - #[codec(index = 13)] - AlreadyDelegating, - #[codec(index = 14)] - InsufficientFunds, - #[codec(index = 15)] - NotDelegating, - #[codec(index = 16)] - VotesExist, - #[codec(index = 17)] - InstantNotAllowed, - #[codec(index = 18)] - Nonsense, - #[codec(index = 19)] - WrongUpperBound, - #[codec(index = 20)] - MaxVotesReached, - #[codec(index = 21)] - TooMany, - #[codec(index = 22)] - VotingPeriodLow, - #[codec(index = 23)] - PreimageNotExist, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event { - #[codec(index = 0)] - Proposed { - proposal_index: ::core::primitive::u32, - deposit: ::core::primitive::u128, - }, - #[codec(index = 1)] - Tabled { - proposal_index: ::core::primitive::u32, - deposit: ::core::primitive::u128, - }, - #[codec(index = 2)] - ExternalTabled, - #[codec(index = 3)] - Started { - ref_index: ::core::primitive::u32, - threshold: runtime_types::pallet_democracy::vote_threshold::VoteThreshold, - }, - #[codec(index = 4)] - Passed { ref_index: ::core::primitive::u32 }, - #[codec(index = 5)] - NotPassed { ref_index: ::core::primitive::u32 }, - #[codec(index = 6)] - Cancelled { ref_index: ::core::primitive::u32 }, - #[codec(index = 7)] - Delegated { - who: ::sp_core::crypto::AccountId32, - target: ::sp_core::crypto::AccountId32, - }, - #[codec(index = 8)] - Undelegated { account: ::sp_core::crypto::AccountId32 }, - #[codec(index = 9)] - Vetoed { - who: ::sp_core::crypto::AccountId32, - proposal_hash: ::subxt::utils::H256, - until: ::core::primitive::u32, - }, - #[codec(index = 10)] - Blacklisted { proposal_hash: ::subxt::utils::H256 }, - #[codec(index = 11)] - Voted { - voter: ::sp_core::crypto::AccountId32, - ref_index: ::core::primitive::u32, - vote: runtime_types::pallet_democracy::vote::AccountVote< - ::core::primitive::u128, - >, - }, - #[codec(index = 12)] - Seconded { - seconder: ::sp_core::crypto::AccountId32, - prop_index: ::core::primitive::u32, - }, - #[codec(index = 13)] - ProposalCanceled { prop_index: ::core::primitive::u32 }, - #[codec(index = 14)] - MetadataSet { - owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt::utils::H256, - }, - #[codec(index = 15)] - MetadataCleared { - owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt::utils::H256, - }, - #[codec(index = 16)] - MetadataTransferred { - prev_owner: runtime_types::pallet_democracy::types::MetadataOwner, - owner: runtime_types::pallet_democracy::types::MetadataOwner, - hash: ::subxt::utils::H256, - }, - } - } - pub mod types { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Delegations<_0> { - pub votes: _0, - pub capital: _0, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum MetadataOwner { - #[codec(index = 0)] - External, - #[codec(index = 1)] - Proposal(::core::primitive::u32), - #[codec(index = 2)] - Referendum(::core::primitive::u32), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum ReferendumInfo<_0, _1, _2> { - #[codec(index = 0)] - Ongoing(runtime_types::pallet_democracy::types::ReferendumStatus<_0, _1, _2>), - #[codec(index = 1)] - Finished { approved: ::core::primitive::bool, end: _0 }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ReferendumStatus<_0, _1, _2> { - pub end: _0, - pub proposal: _1, - pub threshold: runtime_types::pallet_democracy::vote_threshold::VoteThreshold, - pub delay: _0, - pub tally: runtime_types::pallet_democracy::types::Tally<_2>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Tally<_0> { - pub ayes: _0, - pub nays: _0, - pub turnout: _0, - } - } - pub mod vote { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum AccountVote<_0> { - #[codec(index = 0)] - Standard { vote: runtime_types::pallet_democracy::vote::Vote, balance: _0 }, - #[codec(index = 1)] - Split { aye: _0, nay: _0 }, + SplitAbstain { aye: _0, nay: _0, abstain: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Casting<_0, _1, _2> { + pub votes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( + _1, + runtime_types::pallet_conviction_voting::vote::AccountVote<_0>, + )>, + pub delegations: + runtime_types::pallet_conviction_voting::types::Delegations<_0>, + pub prior: runtime_types::pallet_conviction_voting::vote::PriorLock<_1, _0>, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_2>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Delegating<_0, _1, _2> { + pub balance: _0, + pub target: _1, + pub conviction: runtime_types::pallet_conviction_voting::conviction::Conviction, + pub delegations: + runtime_types::pallet_conviction_voting::types::Delegations<_0>, + pub prior: runtime_types::pallet_conviction_voting::vote::PriorLock<_2, _0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PriorLock<_0, _1>(pub _0, pub _1); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Vote(pub ::core::primitive::u8); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Voting<_0, _1, _2> { - #[codec(index = 0)] - Direct { - votes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( - _2, - runtime_types::pallet_democracy::vote::AccountVote<_0>, - )>, - delegations: runtime_types::pallet_democracy::types::Delegations<_0>, - prior: runtime_types::pallet_democracy::vote::PriorLock<_2, _0>, - }, - #[codec(index = 1)] - Delegating { - balance: _0, - target: _1, - conviction: runtime_types::pallet_democracy::conviction::Conviction, - delegations: runtime_types::pallet_democracy::types::Delegations<_0>, - prior: runtime_types::pallet_democracy::vote::PriorLock<_2, _0>, - }, - } - } - pub mod vote_threshold { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum VoteThreshold { - #[codec(index = 0)] - SuperMajorityApprove, - #[codec(index = 1)] - SuperMajorityAgainst, - #[codec(index = 2)] - SimpleMajority, - } - } - } - pub mod pallet_elections_phragmen { - use super::runtime_types; - pub mod pallet { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call { - #[codec(index = 0)] - vote { - votes: ::std::vec::Vec<::sp_core::crypto::AccountId32>, - #[codec(compact)] - value: ::core::primitive::u128, - }, - #[codec(index = 1)] - remove_voter, - #[codec(index = 2)] - submit_candidacy { - #[codec(compact)] - candidate_count: ::core::primitive::u32, - }, - #[codec(index = 3)] - renounce_candidacy { - renouncing: runtime_types::pallet_elections_phragmen::Renouncing, - }, - #[codec(index = 4)] - remove_member { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - slash_bond: ::core::primitive::bool, - rerun_election: ::core::primitive::bool, - }, - #[codec(index = 5)] - clean_defunct_voters { - num_voters: ::core::primitive::u32, - num_defunct: ::core::primitive::u32, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - UnableToVote, - #[codec(index = 1)] - NoVotes, - #[codec(index = 2)] - TooManyVotes, - #[codec(index = 3)] - MaximumVotesExceeded, - #[codec(index = 4)] - LowBalance, - #[codec(index = 5)] - UnableToPayBond, - #[codec(index = 6)] - MustBeVoter, - #[codec(index = 7)] - DuplicatedCandidate, - #[codec(index = 8)] - TooManyCandidates, - #[codec(index = 9)] - MemberSubmit, - #[codec(index = 10)] - RunnerUpSubmit, - #[codec(index = 11)] - InsufficientCandidateFunds, - #[codec(index = 12)] - NotMember, - #[codec(index = 13)] - InvalidWitnessData, - #[codec(index = 14)] - InvalidVoteCount, - #[codec(index = 15)] - InvalidRenouncing, - #[codec(index = 16)] - InvalidReplacement, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Voting<_0, _1, _2, _3> { #[codec(index = 0)] - NewTerm { - new_members: ::std::vec::Vec<( - ::sp_core::crypto::AccountId32, - ::core::primitive::u128, - )>, - }, + Casting(runtime_types::pallet_conviction_voting::vote::Casting<_0, _2, _2>), #[codec(index = 1)] - EmptyTerm, - #[codec(index = 2)] - ElectionError, - #[codec(index = 3)] - MemberKicked { member: ::sp_core::crypto::AccountId32 }, - #[codec(index = 4)] - Renounced { candidate: ::sp_core::crypto::AccountId32 }, - #[codec(index = 5)] - CandidateSlashed { - candidate: ::sp_core::crypto::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 6)] - SeatHolderSlashed { - seat_holder: ::sp_core::crypto::AccountId32, - amount: ::core::primitive::u128, - }, + Delegating( + runtime_types::pallet_conviction_voting::vote::Delegating<_0, _1, _2>, + ), + __Ignore(::core::marker::PhantomData<_3>), } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Renouncing { - #[codec(index = 0)] - Member, - #[codec(index = 1)] - RunnerUp, - #[codec(index = 2)] - Candidate(#[codec(compact)] ::core::primitive::u32), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct SeatHolder<_0, _1> { - pub who: _0, - pub stake: _1, - pub deposit: _1, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Voter<_0, _1> { - pub votes: ::std::vec::Vec<_0>, - pub stake: _1, - pub deposit: _1, - } } pub mod pallet_grandpa { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >, @@ -1471,9 +1285,9 @@ pub mod api { }, #[codec(index = 1)] report_equivocation_unsigned { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >, @@ -1485,7 +1299,7 @@ pub mod api { best_finalized_block_number: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PauseFailed, @@ -1502,11 +1316,11 @@ pub mod api { #[codec(index = 6)] DuplicateOffenceReport, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewAuthorities { - authority_set: ::std::vec::Vec<( + authority_set: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, @@ -1517,7 +1331,7 @@ pub mod api { Resumed, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredPendingChange<_0> { pub scheduled_at: _0, pub delay: _0, @@ -1528,7 +1342,7 @@ pub mod api { )>, pub forced: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum StoredState<_0> { #[codec(index = 0)] Live, @@ -1542,22 +1356,44 @@ pub mod api { } pub mod pallet_identity { use super::runtime_types; + pub mod legacy { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct IdentityInfo { + pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::pallet_identity::types::Data, + runtime_types::pallet_identity::types::Data, + )>, + pub display: runtime_types::pallet_identity::types::Data, + pub legal: runtime_types::pallet_identity::types::Data, + pub web: runtime_types::pallet_identity::types::Data, + pub riot: runtime_types::pallet_identity::types::Data, + pub email: runtime_types::pallet_identity::types::Data, + pub pgp_fingerprint: ::core::option::Option<[::core::primitive::u8; 20usize]>, + pub image: runtime_types::pallet_identity::types::Data, + pub twitter: runtime_types::pallet_identity::types::Data, + } + } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] add_registrar { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 1)] set_identity { - info: - ::std::boxed::Box, + info: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_identity::legacy::IdentityInfo, + >, }, #[codec(index = 2)] set_subs { - subs: ::std::vec::Vec<( + subs: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::sp_core::crypto::AccountId32, runtime_types::pallet_identity::types::Data, )>, @@ -1584,48 +1420,114 @@ pub mod api { set_account_id { #[codec(compact)] index: ::core::primitive::u32, - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 8)] set_fields { #[codec(compact)] index: ::core::primitive::u32, - fields: runtime_types::pallet_identity::types::BitFlags< - runtime_types::pallet_identity::types::IdentityField, - >, + fields: ::core::primitive::u64, }, #[codec(index = 9)] provide_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, judgement: runtime_types::pallet_identity::types::Judgement< ::core::primitive::u128, >, - identity: ::subxt::utils::H256, + identity: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 10)] kill_identity { - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 11)] add_sub { - sub: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 12)] rename_sub { - sub: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 13)] remove_sub { - sub: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 14)] quit_sub, + #[codec(index = 15)] + add_username_authority { + authority: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + suffix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + allocation: ::core::primitive::u32, + }, + #[codec(index = 16)] + remove_username_authority { + authority: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 17)] + set_username_for { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + username: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + signature: + ::core::option::Option, + }, + #[codec(index = 18)] + accept_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 19)] + remove_expired_approval { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 20)] + set_primary_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 21)] + remove_dangling_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManySubAccounts, @@ -1650,21 +1552,37 @@ pub mod api { #[codec(index = 10)] InvalidTarget, #[codec(index = 11)] - TooManyFields, - #[codec(index = 12)] TooManyRegistrars, - #[codec(index = 13)] + #[codec(index = 12)] AlreadyClaimed, - #[codec(index = 14)] + #[codec(index = 13)] NotSub, - #[codec(index = 15)] + #[codec(index = 14)] NotOwned, - #[codec(index = 16)] + #[codec(index = 15)] JudgementForDifferentIdentity, - #[codec(index = 17)] + #[codec(index = 16)] JudgementPaymentFailed, + #[codec(index = 17)] + InvalidSuffix, + #[codec(index = 18)] + NotUsernameAuthority, + #[codec(index = 19)] + NoAllocation, + #[codec(index = 20)] + InvalidSignature, + #[codec(index = 21)] + RequiresSignature, + #[codec(index = 22)] + InvalidUsername, + #[codec(index = 23)] + UsernameTaken, + #[codec(index = 24)] + NoUsername, + #[codec(index = 25)] + NotExpired, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IdentitySet { who: ::sp_core::crypto::AccountId32 }, @@ -1713,23 +1631,51 @@ pub mod api { main: ::sp_core::crypto::AccountId32, deposit: ::core::primitive::u128, }, + #[codec(index = 10)] + AuthorityAdded { authority: ::sp_core::crypto::AccountId32 }, + #[codec(index = 11)] + AuthorityRemoved { authority: ::sp_core::crypto::AccountId32 }, + #[codec(index = 12)] + UsernameSet { + who: ::sp_core::crypto::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 13)] + UsernameQueued { + who: ::sp_core::crypto::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + expiration: ::core::primitive::u32, + }, + #[codec(index = 14)] + PreapprovalExpired { whose: ::sp_core::crypto::AccountId32 }, + #[codec(index = 15)] + PrimaryUsernameSet { + who: ::sp_core::crypto::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 16)] + DanglingUsernameRemoved { + who: ::sp_core::crypto::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, } } pub mod types { use super::runtime_types; - #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, - Clone, - Debug, - PartialEq, - )] - pub struct BitFlags<_0>( - pub ::core::primitive::u64, - #[codec(skip)] pub ::core::marker::PhantomData<_0>, - ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AuthorityProperties<_0> { + pub suffix: _0, + pub allocation: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Data { #[codec(index = 0)] None, @@ -1808,41 +1754,7 @@ pub mod api { #[codec(index = 37)] ShaThree256([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum IdentityField { - #[codec(index = 1)] - Display, - #[codec(index = 2)] - Legal, - #[codec(index = 4)] - Web, - #[codec(index = 8)] - Riot, - #[codec(index = 16)] - Email, - #[codec(index = 32)] - PgpFingerprint, - #[codec(index = 64)] - Image, - #[codec(index = 128)] - Twitter, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct IdentityInfo { - pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( - runtime_types::pallet_identity::types::Data, - runtime_types::pallet_identity::types::Data, - )>, - pub display: runtime_types::pallet_identity::types::Data, - pub legal: runtime_types::pallet_identity::types::Data, - pub web: runtime_types::pallet_identity::types::Data, - pub riot: runtime_types::pallet_identity::types::Data, - pub email: runtime_types::pallet_identity::types::Data, - pub pgp_fingerprint: ::core::option::Option<[::core::primitive::u8; 20usize]>, - pub image: runtime_types::pallet_identity::types::Data, - pub twitter: runtime_types::pallet_identity::types::Data, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Judgement<_0> { #[codec(index = 0)] Unknown, @@ -1859,113 +1771,54 @@ pub mod api { #[codec(index = 6)] Erroneous, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RegistrarInfo<_0, _1> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RegistrarInfo<_0, _1, _2> { pub account: _1, pub fee: _0, - pub fields: runtime_types::pallet_identity::types::BitFlags< - runtime_types::pallet_identity::types::IdentityField, - >, + pub fields: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Registration<_0> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Registration<_0, _2> { pub judgements: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::core::primitive::u32, runtime_types::pallet_identity::types::Judgement<_0>, )>, pub deposit: _0, - pub info: runtime_types::pallet_identity::types::IdentityInfo, - } - } - } - pub mod pallet_im_online { - use super::runtime_types; - pub mod pallet { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call { - #[codec(index = 0)] - heartbeat { - heartbeat: - runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>, - signature: runtime_types::pallet_im_online::sr25519::app_sr25519::Signature, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - InvalidKey, - #[codec(index = 1)] - DuplicatedHeartbeat, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event { - #[codec(index = 0)] - HeartbeatReceived { - authority_id: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, - }, - #[codec(index = 1)] - AllGood, - #[codec(index = 2)] - SomeOffline { offline: ::std::vec::Vec<(::sp_core::crypto::AccountId32, ())> }, - } - } - pub mod sr25519 { - use super::runtime_types; - pub mod app_sr25519 { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); + pub info: _2, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedOpaqueNetworkState { - pub peer_id: runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - pub external_addresses: - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - >, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Heartbeat<_0> { - pub block_number: _0, - pub network_state: runtime_types::sp_core::offchain::OpaqueNetworkState, - pub session_index: _0, - pub authority_index: _0, - pub validators_len: _0, - } } pub mod pallet_indices { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim { index: ::core::primitive::u32 }, #[codec(index = 1)] transfer { - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, index: ::core::primitive::u32, }, #[codec(index = 2)] free { index: ::core::primitive::u32 }, #[codec(index = 3)] force_transfer { - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, index: ::core::primitive::u32, freeze: ::core::primitive::bool, }, #[codec(index = 4)] freeze { index: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotAssigned, @@ -1978,7 +1831,7 @@ pub mod api { #[codec(index = 4)] Permanent, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IndexAssigned { @@ -1995,72 +1848,26 @@ pub mod api { } } } - pub mod pallet_membership { - use super::runtime_types; - pub mod pallet { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call { - #[codec(index = 0)] - add_member { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - }, - #[codec(index = 1)] - remove_member { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - }, - #[codec(index = 2)] - swap_member { - remove: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - add: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - }, - #[codec(index = 3)] - reset_members { members: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, - #[codec(index = 4)] - change_key { - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - }, - #[codec(index = 5)] - set_prime { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - }, - #[codec(index = 6)] - clear_prime, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - AlreadyMember, - #[codec(index = 1)] - NotMember, - #[codec(index = 2)] - TooManyMembers, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event { - #[codec(index = 0)] - MemberAdded, - #[codec(index = 1)] - MemberRemoved, - #[codec(index = 2)] - MembersSwapped, - #[codec(index = 3)] - MembersReset, - #[codec(index = 4)] - KeyChanged, - #[codec(index = 5)] - Dummy, - } - } - } pub mod pallet_message_queue { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] reap_page { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , } , # [codec (index = 1)] execute_overweight { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page : :: core :: primitive :: u32 , index : :: core :: primitive :: u32 , weight_limit : :: sp_weights :: Weight , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + reap_page { + message_origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page_index: ::core::primitive::u32, + }, + #[codec(index = 1)] + execute_overweight { + message_origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page: ::core::primitive::u32, + index: ::core::primitive::u32, + weight_limit: ::sp_weights::Weight, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotReapable, @@ -2076,12 +1883,41 @@ pub mod api { InsufficientWeight, #[codec(index = 6)] TemporarilyUnprocessable, + #[codec(index = 7)] + QueuePaused, + #[codec(index = 8)] + RecursiveDisallowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] ProcessingFailed { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , error : runtime_types :: frame_support :: traits :: messages :: ProcessMessageError , } , # [codec (index = 1)] Processed { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , weight_used : :: sp_weights :: Weight , success : :: core :: primitive :: bool , } , # [codec (index = 2)] OverweightEnqueued { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , message_index : :: core :: primitive :: u32 , } , # [codec (index = 3)] PageReaped { origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , index : :: core :: primitive :: u32 , } , } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + ProcessingFailed { + id: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + error: runtime_types::frame_support::traits::messages::ProcessMessageError, + }, + #[codec(index = 1)] + Processed { + id: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + weight_used: ::sp_weights::Weight, + success: ::core::primitive::bool, + }, + #[codec(index = 2)] + OverweightEnqueued { + id: [::core::primitive::u8; 32usize], + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page_index: ::core::primitive::u32, + message_index: ::core::primitive::u32, + }, + #[codec(index = 3)] + PageReaped { + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + index: ::core::primitive::u32, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -2091,12 +1927,12 @@ pub mod api { pub message_count: ::core::primitive::u64, pub size: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, @@ -2112,27 +1948,37 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_multi_threshold_1 { - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, - call: ::std::boxed::Box, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, max_weight: ::sp_weights::Weight, }, #[codec(index = 2)] approve_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, @@ -2142,13 +1988,15 @@ pub mod api { #[codec(index = 3)] cancel_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MinimumThreshold, @@ -2179,7 +2027,7 @@ pub mod api { #[codec(index = 13)] AlreadyStored, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewMultisig { @@ -2215,29 +2063,29 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Timepoint<_0> { pub height: _0, - pub index: _0, + pub index: ::core::primitive::u32, } } pub mod pallet_nis { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bid<_0, _1> { pub amount: _0, pub who: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] place_bid { @@ -2277,7 +2125,7 @@ pub mod api { index: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DurationTooSmall, @@ -2310,7 +2158,7 @@ pub mod api { #[codec(index = 14)] AlreadyPrivate, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BidPlaced { @@ -2355,21 +2203,21 @@ pub mod api { index: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum HoldReason { #[codec(index = 0)] NftReceipt, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReceiptRecord<_0, _1, _2> { pub proportion: runtime_types::sp_arithmetic::per_things::Perquintill, pub owner: ::core::option::Option<(_0, _2)>, pub expiry: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SummaryRecord<_0, _1> { pub proportion_owed: runtime_types::sp_arithmetic::per_things::Perquintill, - pub index: _0, + pub index: ::core::primitive::u32, pub thawed: runtime_types::sp_arithmetic::per_things::Perquintill, pub last_period: _0, pub receipts_on_hold: _1, @@ -2380,12 +2228,36 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Offence { kind: [::core::primitive::u8; 16usize], - timeslot: ::std::vec::Vec<::core::primitive::u8>, + timeslot: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, + } + } + } + pub mod pallet_parameters { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + set_parameter { key_value: runtime_types::rococo_runtime::RuntimeParameters }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + Updated { + key: runtime_types::rococo_runtime::RuntimeParametersKey, + old_value: ::core::option::Option< + runtime_types::rococo_runtime::RuntimeParametersValue, + >, + new_value: ::core::option::Option< + runtime_types::rococo_runtime::RuntimeParametersValue, + >, }, } } @@ -2394,18 +2266,26 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - note_preimage { bytes: ::std::vec::Vec<::core::primitive::u8> }, + note_preimage { + bytes: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] - unnote_preimage { hash: ::subxt::utils::H256 }, + unnote_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 2)] - request_preimage { hash: ::subxt::utils::H256 }, + request_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 3)] - unrequest_preimage { hash: ::subxt::utils::H256 }, + unrequest_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 4)] + ensure_updated { + hashes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooBig, @@ -2419,19 +2299,28 @@ pub mod api { Requested, #[codec(index = 5)] NotRequested, + #[codec(index = 6)] + TooMany, + #[codec(index = 7)] + TooFew, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Noted { hash: ::subxt::utils::H256 }, + Noted { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 1)] - Requested { hash: ::subxt::utils::H256 }, + Requested { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 2)] - Cleared { hash: ::subxt::utils::H256 }, + Cleared { hash: ::subxt::ext::subxt_core::utils::H256 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum HoldReason { + #[codec(index = 0)] + Preimage, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum RequestStatus<_0, _1> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum OldRequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { deposit: (_0, _1), len: ::core::primitive::u32 }, #[codec(index = 1)] @@ -2441,29 +2330,51 @@ pub mod api { len: ::core::option::Option<::core::primitive::u32>, }, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RequestStatus<_0, _1> { + #[codec(index = 0)] + Unrequested { ticket: (_0, _1), len: ::core::primitive::u32 }, + #[codec(index = 1)] + Requested { + maybe_ticket: ::core::option::Option<(_0, _1)>, + count: ::core::primitive::u32, + maybe_len: ::core::option::Option<::core::primitive::u32>, + }, + } } pub mod pallet_proxy { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] proxy { - real: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, force_proxy_type: ::core::option::Option, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] add_proxy { - delegate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, proxy_type: runtime_types::rococo_runtime::ProxyType, delay: ::core::primitive::u32, }, #[codec(index = 2)] remove_proxy { - delegate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, proxy_type: runtime_types::rococo_runtime::ProxyType, delay: ::core::primitive::u32, }, @@ -2477,7 +2388,10 @@ pub mod api { }, #[codec(index = 5)] kill_pure { - spawner: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + spawner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, proxy_type: runtime_types::rococo_runtime::ProxyType, index: ::core::primitive::u16, #[codec(compact)] @@ -2487,29 +2401,46 @@ pub mod api { }, #[codec(index = 6)] announce { - real: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 7)] remove_announcement { - real: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 8)] reject_announcement { - delegate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 9)] proxy_announced { - delegate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - real: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, force_proxy_type: ::core::option::Option, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooMany, @@ -2528,7 +2459,7 @@ pub mod api { #[codec(index = 7)] NoSelfProxy, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ProxyExecuted { @@ -2546,7 +2477,7 @@ pub mod api { Announced { real: ::sp_core::crypto::AccountId32, proxy: ::sp_core::crypto::AccountId32, - call_hash: ::subxt::utils::H256, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] ProxyAdded { @@ -2564,66 +2495,224 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Announcement<_0, _1, _2> { pub real: _0, pub call_hash: _1, pub height: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ProxyDefinition<_0, _1, _2> { pub delegate: _0, pub proxy_type: _1, pub delay: _2, } } + pub mod pallet_ranked_collective { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + add_member { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 1)] + promote_member { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 2)] + demote_member { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 3)] + remove_member { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + min_rank: ::core::primitive::u16, + }, + #[codec(index = 4)] + vote { poll: ::core::primitive::u32, aye: ::core::primitive::bool }, + #[codec(index = 5)] + cleanup_poll { poll_index: ::core::primitive::u32, max: ::core::primitive::u32 }, + #[codec(index = 6)] + exchange_member { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + new_who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + AlreadyMember, + #[codec(index = 1)] + NotMember, + #[codec(index = 2)] + NotPolling, + #[codec(index = 3)] + Ongoing, + #[codec(index = 4)] + NoneRemaining, + #[codec(index = 5)] + Corruption, + #[codec(index = 6)] + RankTooLow, + #[codec(index = 7)] + InvalidWitness, + #[codec(index = 8)] + NoPermission, + #[codec(index = 9)] + SameMember, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + MemberAdded { who: ::sp_core::crypto::AccountId32 }, + #[codec(index = 1)] + RankChanged { + who: ::sp_core::crypto::AccountId32, + rank: ::core::primitive::u16, + }, + #[codec(index = 2)] + MemberRemoved { + who: ::sp_core::crypto::AccountId32, + rank: ::core::primitive::u16, + }, + #[codec(index = 3)] + Voted { + who: ::sp_core::crypto::AccountId32, + poll: ::core::primitive::u32, + vote: runtime_types::pallet_ranked_collective::VoteRecord, + tally: runtime_types::pallet_ranked_collective::Tally, + }, + #[codec(index = 4)] + MemberExchanged { + who: ::sp_core::crypto::AccountId32, + new_who: ::sp_core::crypto::AccountId32, + }, + } + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct MemberRecord { + pub rank: ::core::primitive::u16, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Tally { + pub bare_ayes: ::core::primitive::u32, + pub ayes: ::core::primitive::u32, + pub nays: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VoteRecord { + #[codec(index = 0)] + Aye(::core::primitive::u32), + #[codec(index = 1)] + Nay(::core::primitive::u32), + } + } pub mod pallet_recovery { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_recovered { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call: ::std::boxed::Box, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] set_recovered { - lost: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - rescuer: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + lost: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 2)] create_recovery { - friends: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + friends: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, threshold: ::core::primitive::u16, delay_period: ::core::primitive::u32, }, #[codec(index = 3)] initiate_recovery { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 4)] vouch_recovery { - lost: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - rescuer: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + lost: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 5)] claim_recovery { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 6)] close_recovery { - rescuer: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 7)] remove_recovery, #[codec(index = 8)] cancel_recovered { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotAllowed, @@ -2658,7 +2747,7 @@ pub mod api { #[codec(index = 15)] BadState, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] RecoveryCreated { account: ::sp_core::crypto::AccountId32 }, @@ -2687,13 +2776,13 @@ pub mod api { RecoveryRemoved { lost_account: ::sp_core::crypto::AccountId32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ActiveRecovery<_0, _1, _2> { pub created: _0, pub deposit: _1, pub friends: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RecoveryConfig<_0, _1, _2> { pub delay_period: _0, pub deposit: _1, @@ -2701,274 +2790,788 @@ pub mod api { pub threshold: ::core::primitive::u16, } } - pub mod pallet_scheduler { + pub mod pallet_referenda { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - schedule { - when: ::core::primitive::u32, - maybe_periodic: ::core::option::Option<( - ::core::primitive::u32, - ::core::primitive::u32, - )>, - priority: ::core::primitive::u8, - call: ::std::boxed::Box, + submit { + proposal_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::OriginCaller, + >, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::rococo_runtime::RuntimeCall, + ::sp_runtime::traits::BlakeTwo256, + >, + enactment_moment: + runtime_types::frame_support::traits::schedule::DispatchTime< + ::core::primitive::u32, + >, }, #[codec(index = 1)] - cancel { when: ::core::primitive::u32, index: ::core::primitive::u32 }, + place_decision_deposit { index: ::core::primitive::u32 }, #[codec(index = 2)] - schedule_named { - id: [::core::primitive::u8; 32usize], - when: ::core::primitive::u32, - maybe_periodic: ::core::option::Option<( - ::core::primitive::u32, - ::core::primitive::u32, - )>, - priority: ::core::primitive::u8, - call: ::std::boxed::Box, - }, + refund_decision_deposit { index: ::core::primitive::u32 }, #[codec(index = 3)] - cancel_named { id: [::core::primitive::u8; 32usize] }, + cancel { index: ::core::primitive::u32 }, #[codec(index = 4)] - schedule_after { - after: ::core::primitive::u32, - maybe_periodic: ::core::option::Option<( - ::core::primitive::u32, - ::core::primitive::u32, - )>, - priority: ::core::primitive::u8, - call: ::std::boxed::Box, - }, + kill { index: ::core::primitive::u32 }, #[codec(index = 5)] - schedule_named_after { - id: [::core::primitive::u8; 32usize], - after: ::core::primitive::u32, - maybe_periodic: ::core::option::Option<( - ::core::primitive::u32, - ::core::primitive::u32, - )>, - priority: ::core::primitive::u8, - call: ::std::boxed::Box, + nudge_referendum { index: ::core::primitive::u32 }, + #[codec(index = 6)] + one_fewer_deciding { track: ::core::primitive::u16 }, + #[codec(index = 7)] + refund_submission_deposit { index: ::core::primitive::u32 }, + #[codec(index = 8)] + set_metadata { + index: ::core::primitive::u32, + maybe_hash: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] - FailedToSchedule, + NotOngoing, #[codec(index = 1)] - NotFound, + HasDeposit, #[codec(index = 2)] - TargetBlockNumberInPast, + BadTrack, #[codec(index = 3)] - RescheduleNoChange, + Full, #[codec(index = 4)] - Named, + QueueEmpty, + #[codec(index = 5)] + BadReferendum, + #[codec(index = 6)] + NothingToDo, + #[codec(index = 7)] + NoTrack, + #[codec(index = 8)] + Unfinished, + #[codec(index = 9)] + NoPermission, + #[codec(index = 10)] + NoDeposit, + #[codec(index = 11)] + BadStatus, + #[codec(index = 12)] + PreimageNotExist, + #[codec(index = 13)] + PreimageStoredWithDifferentLength, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event1 { #[codec(index = 0)] - Scheduled { when: ::core::primitive::u32, index: ::core::primitive::u32 }, + Submitted { + index: ::core::primitive::u32, + track: ::core::primitive::u16, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::rococo_runtime::RuntimeCall, + ::sp_runtime::traits::BlakeTwo256, + >, + }, #[codec(index = 1)] - Canceled { when: ::core::primitive::u32, index: ::core::primitive::u32 }, + DecisionDepositPlaced { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, #[codec(index = 2)] - Dispatched { - task: (::core::primitive::u32, ::core::primitive::u32), - id: ::core::option::Option<[::core::primitive::u8; 32usize]>, - result: - ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + DecisionDepositRefunded { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, }, #[codec(index = 3)] - CallUnavailable { - task: (::core::primitive::u32, ::core::primitive::u32), - id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + DepositSlashed { + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, }, #[codec(index = 4)] - PeriodicFailed { - task: (::core::primitive::u32, ::core::primitive::u32), - id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + DecisionStarted { + index: ::core::primitive::u32, + track: ::core::primitive::u16, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::rococo_runtime::RuntimeCall, + ::sp_runtime::traits::BlakeTwo256, + >, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, }, #[codec(index = 5)] - PermanentlyOverweight { - task: (::core::primitive::u32, ::core::primitive::u32), - id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + ConfirmStarted { index: ::core::primitive::u32 }, + #[codec(index = 6)] + ConfirmAborted { index: ::core::primitive::u32 }, + #[codec(index = 7)] + Confirmed { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 8)] + Approved { index: ::core::primitive::u32 }, + #[codec(index = 9)] + Rejected { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 10)] + TimedOut { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 11)] + Cancelled { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 12)] + Killed { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 13)] + SubmissionDepositRefunded { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 14)] + MetadataSet { + index: ::core::primitive::u32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 15)] + MetadataCleared { + index: ::core::primitive::u32, + hash: ::subxt::ext::subxt_core::utils::H256, }, } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Scheduled<_0, _1, _2, _3, _4> { - pub maybe_id: ::core::option::Option<_0>, - pub priority: ::core::primitive::u8, - pub call: _1, - pub maybe_periodic: ::core::option::Option<(_2, _2)>, - pub origin: _3, - #[codec(skip)] - pub __subxt_unused_type_params: ::core::marker::PhantomData<_4>, - } - } - pub mod pallet_session { - use super::runtime_types; - pub mod pallet { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event2 { #[codec(index = 0)] - set_keys { - keys: runtime_types::rococo_runtime::SessionKeys, - proof: ::std::vec::Vec<::core::primitive::u8>, + Submitted { + index: ::core::primitive::u32, + track: ::core::primitive::u16, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::rococo_runtime::RuntimeCall, + ::sp_runtime::traits::BlakeTwo256, + >, }, #[codec(index = 1)] - purge_keys, + DecisionDepositPlaced { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 2)] + DecisionDepositRefunded { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 3)] + DepositSlashed { + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 4)] + DecisionStarted { + index: ::core::primitive::u32, + track: ::core::primitive::u16, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::rococo_runtime::RuntimeCall, + ::sp_runtime::traits::BlakeTwo256, + >, + tally: runtime_types::pallet_ranked_collective::Tally, + }, + #[codec(index = 5)] + ConfirmStarted { index: ::core::primitive::u32 }, + #[codec(index = 6)] + ConfirmAborted { index: ::core::primitive::u32 }, + #[codec(index = 7)] + Confirmed { + index: ::core::primitive::u32, + tally: runtime_types::pallet_ranked_collective::Tally, + }, + #[codec(index = 8)] + Approved { index: ::core::primitive::u32 }, + #[codec(index = 9)] + Rejected { + index: ::core::primitive::u32, + tally: runtime_types::pallet_ranked_collective::Tally, + }, + #[codec(index = 10)] + TimedOut { + index: ::core::primitive::u32, + tally: runtime_types::pallet_ranked_collective::Tally, + }, + #[codec(index = 11)] + Cancelled { + index: ::core::primitive::u32, + tally: runtime_types::pallet_ranked_collective::Tally, + }, + #[codec(index = 12)] + Killed { + index: ::core::primitive::u32, + tally: runtime_types::pallet_ranked_collective::Tally, + }, + #[codec(index = 13)] + SubmissionDepositRefunded { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 14)] + MetadataSet { + index: ::core::primitive::u32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 15)] + MetadataCleared { + index: ::core::primitive::u32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error { + } + pub mod types { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Curve { #[codec(index = 0)] - InvalidProof, + LinearDecreasing { + length: runtime_types::sp_arithmetic::per_things::Perbill, + floor: runtime_types::sp_arithmetic::per_things::Perbill, + ceil: runtime_types::sp_arithmetic::per_things::Perbill, + }, #[codec(index = 1)] - NoAssociatedValidatorId, + SteppedDecreasing { + begin: runtime_types::sp_arithmetic::per_things::Perbill, + end: runtime_types::sp_arithmetic::per_things::Perbill, + step: runtime_types::sp_arithmetic::per_things::Perbill, + period: runtime_types::sp_arithmetic::per_things::Perbill, + }, #[codec(index = 2)] - DuplicatedKey, + Reciprocal { + factor: runtime_types::sp_arithmetic::fixed_point::FixedI64, + x_offset: runtime_types::sp_arithmetic::fixed_point::FixedI64, + y_offset: runtime_types::sp_arithmetic::fixed_point::FixedI64, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DecidingStatus<_0> { + pub since: _0, + pub confirming: ::core::option::Option<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Deposit<_0, _1> { + pub who: _0, + pub amount: _1, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ReferendumInfo<_0, _1, _2, _3, _4, _5, _6, _7> { + #[codec(index = 0)] + Ongoing( + runtime_types::pallet_referenda::types::ReferendumStatus< + _0, + _1, + _2, + _3, + _4, + _5, + _6, + _7, + >, + ), + #[codec(index = 1)] + Approved( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 2)] + Rejected( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), #[codec(index = 3)] - NoKeys, + Cancelled( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), #[codec(index = 4)] - NoAccount, + TimedOut( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 5)] + Killed(_2), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7> { + pub track: _0, + pub origin: _1, + pub proposal: _3, + pub enactment: runtime_types::frame_support::traits::schedule::DispatchTime<_2>, + pub submitted: _2, + pub submission_deposit: runtime_types::pallet_referenda::types::Deposit<_6, _4>, + pub decision_deposit: ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + pub deciding: ::core::option::Option< + runtime_types::pallet_referenda::types::DecidingStatus<_2>, + >, + pub tally: _5, + pub in_queue: ::core::primitive::bool, + pub alarm: ::core::option::Option<(_2, _7)>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct TrackInfo<_0, _1> { + pub name: ::subxt::ext::subxt_core::alloc::string::String, + pub max_deciding: ::core::primitive::u32, + pub decision_deposit: _0, + pub prepare_period: _1, + pub decision_period: _1, + pub confirm_period: _1, + pub min_enactment_period: _1, + pub min_approval: runtime_types::pallet_referenda::types::Curve, + pub min_support: runtime_types::pallet_referenda::types::Curve, + } + } + } + pub mod pallet_root_testing { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + fill_block { ratio: runtime_types::sp_arithmetic::per_things::Perbill }, + #[codec(index = 1)] + trigger_defensive, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - NewSession { session_index: ::core::primitive::u32 }, + DefensiveTestCall, } } } - pub mod pallet_society { + pub mod pallet_scheduler { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - bid { value: ::core::primitive::u128 }, + schedule { + when: ::core::primitive::u32, + maybe_periodic: ::core::option::Option<( + ::core::primitive::u32, + ::core::primitive::u32, + )>, + priority: ::core::primitive::u8, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, + }, #[codec(index = 1)] - unbid { pos: ::core::primitive::u32 }, + cancel { when: ::core::primitive::u32, index: ::core::primitive::u32 }, #[codec(index = 2)] - vouch { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - value: ::core::primitive::u128, - tip: ::core::primitive::u128, + schedule_named { + id: [::core::primitive::u8; 32usize], + when: ::core::primitive::u32, + maybe_periodic: ::core::option::Option<( + ::core::primitive::u32, + ::core::primitive::u32, + )>, + priority: ::core::primitive::u8, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 3)] - unvouch { pos: ::core::primitive::u32 }, + cancel_named { id: [::core::primitive::u8; 32usize] }, #[codec(index = 4)] - vote { - candidate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - approve: ::core::primitive::bool, + schedule_after { + after: ::core::primitive::u32, + maybe_periodic: ::core::option::Option<( + ::core::primitive::u32, + ::core::primitive::u32, + )>, + priority: ::core::primitive::u8, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 5)] - defender_vote { approve: ::core::primitive::bool }, + schedule_named_after { + id: [::core::primitive::u8; 32usize], + after: ::core::primitive::u32, + maybe_periodic: ::core::option::Option<( + ::core::primitive::u32, + ::core::primitive::u32, + )>, + priority: ::core::primitive::u8, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, + }, #[codec(index = 6)] - payout, + set_retry { + task: (::core::primitive::u32, ::core::primitive::u32), + retries: ::core::primitive::u8, + period: ::core::primitive::u32, + }, #[codec(index = 7)] - found { - founder: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - max_members: ::core::primitive::u32, - rules: ::std::vec::Vec<::core::primitive::u8>, + set_retry_named { + id: [::core::primitive::u8; 32usize], + retries: ::core::primitive::u8, + period: ::core::primitive::u32, }, #[codec(index = 8)] - unfound, + cancel_retry { task: (::core::primitive::u32, ::core::primitive::u32) }, #[codec(index = 9)] - judge_suspended_member { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - forgive: ::core::primitive::bool, - }, - #[codec(index = 10)] - judge_suspended_candidate { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - judgement: runtime_types::pallet_society::Judgement, - }, - #[codec(index = 11)] - set_max_members { max: ::core::primitive::u32 }, + cancel_retry_named { id: [::core::primitive::u8; 32usize] }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] - BadPosition, + FailedToSchedule, #[codec(index = 1)] - NotMember, + NotFound, #[codec(index = 2)] - AlreadyMember, + TargetBlockNumberInPast, #[codec(index = 3)] - Suspended, + RescheduleNoChange, #[codec(index = 4)] - NotSuspended, - #[codec(index = 5)] - NoPayout, - #[codec(index = 6)] - AlreadyFounded, - #[codec(index = 7)] - InsufficientPot, - #[codec(index = 8)] - AlreadyVouching, - #[codec(index = 9)] - NotVouching, - #[codec(index = 10)] - Head, - #[codec(index = 11)] - Founder, - #[codec(index = 12)] - AlreadyBid, - #[codec(index = 13)] - AlreadyCandidate, - #[codec(index = 14)] - NotCandidate, - #[codec(index = 15)] - MaxMembers, - #[codec(index = 16)] - NotFounder, - #[codec(index = 17)] - NotHead, + Named, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Founded { founder: ::sp_core::crypto::AccountId32 }, + Scheduled { when: ::core::primitive::u32, index: ::core::primitive::u32 }, #[codec(index = 1)] - Bid { - candidate_id: ::sp_core::crypto::AccountId32, - offer: ::core::primitive::u128, - }, + Canceled { when: ::core::primitive::u32, index: ::core::primitive::u32 }, #[codec(index = 2)] - Vouch { - candidate_id: ::sp_core::crypto::AccountId32, - offer: ::core::primitive::u128, - vouching: ::sp_core::crypto::AccountId32, + Dispatched { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 3)] - AutoUnbid { candidate: ::sp_core::crypto::AccountId32 }, + RetrySet { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + period: ::core::primitive::u32, + retries: ::core::primitive::u8, + }, #[codec(index = 4)] - Unbid { candidate: ::sp_core::crypto::AccountId32 }, + RetryCancelled { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + }, #[codec(index = 5)] - Unvouch { candidate: ::sp_core::crypto::AccountId32 }, + CallUnavailable { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + }, #[codec(index = 6)] - Inducted { - primary: ::sp_core::crypto::AccountId32, - candidates: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + PeriodicFailed { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, }, #[codec(index = 7)] - SuspendedMemberJudgement { - who: ::sp_core::crypto::AccountId32, - judged: ::core::primitive::bool, + RetryFailed { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, }, #[codec(index = 8)] - CandidateSuspended { candidate: ::sp_core::crypto::AccountId32 }, - #[codec(index = 9)] - MemberSuspended { member: ::sp_core::crypto::AccountId32 }, - #[codec(index = 10)] - Challenged { member: ::sp_core::crypto::AccountId32 }, - #[codec(index = 11)] - Vote { - candidate: ::sp_core::crypto::AccountId32, + PermanentlyOverweight { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RetryConfig<_0> { + pub total_retries: ::core::primitive::u8, + pub remaining: ::core::primitive::u8, + pub period: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Scheduled<_0, _1, _2, _3, _4> { + pub maybe_id: ::core::option::Option<_0>, + pub priority: ::core::primitive::u8, + pub call: _1, + pub maybe_periodic: ::core::option::Option<(_2, _2)>, + pub origin: _3, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_4>, + } + } + pub mod pallet_session { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + set_keys { + keys: runtime_types::rococo_runtime::SessionKeys, + proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, + #[codec(index = 1)] + purge_keys, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + InvalidProof, + #[codec(index = 1)] + NoAssociatedValidatorId, + #[codec(index = 2)] + DuplicatedKey, + #[codec(index = 3)] + NoKeys, + #[codec(index = 4)] + NoAccount, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + NewSession { session_index: ::core::primitive::u32 }, + } + } + } + pub mod pallet_society { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + bid { value: ::core::primitive::u128 }, + #[codec(index = 1)] + unbid, + #[codec(index = 2)] + vouch { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + value: ::core::primitive::u128, + tip: ::core::primitive::u128, + }, + #[codec(index = 3)] + unvouch, + #[codec(index = 4)] + vote { + candidate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + approve: ::core::primitive::bool, + }, + #[codec(index = 5)] + defender_vote { approve: ::core::primitive::bool }, + #[codec(index = 6)] + payout, + #[codec(index = 7)] + waive_repay { amount: ::core::primitive::u128 }, + #[codec(index = 8)] + found_society { + founder: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + max_members: ::core::primitive::u32, + max_intake: ::core::primitive::u32, + max_strikes: ::core::primitive::u32, + candidate_deposit: ::core::primitive::u128, + rules: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, + #[codec(index = 9)] + dissolve, + #[codec(index = 10)] + judge_suspended_member { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + forgive: ::core::primitive::bool, + }, + #[codec(index = 11)] + set_parameters { + max_members: ::core::primitive::u32, + max_intake: ::core::primitive::u32, + max_strikes: ::core::primitive::u32, + candidate_deposit: ::core::primitive::u128, + }, + #[codec(index = 12)] + punish_skeptic, + #[codec(index = 13)] + claim_membership, + #[codec(index = 14)] + bestow_membership { candidate: ::sp_core::crypto::AccountId32 }, + #[codec(index = 15)] + kick_candidate { candidate: ::sp_core::crypto::AccountId32 }, + #[codec(index = 16)] + resign_candidacy, + #[codec(index = 17)] + drop_candidate { candidate: ::sp_core::crypto::AccountId32 }, + #[codec(index = 18)] + cleanup_candidacy { + candidate: ::sp_core::crypto::AccountId32, + max: ::core::primitive::u32, + }, + #[codec(index = 19)] + cleanup_challenge { + challenge_round: ::core::primitive::u32, + max: ::core::primitive::u32, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + NotMember, + #[codec(index = 1)] + AlreadyMember, + #[codec(index = 2)] + Suspended, + #[codec(index = 3)] + NotSuspended, + #[codec(index = 4)] + NoPayout, + #[codec(index = 5)] + AlreadyFounded, + #[codec(index = 6)] + InsufficientPot, + #[codec(index = 7)] + AlreadyVouching, + #[codec(index = 8)] + NotVouchingOnBidder, + #[codec(index = 9)] + Head, + #[codec(index = 10)] + Founder, + #[codec(index = 11)] + AlreadyBid, + #[codec(index = 12)] + AlreadyCandidate, + #[codec(index = 13)] + NotCandidate, + #[codec(index = 14)] + MaxMembers, + #[codec(index = 15)] + NotFounder, + #[codec(index = 16)] + NotHead, + #[codec(index = 17)] + NotApproved, + #[codec(index = 18)] + NotRejected, + #[codec(index = 19)] + Approved, + #[codec(index = 20)] + Rejected, + #[codec(index = 21)] + InProgress, + #[codec(index = 22)] + TooEarly, + #[codec(index = 23)] + Voted, + #[codec(index = 24)] + Expired, + #[codec(index = 25)] + NotBidder, + #[codec(index = 26)] + NoDefender, + #[codec(index = 27)] + NotGroup, + #[codec(index = 28)] + AlreadyElevated, + #[codec(index = 29)] + AlreadyPunished, + #[codec(index = 30)] + InsufficientFunds, + #[codec(index = 31)] + NoVotes, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + Founded { founder: ::sp_core::crypto::AccountId32 }, + #[codec(index = 1)] + Bid { + candidate_id: ::sp_core::crypto::AccountId32, + offer: ::core::primitive::u128, + }, + #[codec(index = 2)] + Vouch { + candidate_id: ::sp_core::crypto::AccountId32, + offer: ::core::primitive::u128, + vouching: ::sp_core::crypto::AccountId32, + }, + #[codec(index = 3)] + AutoUnbid { candidate: ::sp_core::crypto::AccountId32 }, + #[codec(index = 4)] + Unbid { candidate: ::sp_core::crypto::AccountId32 }, + #[codec(index = 5)] + Unvouch { candidate: ::sp_core::crypto::AccountId32 }, + #[codec(index = 6)] + Inducted { + primary: ::sp_core::crypto::AccountId32, + candidates: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + }, + #[codec(index = 7)] + SuspendedMemberJudgement { + who: ::sp_core::crypto::AccountId32, + judged: ::core::primitive::bool, + }, + #[codec(index = 8)] + CandidateSuspended { candidate: ::sp_core::crypto::AccountId32 }, + #[codec(index = 9)] + MemberSuspended { member: ::sp_core::crypto::AccountId32 }, + #[codec(index = 10)] + Challenged { member: ::sp_core::crypto::AccountId32 }, + #[codec(index = 11)] + Vote { + candidate: ::sp_core::crypto::AccountId32, voter: ::sp_core::crypto::AccountId32, vote: ::core::primitive::bool, }, @@ -2978,47 +3581,77 @@ pub mod api { vote: ::core::primitive::bool, }, #[codec(index = 13)] - NewMaxMembers { max: ::core::primitive::u32 }, + NewParams { + params: runtime_types::pallet_society::GroupParams<::core::primitive::u128>, + }, #[codec(index = 14)] Unfounded { founder: ::sp_core::crypto::AccountId32 }, #[codec(index = 15)] Deposit { value: ::core::primitive::u128 }, #[codec(index = 16)] - SkepticsChosen { skeptics: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, + Elevated { + member: ::sp_core::crypto::AccountId32, + rank: ::core::primitive::u32, + }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bid<_0, _1> { pub who: _0, pub kind: runtime_types::pallet_society::BidKind<_0, _1>, pub value: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BidKind<_0, _1> { #[codec(index = 0)] Deposit(_1), #[codec(index = 1)] Vouch(_0, _1), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Judgement { - #[codec(index = 0)] - Rebid, - #[codec(index = 1)] - Reject, - #[codec(index = 2)] - Approve, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Vote { - #[codec(index = 0)] - Skeptic, - #[codec(index = 1)] - Reject, - #[codec(index = 2)] - Approve, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Candidacy<_0, _1> { + pub round: ::core::primitive::u32, + pub kind: runtime_types::pallet_society::BidKind<_0, _1>, + pub bid: _1, + pub tally: runtime_types::pallet_society::Tally, + pub skeptic_struck: ::core::primitive::bool, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct GroupParams<_0> { + pub max_members: ::core::primitive::u32, + pub max_intake: ::core::primitive::u32, + pub max_strikes: ::core::primitive::u32, + pub candidate_deposit: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct IntakeRecord<_0, _1> { + pub who: _0, + pub bid: _1, + pub round: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MemberRecord { + pub rank: ::core::primitive::u32, + pub strikes: ::core::primitive::u32, + pub vouching: ::core::option::Option, + pub index: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PayoutRecord<_0, _1> { + pub paid: _0, + pub payouts: _1, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Tally { + pub approvals: ::core::primitive::u32, + pub rejections: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Vote { + pub approve: ::core::primitive::bool, + pub weight: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VouchingStatus { #[codec(index = 0)] Vouching, @@ -3030,7 +3663,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] control_auto_migration { @@ -3047,13 +3680,17 @@ pub mod api { }, #[codec(index = 2)] migrate_custom_top { - keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, witness_size: ::core::primitive::u32, }, #[codec(index = 3)] migrate_custom_child { - root: ::std::vec::Vec<::core::primitive::u8>, - child_keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + root: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + child_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, total_size: ::core::primitive::u32, }, #[codec(index = 4)] @@ -3067,7 +3704,7 @@ pub mod api { runtime_types::pallet_state_trie_migration::pallet::Progress, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MaxSignedLimits, @@ -3082,7 +3719,7 @@ pub mod api { #[codec(index = 5)] BadChildRoot, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Migrated { @@ -3098,19 +3735,24 @@ pub mod api { #[codec(index = 3)] Halted { error: runtime_types::pallet_state_trie_migration::pallet::Error }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum HoldReason { + #[codec(index = 0)] + SlashForMigrate, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MigrationCompute { #[codec(index = 0)] Signed, #[codec(index = 1)] Auto, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MigrationLimits { pub size: ::core::primitive::u32, pub item: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MigrationTask { pub progress_top: runtime_types::pallet_state_trie_migration::pallet::Progress, pub progress_child: @@ -3119,7 +3761,7 @@ pub mod api { pub top_items: ::core::primitive::u32, pub child_items: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Progress { #[codec(index = 0)] ToStart, @@ -3138,31 +3780,47 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - sudo { call: ::std::boxed::Box }, + sudo { + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, + }, #[codec(index = 1)] sudo_unchecked_weight { - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, weight: ::sp_weights::Weight, }, #[codec(index = 2)] set_key { - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 3)] sudo_as { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call: ::std::boxed::Box, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, + #[codec(index = 4)] + remove_key, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] RequireSudo, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Sudid { @@ -3171,9 +3829,12 @@ pub mod api { }, #[codec(index = 1)] KeyChanged { - old_sudoer: ::core::option::Option<::sp_core::crypto::AccountId32>, + old: ::core::option::Option<::sp_core::crypto::AccountId32>, + new: ::sp_core::crypto::AccountId32, }, #[codec(index = 2)] + KeyRemoved, + #[codec(index = 3)] SudoAsDone { sudo_result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, @@ -3185,7 +3846,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set { @@ -3195,102 +3856,45 @@ pub mod api { } } } - pub mod pallet_tips { + pub mod pallet_transaction_payment { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call { - #[codec(index = 0)] - report_awesome { - reason: ::std::vec::Vec<::core::primitive::u8>, - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - }, - #[codec(index = 1)] - retract_tip { hash: ::subxt::utils::H256 }, - #[codec(index = 2)] - tip_new { - reason: ::std::vec::Vec<::core::primitive::u8>, - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - #[codec(compact)] - tip_value: ::core::primitive::u128, - }, - #[codec(index = 3)] - tip { - hash: ::subxt::utils::H256, - #[codec(compact)] - tip_value: ::core::primitive::u128, - }, - #[codec(index = 4)] - close_tip { hash: ::subxt::utils::H256 }, - #[codec(index = 5)] - slash_tip { hash: ::subxt::utils::H256 }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - ReasonTooBig, - #[codec(index = 1)] - AlreadyKnown, - #[codec(index = 2)] - UnknownTip, - #[codec(index = 3)] - NotFinder, - #[codec(index = 4)] - StillOpen, - #[codec(index = 5)] - Premature, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - NewTip { tip_hash: ::subxt::utils::H256 }, - #[codec(index = 1)] - TipClosing { tip_hash: ::subxt::utils::H256 }, - #[codec(index = 2)] - TipClosed { - tip_hash: ::subxt::utils::H256, + TransactionFeePaid { who: ::sp_core::crypto::AccountId32, - payout: ::core::primitive::u128, - }, - #[codec(index = 3)] - TipRetracted { tip_hash: ::subxt::utils::H256 }, - #[codec(index = 4)] - TipSlashed { - tip_hash: ::subxt::utils::H256, - finder: ::sp_core::crypto::AccountId32, - deposit: ::core::primitive::u128, + actual_fee: ::core::primitive::u128, + tip: ::core::primitive::u128, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OpenTip<_0, _1, _2, _3> { - pub reason: _3, - pub who: _0, - pub finder: _0, - pub deposit: _1, - pub closes: ::core::option::Option<_2>, - pub tips: ::std::vec::Vec<(_0, _1)>, - pub finders_fee: ::core::primitive::bool, - } - } - pub mod pallet_transaction_payment { - use super::runtime_types; - pub mod pallet { + pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event { - #[codec(index = 0)] - TransactionFeePaid { - who: ::sp_core::crypto::AccountId32, - actual_fee: ::core::primitive::u128, - tip: ::core::primitive::u128, - }, + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct FeeDetails<_0> { + pub inclusion_fee: ::core::option::Option< + runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, + >, + pub tip: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InclusionFee<_0> { + pub base_fee: _0, + pub len_fee: _0, + pub adjusted_weight_fee: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RuntimeDispatchInfo<_0, _1> { + pub weight: _1, + pub class: runtime_types::frame_support::dispatch::DispatchClass, + pub partial_fee: _0, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -3302,14 +3906,16 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] propose_spend { #[codec(compact)] value: ::core::primitive::u128, - beneficiary: - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 1)] reject_proposal { @@ -3322,19 +3928,39 @@ pub mod api { proposal_id: ::core::primitive::u32, }, #[codec(index = 3)] - spend { + spend_local { #[codec(compact)] amount: ::core::primitive::u128, - beneficiary: - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 4)] remove_approval { #[codec(compact)] proposal_id: ::core::primitive::u32, }, + #[codec(index = 5)] + spend { + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + >, + #[codec(compact)] + amount: ::core::primitive::u128, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + valid_from: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 6)] + payout { index: ::core::primitive::u32 }, + #[codec(index = 7)] + check_status { index: ::core::primitive::u32 }, + #[codec(index = 8)] + void_spend { index: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InsufficientProposersBalance, @@ -3346,8 +3972,22 @@ pub mod api { InsufficientPermission, #[codec(index = 4)] ProposalNotApproved, + #[codec(index = 5)] + FailedToConvertBalance, + #[codec(index = 6)] + SpendExpired, + #[codec(index = 7)] + EarlyPayout, + #[codec(index = 8)] + AlreadyAttempted, + #[codec(index = 9)] + PayoutError, + #[codec(index = 10)] + NotAttempted, + #[codec(index = 11)] + Inconclusive, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Proposed { proposal_index: ::core::primitive::u32 }, @@ -3381,52 +4021,109 @@ pub mod api { reactivated: ::core::primitive::u128, deactivated: ::core::primitive::u128, }, + #[codec(index = 9)] + AssetSpendApproved { + index: ::core::primitive::u32, + asset_kind: + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + amount: ::core::primitive::u128, + beneficiary: runtime_types::xcm::VersionedLocation, + valid_from: ::core::primitive::u32, + expire_at: ::core::primitive::u32, + }, + #[codec(index = 10)] + AssetSpendVoided { index: ::core::primitive::u32 }, + #[codec(index = 11)] + Paid { index: ::core::primitive::u32, payment_id: ::core::primitive::u64 }, + #[codec(index = 12)] + PaymentFailed { + index: ::core::primitive::u32, + payment_id: ::core::primitive::u64, + }, + #[codec(index = 13)] + SpendProcessed { index: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum PaymentState<_0> { + #[codec(index = 0)] + Pending, + #[codec(index = 1)] + Attempted { id: _0 }, + #[codec(index = 2)] + Failed, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Proposal<_0, _1> { pub proposer: _0, pub value: _1, pub beneficiary: _0, pub bond: _1, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct SpendStatus<_0, _1, _2, _3, _4> { + pub asset_kind: _0, + pub amount: _1, + pub beneficiary: _2, + pub valid_from: _3, + pub expire_at: _3, + pub status: runtime_types::pallet_treasury::PaymentState<_4>, + } } pub mod pallet_utility { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - batch { calls: ::std::vec::Vec }, + batch { + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >, + }, #[codec(index = 1)] as_derivative { index: ::core::primitive::u16, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 2)] - batch_all { calls: ::std::vec::Vec }, + batch_all { + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >, + }, #[codec(index = 3)] dispatch_as { - as_origin: ::std::boxed::Box, - call: ::std::boxed::Box, + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::OriginCaller, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 4)] force_batch { - calls: ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 5)] with_weight { - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, weight: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCalls, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BatchInterrupted { @@ -3453,17 +4150,23 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] vest, #[codec(index = 1)] vest_other { - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 2)] vested_transfer { - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< ::core::primitive::u128, ::core::primitive::u32, @@ -3471,8 +4174,14 @@ pub mod api { }, #[codec(index = 3)] force_vested_transfer { - source: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< ::core::primitive::u128, ::core::primitive::u32, @@ -3483,8 +4192,16 @@ pub mod api { schedule1_index: ::core::primitive::u32, schedule2_index: ::core::primitive::u32, }, + #[codec(index = 5)] + force_remove_vesting_schedule { + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + schedule_index: ::core::primitive::u32, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotVesting, @@ -3497,7 +4214,7 @@ pub mod api { #[codec(index = 4)] InvalidScheduleParams, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] VestingUpdated { @@ -3510,14 +4227,14 @@ pub mod api { } pub mod vesting_info { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VestingInfo<_0, _1> { pub locked: _0, pub per_block: _0, pub starting_block: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V0, @@ -3525,74 +4242,209 @@ pub mod api { V1, } } - pub mod pallet_xcm { + pub mod pallet_whitelist { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - send { - dest: ::std::boxed::Box, - message: ::std::boxed::Box, - }, + whitelist_call { call_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 1)] - teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - }, + remove_whitelisted_call { call_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 2)] - reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, + dispatch_whitelisted_call { + call_hash: ::subxt::ext::subxt_core::utils::H256, + call_encoded_len: ::core::primitive::u32, + call_weight_witness: ::sp_weights::Weight, }, #[codec(index = 3)] - execute { - message: ::std::boxed::Box, - max_weight: ::sp_weights::Weight, + dispatch_whitelisted_call_with_preimage { + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + UnavailablePreImage, + #[codec(index = 1)] + UndecodableCall, + #[codec(index = 2)] + InvalidCallWeightWitness, + #[codec(index = 3)] + CallIsNotWhitelisted, #[codec(index = 4)] - force_xcm_version { - location: - ::std::boxed::Box, - xcm_version: ::core::primitive::u32, - }, - #[codec(index = 5)] - force_default_xcm_version { - maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, - }, - #[codec(index = 6)] - force_subscribe_version_notify { - location: ::std::boxed::Box, - }, - #[codec(index = 7)] - force_unsubscribe_version_notify { - location: ::std::boxed::Box, - }, - #[codec(index = 8)] - limited_reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 9)] - limited_teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, + CallAlreadyWhitelisted, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + CallWhitelisted { call_hash: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 1)] + WhitelistedCallRemoved { call_hash: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 2)] + WhitelistedCallDispatched { + call_hash: ::subxt::ext::subxt_core::utils::H256, + result: ::core::result::Result< + runtime_types::frame_support::dispatch::PostDispatchInfo, + runtime_types::sp_runtime::DispatchErrorWithPostInfo< + runtime_types::frame_support::dispatch::PostDispatchInfo, + >, + >, }, - #[codec(index = 10)] - force_suspension { suspended: ::core::primitive::bool }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + } + } + pub mod pallet_xcm { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + send { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + }, + #[codec(index = 1)] + teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 2)] + reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 3)] + execute { + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + max_weight: ::sp_weights::Weight, + }, + #[codec(index = 4)] + force_xcm_version { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, + version: ::core::primitive::u32, + }, + #[codec(index = 5)] + force_default_xcm_version { + maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 6)] + force_subscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 7)] + force_unsubscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 8)] + limited_reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 9)] + limited_teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 10)] + force_suspension { suspended: ::core::primitive::bool }, + #[codec(index = 11)] + transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 12)] + claim_assets { + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 13)] + transfer_assets_using_type_and_then { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + assets_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + remote_fees_id: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssetId, + >, + fees_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + custom_xcm_on_dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Unreachable, @@ -3621,7 +4473,7 @@ pub mod api { #[codec(index = 12)] AlreadySubscribed, #[codec(index = 13)] - InvalidAsset, + CannotCheckOutTeleport, #[codec(index = 14)] LowBalance, #[codec(index = 15)] @@ -3634,167 +4486,189 @@ pub mod api { LockNotFound, #[codec(index = 19)] InUse, + #[codec(index = 21)] + InvalidAssetUnknownReserve, + #[codec(index = 22)] + InvalidAssetUnsupportedReserve, + #[codec(index = 23)] + TooManyReserves, + #[codec(index = 24)] + LocalExecutionIncomplete, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Attempted(runtime_types::xcm::v3::traits::Outcome), + Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, #[codec(index = 1)] - Sent( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::Xcm, - ), + Sent { + origin: runtime_types::staging_xcm::v4::location::Location, + destination: runtime_types::staging_xcm::v4::location::Location, + message: runtime_types::staging_xcm::v4::Xcm, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 2)] - UnexpectedResponse( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - ), + UnexpectedResponse { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + }, #[codec(index = 3)] - ResponseReady(::core::primitive::u64, runtime_types::xcm::v3::Response), + ResponseReady { + query_id: ::core::primitive::u64, + response: runtime_types::staging_xcm::v4::Response, + }, #[codec(index = 4)] - Notified(::core::primitive::u64, ::core::primitive::u8, ::core::primitive::u8), + Notified { + query_id: ::core::primitive::u64, + pallet_index: ::core::primitive::u8, + call_index: ::core::primitive::u8, + }, #[codec(index = 5)] - NotifyOverweight( - ::core::primitive::u64, - ::core::primitive::u8, - ::core::primitive::u8, - ::sp_weights::Weight, - ::sp_weights::Weight, - ), + NotifyOverweight { + query_id: ::core::primitive::u64, + pallet_index: ::core::primitive::u8, + call_index: ::core::primitive::u8, + actual_weight: ::sp_weights::Weight, + max_budgeted_weight: ::sp_weights::Weight, + }, #[codec(index = 6)] - NotifyDispatchError( - ::core::primitive::u64, - ::core::primitive::u8, - ::core::primitive::u8, - ), + NotifyDispatchError { + query_id: ::core::primitive::u64, + pallet_index: ::core::primitive::u8, + call_index: ::core::primitive::u8, + }, #[codec(index = 7)] - NotifyDecodeFailed( - ::core::primitive::u64, - ::core::primitive::u8, - ::core::primitive::u8, - ), + NotifyDecodeFailed { + query_id: ::core::primitive::u64, + pallet_index: ::core::primitive::u8, + call_index: ::core::primitive::u8, + }, #[codec(index = 8)] - InvalidResponder( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + InvalidResponder { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + expected_location: ::core::option::Option< + runtime_types::staging_xcm::v4::location::Location, >, - ), + }, #[codec(index = 9)] - InvalidResponderVersion( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - ), + InvalidResponderVersion { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + }, #[codec(index = 10)] - ResponseTaken(::core::primitive::u64), + ResponseTaken { query_id: ::core::primitive::u64 }, #[codec(index = 11)] - AssetsTrapped( - ::subxt::utils::H256, - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::VersionedMultiAssets, - ), + AssetsTrapped { + hash: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::staging_xcm::v4::location::Location, + assets: runtime_types::xcm::VersionedAssets, + }, #[codec(index = 12)] - VersionChangeNotified( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u32, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + VersionChangeNotified { + destination: runtime_types::staging_xcm::v4::location::Location, + result: ::core::primitive::u32, + cost: runtime_types::staging_xcm::v4::asset::Assets, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 13)] - SupportedVersionChanged( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u32, - ), + SupportedVersionChanged { + location: runtime_types::staging_xcm::v4::location::Location, + version: ::core::primitive::u32, + }, #[codec(index = 14)] - NotifyTargetSendFail( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - runtime_types::xcm::v3::traits::Error, - ), + NotifyTargetSendFail { + location: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + error: runtime_types::xcm::v3::traits::Error, + }, #[codec(index = 15)] - NotifyTargetMigrationFail( - runtime_types::xcm::VersionedMultiLocation, - ::core::primitive::u64, - ), + NotifyTargetMigrationFail { + location: runtime_types::xcm::VersionedLocation, + query_id: ::core::primitive::u64, + }, #[codec(index = 16)] - InvalidQuerierVersion( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - ), + InvalidQuerierVersion { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + }, #[codec(index = 17)] - InvalidQuerier( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + InvalidQuerier { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + expected_querier: runtime_types::staging_xcm::v4::location::Location, + maybe_actual_querier: ::core::option::Option< + runtime_types::staging_xcm::v4::location::Location, >, - ), + }, #[codec(index = 18)] - VersionNotifyStarted( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + VersionNotifyStarted { + destination: runtime_types::staging_xcm::v4::location::Location, + cost: runtime_types::staging_xcm::v4::asset::Assets, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 19)] - VersionNotifyRequested( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + VersionNotifyRequested { + destination: runtime_types::staging_xcm::v4::location::Location, + cost: runtime_types::staging_xcm::v4::asset::Assets, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 20)] - VersionNotifyUnrequested( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + VersionNotifyUnrequested { + destination: runtime_types::staging_xcm::v4::location::Location, + cost: runtime_types::staging_xcm::v4::asset::Assets, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 21)] - FeesPaid( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + FeesPaid { + paying: runtime_types::staging_xcm::v4::location::Location, + fees: runtime_types::staging_xcm::v4::asset::Assets, + }, #[codec(index = 22)] - AssetsClaimed( - ::subxt::utils::H256, - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::VersionedMultiAssets, - ), + AssetsClaimed { + hash: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::staging_xcm::v4::location::Location, + assets: runtime_types::xcm::VersionedAssets, + }, + #[codec(index = 23)] + VersionMigrationFinished { version: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] - Xcm(runtime_types::xcm::v3::multilocation::MultiLocation), + Xcm(runtime_types::staging_xcm::v4::location::Location), #[codec(index = 1)] - Response(runtime_types::xcm::v3::multilocation::MultiLocation), + Response(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { - responder: runtime_types::xcm::VersionedMultiLocation, + responder: runtime_types::xcm::VersionedLocation, maybe_match_querier: - ::core::option::Option, + ::core::option::Option, maybe_notify: ::core::option::Option<(::core::primitive::u8, ::core::primitive::u8)>, timeout: _0, }, #[codec(index = 1)] VersionNotifier { - origin: runtime_types::xcm::VersionedMultiLocation, + origin: runtime_types::xcm::VersionedLocation, is_active: ::core::primitive::bool, }, #[codec(index = 2)] Ready { response: runtime_types::xcm::VersionedResponse, at: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, - pub owner: runtime_types::xcm::VersionedMultiLocation, - pub locker: runtime_types::xcm::VersionedMultiLocation, + pub owner: runtime_types::xcm::VersionedLocation, + pub locker: runtime_types::xcm::VersionedLocation, pub consumers: runtime_types::bounded_collections::bounded_vec::BoundedVec<( _0, ::core::primitive::u128, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -3802,7 +4676,9 @@ pub mod api { MigrateVersionNotifiers, #[codec(index = 2)] NotifyCurrentTargets( - ::core::option::Option<::std::vec::Vec<::core::primitive::u8>>, + ::core::option::Option< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, ), #[codec(index = 3)] MigrateAndNotifyOldTargets, @@ -3811,69 +4687,145 @@ pub mod api { } pub mod polkadot_core_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct CandidateHash(pub ::subxt::utils::H256); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CandidateHash(pub ::subxt::ext::subxt_core::utils::H256); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, - pub msg: ::std::vec::Vec<::core::primitive::u8>, + pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } - pub mod polkadot_parachain { + pub mod polkadot_parachain_primitives { use super::runtime_types; pub mod primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct HeadData(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct HeadData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannelId { - pub sender: runtime_types::polkadot_parachain::primitives::Id, - pub recipient: runtime_types::polkadot_parachain::primitives::Id, + pub sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Id(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ValidationCode(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ValidationCodeHash(pub ::subxt::utils::H256); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidationCode( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidationCodeHash(pub ::subxt::ext::subxt_core::utils::H256); } } pub mod polkadot_primitives { use super::runtime_types; - pub mod v4 { + pub mod v7 { use super::runtime_types; pub mod assignment_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + } + pub mod async_backing { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AsyncBackingParams { + pub max_candidate_depth: ::core::primitive::u32, + pub allowed_ancestry_len: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BackingState<_0, _1> { + pub constraints: runtime_types::polkadot_primitives::v7::async_backing::Constraints< + _1, + >, + pub pending_availability: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::async_backing::CandidatePendingAvailability< + _0, + _1, + >, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CandidatePendingAvailability<_0, _1> { + pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, + pub descriptor: + runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, + pub commitments: + runtime_types::polkadot_primitives::v7::CandidateCommitments<_1>, + pub relay_parent_number: _1, + pub max_pov_size: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Constraints<_0> { + pub min_relay_parent_number: _0, + pub max_pov_size: ::core::primitive::u32, + pub max_code_size: ::core::primitive::u32, + pub ump_remaining: ::core::primitive::u32, + pub ump_remaining_bytes: ::core::primitive::u32, + pub max_ump_num_per_candidate: ::core::primitive::u32, + pub dmp_remaining_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + _0, + >, + pub hrmp_inbound: runtime_types::polkadot_primitives::v7::async_backing::InboundHrmpLimitations< + _0, + >, + pub hrmp_channels_out: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v7::async_backing::OutboundHrmpChannelLimitations, + ), + >, + pub max_hrmp_num_per_candidate: ::core::primitive::u32, + pub required_parent: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + pub validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + pub upgrade_restriction: ::core::option::Option< + runtime_types::polkadot_primitives::v7::UpgradeRestriction, + >, + pub future_validation_code: ::core::option::Option< + ( + _0, + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + ), + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InboundHrmpLimitations<_0> { + pub valid_watermarks: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OutboundHrmpChannelLimitations { + pub bytes_remaining: ::core::primitive::u32, + pub messages_remaining: ::core::primitive::u32, + } } pub mod collator_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 64usize]); } pub mod executor_params { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ExecutorParam { #[codec(index = 1)] MaxMemoryPages(::core::primitive::u32), @@ -3885,252 +4837,370 @@ pub mod api { PrecheckingMaxMemory(::core::primitive::u64), #[codec(index = 5)] PvfPrepTimeout( - runtime_types::polkadot_primitives::v4::PvfPrepTimeoutKind, + runtime_types::polkadot_primitives::v7::PvfPrepKind, ::core::primitive::u64, ), #[codec(index = 6)] PvfExecTimeout( - runtime_types::polkadot_primitives::v4::PvfExecTimeoutKind, + runtime_types::polkadot_primitives::v7::PvfExecKind, ::core::primitive::u64, ), #[codec(index = 7)] WasmExtBulkMemory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutorParams( - pub ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::executor_params::ExecutorParam, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::executor_params::ExecutorParam, >, ); } pub mod signed { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UncheckedSigned<_0, _1> { pub payload: _0, - pub validator_index: runtime_types::polkadot_primitives::v4::ValidatorIndex, + pub validator_index: runtime_types::polkadot_primitives::v7::ValidatorIndex, pub signature: - runtime_types::polkadot_primitives::v4::validator_app::Signature, + runtime_types::polkadot_primitives::v7::validator_app::Signature, #[codec(skip)] - pub __subxt_unused_type_params: ::core::marker::PhantomData<_1>, + pub __ignore: ::core::marker::PhantomData<_1>, + } + } + pub mod slashing { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DisputeProof { + pub time_slot: + runtime_types::polkadot_primitives::v7::slashing::DisputesTimeSlot, + pub kind: + runtime_types::polkadot_primitives::v7::slashing::SlashingOffenceKind, + pub validator_index: runtime_types::polkadot_primitives::v7::ValidatorIndex, + pub validator_id: + runtime_types::polkadot_primitives::v7::validator_app::Public, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DisputesTimeSlot { + pub session_index: ::core::primitive::u32, + pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PendingSlashes { + pub keys: ::subxt::ext::subxt_core::utils::KeyedVec< + runtime_types::polkadot_primitives::v7::ValidatorIndex, + runtime_types::polkadot_primitives::v7::validator_app::Public, + >, + pub kind: + runtime_types::polkadot_primitives::v7::slashing::SlashingOffenceKind, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum SlashingOffenceKind { + #[codec(index = 0)] + ForInvalid, + #[codec(index = 1)] + AgainstValid, } } pub mod validator_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 64usize]); + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct ApprovalVotingParams { + pub max_approval_coalesce_count: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AvailabilityBitfield( - pub ::subxt::utils::bits::DecodedBits< + pub ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BackedCandidate<_0> { pub candidate: - runtime_types::polkadot_primitives::v4::CommittedCandidateReceipt<_0>, - pub validity_votes: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::ValidityAttestation, + runtime_types::polkadot_primitives::v7::CommittedCandidateReceipt<_0>, + pub validity_votes: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::ValidityAttestation, >, - pub validator_indices: ::subxt::utils::bits::DecodedBits< + pub validator_indices: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateCommitments<_0> { pub upward_messages: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, pub horizontal_messages: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::polkadot_core_primitives::OutboundHrmpMessage< - runtime_types::polkadot_parachain::primitives::Id, + runtime_types::polkadot_parachain_primitives::primitives::Id, >, >, pub new_validation_code: ::core::option::Option< - runtime_types::polkadot_parachain::primitives::ValidationCode, + runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, >, - pub head_data: runtime_types::polkadot_parachain::primitives::HeadData, - pub processed_downward_messages: _0, + pub head_data: + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + pub processed_downward_messages: ::core::primitive::u32, pub hrmp_watermark: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateDescriptor<_0> { - pub para_id: runtime_types::polkadot_parachain::primitives::Id, - pub relay_parent: _0, - pub collator: runtime_types::polkadot_primitives::v4::collator_app::Public, - pub persisted_validation_data_hash: _0, - pub pov_hash: _0, - pub erasure_root: _0, - pub signature: runtime_types::polkadot_primitives::v4::collator_app::Signature, - pub para_head: _0, - pub validation_code_hash: - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub relay_parent: _0, + pub collator: runtime_types::polkadot_primitives::v7::collator_app::Public, + pub persisted_validation_data_hash: ::subxt::ext::subxt_core::utils::H256, + pub pov_hash: ::subxt::ext::subxt_core::utils::H256, + pub erasure_root: ::subxt::ext::subxt_core::utils::H256, + pub signature: runtime_types::polkadot_primitives::v7::collator_app::Signature, + pub para_head: ::subxt::ext::subxt_core::utils::H256, + pub validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CandidateEvent<_0> { + #[codec(index = 0)] + CandidateBacked( + runtime_types::polkadot_primitives::v7::CandidateReceipt<_0>, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + runtime_types::polkadot_primitives::v7::GroupIndex, + ), + #[codec(index = 1)] + CandidateIncluded( + runtime_types::polkadot_primitives::v7::CandidateReceipt<_0>, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + runtime_types::polkadot_primitives::v7::GroupIndex, + ), + #[codec(index = 2)] + CandidateTimedOut( + runtime_types::polkadot_primitives::v7::CandidateReceipt<_0>, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateReceipt<_0> { - pub descriptor: runtime_types::polkadot_primitives::v4::CandidateDescriptor<_0>, - pub commitments_hash: _0, + pub descriptor: runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, + pub commitments_hash: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommittedCandidateReceipt<_0> { - pub descriptor: runtime_types::polkadot_primitives::v4::CandidateDescriptor<_0>, - pub commitments: runtime_types::polkadot_primitives::v4::CandidateCommitments< + pub descriptor: runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, + pub commitments: runtime_types::polkadot_primitives::v7::CandidateCommitments< ::core::primitive::u32, >, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct CoreIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum CoreOccupied { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CoreState<_0, _1> { #[codec(index = 0)] - Parathread(runtime_types::polkadot_primitives::v4::ParathreadEntry), + Occupied(runtime_types::polkadot_primitives::v7::OccupiedCore<_0, _1>), #[codec(index = 1)] - Parachain, + Scheduled(runtime_types::polkadot_primitives::v7::ScheduledCore), + #[codec(index = 2)] + Free, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeState<_0> { - pub validators_for: ::subxt::utils::bits::DecodedBits< + pub validators_for: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub validators_against: ::subxt::utils::bits::DecodedBits< + pub validators_against: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, pub start: _0, pub concluded_at: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeStatement { #[codec(index = 0)] - Valid(runtime_types::polkadot_primitives::v4::ValidDisputeStatementKind), + Valid(runtime_types::polkadot_primitives::v7::ValidDisputeStatementKind), #[codec(index = 1)] - Invalid(runtime_types::polkadot_primitives::v4::InvalidDisputeStatementKind), + Invalid(runtime_types::polkadot_primitives::v7::InvalidDisputeStatementKind), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeStatementSet { pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub session: ::core::primitive::u32, - pub statements: ::std::vec::Vec<( - runtime_types::polkadot_primitives::v4::DisputeStatement, - runtime_types::polkadot_primitives::v4::ValidatorIndex, - runtime_types::polkadot_primitives::v4::validator_app::Signature, + pub statements: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_primitives::v7::DisputeStatement, + runtime_types::polkadot_primitives::v7::ValidatorIndex, + runtime_types::polkadot_primitives::v7::validator_app::Signature, )>, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct GroupIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct GroupRotationInfo<_0> { + pub session_start_block: _0, + pub group_rotation_frequency: _0, + pub now: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IndexedVec<_0, _1>( - pub ::std::vec::Vec<_1>, + pub ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, #[codec(skip)] pub ::core::marker::PhantomData<_0>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InherentData<_0> { - pub bitfields: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::signed::UncheckedSigned< - runtime_types::polkadot_primitives::v4::AvailabilityBitfield, - runtime_types::polkadot_primitives::v4::AvailabilityBitfield, + pub bitfields: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::signed::UncheckedSigned< + runtime_types::polkadot_primitives::v7::AvailabilityBitfield, + runtime_types::polkadot_primitives::v7::AvailabilityBitfield, >, >, - pub backed_candidates: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::BackedCandidate< - ::subxt::utils::H256, + pub backed_candidates: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::BackedCandidate< + ::subxt::ext::subxt_core::utils::H256, >, >, - pub disputes: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::DisputeStatementSet, + pub disputes: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::DisputeStatementSet, >, pub parent_header: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum InvalidDisputeStatementKind { #[codec(index = 0)] Explicit, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParathreadClaim( - pub runtime_types::polkadot_parachain::primitives::Id, - pub runtime_types::polkadot_primitives::v4::collator_app::Public, - ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParathreadEntry { - pub claim: runtime_types::polkadot_primitives::v4::ParathreadClaim, - pub retries: ::core::primitive::u32, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PvfCheckStatement { - pub accept: ::core::primitive::bool, - pub subject: runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - pub session_index: ::core::primitive::u32, - pub validator_index: runtime_types::polkadot_primitives::v4::ValidatorIndex, + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OccupiedCore<_0, _1> { + pub next_up_on_available: ::core::option::Option< + runtime_types::polkadot_primitives::v7::ScheduledCore, + >, + pub occupied_since: _1, + pub time_out_at: _1, + pub next_up_on_time_out: ::core::option::Option< + runtime_types::polkadot_primitives::v7::ScheduledCore, + >, + pub availability: ::subxt::ext::subxt_core::utils::bits::DecodedBits< + ::core::primitive::u8, + ::subxt::ext::subxt_core::utils::bits::Lsb0, + >, + pub group_responsible: runtime_types::polkadot_primitives::v7::GroupIndex, + pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, + pub candidate_descriptor: + runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum PvfExecTimeoutKind { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum OccupiedCoreAssumption { + #[codec(index = 0)] + Included, + #[codec(index = 1)] + TimedOut, + #[codec(index = 2)] + Free, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PersistedValidationData<_0, _1> { + pub parent_head: + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + pub relay_parent_number: _1, + pub relay_parent_storage_root: _0, + pub max_pov_size: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PvfCheckStatement { + pub accept: ::core::primitive::bool, + pub subject: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + pub session_index: ::core::primitive::u32, + pub validator_index: runtime_types::polkadot_primitives::v7::ValidatorIndex, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum PvfExecKind { #[codec(index = 0)] Backing, #[codec(index = 1)] Approval, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum PvfPrepTimeoutKind { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum PvfPrepKind { #[codec(index = 0)] Precheck, #[codec(index = 1)] - Lenient, + Prepare, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ScheduledCore { + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub collator: ::core::option::Option< + runtime_types::polkadot_primitives::v7::collator_app::Public, + >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ScrapedOnChainVotes<_0> { pub session: ::core::primitive::u32, - pub backing_validators_per_candidate: ::std::vec::Vec<( - runtime_types::polkadot_primitives::v4::CandidateReceipt<_0>, - ::std::vec::Vec<( - runtime_types::polkadot_primitives::v4::ValidatorIndex, - runtime_types::polkadot_primitives::v4::ValidityAttestation, + pub backing_validators_per_candidate: + ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_primitives::v7::CandidateReceipt<_0>, + ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_primitives::v7::ValidatorIndex, + runtime_types::polkadot_primitives::v7::ValidityAttestation, + )>, )>, - )>, - pub disputes: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::DisputeStatementSet, + pub disputes: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::DisputeStatementSet, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionInfo { - pub active_validator_indices: - ::std::vec::Vec, + pub active_validator_indices: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::ValidatorIndex, + >, pub random_seed: [::core::primitive::u8; 32usize], pub dispute_period: ::core::primitive::u32, - pub validators: runtime_types::polkadot_primitives::v4::IndexedVec< - runtime_types::polkadot_primitives::v4::ValidatorIndex, - runtime_types::polkadot_primitives::v4::validator_app::Public, + pub validators: runtime_types::polkadot_primitives::v7::IndexedVec< + runtime_types::polkadot_primitives::v7::ValidatorIndex, + runtime_types::polkadot_primitives::v7::validator_app::Public, >, - pub discovery_keys: - ::std::vec::Vec, - pub assignment_keys: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::assignment_app::Public, + pub discovery_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_authority_discovery::app::Public, >, - pub validator_groups: runtime_types::polkadot_primitives::v4::IndexedVec< - runtime_types::polkadot_primitives::v4::GroupIndex, - ::std::vec::Vec, + pub assignment_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::assignment_app::Public, + >, + pub validator_groups: runtime_types::polkadot_primitives::v7::IndexedVec< + runtime_types::polkadot_primitives::v7::GroupIndex, + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::ValidatorIndex, + >, >, pub n_cores: ::core::primitive::u32, pub zeroth_delay_tranche_width: ::core::primitive::u32, @@ -4139,52 +5209,69 @@ pub mod api { pub no_show_slots: ::core::primitive::u32, pub needed_approvals: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, #[codec(index = 1)] GoAhead, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeRestriction { #[codec(index = 0)] Present, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ValidDisputeStatementKind { #[codec(index = 0)] Explicit, #[codec(index = 1)] - BackingSeconded(::subxt::utils::H256), + BackingSeconded(::subxt::ext::subxt_core::utils::H256), #[codec(index = 2)] - BackingValid(::subxt::utils::H256), + BackingValid(::subxt::ext::subxt_core::utils::H256), #[codec(index = 3)] ApprovalChecking, + #[codec(index = 4)] + ApprovalCheckingMultipleCandidates( + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_core_primitives::CandidateHash, + >, + ), } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ValidatorIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ValidityAttestation { #[codec(index = 1)] - Implicit(runtime_types::polkadot_primitives::v4::validator_app::Signature), + Implicit(runtime_types::polkadot_primitives::v7::validator_app::Signature), #[codec(index = 2)] - Explicit(runtime_types::polkadot_primitives::v4::validator_app::Signature), + Explicit(runtime_types::polkadot_primitives::v7::validator_app::Signature), } } pub mod vstaging { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct AsyncBackingParams { - pub max_candidate_depth: ::core::primitive::u32, - pub allowed_ancestry_len: ::core::primitive::u32, + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct SchedulerParams<_0> { + pub group_rotation_frequency: _0, + pub paras_availability_period: _0, + pub max_validators_per_core: ::core::option::Option<_0>, + pub lookahead: ::core::primitive::u32, + pub num_cores: ::core::primitive::u32, + pub max_availability_timeouts: ::core::primitive::u32, + pub on_demand_queue_max_size: ::core::primitive::u32, + pub on_demand_target_queue_utilization: + runtime_types::sp_arithmetic::per_things::Perbill, + pub on_demand_fee_variability: + runtime_types::sp_arithmetic::per_things::Perbill, + pub on_demand_base_fee: ::core::primitive::u128, + pub ttl: _0, } } } @@ -4194,10 +5281,27 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] assign_perm_parachain_slot { id : runtime_types :: polkadot_parachain :: primitives :: Id , } , # [codec (index = 1)] assign_temp_parachain_slot { id : runtime_types :: polkadot_parachain :: primitives :: Id , lease_period_start : runtime_types :: polkadot_runtime_common :: assigned_slots :: SlotLeasePeriodStart , } , # [codec (index = 2)] unassign_parachain_slot { id : runtime_types :: polkadot_parachain :: primitives :: Id , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + assign_perm_parachain_slot { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 1)] + assign_temp_parachain_slot { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + lease_period_start: runtime_types::polkadot_runtime_common::assigned_slots::SlotLeasePeriodStart, + }, + #[codec(index = 2)] + unassign_parachain_slot { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + set_max_permanent_slots { slots: ::core::primitive::u32 }, + #[codec(index = 4)] + set_max_temporary_slots { slots: ::core::primitive::u32 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParaDoesntExist, @@ -4218,23 +5322,31 @@ pub mod api { #[codec(index = 8)] MaxTemporarySlotsExceeded, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - PermanentSlotAssigned(runtime_types::polkadot_parachain::primitives::Id), + PermanentSlotAssigned( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), #[codec(index = 1)] - TemporarySlotAssigned(runtime_types::polkadot_parachain::primitives::Id), + TemporarySlotAssigned( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 2)] + MaxPermanentSlotsChanged { slots: ::core::primitive::u32 }, + #[codec(index = 3)] + MaxTemporarySlotsChanged { slots: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParachainTemporarySlot<_0, _1> { pub manager: _0, pub period_begin: _1, pub period_count: _1, pub last_lease: ::core::option::Option<_1>, - pub lease_count: _1, + pub lease_count: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SlotLeasePeriodStart { #[codec(index = 0)] Current, @@ -4246,7 +5358,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] new_auction { @@ -4258,7 +5370,7 @@ pub mod api { #[codec(index = 1)] bid { #[codec(compact)] - para: runtime_types::polkadot_parachain::primitives::Id, + para: runtime_types::polkadot_parachain_primitives::primitives::Id, #[codec(compact)] auction_index: ::core::primitive::u32, #[codec(compact)] @@ -4271,7 +5383,7 @@ pub mod api { #[codec(index = 2)] cancel_auction, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] AuctionInProgress, @@ -4288,7 +5400,7 @@ pub mod api { #[codec(index = 6)] AlreadyLeasedOut, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] AuctionStarted { @@ -4311,14 +5423,14 @@ pub mod api { }, #[codec(index = 4)] ReserveConfiscated { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, leaser: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 5)] BidAccepted { bidder: ::sp_core::crypto::AccountId32, - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, first_slot: ::core::primitive::u32, last_slot: ::core::primitive::u32, @@ -4335,7 +5447,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim { @@ -4361,10 +5473,14 @@ pub mod api { dest: ::sp_core::crypto::AccountId32, ethereum_signature: runtime_types::polkadot_runtime_common::claims::EcdsaSignature, - statement: ::std::vec::Vec<::core::primitive::u8>, + statement: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 3)] - attest { statement: ::std::vec::Vec<::core::primitive::u8> }, + attest { + statement: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 4)] move_claim { old: runtime_types::polkadot_runtime_common::claims::EthereumAddress, @@ -4372,7 +5488,7 @@ pub mod api { maybe_preclaim: ::core::option::Option<::sp_core::crypto::AccountId32>, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidEthereumSignature, @@ -4387,7 +5503,7 @@ pub mod api { #[codec(index = 5)] VestedBalanceExists, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Claimed { @@ -4398,11 +5514,11 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EcdsaSignature(pub [::core::primitive::u8; 65usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EthereumAddress(pub [::core::primitive::u8; 20usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum StatementKind { #[codec(index = 0)] Regular, @@ -4414,12 +5530,12 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] create { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, #[codec(compact)] cap: ::core::primitive::u128, #[codec(compact)] @@ -4434,7 +5550,7 @@ pub mod api { #[codec(index = 1)] contribute { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, #[codec(compact)] value: ::core::primitive::u128, signature: @@ -4444,22 +5560,22 @@ pub mod api { withdraw { who: ::sp_core::crypto::AccountId32, #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 3)] refund { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 4)] dissolve { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 5)] edit { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, #[codec(compact)] cap: ::core::primitive::u128, #[codec(compact)] @@ -4473,20 +5589,20 @@ pub mod api { }, #[codec(index = 6)] add_memo { - index: runtime_types::polkadot_parachain::primitives::Id, - memo: ::std::vec::Vec<::core::primitive::u8>, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, + memo: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 7)] - poke { index: runtime_types::polkadot_parachain::primitives::Id }, + poke { index: runtime_types::polkadot_parachain_primitives::primitives::Id }, #[codec(index = 8)] contribute_all { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, signature: ::core::option::Option, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] FirstPeriodInPast, @@ -4535,53 +5651,63 @@ pub mod api { #[codec(index = 22)] NoLeasePeriod, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Created { para_id: runtime_types::polkadot_parachain::primitives::Id }, + Created { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 1)] Contributed { who: ::sp_core::crypto::AccountId32, - fund_index: runtime_types::polkadot_parachain::primitives::Id, + fund_index: + runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, }, #[codec(index = 2)] Withdrew { who: ::sp_core::crypto::AccountId32, - fund_index: runtime_types::polkadot_parachain::primitives::Id, + fund_index: + runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, }, #[codec(index = 3)] PartiallyRefunded { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 4)] - AllRefunded { para_id: runtime_types::polkadot_parachain::primitives::Id }, + AllRefunded { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 5)] - Dissolved { para_id: runtime_types::polkadot_parachain::primitives::Id }, + Dissolved { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 6)] HandleBidResult { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, result: ::core::result::Result< (), runtime_types::sp_runtime::DispatchError, >, }, #[codec(index = 7)] - Edited { para_id: runtime_types::polkadot_parachain::primitives::Id }, + Edited { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 8)] MemoUpdated { who: ::sp_core::crypto::AccountId32, - para_id: runtime_types::polkadot_parachain::primitives::Id, - memo: ::std::vec::Vec<::core::primitive::u8>, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + memo: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 9)] AddedToNewRaise { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FundInfo<_0, _1, _2, _3> { pub depositor: _0, pub verifier: ::core::option::Option, @@ -4591,69 +5717,111 @@ pub mod api { pub cap: _1, pub last_contribution: runtime_types::polkadot_runtime_common::crowdloan::LastContribution<_2>, - pub first_period: _2, - pub last_period: _2, - pub fund_index: _2, - #[codec(skip)] - pub __subxt_unused_type_params: ::core::marker::PhantomData<_3>, + pub first_period: _3, + pub last_period: _3, + pub fund_index: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum LastContribution<_0> { #[codec(index = 0)] Never, #[codec(index = 1)] - PreEnding(_0), + PreEnding(::core::primitive::u32), #[codec(index = 2)] Ending(_0), } } - pub mod paras_registrar { + pub mod identity_migrator { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - register { - id: runtime_types::polkadot_parachain::primitives::Id, - genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, - validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, - }, + reap_identity { who: ::sp_core::crypto::AccountId32 }, + #[codec(index = 1)] + poke_deposit { who: ::sp_core::crypto::AccountId32 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + IdentityReaped { who: ::sp_core::crypto::AccountId32 }, #[codec(index = 1)] - force_register { + DepositUpdated { who: ::sp_core::crypto::AccountId32, - deposit: ::core::primitive::u128, - id: runtime_types::polkadot_parachain::primitives::Id, - genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, - validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, - }, - #[codec(index = 2)] - deregister { id: runtime_types::polkadot_parachain::primitives::Id }, - #[codec(index = 3)] - swap { - id: runtime_types::polkadot_parachain::primitives::Id, - other: runtime_types::polkadot_parachain::primitives::Id, - }, - #[codec(index = 4)] - remove_lock { para: runtime_types::polkadot_parachain::primitives::Id }, - #[codec(index = 5)] - reserve, - #[codec(index = 6)] - add_lock { para: runtime_types::polkadot_parachain::primitives::Id }, - #[codec(index = 7)] - schedule_code_upgrade { - para: runtime_types::polkadot_parachain::primitives::Id, - new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, - }, - #[codec(index = 8)] - set_current_head { - para: runtime_types::polkadot_parachain::primitives::Id, - new_head: runtime_types::polkadot_parachain::primitives::HeadData, + identity: ::core::primitive::u128, + subs: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + } + } + pub mod impls { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VersionedLocatableAsset { + #[codec(index = 3)] + V3 { + location: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + asset_id: runtime_types::xcm::v3::multiasset::AssetId, + }, + #[codec(index = 4)] + V4 { + location: runtime_types::staging_xcm::v4::location::Location, + asset_id: runtime_types::staging_xcm::v4::asset::AssetId, + }, + } + } + pub mod paras_registrar { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + register { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 1)] + force_register { + who: ::sp_core::crypto::AccountId32, + deposit: ::core::primitive::u128, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 2)] + deregister { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + swap { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + other: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 4)] + remove_lock { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 5)] + reserve, + #[codec(index = 6)] + add_lock { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 7)] + schedule_code_upgrade { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 8)] + set_current_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotRegistered, @@ -4680,76 +5848,80 @@ pub mod api { #[codec(index = 11)] NotReserved, #[codec(index = 12)] - EmptyCode, + InvalidCode, #[codec(index = 13)] CannotSwap, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Registered { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, manager: ::sp_core::crypto::AccountId32, }, #[codec(index = 1)] - Deregistered { para_id: runtime_types::polkadot_parachain::primitives::Id }, + Deregistered { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 2)] Reserved { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, who: ::sp_core::crypto::AccountId32, }, #[codec(index = 3)] Swapped { - para_id: runtime_types::polkadot_parachain::primitives::Id, - other_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + other_id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaInfo<_0, _1> { pub manager: _0, pub deposit: _1, - pub locked: ::core::primitive::bool, + pub locked: ::core::option::Option<::core::primitive::bool>, } } pub mod paras_sudo_wrapper { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] sudo_schedule_para_initialize { - id: runtime_types::polkadot_parachain::primitives::Id, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, genesis: runtime_types::polkadot_runtime_parachains::paras::ParaGenesisArgs, }, #[codec(index = 1)] sudo_schedule_para_cleanup { - id: runtime_types::polkadot_parachain::primitives::Id, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 2)] sudo_schedule_parathread_upgrade { - id: runtime_types::polkadot_parachain::primitives::Id, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 3)] sudo_schedule_parachain_downgrade { - id: runtime_types::polkadot_parachain::primitives::Id, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 4)] sudo_queue_downward_xcm { - id: runtime_types::polkadot_parachain::primitives::Id, - xcm: ::std::boxed::Box, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + xcm: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, }, #[codec(index = 5)] sudo_establish_hrmp_channel { - sender: runtime_types::polkadot_parachain::primitives::Id, - recipient: runtime_types::polkadot_parachain::primitives::Id, + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, max_capacity: ::core::primitive::u32, max_message_size: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParaDoesntExist, @@ -4767,6 +5939,8 @@ pub mod api { CannotUpgrade, #[codec(index = 7)] CannotDowngrade, + #[codec(index = 8)] + TooManyCores, } } } @@ -4774,35 +5948,39 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_lease { - para: runtime_types::polkadot_parachain::primitives::Id, + para: runtime_types::polkadot_parachain_primitives::primitives::Id, leaser: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, period_begin: ::core::primitive::u32, period_count: ::core::primitive::u32, }, #[codec(index = 1)] - clear_all_leases { para: runtime_types::polkadot_parachain::primitives::Id }, + clear_all_leases { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 2)] - trigger_onboard { para: runtime_types::polkadot_parachain::primitives::Id }, + trigger_onboard { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParaNotOnboarding, #[codec(index = 1)] LeaseError, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewLeasePeriod { lease_period: ::core::primitive::u32 }, #[codec(index = 1)] Leased { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, leaser: ::sp_core::crypto::AccountId32, period_begin: ::core::primitive::u32, period_count: ::core::primitive::u32, @@ -4815,76 +5993,393 @@ pub mod api { } pub mod polkadot_runtime_parachains { use super::runtime_types; + pub mod assigner_coretime { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + AssignmentsEmpty, + #[codec(index = 1)] + OverScheduled, + #[codec(index = 2)] + UnderScheduled, + #[codec(index = 3)] + DisallowedInsert, + #[codec(index = 4)] + DuplicateInsert, + #[codec(index = 5)] + AssignmentsNotSorted, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AssignmentState { + pub ratio: + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + pub remaining: + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CoreDescriptor<_0> { + pub queue: ::core::option::Option< + runtime_types::polkadot_runtime_parachains::assigner_coretime::QueueDescriptor< + _0, + >, + >, + pub current_work: ::core::option::Option< + runtime_types::polkadot_runtime_parachains::assigner_coretime::WorkState< + _0, + >, + >, + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct PartsOf57600(pub ::core::primitive::u16); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueueDescriptor<_0> { + pub first: _0, + pub last: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Schedule<_0> { + pub assignments: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::pallet_broker::coretime_interface::CoreAssignment, + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + )>, + pub end_hint: ::core::option::Option<_0>, + pub next_schedule: ::core::option::Option<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct WorkState<_0> { + pub assignments: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::pallet_broker::coretime_interface::CoreAssignment, + runtime_types::polkadot_runtime_parachains::assigner_coretime::AssignmentState, + ), + >, + pub end_hint: ::core::option::Option<_0>, + pub pos: ::core::primitive::u16, + pub step: runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + } + } + pub mod assigner_on_demand { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + place_order_allow_death { + max_amount: ::core::primitive::u128, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 1)] + place_order_keep_alive { + max_amount: ::core::primitive::u128, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + QueueFull, + #[codec(index = 1)] + SpotPriceHigherThanMaxAmount, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + OnDemandOrderPlaced { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + spot_price: ::core::primitive::u128, + }, + #[codec(index = 1)] + SpotTrafficSet { + traffic: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CoreAffinityCount { + pub core_index: runtime_types::polkadot_primitives::v7::CoreIndex, + pub count: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct EnqueuedOrder { + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub idx: + runtime_types::polkadot_runtime_parachains::assigner_on_demand::QueueIndex, + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct QueueIndex(pub ::core::primitive::u32); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueueStatusType { + pub traffic: runtime_types::sp_arithmetic::fixed_point::FixedU128, + pub next_index: runtime_types::polkadot_runtime_parachains::assigner_on_demand::QueueIndex, + pub smallest_index: runtime_types::polkadot_runtime_parachains::assigner_on_demand::QueueIndex, + pub freed_indices: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_runtime_parachains::assigner_on_demand::ReverseQueueIndex, + >, + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct ReverseQueueIndex(pub ::core::primitive::u32); + } pub mod configuration { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_validation_upgrade_cooldown { new : :: core :: primitive :: u32 , } , # [codec (index = 1)] set_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 2)] set_code_retention_period { new : :: core :: primitive :: u32 , } , # [codec (index = 3)] set_max_code_size { new : :: core :: primitive :: u32 , } , # [codec (index = 4)] set_max_pov_size { new : :: core :: primitive :: u32 , } , # [codec (index = 5)] set_max_head_data_size { new : :: core :: primitive :: u32 , } , # [codec (index = 6)] set_parathread_cores { new : :: core :: primitive :: u32 , } , # [codec (index = 7)] set_parathread_retries { new : :: core :: primitive :: u32 , } , # [codec (index = 8)] set_group_rotation_frequency { new : :: core :: primitive :: u32 , } , # [codec (index = 9)] set_chain_availability_period { new : :: core :: primitive :: u32 , } , # [codec (index = 10)] set_thread_availability_period { new : :: core :: primitive :: u32 , } , # [codec (index = 11)] set_scheduling_lookahead { new : :: core :: primitive :: u32 , } , # [codec (index = 12)] set_max_validators_per_core { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 13)] set_max_validators { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 14)] set_dispute_period { new : :: core :: primitive :: u32 , } , # [codec (index = 15)] set_dispute_post_conclusion_acceptance_period { new : :: core :: primitive :: u32 , } , # [codec (index = 18)] set_no_show_slots { new : :: core :: primitive :: u32 , } , # [codec (index = 19)] set_n_delay_tranches { new : :: core :: primitive :: u32 , } , # [codec (index = 20)] set_zeroth_delay_tranche_width { new : :: core :: primitive :: u32 , } , # [codec (index = 21)] set_needed_approvals { new : :: core :: primitive :: u32 , } , # [codec (index = 22)] set_relay_vrf_modulo_samples { new : :: core :: primitive :: u32 , } , # [codec (index = 23)] set_max_upward_queue_count { new : :: core :: primitive :: u32 , } , # [codec (index = 24)] set_max_upward_queue_size { new : :: core :: primitive :: u32 , } , # [codec (index = 25)] set_max_downward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 27)] set_max_upward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 28)] set_max_upward_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 29)] set_hrmp_open_request_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 30)] set_hrmp_sender_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 31)] set_hrmp_recipient_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 32)] set_hrmp_channel_max_capacity { new : :: core :: primitive :: u32 , } , # [codec (index = 33)] set_hrmp_channel_max_total_size { new : :: core :: primitive :: u32 , } , # [codec (index = 34)] set_hrmp_max_parachain_inbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 35)] set_hrmp_max_parathread_inbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 36)] set_hrmp_channel_max_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 37)] set_hrmp_max_parachain_outbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 38)] set_hrmp_max_parathread_outbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 39)] set_hrmp_max_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 41)] set_pvf_checking_enabled { new : :: core :: primitive :: bool , } , # [codec (index = 42)] set_pvf_voting_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 43)] set_minimum_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 44)] set_bypass_consistency_check { new : :: core :: primitive :: bool , } , # [codec (index = 45)] set_async_backing_params { new : runtime_types :: polkadot_primitives :: vstaging :: AsyncBackingParams , } , # [codec (index = 46)] set_executor_params { new : runtime_types :: polkadot_primitives :: v4 :: executor_params :: ExecutorParams , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_validation_upgrade_cooldown { new: ::core::primitive::u32 }, + #[codec(index = 1)] + set_validation_upgrade_delay { new: ::core::primitive::u32 }, + #[codec(index = 2)] + set_code_retention_period { new: ::core::primitive::u32 }, + #[codec(index = 3)] + set_max_code_size { new: ::core::primitive::u32 }, + #[codec(index = 4)] + set_max_pov_size { new: ::core::primitive::u32 }, + #[codec(index = 5)] + set_max_head_data_size { new: ::core::primitive::u32 }, + #[codec(index = 6)] + set_coretime_cores { new: ::core::primitive::u32 }, + #[codec(index = 7)] + set_max_availability_timeouts { new: ::core::primitive::u32 }, + #[codec(index = 8)] + set_group_rotation_frequency { new: ::core::primitive::u32 }, + #[codec(index = 9)] + set_paras_availability_period { new: ::core::primitive::u32 }, + #[codec(index = 11)] + set_scheduling_lookahead { new: ::core::primitive::u32 }, + #[codec(index = 12)] + set_max_validators_per_core { + new: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 13)] + set_max_validators { + new: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 14)] + set_dispute_period { new: ::core::primitive::u32 }, + #[codec(index = 15)] + set_dispute_post_conclusion_acceptance_period { + new: ::core::primitive::u32, + }, + #[codec(index = 18)] + set_no_show_slots { new: ::core::primitive::u32 }, + #[codec(index = 19)] + set_n_delay_tranches { new: ::core::primitive::u32 }, + #[codec(index = 20)] + set_zeroth_delay_tranche_width { new: ::core::primitive::u32 }, + #[codec(index = 21)] + set_needed_approvals { new: ::core::primitive::u32 }, + #[codec(index = 22)] + set_relay_vrf_modulo_samples { new: ::core::primitive::u32 }, + #[codec(index = 23)] + set_max_upward_queue_count { new: ::core::primitive::u32 }, + #[codec(index = 24)] + set_max_upward_queue_size { new: ::core::primitive::u32 }, + #[codec(index = 25)] + set_max_downward_message_size { new: ::core::primitive::u32 }, + #[codec(index = 27)] + set_max_upward_message_size { new: ::core::primitive::u32 }, + #[codec(index = 28)] + set_max_upward_message_num_per_candidate { + new: ::core::primitive::u32, + }, + #[codec(index = 29)] + set_hrmp_open_request_ttl { new: ::core::primitive::u32 }, + #[codec(index = 30)] + set_hrmp_sender_deposit { new: ::core::primitive::u128 }, + #[codec(index = 31)] + set_hrmp_recipient_deposit { new: ::core::primitive::u128 }, + #[codec(index = 32)] + set_hrmp_channel_max_capacity { new: ::core::primitive::u32 }, + #[codec(index = 33)] + set_hrmp_channel_max_total_size { new: ::core::primitive::u32 }, + #[codec(index = 34)] + set_hrmp_max_parachain_inbound_channels { + new: ::core::primitive::u32, + }, + #[codec(index = 36)] + set_hrmp_channel_max_message_size { + new: ::core::primitive::u32, + }, + #[codec(index = 37)] + set_hrmp_max_parachain_outbound_channels { + new: ::core::primitive::u32, + }, + #[codec(index = 39)] + set_hrmp_max_message_num_per_candidate { + new: ::core::primitive::u32, + }, + #[codec(index = 42)] + set_pvf_voting_ttl { new: ::core::primitive::u32 }, + #[codec(index = 43)] + set_minimum_validation_upgrade_delay { + new: ::core::primitive::u32, + }, + #[codec(index = 44)] + set_bypass_consistency_check { new: ::core::primitive::bool }, + #[codec(index = 45)] + set_async_backing_params { + new: runtime_types::polkadot_primitives::v7::async_backing::AsyncBackingParams, + }, + #[codec(index = 46)] + set_executor_params { + new: runtime_types::polkadot_primitives::v7::executor_params::ExecutorParams, + }, + #[codec(index = 47)] + set_on_demand_base_fee { new: ::core::primitive::u128 }, + #[codec(index = 48)] + set_on_demand_fee_variability { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 49)] + set_on_demand_queue_max_size { new: ::core::primitive::u32 }, + #[codec(index = 50)] + set_on_demand_target_queue_utilization { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 51)] + set_on_demand_ttl { new: ::core::primitive::u32 }, + #[codec(index = 52)] + set_minimum_backing_votes { new: ::core::primitive::u32 }, + #[codec(index = 53)] + set_node_feature { + index: ::core::primitive::u8, + value: ::core::primitive::bool, + }, + #[codec(index = 54)] + set_approval_voting_params { + new: runtime_types::polkadot_primitives::v7::ApprovalVotingParams, + }, + #[codec(index = 55)] + set_scheduler_params { + new: runtime_types::polkadot_primitives::vstaging::SchedulerParams< + ::core::primitive::u32, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidNewValue, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HostConfiguration<_0> { - pub max_code_size: _0, - pub max_head_data_size: _0, - pub max_upward_queue_count: _0, - pub max_upward_queue_size: _0, - pub max_upward_message_size: _0, - pub max_upward_message_num_per_candidate: _0, - pub hrmp_max_message_num_per_candidate: _0, + pub max_code_size: ::core::primitive::u32, + pub max_head_data_size: ::core::primitive::u32, + pub max_upward_queue_count: ::core::primitive::u32, + pub max_upward_queue_size: ::core::primitive::u32, + pub max_upward_message_size: ::core::primitive::u32, + pub max_upward_message_num_per_candidate: ::core::primitive::u32, + pub hrmp_max_message_num_per_candidate: ::core::primitive::u32, pub validation_upgrade_cooldown: _0, pub validation_upgrade_delay: _0, pub async_backing_params: - runtime_types::polkadot_primitives::vstaging::AsyncBackingParams, - pub max_pov_size: _0, - pub max_downward_message_size: _0, - pub hrmp_max_parachain_outbound_channels: _0, - pub hrmp_max_parathread_outbound_channels: _0, + runtime_types::polkadot_primitives::v7::async_backing::AsyncBackingParams, + pub max_pov_size: ::core::primitive::u32, + pub max_downward_message_size: ::core::primitive::u32, + pub hrmp_max_parachain_outbound_channels: ::core::primitive::u32, pub hrmp_sender_deposit: ::core::primitive::u128, pub hrmp_recipient_deposit: ::core::primitive::u128, - pub hrmp_channel_max_capacity: _0, - pub hrmp_channel_max_total_size: _0, - pub hrmp_max_parachain_inbound_channels: _0, - pub hrmp_max_parathread_inbound_channels: _0, - pub hrmp_channel_max_message_size: _0, + pub hrmp_channel_max_capacity: ::core::primitive::u32, + pub hrmp_channel_max_total_size: ::core::primitive::u32, + pub hrmp_max_parachain_inbound_channels: ::core::primitive::u32, + pub hrmp_channel_max_message_size: ::core::primitive::u32, pub executor_params: - runtime_types::polkadot_primitives::v4::executor_params::ExecutorParams, + runtime_types::polkadot_primitives::v7::executor_params::ExecutorParams, pub code_retention_period: _0, - pub parathread_cores: _0, - pub parathread_retries: _0, - pub group_rotation_frequency: _0, - pub chain_availability_period: _0, - pub thread_availability_period: _0, - pub scheduling_lookahead: _0, - pub max_validators_per_core: ::core::option::Option<_0>, pub max_validators: ::core::option::Option<_0>, - pub dispute_period: _0, + pub dispute_period: ::core::primitive::u32, pub dispute_post_conclusion_acceptance_period: _0, - pub no_show_slots: _0, - pub n_delay_tranches: _0, - pub zeroth_delay_tranche_width: _0, - pub needed_approvals: _0, - pub relay_vrf_modulo_samples: _0, - pub pvf_checking_enabled: ::core::primitive::bool, - pub pvf_voting_ttl: _0, + pub no_show_slots: ::core::primitive::u32, + pub n_delay_tranches: ::core::primitive::u32, + pub zeroth_delay_tranche_width: ::core::primitive::u32, + pub needed_approvals: ::core::primitive::u32, + pub relay_vrf_modulo_samples: ::core::primitive::u32, + pub pvf_voting_ttl: ::core::primitive::u32, pub minimum_validation_upgrade_delay: _0, + pub minimum_backing_votes: ::core::primitive::u32, + pub node_features: ::subxt::ext::subxt_core::utils::bits::DecodedBits< + ::core::primitive::u8, + ::subxt::ext::subxt_core::utils::bits::Lsb0, + >, + pub approval_voting_params: + runtime_types::polkadot_primitives::v7::ApprovalVotingParams, + pub scheduler_params: + runtime_types::polkadot_primitives::vstaging::SchedulerParams<_0>, + } + } + pub mod coretime { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 1)] + request_core_count { count: ::core::primitive::u16 }, + #[codec(index = 4)] + assign_core { + core: ::core::primitive::u16, + begin: ::core::primitive::u32, + assignment: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::pallet_broker::coretime_interface::CoreAssignment, + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + ), + >, + end_hint: ::core::option::Option<::core::primitive::u32>, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + NotBroker, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + RevenueInfoRequested { when: ::core::primitive::u32 }, + #[codec(index = 1)] + CoreAssigned { core: runtime_types::polkadot_primitives::v7::CoreIndex }, + } } } pub mod disputes { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_unfreeze, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DuplicateDisputeStatementSets, @@ -4905,7 +6400,7 @@ pub mod api { #[codec(index = 8)] UnconfirmedDispute, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] DisputeInitiated( @@ -4925,14 +6420,17 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] report_dispute_lost_unsigned { dispute_proof : :: std :: boxed :: Box < runtime_types :: polkadot_runtime_parachains :: disputes :: slashing :: DisputeProof > , key_owner_proof : :: sp_session :: MembershipProof , } , } - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[codec(index = 0)] + report_dispute_lost_unsigned { + dispute_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_primitives::v7::slashing::DisputeProof, + >, + key_owner_proof: ::sp_session::MembershipProof, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidKeyOwnershipProof, @@ -4948,31 +6446,15 @@ pub mod api { DuplicateSlashingReport, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct DisputeProof { pub time_slot : runtime_types :: polkadot_runtime_parachains :: disputes :: slashing :: DisputesTimeSlot , pub kind : runtime_types :: polkadot_runtime_parachains :: disputes :: slashing :: SlashingOffenceKind , pub validator_index : runtime_types :: polkadot_primitives :: v4 :: ValidatorIndex , pub validator_id : runtime_types :: polkadot_primitives :: v4 :: validator_app :: Public , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct DisputesTimeSlot { - pub session_index: ::core::primitive::u32, - pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PendingSlashes { pub keys : :: subxt :: utils :: KeyedVec < runtime_types :: polkadot_primitives :: v4 :: ValidatorIndex , runtime_types :: polkadot_primitives :: v4 :: validator_app :: Public > , pub kind : runtime_types :: polkadot_runtime_parachains :: disputes :: slashing :: SlashingOffenceKind , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum SlashingOffenceKind { - #[codec(index = 0)] - ForInvalid, - #[codec(index = 1)] - AgainstValid, - } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeLocation { #[codec(index = 0)] Local, #[codec(index = 1)] Remote, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeResult { #[codec(index = 0)] Valid, @@ -4984,48 +6466,60 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - hrmp_init_open_channel { - recipient: runtime_types::polkadot_parachain::primitives::Id, - proposed_max_capacity: ::core::primitive::u32, - proposed_max_message_size: ::core::primitive::u32, - }, - #[codec(index = 1)] - hrmp_accept_open_channel { - sender: runtime_types::polkadot_parachain::primitives::Id, - }, - #[codec(index = 2)] - hrmp_close_channel { - channel_id: - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - }, - #[codec(index = 3)] - force_clean_hrmp { - para: runtime_types::polkadot_parachain::primitives::Id, - inbound: ::core::primitive::u32, - outbound: ::core::primitive::u32, - }, - #[codec(index = 4)] - force_process_hrmp_open { channels: ::core::primitive::u32 }, - #[codec(index = 5)] - force_process_hrmp_close { channels: ::core::primitive::u32 }, - #[codec(index = 6)] - hrmp_cancel_open_request { - channel_id: - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - open_requests: ::core::primitive::u32, - }, - #[codec(index = 7)] - force_open_hrmp_channel { - sender: runtime_types::polkadot_parachain::primitives::Id, - recipient: runtime_types::polkadot_parachain::primitives::Id, - max_capacity: ::core::primitive::u32, - max_message_size: ::core::primitive::u32, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + hrmp_init_open_channel { + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 1)] + hrmp_accept_open_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 2)] + hrmp_close_channel { + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 3)] + force_clean_hrmp { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + num_inbound: ::core::primitive::u32, + num_outbound: ::core::primitive::u32, + }, + #[codec(index = 4)] + force_process_hrmp_open { channels: ::core::primitive::u32 }, + #[codec(index = 5)] + force_process_hrmp_close { channels: ::core::primitive::u32 }, + #[codec(index = 6)] + hrmp_cancel_open_request { + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + open_requests: ::core::primitive::u32, + }, + #[codec(index = 7)] + force_open_hrmp_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + max_capacity: ::core::primitive::u32, + max_message_size: ::core::primitive::u32, + }, + #[codec(index = 8)] + establish_system_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 9)] + poke_channel_deposits { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 10)] + establish_channel_with_system { + target_system_chain: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] OpenHrmpChannelToSelf, @@ -5065,52 +6559,66 @@ pub mod api { OpenHrmpChannelAlreadyConfirmed, #[codec(index = 18)] WrongWitness, + #[codec(index = 19)] + ChannelCreationNotAuthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - OpenChannelRequested( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::Id, - ::core::primitive::u32, - ::core::primitive::u32, - ), - #[codec(index = 1)] - OpenChannelCanceled( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - ), - #[codec(index = 2)] - OpenChannelAccepted( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::Id, - ), - #[codec(index = 3)] - ChannelClosed( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - ), - #[codec(index = 4)] - HrmpChannelForceOpened( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::Id, - ::core::primitive::u32, - ::core::primitive::u32, - ), - } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + OpenChannelRequested { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 1)] + OpenChannelCanceled { + by_parachain: runtime_types::polkadot_parachain_primitives::primitives::Id, + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 2)] + OpenChannelAccepted { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + ChannelClosed { + by_parachain: runtime_types::polkadot_parachain_primitives::primitives::Id, + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 4)] + HrmpChannelForceOpened { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 5)] + HrmpSystemChannelOpened { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 6)] + OpenChannelDepositsUpdated { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, pub max_message_size: ::core::primitive::u32, pub msg_count: ::core::primitive::u32, pub total_size: ::core::primitive::u32, - pub mqc_head: ::core::option::Option<::subxt::utils::H256>, + pub mqc_head: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, pub sender_deposit: ::core::primitive::u128, pub recipient_deposit: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpOpenChannelRequest { pub confirmed: ::core::primitive::bool, pub _age: ::core::primitive::u32, @@ -5124,154 +6632,129 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] - UnsortedOrDuplicateValidatorIndices, + ValidatorIndexOutOfBounds, #[codec(index = 1)] - UnsortedOrDuplicateDisputeStatementSet, + UnscheduledCandidate, #[codec(index = 2)] - UnsortedOrDuplicateBackedCandidates, + HeadDataTooLarge, #[codec(index = 3)] - UnexpectedRelayParent, + PrematureCodeUpgrade, #[codec(index = 4)] - WrongBitfieldSize, + NewCodeTooLarge, #[codec(index = 5)] - BitfieldAllZeros, + DisallowedRelayParent, #[codec(index = 6)] - BitfieldDuplicateOrUnordered, + InvalidAssignment, #[codec(index = 7)] - ValidatorIndexOutOfBounds, - #[codec(index = 8)] - InvalidBitfieldSignature, - #[codec(index = 9)] - UnscheduledCandidate, - #[codec(index = 10)] - CandidateScheduledBeforeParaFree, - #[codec(index = 11)] - WrongCollator, - #[codec(index = 12)] - ScheduledOutOfOrder, - #[codec(index = 13)] - HeadDataTooLarge, - #[codec(index = 14)] - PrematureCodeUpgrade, - #[codec(index = 15)] - NewCodeTooLarge, - #[codec(index = 16)] - CandidateNotInParentContext, - #[codec(index = 17)] InvalidGroupIndex, - #[codec(index = 18)] + #[codec(index = 8)] InsufficientBacking, - #[codec(index = 19)] + #[codec(index = 9)] InvalidBacking, - #[codec(index = 20)] + #[codec(index = 10)] NotCollatorSigned, - #[codec(index = 21)] + #[codec(index = 11)] ValidationDataHashMismatch, - #[codec(index = 22)] + #[codec(index = 12)] IncorrectDownwardMessageHandling, - #[codec(index = 23)] + #[codec(index = 13)] InvalidUpwardMessages, - #[codec(index = 24)] + #[codec(index = 14)] HrmpWatermarkMishandling, - #[codec(index = 25)] + #[codec(index = 15)] InvalidOutboundHrmp, - #[codec(index = 26)] + #[codec(index = 16)] InvalidValidationCodeHash, - #[codec(index = 27)] + #[codec(index = 17)] ParaHeadMismatch, - #[codec(index = 28)] - BitfieldReferencesFreedCore, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] CandidateBacked( - runtime_types::polkadot_primitives::v4::CandidateReceipt< - ::subxt::utils::H256, + runtime_types::polkadot_primitives::v7::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, >, - runtime_types::polkadot_parachain::primitives::HeadData, - runtime_types::polkadot_primitives::v4::CoreIndex, - runtime_types::polkadot_primitives::v4::GroupIndex, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + runtime_types::polkadot_primitives::v7::GroupIndex, ), #[codec(index = 1)] CandidateIncluded( - runtime_types::polkadot_primitives::v4::CandidateReceipt< - ::subxt::utils::H256, + runtime_types::polkadot_primitives::v7::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, >, - runtime_types::polkadot_parachain::primitives::HeadData, - runtime_types::polkadot_primitives::v4::CoreIndex, - runtime_types::polkadot_primitives::v4::GroupIndex, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + runtime_types::polkadot_primitives::v7::GroupIndex, ), #[codec(index = 2)] CandidateTimedOut( - runtime_types::polkadot_primitives::v4::CandidateReceipt< - ::subxt::utils::H256, + runtime_types::polkadot_primitives::v7::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, >, - runtime_types::polkadot_parachain::primitives::HeadData, - runtime_types::polkadot_primitives::v4::CoreIndex, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, ), #[codec(index = 3)] UpwardMessagesReceived { - from: runtime_types::polkadot_parachain::primitives::Id, + from: runtime_types::polkadot_parachain_primitives::primitives::Id, count: ::core::primitive::u32, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AggregateMessageOrigin { #[codec(index = 0)] Ump(runtime_types::polkadot_runtime_parachains::inclusion::UmpQueueId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct AvailabilityBitfieldRecord<_0> { - pub bitfield: runtime_types::polkadot_primitives::v4::AvailabilityBitfield, - pub submitted_at: _0, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidatePendingAvailability<_0, _1> { - pub core: runtime_types::polkadot_primitives::v4::CoreIndex, + pub core: runtime_types::polkadot_primitives::v7::CoreIndex, pub hash: runtime_types::polkadot_core_primitives::CandidateHash, - pub descriptor: runtime_types::polkadot_primitives::v4::CandidateDescriptor<_0>, - pub availability_votes: ::subxt::utils::bits::DecodedBits< + pub descriptor: runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, + pub commitments: + runtime_types::polkadot_primitives::v7::CandidateCommitments<_1>, + pub availability_votes: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub backers: ::subxt::utils::bits::DecodedBits< + pub backers: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, pub relay_parent_number: _1, pub backed_in_number: _1, - pub backing_group: runtime_types::polkadot_primitives::v4::GroupIndex, + pub backing_group: runtime_types::polkadot_primitives::v7::GroupIndex, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UmpQueueId { #[codec(index = 0)] - Para(runtime_types::polkadot_parachain::primitives::Id), + Para(runtime_types::polkadot_parachain_primitives::primitives::Id), } } pub mod initializer { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_approve { up_to: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BufferedSessionChange { - pub validators: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::validator_app::Public, + pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::validator_app::Public, >, - pub queued: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::validator_app::Public, + pub queued: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::validator_app::Public, >, pub session_index: ::core::primitive::u32, } @@ -5280,10 +6763,10 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] - Parachain(runtime_types::polkadot_parachain::primitives::Id), + Parachain(runtime_types::polkadot_parachain_primitives::primitives::Id), } } } @@ -5291,51 +6774,53 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - force_set_current_code { - para: runtime_types::polkadot_parachain::primitives::Id, - new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, - }, - #[codec(index = 1)] - force_set_current_head { - para: runtime_types::polkadot_parachain::primitives::Id, - new_head: runtime_types::polkadot_parachain::primitives::HeadData, - }, - #[codec(index = 2)] - force_schedule_code_upgrade { - para: runtime_types::polkadot_parachain::primitives::Id, - new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, - relay_parent_number: ::core::primitive::u32, - }, - #[codec(index = 3)] - force_note_new_head { - para: runtime_types::polkadot_parachain::primitives::Id, - new_head: runtime_types::polkadot_parachain::primitives::HeadData, - }, - #[codec(index = 4)] - force_queue_action { - para: runtime_types::polkadot_parachain::primitives::Id, - }, - #[codec(index = 5)] - add_trusted_validation_code { - validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, - }, - #[codec(index = 6)] - poke_unused_validation_code { - validation_code_hash: - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - }, - #[codec(index = 7)] - include_pvf_check_statement { - stmt: runtime_types::polkadot_primitives::v4::PvfCheckStatement, - signature: - runtime_types::polkadot_primitives::v4::validator_app::Signature, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + force_set_current_code { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 1)] + force_set_current_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + #[codec(index = 2)] + force_schedule_code_upgrade { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + relay_parent_number: ::core::primitive::u32, + }, + #[codec(index = 3)] + force_note_new_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + #[codec(index = 4)] + force_queue_action { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 5)] + add_trusted_validation_code { + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 6)] + poke_unused_validation_code { + validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + }, + #[codec(index = 7)] + include_pvf_check_statement { + stmt: runtime_types::polkadot_primitives::v7::PvfCheckStatement, + signature: runtime_types::polkadot_primitives::v7::validator_app::Signature, + }, + #[codec(index = 8)] + force_set_most_recent_context { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + context: ::core::primitive::u32, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotRegistered, @@ -5361,47 +6846,58 @@ pub mod api { PvfCheckSubjectInvalid, #[codec(index = 11)] CannotUpgradeCode, + #[codec(index = 12)] + InvalidCode, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - CurrentCodeUpdated(runtime_types::polkadot_parachain::primitives::Id), - #[codec(index = 1)] - CurrentHeadUpdated(runtime_types::polkadot_parachain::primitives::Id), - #[codec(index = 2)] - CodeUpgradeScheduled(runtime_types::polkadot_parachain::primitives::Id), - #[codec(index = 3)] - NewHeadNoted(runtime_types::polkadot_parachain::primitives::Id), - #[codec(index = 4)] - ActionQueued( - runtime_types::polkadot_parachain::primitives::Id, - ::core::primitive::u32, - ), - #[codec(index = 5)] - PvfCheckStarted( - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - runtime_types::polkadot_parachain::primitives::Id, - ), - #[codec(index = 6)] - PvfCheckAccepted( - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - runtime_types::polkadot_parachain::primitives::Id, - ), - #[codec(index = 7)] - PvfCheckRejected( - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - runtime_types::polkadot_parachain::primitives::Id, - ), - } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + CurrentCodeUpdated( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 1)] + CurrentHeadUpdated( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 2)] + CodeUpgradeScheduled( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 3)] + NewHeadNoted( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 4)] + ActionQueued( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ::core::primitive::u32, + ), + #[codec(index = 5)] + PvfCheckStarted( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 6)] + PvfCheckAccepted( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 7)] + PvfCheckRejected( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaGenesisArgs { - pub genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, + pub genesis_head: + runtime_types::polkadot_parachain_primitives::primitives::HeadData, pub validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, + runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, pub para_kind: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ParaLifecycle { #[codec(index = 0)] Onboarding, @@ -5418,54 +6914,63 @@ pub mod api { #[codec(index = 6)] OffboardingParachain, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaPastCodeMeta<_0> { - pub upgrade_times: ::std::vec::Vec< + pub upgrade_times: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::paras::ReplacementTimes<_0>, >, pub last_pruned: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PvfCheckActiveVoteState<_0> { - pub votes_accept: ::subxt::utils::bits::DecodedBits< + pub votes_accept: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub votes_reject: ::subxt::utils::bits::DecodedBits< + pub votes_reject: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub age: _0, + pub age: ::core::primitive::u32, pub created_at: _0, - pub causes: ::std::vec::Vec< + pub causes: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::paras::PvfCheckCause<_0>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PvfCheckCause<_0> { #[codec(index = 0)] - Onboarding(runtime_types::polkadot_parachain::primitives::Id), + Onboarding(runtime_types::polkadot_parachain_primitives::primitives::Id), #[codec(index = 1)] Upgrade { - id: runtime_types::polkadot_parachain::primitives::Id, - relay_parent_number: _0, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + included_at: _0, + upgrade_strategy: + runtime_types::polkadot_runtime_parachains::paras::UpgradeStrategy, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReplacementTimes<_0> { pub expected_at: _0, pub activated_at: _0, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum UpgradeStrategy { + #[codec(index = 0)] + SetGoAheadSignal, + #[codec(index = 1)] + ApplyAtExpectedBlock, + } } pub mod paras_inherent { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] enter { - data: runtime_types::polkadot_primitives::v4::InherentData< + data: runtime_types::polkadot_primitives::v7::InherentData< ::sp_runtime::generic::Header< ::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256, @@ -5473,116 +6978,274 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyInclusionInherents, #[codec(index = 1)] InvalidParentHeader, #[codec(index = 2)] - CandidateConcludedInvalid, - #[codec(index = 3)] InherentOverweight, + #[codec(index = 3)] + CandidatesFilteredDuringExecution, #[codec(index = 4)] - DisputeStatementsUnsortedOrDuplicates, - #[codec(index = 5)] - DisputeInvalid, + UnscheduledCandidate, } } } pub mod scheduler { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum AssignmentKind { - #[codec(index = 0)] - Parachain, - #[codec(index = 1)] - Parathread( - runtime_types::polkadot_primitives::v4::collator_app::Public, - ::core::primitive::u32, - ), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct CoreAssignment { - pub core: runtime_types::polkadot_primitives::v4::CoreIndex, - pub para_id: runtime_types::polkadot_parachain::primitives::Id, - pub kind: runtime_types::polkadot_runtime_parachains::scheduler::AssignmentKind, - pub group_idx: runtime_types::polkadot_primitives::v4::GroupIndex, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParathreadClaimQueue { - pub queue: ::std::vec::Vec< - runtime_types::polkadot_runtime_parachains::scheduler::QueuedParathread, - >, - pub next_core_offset: ::core::primitive::u32, + pub mod common { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Assignment { + #[codec(index = 0)] + Pool { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + core_index: runtime_types::polkadot_primitives::v7::CoreIndex, + }, + #[codec(index = 1)] + Bulk(runtime_types::polkadot_parachain_primitives::primitives::Id), + } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct QueuedParathread { - pub claim: runtime_types::polkadot_primitives::v4::ParathreadEntry, - pub core_offset: ::core::primitive::u32, + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CoreOccupied<_0> { + #[codec(index = 0)] + Free, + #[codec(index = 1)] + Paras( + runtime_types::polkadot_runtime_parachains::scheduler::pallet::ParasEntry< + _0, + >, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ParasEntry<_0> { + pub assignment: runtime_types::polkadot_runtime_parachains::scheduler::common::Assignment, + pub availability_timeouts: ::core::primitive::u32, + pub ttl: _0, + } } } pub mod shared { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AllowedRelayParentsTracker<_0, _1> { + pub buffer: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _0)>, + pub latest_number: _1, + } } } pub mod rococo_runtime { use super::runtime_types; + pub mod dynamic_params { + use super::runtime_types; + pub mod nis { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MinBid; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Parameters { + #[codec(index = 0)] + Target( + runtime_types::rococo_runtime::dynamic_params::nis::Target, + ::core::option::Option< + runtime_types::sp_arithmetic::per_things::Perquintill, + >, + ), + #[codec(index = 1)] + MinBid( + runtime_types::rococo_runtime::dynamic_params::nis::MinBid, + ::core::option::Option<::core::primitive::u128>, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ParametersKey { + #[codec(index = 0)] + Target(runtime_types::rococo_runtime::dynamic_params::nis::Target), + #[codec(index = 1)] + MinBid(runtime_types::rococo_runtime::dynamic_params::nis::MinBid), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ParametersValue { + #[codec(index = 0)] + Target(runtime_types::sp_arithmetic::per_things::Perquintill), + #[codec(index = 1)] + MinBid(::core::primitive::u128), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Target; + } + pub mod preimage { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BaseDeposit; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ByteDeposit; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Parameters { + #[codec(index = 0)] + BaseDeposit( + runtime_types::rococo_runtime::dynamic_params::preimage::BaseDeposit, + ::core::option::Option<::core::primitive::u128>, + ), + #[codec(index = 1)] + ByteDeposit( + runtime_types::rococo_runtime::dynamic_params::preimage::ByteDeposit, + ::core::option::Option<::core::primitive::u128>, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ParametersKey { + #[codec(index = 0)] + BaseDeposit( + runtime_types::rococo_runtime::dynamic_params::preimage::BaseDeposit, + ), + #[codec(index = 1)] + ByteDeposit( + runtime_types::rococo_runtime::dynamic_params::preimage::ByteDeposit, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ParametersValue { + #[codec(index = 0)] + BaseDeposit(::core::primitive::u128), + #[codec(index = 1)] + ByteDeposit(::core::primitive::u128), + } + } + } + pub mod governance { + use super::runtime_types; + pub mod origins { + use super::runtime_types; + pub mod pallet_custom_origins { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Origin { + #[codec(index = 0)] + StakingAdmin, + #[codec(index = 1)] + Treasurer, + #[codec(index = 2)] + FellowshipAdmin, + #[codec(index = 3)] + GeneralAdmin, + #[codec(index = 4)] + AuctionAdmin, + #[codec(index = 5)] + LeaseAdmin, + #[codec(index = 6)] + ReferendumCanceller, + #[codec(index = 7)] + ReferendumKiller, + #[codec(index = 8)] + SmallTipper, + #[codec(index = 9)] + BigTipper, + #[codec(index = 10)] + SmallSpender, + #[codec(index = 11)] + MediumSpender, + #[codec(index = 12)] + BigSpender, + #[codec(index = 13)] + WhitelistedCaller, + #[codec(index = 14)] + FellowshipInitiates, + #[codec(index = 15)] + Fellows, + #[codec(index = 16)] + FellowshipExperts, + #[codec(index = 17)] + FellowshipMasters, + #[codec(index = 18)] + Fellowship1Dan, + #[codec(index = 19)] + Fellowship2Dan, + #[codec(index = 20)] + Fellowship3Dan, + #[codec(index = 21)] + Fellowship4Dan, + #[codec(index = 22)] + Fellowship5Dan, + #[codec(index = 23)] + Fellowship6Dan, + #[codec(index = 24)] + Fellowship7Dan, + #[codec(index = 25)] + Fellowship8Dan, + #[codec(index = 26)] + Fellowship9Dan, + } + } + } + } pub mod validator_manager { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] register_validators { - validators: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + validators: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, #[codec(index = 1)] deregister_validators { - validators: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + validators: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - ValidatorsRegistered(::std::vec::Vec<::sp_core::crypto::AccountId32>), + ValidatorsRegistered( + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + ), #[codec(index = 1)] - ValidatorsDeregistered(::std::vec::Vec<::sp_core::crypto::AccountId32>), + ValidatorsDeregistered( + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + ), } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginCaller { #[codec(index = 0)] - system( - runtime_types::frame_support::dispatch::RawOrigin< - ::sp_core::crypto::AccountId32, - >, - ), - #[codec(index = 14)] - Council( - runtime_types::pallet_collective::RawOrigin<::sp_core::crypto::AccountId32>, - ), - #[codec(index = 15)] - TechnicalCommittee( - runtime_types::pallet_collective::RawOrigin<::sp_core::crypto::AccountId32>, - ), - #[codec(index = 50)] - ParachainsOrigin( - runtime_types::polkadot_runtime_parachains::origin::pallet::Origin, - ), - #[codec(index = 99)] - XcmPallet(runtime_types::pallet_xcm::pallet::Origin), - #[codec(index = 5)] - Void(runtime_types::sp_core::Void), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + system( + runtime_types::frame_support::dispatch::RawOrigin< + ::sp_core::crypto::AccountId32, + >, + ), + #[codec(index = 43)] + Origins( + runtime_types::rococo_runtime::governance::origins::pallet_custom_origins::Origin, + ), + #[codec(index = 50)] + ParachainsOrigin( + runtime_types::polkadot_runtime_parachains::origin::pallet::Origin, + ), + #[codec(index = 99)] + XcmPallet(runtime_types::pallet_xcm::pallet::Origin), + #[codec(index = 4)] + Void(runtime_types::sp_core::Void), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProxyType { #[codec(index = 0)] Any, @@ -5598,10 +7261,12 @@ pub mod api { Auction, #[codec(index = 6)] Society, + #[codec(index = 7)] + OnDemandOrdering, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -5613,24 +7278,24 @@ pub mod api { Indices(runtime_types::pallet_indices::pallet::Call), #[codec(index = 4)] Balances(runtime_types::pallet_balances::pallet::Call), + #[codec(index = 6)] + Parameters(runtime_types::pallet_parameters::pallet::Call), #[codec(index = 8)] Session(runtime_types::pallet_session::pallet::Call), #[codec(index = 10)] Grandpa(runtime_types::pallet_grandpa::pallet::Call), - #[codec(index = 11)] - ImOnline(runtime_types::pallet_im_online::pallet::Call), - #[codec(index = 13)] - Democracy(runtime_types::pallet_democracy::pallet::Call), - #[codec(index = 14)] - Council(runtime_types::pallet_collective::pallet::Call), - #[codec(index = 15)] - TechnicalCommittee(runtime_types::pallet_collective::pallet::Call), - #[codec(index = 16)] - PhragmenElection(runtime_types::pallet_elections_phragmen::pallet::Call), - #[codec(index = 17)] - TechnicalMembership(runtime_types::pallet_membership::pallet::Call), #[codec(index = 18)] Treasury(runtime_types::pallet_treasury::pallet::Call), + #[codec(index = 20)] + ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Call), + #[codec(index = 21)] + Referenda(runtime_types::pallet_referenda::pallet::Call), + #[codec(index = 22)] + FellowshipCollective(runtime_types::pallet_ranked_collective::pallet::Call), + #[codec(index = 23)] + FellowshipReferenda(runtime_types::pallet_referenda::pallet::Call), + #[codec(index = 44)] + Whitelist(runtime_types::pallet_whitelist::pallet::Call), #[codec(index = 19)] Claims(runtime_types::polkadot_runtime_common::claims::pallet::Call), #[codec(index = 24)] @@ -5651,12 +7316,12 @@ pub mod api { Multisig(runtime_types::pallet_multisig::pallet::Call), #[codec(index = 32)] Preimage(runtime_types::pallet_preimage::pallet::Call), + #[codec(index = 39)] + AssetRate(runtime_types::pallet_asset_rate::pallet::Call), #[codec(index = 35)] Bounties(runtime_types::pallet_bounties::pallet::Call), #[codec(index = 40)] ChildBounties(runtime_types::pallet_child_bounties::pallet::Call), - #[codec(index = 36)] - Tips(runtime_types::pallet_tips::pallet::Call), #[codec(index = 38)] Nis(runtime_types::pallet_nis::pallet::Call), #[codec(index = 45)] @@ -5687,6 +7352,10 @@ pub mod api { ), #[codec(index = 64)] MessageQueue(runtime_types::pallet_message_queue::pallet::Call), + #[codec(index = 66)] + OnDemandAssignmentProvider( + runtime_types::polkadot_runtime_parachains::assigner_on_demand::pallet::Call, + ), #[codec(index = 70)] Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Call), #[codec(index = 71)] @@ -5695,10 +7364,16 @@ pub mod api { Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Call), #[codec(index = 73)] Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Call), + #[codec(index = 74)] + Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Call), #[codec(index = 99)] XcmPallet(runtime_types::pallet_xcm::pallet::Call), #[codec(index = 240)] Beefy(runtime_types::pallet_beefy::pallet::Call), + #[codec(index = 248)] + IdentityMigrator( + runtime_types::polkadot_runtime_common::identity_migrator::pallet::Call, + ), #[codec(index = 250)] ParasSudoWrapper( runtime_types::polkadot_runtime_common::paras_sudo_wrapper::pallet::Call, @@ -5709,10 +7384,125 @@ pub mod api { ValidatorManager(runtime_types::rococo_runtime::validator_manager::pallet::Call), #[codec(index = 254)] StateTrieMigration(runtime_types::pallet_state_trie_migration::pallet::Call), + #[codec(index = 249)] + RootTesting(runtime_types::pallet_root_testing::pallet::Call), #[codec(index = 255)] Sudo(runtime_types::pallet_sudo::pallet::Call), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RuntimeError { + #[codec(index = 0)] + System(runtime_types::frame_system::pallet::Error), + #[codec(index = 1)] + Babe(runtime_types::pallet_babe::pallet::Error), + #[codec(index = 3)] + Indices(runtime_types::pallet_indices::pallet::Error), + #[codec(index = 4)] + Balances(runtime_types::pallet_balances::pallet::Error), + #[codec(index = 8)] + Session(runtime_types::pallet_session::pallet::Error), + #[codec(index = 10)] + Grandpa(runtime_types::pallet_grandpa::pallet::Error), + #[codec(index = 18)] + Treasury(runtime_types::pallet_treasury::pallet::Error), + #[codec(index = 20)] + ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Error), + #[codec(index = 21)] + Referenda(runtime_types::pallet_referenda::pallet::Error), + #[codec(index = 22)] + FellowshipCollective(runtime_types::pallet_ranked_collective::pallet::Error), + #[codec(index = 23)] + FellowshipReferenda(runtime_types::pallet_referenda::pallet::Error), + #[codec(index = 44)] + Whitelist(runtime_types::pallet_whitelist::pallet::Error), + #[codec(index = 19)] + Claims(runtime_types::polkadot_runtime_common::claims::pallet::Error), + #[codec(index = 24)] + Utility(runtime_types::pallet_utility::pallet::Error), + #[codec(index = 25)] + Identity(runtime_types::pallet_identity::pallet::Error), + #[codec(index = 26)] + Society(runtime_types::pallet_society::pallet::Error), + #[codec(index = 27)] + Recovery(runtime_types::pallet_recovery::pallet::Error), + #[codec(index = 28)] + Vesting(runtime_types::pallet_vesting::pallet::Error), + #[codec(index = 29)] + Scheduler(runtime_types::pallet_scheduler::pallet::Error), + #[codec(index = 30)] + Proxy(runtime_types::pallet_proxy::pallet::Error), + #[codec(index = 31)] + Multisig(runtime_types::pallet_multisig::pallet::Error), + #[codec(index = 32)] + Preimage(runtime_types::pallet_preimage::pallet::Error), + #[codec(index = 39)] + AssetRate(runtime_types::pallet_asset_rate::pallet::Error), + #[codec(index = 35)] + Bounties(runtime_types::pallet_bounties::pallet::Error), + #[codec(index = 40)] + ChildBounties(runtime_types::pallet_child_bounties::pallet::Error), + #[codec(index = 38)] + Nis(runtime_types::pallet_nis::pallet::Error), + #[codec(index = 45)] + NisCounterpartBalances(runtime_types::pallet_balances::pallet::Error), + #[codec(index = 51)] + Configuration( + runtime_types::polkadot_runtime_parachains::configuration::pallet::Error, + ), + #[codec(index = 53)] + ParaInclusion(runtime_types::polkadot_runtime_parachains::inclusion::pallet::Error), + #[codec(index = 54)] + ParaInherent( + runtime_types::polkadot_runtime_parachains::paras_inherent::pallet::Error, + ), + #[codec(index = 56)] + Paras(runtime_types::polkadot_runtime_parachains::paras::pallet::Error), + #[codec(index = 60)] + Hrmp(runtime_types::polkadot_runtime_parachains::hrmp::pallet::Error), + #[codec(index = 62)] + ParasDisputes(runtime_types::polkadot_runtime_parachains::disputes::pallet::Error), + #[codec(index = 63)] + ParasSlashing( + runtime_types::polkadot_runtime_parachains::disputes::slashing::pallet::Error, + ), + #[codec(index = 64)] + MessageQueue(runtime_types::pallet_message_queue::pallet::Error), + #[codec(index = 66)] + OnDemandAssignmentProvider( + runtime_types::polkadot_runtime_parachains::assigner_on_demand::pallet::Error, + ), + #[codec(index = 68)] + CoretimeAssignmentProvider( + runtime_types::polkadot_runtime_parachains::assigner_coretime::pallet::Error, + ), + #[codec(index = 70)] + Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Error), + #[codec(index = 71)] + Slots(runtime_types::polkadot_runtime_common::slots::pallet::Error), + #[codec(index = 72)] + Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Error), + #[codec(index = 73)] + Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Error), + #[codec(index = 74)] + Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Error), + #[codec(index = 99)] + XcmPallet(runtime_types::pallet_xcm::pallet::Error), + #[codec(index = 240)] + Beefy(runtime_types::pallet_beefy::pallet::Error), + #[codec(index = 250)] + ParasSudoWrapper( + runtime_types::polkadot_runtime_common::paras_sudo_wrapper::pallet::Error, + ), + #[codec(index = 251)] + AssignedSlots( + runtime_types::polkadot_runtime_common::assigned_slots::pallet::Error, + ), + #[codec(index = 254)] + StateTrieMigration(runtime_types::pallet_state_trie_migration::pallet::Error), + #[codec(index = 255)] + Sudo(runtime_types::pallet_sudo::pallet::Error), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -5720,6 +7510,8 @@ pub mod api { Indices(runtime_types::pallet_indices::pallet::Event), #[codec(index = 4)] Balances(runtime_types::pallet_balances::pallet::Event), + #[codec(index = 6)] + Parameters(runtime_types::pallet_parameters::pallet::Event), #[codec(index = 33)] TransactionPayment(runtime_types::pallet_transaction_payment::pallet::Event), #[codec(index = 7)] @@ -5728,20 +7520,18 @@ pub mod api { Session(runtime_types::pallet_session::pallet::Event), #[codec(index = 10)] Grandpa(runtime_types::pallet_grandpa::pallet::Event), - #[codec(index = 11)] - ImOnline(runtime_types::pallet_im_online::pallet::Event), - #[codec(index = 13)] - Democracy(runtime_types::pallet_democracy::pallet::Event), - #[codec(index = 14)] - Council(runtime_types::pallet_collective::pallet::Event), - #[codec(index = 15)] - TechnicalCommittee(runtime_types::pallet_collective::pallet::Event), - #[codec(index = 16)] - PhragmenElection(runtime_types::pallet_elections_phragmen::pallet::Event), - #[codec(index = 17)] - TechnicalMembership(runtime_types::pallet_membership::pallet::Event), #[codec(index = 18)] Treasury(runtime_types::pallet_treasury::pallet::Event), + #[codec(index = 20)] + ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Event), + #[codec(index = 21)] + Referenda(runtime_types::pallet_referenda::pallet::Event1), + #[codec(index = 22)] + FellowshipCollective(runtime_types::pallet_ranked_collective::pallet::Event), + #[codec(index = 23)] + FellowshipReferenda(runtime_types::pallet_referenda::pallet::Event2), + #[codec(index = 44)] + Whitelist(runtime_types::pallet_whitelist::pallet::Event), #[codec(index = 19)] Claims(runtime_types::polkadot_runtime_common::claims::pallet::Event), #[codec(index = 24)] @@ -5762,12 +7552,12 @@ pub mod api { Multisig(runtime_types::pallet_multisig::pallet::Event), #[codec(index = 32)] Preimage(runtime_types::pallet_preimage::pallet::Event), + #[codec(index = 39)] + AssetRate(runtime_types::pallet_asset_rate::pallet::Event), #[codec(index = 35)] Bounties(runtime_types::pallet_bounties::pallet::Event), #[codec(index = 40)] ChildBounties(runtime_types::pallet_child_bounties::pallet::Event), - #[codec(index = 36)] - Tips(runtime_types::pallet_tips::pallet::Event), #[codec(index = 38)] Nis(runtime_types::pallet_nis::pallet::Event), #[codec(index = 45)] @@ -5782,6 +7572,10 @@ pub mod api { ParasDisputes(runtime_types::polkadot_runtime_parachains::disputes::pallet::Event), #[codec(index = 64)] MessageQueue(runtime_types::pallet_message_queue::pallet::Event), + #[codec(index = 66)] + OnDemandAssignmentProvider( + runtime_types::polkadot_runtime_parachains::assigner_on_demand::pallet::Event, + ), #[codec(index = 70)] Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Event), #[codec(index = 71)] @@ -5790,8 +7584,14 @@ pub mod api { Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Event), #[codec(index = 73)] Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Event), + #[codec(index = 74)] + Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Event), #[codec(index = 99)] XcmPallet(runtime_types::pallet_xcm::pallet::Event), + #[codec(index = 248)] + IdentityMigrator( + runtime_types::polkadot_runtime_common::identity_migrator::pallet::Event, + ), #[codec(index = 251)] AssignedSlots( runtime_types::polkadot_runtime_common::assigned_slots::pallet::Event, @@ -5800,33 +7600,61 @@ pub mod api { ValidatorManager(runtime_types::rococo_runtime::validator_manager::pallet::Event), #[codec(index = 254)] StateTrieMigration(runtime_types::pallet_state_trie_migration::pallet::Event), + #[codec(index = 249)] + RootTesting(runtime_types::pallet_root_testing::pallet::Event), #[codec(index = 255)] Sudo(runtime_types::pallet_sudo::pallet::Event), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeHoldReason { + #[codec(index = 32)] + Preimage(runtime_types::pallet_preimage::pallet::HoldReason), #[codec(index = 38)] Nis(runtime_types::pallet_nis::pallet::HoldReason), + #[codec(index = 254)] + StateTrieMigration(runtime_types::pallet_state_trie_migration::pallet::HoldReason), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RuntimeParameters { + #[codec(index = 0)] + Nis(runtime_types::rococo_runtime::dynamic_params::nis::Parameters), + #[codec(index = 1)] + Preimage(runtime_types::rococo_runtime::dynamic_params::preimage::Parameters), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RuntimeParametersKey { + #[codec(index = 0)] + Nis(runtime_types::rococo_runtime::dynamic_params::nis::ParametersKey), + #[codec(index = 1)] + Preimage(runtime_types::rococo_runtime::dynamic_params::preimage::ParametersKey), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RuntimeParametersValue { + #[codec(index = 0)] + Nis(runtime_types::rococo_runtime::dynamic_params::nis::ParametersValue), + #[codec(index = 1)] + Preimage(runtime_types::rococo_runtime::dynamic_params::preimage::ParametersValue), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionKeys { pub grandpa: runtime_types::sp_consensus_grandpa::app::Public, pub babe: runtime_types::sp_consensus_babe::app::Public, - pub im_online: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, - pub para_validator: runtime_types::polkadot_primitives::v4::validator_app::Public, - pub para_assignment: runtime_types::polkadot_primitives::v4::assignment_app::Public, + pub para_validator: runtime_types::polkadot_primitives::v7::validator_app::Public, + pub para_assignment: runtime_types::polkadot_primitives::v7::assignment_app::Public, pub authority_discovery: runtime_types::sp_authority_discovery::app::Public, - pub beefy: runtime_types::sp_consensus_beefy::crypto::Public, + pub beefy: runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, } } pub mod sp_arithmetic { use super::runtime_types; pub mod fixed_point { use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct FixedI64(pub ::core::primitive::i64); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -5836,34 +7664,34 @@ pub mod api { pub mod per_things { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] - pub struct Percent(pub ::core::primitive::u8); + pub struct Perbill(pub ::core::primitive::u32); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Permill(pub ::core::primitive::u32); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Perquintill(pub ::core::primitive::u64); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -5877,20 +7705,20 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); } } pub mod sp_consensus_babe { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); } pub mod digests { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NextConfigDescriptor { #[codec(index = 1)] V1 { @@ -5898,7 +7726,7 @@ pub mod api { allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PreDigest { #[codec(index = 1)] Primary(runtime_types::sp_consensus_babe::digests::PrimaryPreDigest), @@ -5909,25 +7737,25 @@ pub mod api { #[codec(index = 3)] SecondaryVRF(runtime_types::sp_consensus_babe::digests::SecondaryVRFPreDigest), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PrimaryPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SecondaryPlainPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SecondaryVRFPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AllowedSlots { #[codec(index = 0)] PrimarySlots, @@ -5936,55 +7764,92 @@ pub mod api { #[codec(index = 2)] PrimaryAndSecondaryVRFSlots, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BabeConfiguration { + pub slot_duration: ::core::primitive::u64, + pub epoch_length: ::core::primitive::u64, + pub c: (::core::primitive::u64, ::core::primitive::u64), + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::sp_consensus_babe::app::Public, + ::core::primitive::u64, + )>, + pub randomness: [::core::primitive::u8; 32usize], + pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BabeEpochConfiguration { pub c: (::core::primitive::u64, ::core::primitive::u64), pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Epoch { + pub epoch_index: ::core::primitive::u64, + pub start_slot: runtime_types::sp_consensus_slots::Slot, + pub duration: ::core::primitive::u64, + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::sp_consensus_babe::app::Public, + ::core::primitive::u64, + )>, + pub randomness: [::core::primitive::u8; 32usize], + pub config: runtime_types::sp_consensus_babe::BabeEpochConfiguration, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } pub mod sp_consensus_beefy { use super::runtime_types; pub mod commitment { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commitment<_0> { pub payload: runtime_types::sp_consensus_beefy::payload::Payload, pub block_number: _0, pub validator_set_id: ::core::primitive::u64, } } - pub mod crypto { + pub mod ecdsa_crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::ecdsa::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::ecdsa::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 33usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 65usize]); } pub mod mmr { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BeefyAuthoritySet<_0> { pub id: ::core::primitive::u64, pub len: ::core::primitive::u32, - pub root: _0, + pub keyset_commitment: _0, } } pub mod payload { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Payload( - pub ::std::vec::Vec<( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<( [::core::primitive::u8; 2usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct EquivocationProof<_0, _1, _2> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DoubleVotingProof<_0, _1, _2> { pub first: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, pub second: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidatorSet<_0> { + pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub id: ::core::primitive::u64, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VoteMessage<_0, _1, _2> { pub commitment: runtime_types::sp_consensus_beefy::commitment::Commitment<_0>, pub id: _1, @@ -5995,12 +7860,12 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::ed25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 64usize]); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Equivocation<_0, _1> { #[codec(index = 0)] Prevote( @@ -6009,259 +7874,864 @@ pub mod api { runtime_types::finality_grandpa::Prevote<_0, _1>, runtime_types::sp_consensus_grandpa::app::Signature, >, - ), - #[codec(index = 1)] - Precommit( - runtime_types::finality_grandpa::Equivocation< - runtime_types::sp_consensus_grandpa::app::Public, - runtime_types::finality_grandpa::Precommit<_0, _1>, - runtime_types::sp_consensus_grandpa::app::Signature, + ), + #[codec(index = 1)] + Precommit( + runtime_types::finality_grandpa::Equivocation< + runtime_types::sp_consensus_grandpa::app::Public, + runtime_types::finality_grandpa::Precommit<_0, _1>, + runtime_types::sp_consensus_grandpa::app::Signature, + >, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + } + pub mod sp_consensus_slots { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct EquivocationProof<_0, _1> { + pub offender: _1, + pub slot: runtime_types::sp_consensus_slots::Slot, + pub first_header: _0, + pub second_header: _0, + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct Slot(pub ::core::primitive::u64); + } + pub mod sp_core { + use super::runtime_types; + pub mod crypto { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); + } + pub mod sr25519 { + use super::runtime_types; + pub mod vrf { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct VrfSignature { + pub pre_output: [::core::primitive::u8; 32usize], + pub proof: [::core::primitive::u8; 64usize], + } + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueMetadata( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Void {} + } + pub mod sp_inherents { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CheckInherentsResult { + pub okay: ::core::primitive::bool, + pub fatal_error: ::core::primitive::bool, + pub errors: runtime_types::sp_inherents::InherentData, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InherentData { + pub data: ::subxt::ext::subxt_core::utils::KeyedVec< + [::core::primitive::u8; 8usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + } + } + pub mod sp_mmr_primitives { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct EncodableOpaqueLeaf( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + InvalidNumericOp, + #[codec(index = 1)] + Push, + #[codec(index = 2)] + GetRoot, + #[codec(index = 3)] + Commit, + #[codec(index = 4)] + GenerateProof, + #[codec(index = 5)] + Verify, + #[codec(index = 6)] + LeafNotFound, + #[codec(index = 7)] + PalletNotIncluded, + #[codec(index = 8)] + InvalidLeafIndex, + #[codec(index = 9)] + InvalidBestKnownBlock, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct LeafProof<_0> { + pub leaf_indices: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>, + pub leaf_count: ::core::primitive::u64, + pub items: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + } + } + pub mod sp_runtime { + use super::runtime_types; + pub mod generic { + use super::runtime_types; + pub mod block { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Block<_0, _1> { + pub header: _0, + pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + } + } + pub mod digest { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum DigestItem { + #[codec(index = 6)] + PreRuntime( + [::core::primitive::u8; 4usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ), + #[codec(index = 4)] + Consensus( + [::core::primitive::u8; 4usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ), + #[codec(index = 5)] + Seal( + [::core::primitive::u8; 4usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ), + #[codec(index = 0)] + Other(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), + #[codec(index = 8)] + RuntimeEnvironmentUpdated, + } + } + } + pub mod transaction_validity { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum InvalidTransaction { + #[codec(index = 0)] + Call, + #[codec(index = 1)] + Payment, + #[codec(index = 2)] + Future, + #[codec(index = 3)] + Stale, + #[codec(index = 4)] + BadProof, + #[codec(index = 5)] + AncientBirthBlock, + #[codec(index = 6)] + ExhaustsResources, + #[codec(index = 7)] + Custom(::core::primitive::u8), + #[codec(index = 8)] + BadMandatory, + #[codec(index = 9)] + MandatoryValidation, + #[codec(index = 10)] + BadSigner, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionSource { + #[codec(index = 0)] + InBlock, + #[codec(index = 1)] + Local, + #[codec(index = 2)] + External, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionValidityError { + #[codec(index = 0)] + Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), + #[codec(index = 1)] + Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum UnknownTransaction { + #[codec(index = 0)] + CannotLookup, + #[codec(index = 1)] + NoUnsignedValidator, + #[codec(index = 2)] + Custom(::core::primitive::u8), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidTransaction { + pub priority: ::core::primitive::u64, + pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub longevity: ::core::primitive::u64, + pub propagate: ::core::primitive::bool, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum DispatchError { + #[codec(index = 0)] + Other, + #[codec(index = 1)] + CannotLookup, + #[codec(index = 2)] + BadOrigin, + #[codec(index = 3)] + Module(runtime_types::sp_runtime::ModuleError), + #[codec(index = 4)] + ConsumerRemaining, + #[codec(index = 5)] + NoProviders, + #[codec(index = 6)] + TooManyConsumers, + #[codec(index = 7)] + Token(runtime_types::sp_runtime::TokenError), + #[codec(index = 8)] + Arithmetic(runtime_types::sp_arithmetic::ArithmeticError), + #[codec(index = 9)] + Transactional(runtime_types::sp_runtime::TransactionalError), + #[codec(index = 10)] + Exhausted, + #[codec(index = 11)] + Corruption, + #[codec(index = 12)] + Unavailable, + #[codec(index = 13)] + RootNotAllowed, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DispatchErrorWithPostInfo<_0> { + pub post_info: _0, + pub error: runtime_types::sp_runtime::DispatchError, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ExtrinsicInclusionMode { + #[codec(index = 0)] + AllExtrinsics, + #[codec(index = 1)] + OnlyInherents, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ModuleError { + pub index: ::core::primitive::u8, + pub error: [::core::primitive::u8; 4usize], + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum MultiSignature { + #[codec(index = 0)] + Ed25519([::core::primitive::u8; 64usize]), + #[codec(index = 1)] + Sr25519([::core::primitive::u8; 64usize]), + #[codec(index = 2)] + Ecdsa([::core::primitive::u8; 65usize]), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum MultiSigner { + #[codec(index = 0)] + Ed25519([::core::primitive::u8; 32usize]), + #[codec(index = 1)] + Sr25519([::core::primitive::u8; 32usize]), + #[codec(index = 2)] + Ecdsa([::core::primitive::u8; 33usize]), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TokenError { + #[codec(index = 0)] + FundsUnavailable, + #[codec(index = 1)] + OnlyProvider, + #[codec(index = 2)] + BelowMinimum, + #[codec(index = 3)] + CannotCreate, + #[codec(index = 4)] + UnknownAsset, + #[codec(index = 5)] + Frozen, + #[codec(index = 6)] + Unsupported, + #[codec(index = 7)] + CannotCreateHold, + #[codec(index = 8)] + NotExpendable, + #[codec(index = 9)] + Blocked, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionalError { + #[codec(index = 0)] + LimitReached, + #[codec(index = 1)] + NoLayer, + } + } + pub mod sp_staking { + use super::runtime_types; + pub mod offence { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OffenceDetails<_0, _1> { + pub offender: _1, + pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + } + } + } + pub mod sp_version { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RuntimeVersion { + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, + pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, + pub authoring_version: ::core::primitive::u32, + pub spec_version: ::core::primitive::u32, + pub impl_version: ::core::primitive::u32, + pub apis: ::subxt::ext::subxt_core::alloc::vec::Vec<( + [::core::primitive::u8; 8usize], + ::core::primitive::u32, + )>, + pub transaction_version: ::core::primitive::u32, + pub state_version: ::core::primitive::u8, + } + } + pub mod sp_weights { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RuntimeDbWeight { + pub read: ::core::primitive::u64, + pub write: ::core::primitive::u64, + } + } + pub mod staging_xcm { + use super::runtime_types; + pub mod v3 { + use super::runtime_types; + pub mod multilocation { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MultiLocation { + pub parents: ::core::primitive::u8, + pub interior: runtime_types::xcm::v3::junctions::Junctions, + } + } + } + pub mod v4 { + use super::runtime_types; + pub mod asset { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Asset { + pub id: runtime_types::staging_xcm::v4::asset::AssetId, + pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AssetFilter { + #[codec(index = 0)] + Definite(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 1)] + Wild(runtime_types::staging_xcm::v4::asset::WildAsset), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AssetId(pub runtime_types::staging_xcm::v4::location::Location); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AssetInstance { + #[codec(index = 0)] + Undefined, + #[codec(index = 1)] + Index(#[codec(compact)] ::core::primitive::u128), + #[codec(index = 2)] + Array4([::core::primitive::u8; 4usize]), + #[codec(index = 3)] + Array8([::core::primitive::u8; 8usize]), + #[codec(index = 4)] + Array16([::core::primitive::u8; 16usize]), + #[codec(index = 5)] + Array32([::core::primitive::u8; 32usize]), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Assets( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::asset::Asset, + >, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Fungibility { + #[codec(index = 0)] + Fungible(#[codec(compact)] ::core::primitive::u128), + #[codec(index = 1)] + NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum WildAsset { + #[codec(index = 0)] + All, + #[codec(index = 1)] + AllOf { + id: runtime_types::staging_xcm::v4::asset::AssetId, + fun: runtime_types::staging_xcm::v4::asset::WildFungibility, + }, + #[codec(index = 2)] + AllCounted(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 3)] + AllOfCounted { + id: runtime_types::staging_xcm::v4::asset::AssetId, + fun: runtime_types::staging_xcm::v4::asset::WildFungibility, + #[codec(compact)] + count: ::core::primitive::u32, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum WildFungibility { + #[codec(index = 0)] + Fungible, + #[codec(index = 1)] + NonFungible, + } + } + pub mod junction { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Junction { + #[codec(index = 0)] + Parachain(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 1)] + AccountId32 { + network: ::core::option::Option< + runtime_types::staging_xcm::v4::junction::NetworkId, + >, + id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 2)] + AccountIndex64 { + network: ::core::option::Option< + runtime_types::staging_xcm::v4::junction::NetworkId, + >, + #[codec(compact)] + index: ::core::primitive::u64, + }, + #[codec(index = 3)] + AccountKey20 { + network: ::core::option::Option< + runtime_types::staging_xcm::v4::junction::NetworkId, + >, + key: [::core::primitive::u8; 20usize], + }, + #[codec(index = 4)] + PalletInstance(::core::primitive::u8), + #[codec(index = 5)] + GeneralIndex(#[codec(compact)] ::core::primitive::u128), + #[codec(index = 6)] + GeneralKey { + length: ::core::primitive::u8, + data: [::core::primitive::u8; 32usize], + }, + #[codec(index = 7)] + OnlyChild, + #[codec(index = 8)] + Plurality { + id: runtime_types::xcm::v3::junction::BodyId, + part: runtime_types::xcm::v3::junction::BodyPart, + }, + #[codec(index = 9)] + GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum NetworkId { + #[codec(index = 0)] + ByGenesis([::core::primitive::u8; 32usize]), + #[codec(index = 1)] + ByFork { + block_number: ::core::primitive::u64, + block_hash: [::core::primitive::u8; 32usize], + }, + #[codec(index = 2)] + Polkadot, + #[codec(index = 3)] + Kusama, + #[codec(index = 4)] + Westend, + #[codec(index = 5)] + Rococo, + #[codec(index = 6)] + Wococo, + #[codec(index = 7)] + Ethereum { + #[codec(compact)] + chain_id: ::core::primitive::u64, + }, + #[codec(index = 8)] + BitcoinCore, + #[codec(index = 9)] + BitcoinCash, + #[codec(index = 10)] + PolkadotBulletin, + } + } + pub mod junctions { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Junctions { + #[codec(index = 0)] + Here, + #[codec(index = 1)] + X1([runtime_types::staging_xcm::v4::junction::Junction; 1usize]), + #[codec(index = 2)] + X2([runtime_types::staging_xcm::v4::junction::Junction; 2usize]), + #[codec(index = 3)] + X3([runtime_types::staging_xcm::v4::junction::Junction; 3usize]), + #[codec(index = 4)] + X4([runtime_types::staging_xcm::v4::junction::Junction; 4usize]), + #[codec(index = 5)] + X5([runtime_types::staging_xcm::v4::junction::Junction; 5usize]), + #[codec(index = 6)] + X6([runtime_types::staging_xcm::v4::junction::Junction; 6usize]), + #[codec(index = 7)] + X7([runtime_types::staging_xcm::v4::junction::Junction; 7usize]), + #[codec(index = 8)] + X8([runtime_types::staging_xcm::v4::junction::Junction; 8usize]), + } + } + pub mod location { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Location { + pub parents: ::core::primitive::u8, + pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, + } + } + pub mod traits { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Outcome { + #[codec(index = 0)] + Complete { used: ::sp_weights::Weight }, + #[codec(index = 1)] + Incomplete { + used: ::sp_weights::Weight, + error: runtime_types::xcm::v3::traits::Error, + }, + #[codec(index = 2)] + Error { error: runtime_types::xcm::v3::traits::Error }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Instruction { + #[codec(index = 0)] + WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 1)] + ReserveAssetDeposited(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 2)] + ReceiveTeleportedAsset(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 3)] + QueryResponse { + #[codec(compact)] + query_id: ::core::primitive::u64, + response: runtime_types::staging_xcm::v4::Response, + max_weight: ::sp_weights::Weight, + querier: ::core::option::Option< + runtime_types::staging_xcm::v4::location::Location, + >, + }, + #[codec(index = 4)] + TransferAsset { + assets: runtime_types::staging_xcm::v4::asset::Assets, + beneficiary: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 5)] + TransferReserveAsset { + assets: runtime_types::staging_xcm::v4::asset::Assets, + dest: runtime_types::staging_xcm::v4::location::Location, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 6)] + Transact { + origin_kind: runtime_types::xcm::v2::OriginKind, + require_weight_at_most: ::sp_weights::Weight, + call: runtime_types::xcm::double_encoded::DoubleEncoded, + }, + #[codec(index = 7)] + HrmpNewChannelOpenRequest { + #[codec(compact)] + sender: ::core::primitive::u32, + #[codec(compact)] + max_message_size: ::core::primitive::u32, + #[codec(compact)] + max_capacity: ::core::primitive::u32, + }, + #[codec(index = 8)] + HrmpChannelAccepted { + #[codec(compact)] + recipient: ::core::primitive::u32, + }, + #[codec(index = 9)] + HrmpChannelClosing { + #[codec(compact)] + initiator: ::core::primitive::u32, + #[codec(compact)] + sender: ::core::primitive::u32, + #[codec(compact)] + recipient: ::core::primitive::u32, + }, + #[codec(index = 10)] + ClearOrigin, + #[codec(index = 11)] + DescendOrigin(runtime_types::staging_xcm::v4::junctions::Junctions), + #[codec(index = 12)] + ReportError(runtime_types::staging_xcm::v4::QueryResponseInfo), + #[codec(index = 13)] + DepositAsset { + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + beneficiary: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 14)] + DepositReserveAsset { + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + dest: runtime_types::staging_xcm::v4::location::Location, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 15)] + ExchangeAsset { + give: runtime_types::staging_xcm::v4::asset::AssetFilter, + want: runtime_types::staging_xcm::v4::asset::Assets, + maximal: ::core::primitive::bool, + }, + #[codec(index = 16)] + InitiateReserveWithdraw { + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + reserve: runtime_types::staging_xcm::v4::location::Location, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 17)] + InitiateTeleport { + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + dest: runtime_types::staging_xcm::v4::location::Location, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 18)] + ReportHolding { + response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + }, + #[codec(index = 19)] + BuyExecution { + fees: runtime_types::staging_xcm::v4::asset::Asset, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 20)] + RefundSurplus, + #[codec(index = 21)] + SetErrorHandler(runtime_types::staging_xcm::v4::Xcm), + #[codec(index = 22)] + SetAppendix(runtime_types::staging_xcm::v4::Xcm), + #[codec(index = 23)] + ClearError, + #[codec(index = 24)] + ClaimAsset { + assets: runtime_types::staging_xcm::v4::asset::Assets, + ticket: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 25)] + Trap(#[codec(compact)] ::core::primitive::u64), + #[codec(index = 26)] + SubscribeVersion { + #[codec(compact)] + query_id: ::core::primitive::u64, + max_response_weight: ::sp_weights::Weight, + }, + #[codec(index = 27)] + UnsubscribeVersion, + #[codec(index = 28)] + BurnAsset(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 29)] + ExpectAsset(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 30)] + ExpectOrigin( + ::core::option::Option, + ), + #[codec(index = 31)] + ExpectError( + ::core::option::Option<( + ::core::primitive::u32, + runtime_types::xcm::v3::traits::Error, + )>, + ), + #[codec(index = 32)] + ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), + #[codec(index = 33)] + QueryPallet { + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, + }, + #[codec(index = 34)] + ExpectPallet { + #[codec(compact)] + index: ::core::primitive::u32, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + #[codec(compact)] + crate_major: ::core::primitive::u32, + #[codec(compact)] + min_crate_minor: ::core::primitive::u32, + }, + #[codec(index = 35)] + ReportTransactStatus(runtime_types::staging_xcm::v4::QueryResponseInfo), + #[codec(index = 36)] + ClearTransactStatus, + #[codec(index = 37)] + UniversalOrigin(runtime_types::staging_xcm::v4::junction::Junction), + #[codec(index = 38)] + ExportMessage { + network: runtime_types::staging_xcm::v4::junction::NetworkId, + destination: runtime_types::staging_xcm::v4::junctions::Junctions, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 39)] + LockAsset { + asset: runtime_types::staging_xcm::v4::asset::Asset, + unlocker: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 40)] + UnlockAsset { + asset: runtime_types::staging_xcm::v4::asset::Asset, + target: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 41)] + NoteUnlockable { + asset: runtime_types::staging_xcm::v4::asset::Asset, + owner: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 42)] + RequestUnlock { + asset: runtime_types::staging_xcm::v4::asset::Asset, + locker: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 43)] + SetFeesMode { jit_withdraw: ::core::primitive::bool }, + #[codec(index = 44)] + SetTopic([::core::primitive::u8; 32usize]), + #[codec(index = 45)] + ClearTopic, + #[codec(index = 46)] + AliasOrigin(runtime_types::staging_xcm::v4::location::Location), + #[codec(index = 47)] + UnpaidExecution { + weight_limit: runtime_types::xcm::v3::WeightLimit, + check_origin: ::core::option::Option< + runtime_types::staging_xcm::v4::location::Location, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PalletInfo { + #[codec(compact)] + pub index: ::core::primitive::u32, + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, >, - ), - } - } - pub mod sp_consensus_slots { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct EquivocationProof<_0, _1> { - pub offender: _1, - pub slot: runtime_types::sp_consensus_slots::Slot, - pub first_header: _0, - pub second_header: _0, - } - #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, - Clone, - Debug, - PartialEq, - )] - pub struct Slot(pub ::core::primitive::u64); - } - pub mod sp_core { - use super::runtime_types; - pub mod crypto { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); - } - pub mod ecdsa { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 33usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 65usize]); - } - pub mod ed25519 { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); - } - pub mod offchain { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OpaqueMultiaddr(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OpaqueNetworkState { - pub peer_id: runtime_types::sp_core::OpaquePeerId, - pub external_addresses: - ::std::vec::Vec, + #[codec(compact)] + pub major: ::core::primitive::u32, + #[codec(compact)] + pub minor: ::core::primitive::u32, + #[codec(compact)] + pub patch: ::core::primitive::u32, } - } - pub mod sr25519 { - use super::runtime_types; - pub mod vrf { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct VrfSignature { - pub output: [::core::primitive::u8; 32usize], - pub proof: [::core::primitive::u8; 64usize], - } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueryResponseInfo { + pub destination: runtime_types::staging_xcm::v4::location::Location, + #[codec(compact)] + pub query_id: ::core::primitive::u64, + pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Response { + #[codec(index = 0)] + Null, + #[codec(index = 1)] + Assets(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 2)] + ExecutionResult( + ::core::option::Option<( + ::core::primitive::u32, + runtime_types::xcm::v3::traits::Error, + )>, + ), + #[codec(index = 3)] + Version(::core::primitive::u32), + #[codec(index = 4)] + PalletsInfo( + runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v4::PalletInfo, + >, + ), + #[codec(index = 5)] + DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::Instruction, + >, + ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OpaquePeerId(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Void {} } - pub mod sp_runtime { + pub mod staging_xcm_executor { use super::runtime_types; - pub mod generic { + pub mod traits { use super::runtime_types; - pub mod digest { + pub mod asset_transfer { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum DigestItem { - #[codec(index = 6)] - PreRuntime( - [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, - ), - #[codec(index = 4)] - Consensus( - [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, - ), - #[codec(index = 5)] - Seal( - [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, - ), + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransferType { #[codec(index = 0)] - Other(::std::vec::Vec<::core::primitive::u8>), - #[codec(index = 8)] - RuntimeEnvironmentUpdated, + Teleport, + #[codec(index = 1)] + LocalReserve, + #[codec(index = 2)] + DestinationReserve, + #[codec(index = 3)] + RemoteReserve(runtime_types::xcm::VersionedLocation), } } - pub mod unchecked_extrinsic { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct UncheckedExtrinsic<_0, _1, _2, _3>( - pub ::std::vec::Vec<::core::primitive::u8>, - #[codec(skip)] pub ::core::marker::PhantomData<(_0, _1, _2, _3)>, - ); - } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum DispatchError { - #[codec(index = 0)] - Other, - #[codec(index = 1)] - CannotLookup, - #[codec(index = 2)] - BadOrigin, - #[codec(index = 3)] - Module(runtime_types::sp_runtime::ModuleError), - #[codec(index = 4)] - ConsumerRemaining, - #[codec(index = 5)] - NoProviders, - #[codec(index = 6)] - TooManyConsumers, - #[codec(index = 7)] - Token(runtime_types::sp_runtime::TokenError), - #[codec(index = 8)] - Arithmetic(runtime_types::sp_arithmetic::ArithmeticError), - #[codec(index = 9)] - Transactional(runtime_types::sp_runtime::TransactionalError), - #[codec(index = 10)] - Exhausted, - #[codec(index = 11)] - Corruption, - #[codec(index = 12)] - Unavailable, - #[codec(index = 13)] - RootNotAllowed, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ModuleError { - pub index: ::core::primitive::u8, - pub error: [::core::primitive::u8; 4usize], - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum MultiSignature { - #[codec(index = 0)] - Ed25519(runtime_types::sp_core::ed25519::Signature), - #[codec(index = 1)] - Sr25519(runtime_types::sp_core::sr25519::Signature), - #[codec(index = 2)] - Ecdsa(runtime_types::sp_core::ecdsa::Signature), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum MultiSigner { - #[codec(index = 0)] - Ed25519(runtime_types::sp_core::ed25519::Public), - #[codec(index = 1)] - Sr25519(runtime_types::sp_core::sr25519::Public), - #[codec(index = 2)] - Ecdsa(runtime_types::sp_core::ecdsa::Public), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum TokenError { - #[codec(index = 0)] - FundsUnavailable, - #[codec(index = 1)] - OnlyProvider, - #[codec(index = 2)] - BelowMinimum, - #[codec(index = 3)] - CannotCreate, - #[codec(index = 4)] - UnknownAsset, - #[codec(index = 5)] - Frozen, - #[codec(index = 6)] - Unsupported, - #[codec(index = 7)] - CannotCreateHold, - #[codec(index = 8)] - NotExpendable, - #[codec(index = 9)] - Blocked, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum TransactionalError { - #[codec(index = 0)] - LimitReached, - #[codec(index = 1)] - NoLayer, - } - } - pub mod sp_staking { - use super::runtime_types; - pub mod offence { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OffenceDetails<_0, _1> { - pub offender: _1, - pub reporters: ::std::vec::Vec<_0>, - } - } - } - pub mod sp_version { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RuntimeVersion { - pub spec_name: ::std::string::String, - pub impl_name: ::std::string::String, - pub authoring_version: ::core::primitive::u32, - pub spec_version: ::core::primitive::u32, - pub impl_version: ::core::primitive::u32, - pub apis: - ::std::vec::Vec<([::core::primitive::u8; 8usize], ::core::primitive::u32)>, - pub transaction_version: ::core::primitive::u32, - pub state_version: ::core::primitive::u8, - } - } - pub mod sp_weights { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RuntimeDbWeight { - pub read: ::core::primitive::u64, - pub write: ::core::primitive::u64, } } pub mod xcm { use super::runtime_types; pub mod double_encoded { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DoubleEncoded { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, + pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod v2 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -6302,14 +8772,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] - Abstract(::std::vec::Vec<::core::primitive::u8>), + Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -6324,39 +8794,41 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), #[codec(index = 6)] - Blob(::std::vec::Vec<::core::primitive::u8>), + Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -6369,7 +8841,7 @@ pub mod api { } pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -6432,7 +8904,7 @@ pub mod api { runtime_types::xcm::v2::junction::Junction, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -6440,7 +8912,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -6496,7 +8968,7 @@ pub mod api { WeightNotComputable, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -6523,7 +8995,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -6554,7 +9026,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -6694,7 +9166,7 @@ pub mod api { #[codec(index = 27)] UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] Any, @@ -6709,7 +9181,7 @@ pub mod api { #[codec(index = 3)] Kusama, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginKind { #[codec(index = 0)] Native, @@ -6720,7 +9192,7 @@ pub mod api { #[codec(index = 3)] Xcm, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -6736,21 +9208,25 @@ pub mod api { #[codec(index = 3)] Version(::core::primitive::u32), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(#[codec(compact)] ::core::primitive::u64), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::Instruction, + >, + ); } pub mod v3 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -6773,7 +9249,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -6804,7 +9280,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -6846,7 +9322,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -6874,11 +9350,13 @@ pub mod api { BitcoinCore, #[codec(index = 9)] BitcoinCash, + #[codec(index = 10)] + PolkadotBulletin, } } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -6944,14 +9422,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] - Concrete(runtime_types::xcm::v3::multilocation::MultiLocation), + Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] Abstract([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -6966,37 +9444,39 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -7016,17 +9496,9 @@ pub mod api { }, } } - pub mod multilocation { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MultiLocation { - pub parents: ::core::primitive::u8, - pub interior: runtime_types::xcm::v3::junctions::Junctions, - } - } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -7109,17 +9581,8 @@ pub mod api { #[codec(index = 39)] ExceedsStackLimit, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Outcome { - #[codec(index = 0)] - Complete(::sp_weights::Weight), - #[codec(index = 1)] - Incomplete(::sp_weights::Weight, runtime_types::xcm::v3::traits::Error), - #[codec(index = 2)] - Error(runtime_types::xcm::v3::traits::Error), - } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -7134,18 +9597,18 @@ pub mod api { response: runtime_types::xcm::v3::Response, max_weight: ::sp_weights::Weight, querier: ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, }, #[codec(index = 4)] TransferAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssets, - beneficiary: runtime_types::xcm::v3::multilocation::MultiLocation, + beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 5)] TransferReserveAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssets, - dest: runtime_types::xcm::v3::multilocation::MultiLocation, + dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, xcm: runtime_types::xcm::v3::Xcm, }, #[codec(index = 6)] @@ -7186,12 +9649,12 @@ pub mod api { #[codec(index = 13)] DepositAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - beneficiary: runtime_types::xcm::v3::multilocation::MultiLocation, + beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 14)] DepositReserveAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v3::multilocation::MultiLocation, + dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, xcm: runtime_types::xcm::v3::Xcm, }, #[codec(index = 15)] @@ -7203,13 +9666,13 @@ pub mod api { #[codec(index = 16)] InitiateReserveWithdraw { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - reserve: runtime_types::xcm::v3::multilocation::MultiLocation, + reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation, xcm: runtime_types::xcm::v3::Xcm, }, #[codec(index = 17)] InitiateTeleport { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v3::multilocation::MultiLocation, + dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, xcm: runtime_types::xcm::v3::Xcm, }, #[codec(index = 18)] @@ -7233,7 +9696,7 @@ pub mod api { #[codec(index = 24)] ClaimAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssets, - ticket: runtime_types::xcm::v3::multilocation::MultiLocation, + ticket: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 25)] Trap(#[codec(compact)] ::core::primitive::u64), @@ -7252,7 +9715,7 @@ pub mod api { #[codec(index = 30)] ExpectOrigin( ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, ), #[codec(index = 31)] @@ -7266,15 +9729,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::xcm::v3::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -7295,22 +9760,22 @@ pub mod api { #[codec(index = 39)] LockAsset { asset: runtime_types::xcm::v3::multiasset::MultiAsset, - unlocker: runtime_types::xcm::v3::multilocation::MultiLocation, + unlocker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 40)] UnlockAsset { asset: runtime_types::xcm::v3::multiasset::MultiAsset, - target: runtime_types::xcm::v3::multilocation::MultiLocation, + target: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 41)] NoteUnlockable { asset: runtime_types::xcm::v3::multiasset::MultiAsset, - owner: runtime_types::xcm::v3::multilocation::MultiLocation, + owner: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 42)] RequestUnlock { asset: runtime_types::xcm::v3::multiasset::MultiAsset, - locker: runtime_types::xcm::v3::multilocation::MultiLocation, + locker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 43)] SetFeesMode { jit_withdraw: ::core::primitive::bool }, @@ -7319,16 +9784,16 @@ pub mod api { #[codec(index = 45)] ClearTopic, #[codec(index = 46)] - AliasOrigin(runtime_types::xcm::v3::multilocation::MultiLocation), + AliasOrigin(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 47)] UnpaidExecution { weight_limit: runtime_types::xcm::v3::WeightLimit, check_origin: ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -7345,7 +9810,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -7362,14 +9827,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { - pub destination: runtime_types::xcm::v3::multilocation::MultiLocation, + pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -7393,48 +9858,115 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(::sp_weights::Weight), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::Instruction, + >, + ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::asset::AssetId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum VersionedMultiAssets { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VersionedAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::MultiAssets), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::asset::Assets), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum VersionedMultiLocation { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VersionedLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 3)] - V3(runtime_types::xcm::v3::multilocation::MultiLocation), + V3(runtime_types::staging_xcm::v3::multilocation::MultiLocation), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), #[codec(index = 3)] V3(runtime_types::xcm::v3::Response), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::Response), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm), #[codec(index = 3)] V3(runtime_types::xcm::v3::Xcm), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::Xcm), + } + } + pub mod xcm_fee_payment_runtime_api { + use super::runtime_types; + pub mod dry_run { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + Unimplemented, + #[codec(index = 1)] + VersionedConversionFailed, + #[codec(index = 2)] + InvalidExtrinsic, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ExtrinsicDryRunEffects<_0> { + pub execution_result: + ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, + pub emitted_events: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub local_xcm: ::core::option::Option, + pub forwarded_xcms: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::xcm::VersionedLocation, + ::subxt::ext::subxt_core::alloc::vec::Vec, + )>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct XcmDryRunEffects<_0> { + pub execution_result: runtime_types::staging_xcm::v4::traits::Outcome, + pub emitted_events: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub forwarded_xcms: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::xcm::VersionedLocation, + ::subxt::ext::subxt_core::alloc::vec::Vec, + )>, + } + } + pub mod fees { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + Unimplemented, + #[codec(index = 1)] + VersionedConversionFailed, + #[codec(index = 2)] + WeightNotComputable, + #[codec(index = 3)] + UnhandledXcmVersion, + #[codec(index = 4)] + AssetNotFound, + #[codec(index = 5)] + Unroutable, + } } } } diff --git a/relay-clients/client-westend/src/codegen_runtime.rs b/relay-clients/client-westend/src/codegen_runtime.rs index 9422622e48..c416187960 100644 --- a/relay-clients/client-westend/src/codegen_runtime.rs +++ b/relay-clients/client-westend/src/codegen_runtime.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright (C) Parity Technologies (UK) Ltd. // This file is part of Parity Bridges Common. // Parity Bridges Common is free software: you can redistribute it and/or modify @@ -20,43 +20,49 @@ #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] +#[allow(rustdoc::broken_intra_doc_links)] pub mod api { - use super::api as root_mod; + #[allow(unused_imports)] + mod root_mod { + pub use super::*; + } pub mod runtime_types { use super::runtime_types; pub mod bounded_collections { use super::runtime_types; pub mod bounded_btree_map { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedBTreeMap<_0, _1>(pub ::subxt::utils::KeyedVec<_0, _1>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedBTreeMap<_0, _1>( + pub ::subxt::ext::subxt_core::utils::KeyedVec<_0, _1>, + ); } pub mod bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct WeakBoundedVec<_0>(pub ::std::vec::Vec<_0>); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct WeakBoundedVec<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod finality_grandpa { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Equivocation<_0, _1, _2> { pub round_number: ::core::primitive::u64, pub identity: _0, pub first: (_1, _2), pub second: (_1, _2), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Prevote<_0, _1> { pub target_hash: _0, pub target_number: _1, @@ -66,7 +72,7 @@ pub mod api { use super::runtime_types; pub mod dispatch { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -75,26 +81,31 @@ pub mod api { #[codec(index = 2)] Mandatory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DispatchInfo { pub weight: ::sp_weights::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Pays { #[codec(index = 0)] Yes, #[codec(index = 1)] No, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PostDispatchInfo { + pub actual_weight: ::core::option::Option<::sp_weights::Weight>, + pub pays_fee: runtime_types::frame_support::dispatch::Pays, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -108,7 +119,7 @@ pub mod api { use super::runtime_types; pub mod messages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -122,21 +133,13 @@ pub mod api { Yield, } } - pub mod misc { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct WrapperOpaque<_0>( - #[codec(compact)] pub ::core::primitive::u32, - pub _0, - ); - } pub mod preimages { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Bounded<_0> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Bounded<_0, _1> { #[codec(index = 0)] Legacy { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 1)] Inline( @@ -146,19 +149,39 @@ pub mod api { ), #[codec(index = 2)] Lookup { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, len: ::core::primitive::u32, }, - __Ignore(::core::marker::PhantomData<_0>), + __Ignore(::core::marker::PhantomData<(_0, _1)>), + } + } + pub mod schedule { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum DispatchTime<_0> { + #[codec(index = 0)] + At(_0), + #[codec(index = 1)] + After(_0), } } pub mod tokens { use super::runtime_types; - pub mod misc { + pub mod fungible { use super::runtime_types; #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, )] + pub struct HoldConsideration(pub ::core::primitive::u128); + } + pub mod misc { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -168,7 +191,7 @@ pub mod api { } } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { @@ -177,49 +200,49 @@ pub mod api { use super::runtime_types; pub mod check_genesis { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckMortality(pub ::sp_runtime::generic::Era); } pub mod check_non_zero_sender { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BlockWeights { pub base_block: ::sp_weights::Weight, pub max_block: ::sp_weights::Weight, @@ -227,7 +250,7 @@ pub mod api { runtime_types::frame_system::limits::WeightsPerClass, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct WeightsPerClass { pub base_extrinsic: ::sp_weights::Weight, pub max_extrinsic: ::core::option::Option<::sp_weights::Weight>, @@ -237,34 +260,56 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - remark { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] - set_code { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 3)] - set_code_without_checks { code: ::std::vec::Vec<::core::primitive::u8> }, + set_code_without_checks { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 4)] set_storage { - items: ::std::vec::Vec<( - ::std::vec::Vec<::core::primitive::u8>, - ::std::vec::Vec<::core::primitive::u8>, + items: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, }, #[codec(index = 5)] - kill_storage { keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>> }, + kill_storage { + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + }, #[codec(index = 6)] kill_prefix { - prefix: ::std::vec::Vec<::core::primitive::u8>, + prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] - remark_with_event { remark: ::std::vec::Vec<::core::primitive::u8> }, + remark_with_event { + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, + #[codec(index = 9)] + authorize_upgrade { code_hash: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 10)] + authorize_upgrade_without_checks { + code_hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 11)] + apply_authorized_upgrade { + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidSpecName, @@ -278,8 +323,14 @@ pub mod api { NonZeroRefCount, #[codec(index = 5)] CallFiltered, + #[codec(index = 6)] + MultiBlockMigrationsOngoing, + #[codec(index = 7)] + NothingAuthorized, + #[codec(index = 8)] + Unauthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ExtrinsicSuccess { @@ -297,30 +348,43 @@ pub mod api { #[codec(index = 4)] KilledAccount { account: ::sp_core::crypto::AccountId32 }, #[codec(index = 5)] - Remarked { sender: ::sp_core::crypto::AccountId32, hash: ::subxt::utils::H256 }, + Remarked { + sender: ::sp_core::crypto::AccountId32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 6)] + UpgradeAuthorized { + code_hash: ::subxt::ext::subxt_core::utils::H256, + check_version: ::core::primitive::bool, + }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountInfo<_0, _1> { pub nonce: _0, - pub consumers: _0, - pub providers: _0, - pub sufficients: _0, + pub consumers: ::core::primitive::u32, + pub providers: ::core::primitive::u32, + pub sufficients: ::core::primitive::u32, pub data: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CodeUpgradeAuthorization { + pub code_hash: ::subxt::ext::subxt_core::utils::H256, + pub check_version: ::core::primitive::bool, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, - pub topics: ::std::vec::Vec<_1>, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, - pub spec_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -330,15 +394,74 @@ pub mod api { Initialization, } } + pub mod pallet_asset_rate { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + create { + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + >, + rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + #[codec(index = 1)] + update { + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + >, + rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + #[codec(index = 2)] + remove { + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + UnknownAssetKind, + #[codec(index = 1)] + AlreadyExists, + #[codec(index = 2)] + Overflow, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + AssetRateCreated { + asset_kind: + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + #[codec(index = 1)] + AssetRateRemoved { + asset_kind: + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + }, + #[codec(index = 2)] + AssetRateUpdated { + asset_kind: + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + old: runtime_types::sp_arithmetic::fixed_point::FixedU128, + new: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + } + } + } pub mod pallet_babe { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< ::sp_runtime::generic::Header< ::core::primitive::u32, @@ -351,7 +474,7 @@ pub mod api { }, #[codec(index = 1)] report_equivocation_unsigned { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< ::sp_runtime::generic::Header< ::core::primitive::u32, @@ -367,7 +490,7 @@ pub mod api { config: runtime_types::sp_consensus_babe::digests::NextConfigDescriptor, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidEquivocationProof, @@ -384,12 +507,12 @@ pub mod api { use super::runtime_types; pub mod list { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Bag { pub head: ::core::option::Option<::sp_core::crypto::AccountId32>, pub tail: ::core::option::Option<::sp_core::crypto::AccountId32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ListError { #[codec(index = 0)] Duplicate, @@ -400,7 +523,7 @@ pub mod api { #[codec(index = 3)] NodeNotFound, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Node { pub id: ::sp_core::crypto::AccountId32, pub prev: ::core::option::Option<::sp_core::crypto::AccountId32>, @@ -411,24 +534,40 @@ pub mod api { } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] rebag { - dislocated: - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dislocated: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 1)] put_in_front_of { - lighter: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + lighter: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 2)] + put_in_front_of_other { + heavier: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + lighter: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] List(runtime_types::pallet_bags_list::list::ListError), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Rebagged { @@ -448,61 +587,78 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] transfer_allow_death { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, - #[codec(index = 1)] - set_balance_deprecated { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - #[codec(compact)] - new_free: ::core::primitive::u128, - #[codec(compact)] - old_reserved: ::core::primitive::u128, - }, #[codec(index = 2)] force_transfer { - source: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 3)] transfer_keep_alive { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 4)] transfer_all { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] force_unreserve { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, amount: ::core::primitive::u128, }, #[codec(index = 6)] - upgrade_accounts { who: ::std::vec::Vec<::sp_core::crypto::AccountId32> }, - #[codec(index = 7)] - transfer { - dest: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - #[codec(compact)] - value: ::core::primitive::u128, + upgrade_accounts { + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, #[codec(index = 8)] force_set_balance { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] new_free: ::core::primitive::u128, }, + #[codec(index = 9)] + force_adjust_total_issuance { + direction: runtime_types::pallet_balances::types::AdjustmentDirection, + #[codec(compact)] + delta: ::core::primitive::u128, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] VestingBalance, @@ -524,8 +680,12 @@ pub mod api { TooManyHolds, #[codec(index = 9)] TooManyFreezes, + #[codec(index = 10)] + IssuanceDeactivated, + #[codec(index = 11)] + DeltaZero, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Endowed { @@ -606,38 +766,50 @@ pub mod api { Frozen { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, #[codec(index = 20)] Thawed { who: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128 }, + #[codec(index = 21)] + TotalIssuanceForced { + old: ::core::primitive::u128, + new: ::core::primitive::u128, + }, } } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, pub frozen: _0, pub flags: runtime_types::pallet_balances::types::ExtraFlags, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AdjustmentDirection { + #[codec(index = 0)] + Increase, + #[codec(index = 1)] + Decrease, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ExtraFlags(pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Reasons { #[codec(index = 0)] Fee, @@ -646,21 +818,295 @@ pub mod api { #[codec(index = 2)] All, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, } } } + pub mod pallet_beefy { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + report_equivocation { + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::sp_consensus_beefy::EquivocationProof< + ::core::primitive::u32, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Signature, + >, + >, + key_owner_proof: ::sp_session::MembershipProof, + }, + #[codec(index = 1)] + report_equivocation_unsigned { + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::sp_consensus_beefy::EquivocationProof< + ::core::primitive::u32, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, + runtime_types::sp_consensus_beefy::ecdsa_crypto::Signature, + >, + >, + key_owner_proof: ::sp_session::MembershipProof, + }, + #[codec(index = 2)] + set_new_genesis { delay_in_blocks: ::core::primitive::u32 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + InvalidKeyOwnershipProof, + #[codec(index = 1)] + InvalidEquivocationProof, + #[codec(index = 2)] + DuplicateOffenceReport, + #[codec(index = 3)] + InvalidConfiguration, + } + } + } + pub mod pallet_broker { + use super::runtime_types; + pub mod coretime_interface { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CoreAssignment { + #[codec(index = 0)] + Idle, + #[codec(index = 1)] + Pool, + #[codec(index = 2)] + Task(::core::primitive::u32), + } + } + } + pub mod pallet_conviction_voting { + use super::runtime_types; + pub mod conviction { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Conviction { + #[codec(index = 0)] + None, + #[codec(index = 1)] + Locked1x, + #[codec(index = 2)] + Locked2x, + #[codec(index = 3)] + Locked3x, + #[codec(index = 4)] + Locked4x, + #[codec(index = 5)] + Locked5x, + #[codec(index = 6)] + Locked6x, + } + } + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + vote { + #[codec(compact)] + poll_index: ::core::primitive::u32, + vote: runtime_types::pallet_conviction_voting::vote::AccountVote< + ::core::primitive::u128, + >, + }, + #[codec(index = 1)] + delegate { + class: ::core::primitive::u16, + to: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + conviction: runtime_types::pallet_conviction_voting::conviction::Conviction, + balance: ::core::primitive::u128, + }, + #[codec(index = 2)] + undelegate { class: ::core::primitive::u16 }, + #[codec(index = 3)] + unlock { + class: ::core::primitive::u16, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 4)] + remove_vote { + class: ::core::option::Option<::core::primitive::u16>, + index: ::core::primitive::u32, + }, + #[codec(index = 5)] + remove_other_vote { + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + class: ::core::primitive::u16, + index: ::core::primitive::u32, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + NotOngoing, + #[codec(index = 1)] + NotVoter, + #[codec(index = 2)] + NoPermission, + #[codec(index = 3)] + NoPermissionYet, + #[codec(index = 4)] + AlreadyDelegating, + #[codec(index = 5)] + AlreadyVoting, + #[codec(index = 6)] + InsufficientFunds, + #[codec(index = 7)] + NotDelegating, + #[codec(index = 8)] + Nonsense, + #[codec(index = 9)] + MaxVotesReached, + #[codec(index = 10)] + ClassNeeded, + #[codec(index = 11)] + BadClass, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + Delegated(::sp_core::crypto::AccountId32, ::sp_core::crypto::AccountId32), + #[codec(index = 1)] + Undelegated(::sp_core::crypto::AccountId32), + } + } + pub mod types { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Delegations<_0> { + pub votes: _0, + pub capital: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Tally<_0> { + pub ayes: _0, + pub nays: _0, + pub support: _0, + } + } + pub mod vote { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AccountVote<_0> { + #[codec(index = 0)] + Standard { + vote: runtime_types::pallet_conviction_voting::vote::Vote, + balance: _0, + }, + #[codec(index = 1)] + Split { aye: _0, nay: _0 }, + #[codec(index = 2)] + SplitAbstain { aye: _0, nay: _0, abstain: _0 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Casting<_0, _1, _2> { + pub votes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( + _1, + runtime_types::pallet_conviction_voting::vote::AccountVote<_0>, + )>, + pub delegations: + runtime_types::pallet_conviction_voting::types::Delegations<_0>, + pub prior: runtime_types::pallet_conviction_voting::vote::PriorLock<_1, _0>, + #[codec(skip)] + pub __ignore: ::core::marker::PhantomData<_2>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Delegating<_0, _1, _2> { + pub balance: _0, + pub target: _1, + pub conviction: runtime_types::pallet_conviction_voting::conviction::Conviction, + pub delegations: + runtime_types::pallet_conviction_voting::types::Delegations<_0>, + pub prior: runtime_types::pallet_conviction_voting::vote::PriorLock<_2, _0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PriorLock<_0, _1>(pub _0, pub _1); + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct Vote(pub ::core::primitive::u8); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Voting<_0, _1, _2, _3> { + #[codec(index = 0)] + Casting(runtime_types::pallet_conviction_voting::vote::Casting<_0, _2, _2>), + #[codec(index = 1)] + Delegating( + runtime_types::pallet_conviction_voting::vote::Delegating<_0, _1, _2>, + ), + __Ignore(::core::marker::PhantomData<_3>), + } + } + } pub mod pallet_election_provider_multi_phase { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] submit_unsigned { raw_solution : :: std :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: westend_runtime :: NposCompactSolution16 > > , witness : runtime_types :: pallet_election_provider_multi_phase :: SolutionOrSnapshotSize , } , # [codec (index = 1)] set_minimum_untrusted_score { maybe_next_score : :: core :: option :: Option < runtime_types :: sp_npos_elections :: ElectionScore > , } , # [codec (index = 2)] set_emergency_election_result { supports : :: std :: vec :: Vec < (:: sp_core :: crypto :: AccountId32 , runtime_types :: sp_npos_elections :: Support < :: sp_core :: crypto :: AccountId32 > ,) > , } , # [codec (index = 3)] submit { raw_solution : :: std :: boxed :: Box < runtime_types :: pallet_election_provider_multi_phase :: RawSolution < runtime_types :: westend_runtime :: NposCompactSolution16 > > , } , # [codec (index = 4)] governance_fallback { maybe_max_voters : :: core :: option :: Option < :: core :: primitive :: u32 > , maybe_max_targets : :: core :: option :: Option < :: core :: primitive :: u32 > , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + submit_unsigned { + raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::westend_runtime::NposCompactSolution16, + >, + >, + witness: runtime_types::pallet_election_provider_multi_phase::SolutionOrSnapshotSize, + }, + #[codec(index = 1)] + set_minimum_untrusted_score { + maybe_next_score: ::core::option::Option< + runtime_types::sp_npos_elections::ElectionScore, + >, + }, + #[codec(index = 2)] + set_emergency_election_result { + supports: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + ::sp_core::crypto::AccountId32, + runtime_types::sp_npos_elections::Support< + ::sp_core::crypto::AccountId32, + >, + ), + >, + }, + #[codec(index = 3)] + submit { + raw_solution: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_election_provider_multi_phase::RawSolution< + runtime_types::westend_runtime::NposCompactSolution16, + >, + >, + }, + #[codec(index = 4)] + governance_fallback { + maybe_max_voters: ::core::option::Option<::core::primitive::u32>, + maybe_max_targets: ::core::option::Option<::core::primitive::u32>, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PreDispatchEarlySubmission, @@ -690,8 +1136,10 @@ pub mod api { BoundNotMet, #[codec(index = 13)] TooManyWinners, + #[codec(index = 14)] + PreDispatchDifferentRound, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] SolutionStored { @@ -732,7 +1180,7 @@ pub mod api { } pub mod signed { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SignedSubmission<_0, _1, _2> { pub who: _0, pub deposit: _1, @@ -741,7 +1189,7 @@ pub mod api { pub call_fee: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ElectionCompute { #[codec(index = 0)] OnChain, @@ -754,7 +1202,7 @@ pub mod api { #[codec(index = 4)] Emergency, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Phase<_0> { #[codec(index = 0)] Off, @@ -765,13 +1213,13 @@ pub mod api { #[codec(index = 3)] Emergency, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RawSolution<_0> { pub solution: _0, pub score: runtime_types::sp_npos_elections::ElectionScore, pub round: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReadySolution { pub supports: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::sp_core::crypto::AccountId32, @@ -780,12 +1228,12 @@ pub mod api { pub score: runtime_types::sp_npos_elections::ElectionScore, pub compute: runtime_types::pallet_election_provider_multi_phase::ElectionCompute, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RoundSnapshot<_0, _1> { - pub voters: ::std::vec::Vec<_1>, - pub targets: ::std::vec::Vec<_0>, + pub voters: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + pub targets: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SolutionOrSnapshotSize { #[codec(compact)] pub voters: ::core::primitive::u32, @@ -797,7 +1245,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] register_fast_unstake, @@ -806,7 +1254,7 @@ pub mod api { #[codec(index = 2)] control { eras_to_check: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotController, @@ -821,7 +1269,7 @@ pub mod api { #[codec(index = 5)] CallNotAllowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Unstaked { @@ -835,16 +1283,18 @@ pub mod api { amount: ::core::primitive::u128, }, #[codec(index = 2)] - InternalError, + BatchChecked { + eras: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, + }, #[codec(index = 3)] - BatchChecked { eras: ::std::vec::Vec<::core::primitive::u32> }, - #[codec(index = 4)] BatchFinished { size: ::core::primitive::u32 }, + #[codec(index = 4)] + InternalError, } } pub mod types { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnstakeRequest { pub stashes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::sp_core::crypto::AccountId32, @@ -860,13 +1310,13 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] report_equivocation { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >, @@ -874,9 +1324,9 @@ pub mod api { }, #[codec(index = 1)] report_equivocation_unsigned { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< ::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >, @@ -888,7 +1338,7 @@ pub mod api { best_finalized_block_number: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PauseFailed, @@ -905,11 +1355,11 @@ pub mod api { #[codec(index = 6)] DuplicateOffenceReport, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewAuthorities { - authority_set: ::std::vec::Vec<( + authority_set: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, @@ -920,7 +1370,7 @@ pub mod api { Resumed, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StoredPendingChange<_0> { pub scheduled_at: _0, pub delay: _0, @@ -931,7 +1381,7 @@ pub mod api { )>, pub forced: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum StoredState<_0> { #[codec(index = 0)] Live, @@ -945,22 +1395,44 @@ pub mod api { } pub mod pallet_identity { use super::runtime_types; + pub mod legacy { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct IdentityInfo { + pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::pallet_identity::types::Data, + runtime_types::pallet_identity::types::Data, + )>, + pub display: runtime_types::pallet_identity::types::Data, + pub legal: runtime_types::pallet_identity::types::Data, + pub web: runtime_types::pallet_identity::types::Data, + pub riot: runtime_types::pallet_identity::types::Data, + pub email: runtime_types::pallet_identity::types::Data, + pub pgp_fingerprint: ::core::option::Option<[::core::primitive::u8; 20usize]>, + pub image: runtime_types::pallet_identity::types::Data, + pub twitter: runtime_types::pallet_identity::types::Data, + } + } pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] add_registrar { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 1)] set_identity { - info: - ::std::boxed::Box, + info: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_identity::legacy::IdentityInfo, + >, }, #[codec(index = 2)] set_subs { - subs: ::std::vec::Vec<( + subs: ::subxt::ext::subxt_core::alloc::vec::Vec<( ::sp_core::crypto::AccountId32, runtime_types::pallet_identity::types::Data, )>, @@ -987,48 +1459,114 @@ pub mod api { set_account_id { #[codec(compact)] index: ::core::primitive::u32, - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 8)] set_fields { #[codec(compact)] index: ::core::primitive::u32, - fields: runtime_types::pallet_identity::types::BitFlags< - runtime_types::pallet_identity::types::IdentityField, - >, + fields: ::core::primitive::u64, }, #[codec(index = 9)] provide_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, judgement: runtime_types::pallet_identity::types::Judgement< ::core::primitive::u128, >, - identity: ::subxt::utils::H256, + identity: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 10)] kill_identity { - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 11)] add_sub { - sub: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 12)] rename_sub { - sub: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 13)] remove_sub { - sub: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 14)] quit_sub, + #[codec(index = 15)] + add_username_authority { + authority: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + suffix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + allocation: ::core::primitive::u32, + }, + #[codec(index = 16)] + remove_username_authority { + authority: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 17)] + set_username_for { + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + username: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + signature: + ::core::option::Option, + }, + #[codec(index = 18)] + accept_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 19)] + remove_expired_approval { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 20)] + set_primary_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 21)] + remove_dangling_username { + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManySubAccounts, @@ -1053,21 +1591,37 @@ pub mod api { #[codec(index = 10)] InvalidTarget, #[codec(index = 11)] - TooManyFields, - #[codec(index = 12)] TooManyRegistrars, - #[codec(index = 13)] + #[codec(index = 12)] AlreadyClaimed, - #[codec(index = 14)] + #[codec(index = 13)] NotSub, - #[codec(index = 15)] + #[codec(index = 14)] NotOwned, - #[codec(index = 16)] + #[codec(index = 15)] JudgementForDifferentIdentity, - #[codec(index = 17)] + #[codec(index = 16)] JudgementPaymentFailed, + #[codec(index = 17)] + InvalidSuffix, + #[codec(index = 18)] + NotUsernameAuthority, + #[codec(index = 19)] + NoAllocation, + #[codec(index = 20)] + InvalidSignature, + #[codec(index = 21)] + RequiresSignature, + #[codec(index = 22)] + InvalidUsername, + #[codec(index = 23)] + UsernameTaken, + #[codec(index = 24)] + NoUsername, + #[codec(index = 25)] + NotExpired, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IdentitySet { who: ::sp_core::crypto::AccountId32 }, @@ -1116,23 +1670,51 @@ pub mod api { main: ::sp_core::crypto::AccountId32, deposit: ::core::primitive::u128, }, + #[codec(index = 10)] + AuthorityAdded { authority: ::sp_core::crypto::AccountId32 }, + #[codec(index = 11)] + AuthorityRemoved { authority: ::sp_core::crypto::AccountId32 }, + #[codec(index = 12)] + UsernameSet { + who: ::sp_core::crypto::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 13)] + UsernameQueued { + who: ::sp_core::crypto::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + expiration: ::core::primitive::u32, + }, + #[codec(index = 14)] + PreapprovalExpired { whose: ::sp_core::crypto::AccountId32 }, + #[codec(index = 15)] + PrimaryUsernameSet { + who: ::sp_core::crypto::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, + #[codec(index = 16)] + DanglingUsernameRemoved { + who: ::sp_core::crypto::AccountId32, + username: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + }, } } pub mod types { use super::runtime_types; - #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, - Clone, - Debug, - PartialEq, - )] - pub struct BitFlags<_0>( - pub ::core::primitive::u64, - #[codec(skip)] pub ::core::marker::PhantomData<_0>, - ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AuthorityProperties<_0> { + pub suffix: _0, + pub allocation: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Data { #[codec(index = 0)] None, @@ -1211,41 +1793,7 @@ pub mod api { #[codec(index = 37)] ShaThree256([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum IdentityField { - #[codec(index = 1)] - Display, - #[codec(index = 2)] - Legal, - #[codec(index = 4)] - Web, - #[codec(index = 8)] - Riot, - #[codec(index = 16)] - Email, - #[codec(index = 32)] - PgpFingerprint, - #[codec(index = 64)] - Image, - #[codec(index = 128)] - Twitter, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct IdentityInfo { - pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( - runtime_types::pallet_identity::types::Data, - runtime_types::pallet_identity::types::Data, - )>, - pub display: runtime_types::pallet_identity::types::Data, - pub legal: runtime_types::pallet_identity::types::Data, - pub web: runtime_types::pallet_identity::types::Data, - pub riot: runtime_types::pallet_identity::types::Data, - pub email: runtime_types::pallet_identity::types::Data, - pub pgp_fingerprint: ::core::option::Option<[::core::primitive::u8; 20usize]>, - pub image: runtime_types::pallet_identity::types::Data, - pub twitter: runtime_types::pallet_identity::types::Data, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Judgement<_0> { #[codec(index = 0)] Unknown, @@ -1262,121 +1810,54 @@ pub mod api { #[codec(index = 6)] Erroneous, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RegistrarInfo<_0, _1> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RegistrarInfo<_0, _1, _2> { pub account: _1, pub fee: _0, - pub fields: runtime_types::pallet_identity::types::BitFlags< - runtime_types::pallet_identity::types::IdentityField, - >, + pub fields: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Registration<_0> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Registration<_0, _2> { pub judgements: runtime_types::bounded_collections::bounded_vec::BoundedVec<( ::core::primitive::u32, runtime_types::pallet_identity::types::Judgement<_0>, )>, pub deposit: _0, - pub info: runtime_types::pallet_identity::types::IdentityInfo, - } - } - } - pub mod pallet_im_online { - use super::runtime_types; - pub mod pallet { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Call { - #[codec(index = 0)] - heartbeat { - heartbeat: - runtime_types::pallet_im_online::Heartbeat<::core::primitive::u32>, - signature: runtime_types::pallet_im_online::sr25519::app_sr25519::Signature, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Error { - #[codec(index = 0)] - InvalidKey, - #[codec(index = 1)] - DuplicatedHeartbeat, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Event { - #[codec(index = 0)] - HeartbeatReceived { - authority_id: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, - }, - #[codec(index = 1)] - AllGood, - #[codec(index = 2)] - SomeOffline { - offline: ::std::vec::Vec<( - ::sp_core::crypto::AccountId32, - runtime_types::pallet_staking::Exposure< - ::sp_core::crypto::AccountId32, - ::core::primitive::u128, - >, - )>, - }, - } - } - pub mod sr25519 { - use super::runtime_types; - pub mod app_sr25519 { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); + pub info: _2, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct BoundedOpaqueNetworkState { - pub peer_id: runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - pub external_addresses: - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< - ::core::primitive::u8, - >, - >, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Heartbeat<_0> { - pub block_number: _0, - pub network_state: runtime_types::sp_core::offchain::OpaqueNetworkState, - pub session_index: _0, - pub authority_index: _0, - pub validators_len: _0, - } } pub mod pallet_indices { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] claim { index: ::core::primitive::u32 }, #[codec(index = 1)] transfer { - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, index: ::core::primitive::u32, }, #[codec(index = 2)] free { index: ::core::primitive::u32 }, #[codec(index = 3)] force_transfer { - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, index: ::core::primitive::u32, freeze: ::core::primitive::bool, }, #[codec(index = 4)] freeze { index: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotAssigned, @@ -1389,7 +1870,7 @@ pub mod api { #[codec(index = 4)] Permanent, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] IndexAssigned { @@ -1410,10 +1891,22 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] reap_page { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , } , # [codec (index = 1)] execute_overweight { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page : :: core :: primitive :: u32 , index : :: core :: primitive :: u32 , weight_limit : :: sp_weights :: Weight , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + reap_page { + message_origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page_index: ::core::primitive::u32, + }, + #[codec(index = 1)] + execute_overweight { + message_origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page: ::core::primitive::u32, + index: ::core::primitive::u32, + weight_limit: ::sp_weights::Weight, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotReapable, @@ -1429,12 +1922,41 @@ pub mod api { InsufficientWeight, #[codec(index = 6)] TemporarilyUnprocessable, + #[codec(index = 7)] + QueuePaused, + #[codec(index = 8)] + RecursiveDisallowed, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { - # [codec (index = 0)] ProcessingFailed { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , error : runtime_types :: frame_support :: traits :: messages :: ProcessMessageError , } , # [codec (index = 1)] Processed { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , weight_used : :: sp_weights :: Weight , success : :: core :: primitive :: bool , } , # [codec (index = 2)] OverweightEnqueued { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , message_index : :: core :: primitive :: u32 , } , # [codec (index = 3)] PageReaped { origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , index : :: core :: primitive :: u32 , } , } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + ProcessingFailed { + id: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + error: runtime_types::frame_support::traits::messages::ProcessMessageError, + }, + #[codec(index = 1)] + Processed { + id: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + weight_used: ::sp_weights::Weight, + success: ::core::primitive::bool, + }, + #[codec(index = 2)] + OverweightEnqueued { + id: [::core::primitive::u8; 32usize], + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + page_index: ::core::primitive::u32, + message_index: ::core::primitive::u32, + }, + #[codec(index = 3)] + PageReaped { + origin: runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin, + index: ::core::primitive::u32, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -1444,12 +1966,12 @@ pub mod api { pub message_count: ::core::primitive::u64, pub size: ::core::primitive::u64, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, @@ -1465,27 +1987,37 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_multi_threshold_1 { - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, - call: ::std::boxed::Box, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 1)] as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, max_weight: ::sp_weights::Weight, }, #[codec(index = 2)] approve_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, @@ -1495,13 +2027,15 @@ pub mod api { #[codec(index = 3)] cancel_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] MinimumThreshold, @@ -1532,7 +2066,7 @@ pub mod api { #[codec(index = 13)] AlreadyStored, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewMultisig { @@ -1568,24 +2102,24 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Timepoint<_0> { pub height: _0, - pub index: _0, + pub index: ::core::primitive::u32, } } pub mod pallet_nomination_pools { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] join { @@ -1603,8 +2137,10 @@ pub mod api { claim_payout, #[codec(index = 3)] unbond { - member_account: - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + member_account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, #[codec(compact)] unbonding_points: ::core::primitive::u128, }, @@ -1615,31 +2151,53 @@ pub mod api { }, #[codec(index = 5)] withdraw_unbonded { - member_account: - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + member_account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, num_slashing_spans: ::core::primitive::u32, }, #[codec(index = 6)] create { #[codec(compact)] amount: ::core::primitive::u128, - root: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - nominator: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - bouncer: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + root: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + nominator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + bouncer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 7)] create_with_pool_id { #[codec(compact)] amount: ::core::primitive::u128, - root: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - nominator: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - bouncer: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + root: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + nominator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + bouncer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, pool_id: ::core::primitive::u32, }, #[codec(index = 8)] nominate { pool_id: ::core::primitive::u32, - validators: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + validators: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, #[codec(index = 9)] set_state { @@ -1649,7 +2207,7 @@ pub mod api { #[codec(index = 10)] set_metadata { pool_id: ::core::primitive::u32, - metadata: ::std::vec::Vec<::core::primitive::u8>, + metadata: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 11)] set_configs { @@ -1689,7 +2247,10 @@ pub mod api { chill { pool_id: ::core::primitive::u32 }, #[codec(index = 14)] bond_extra_other { - member: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + member: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, extra: runtime_types::pallet_nomination_pools::BondExtra< ::core::primitive::u128, >, @@ -1722,8 +2283,19 @@ pub mod api { }, #[codec(index = 20)] claim_commission { pool_id: ::core::primitive::u32 }, + #[codec(index = 21)] + adjust_pool_deposit { pool_id: ::core::primitive::u32 }, + #[codec(index = 22)] + set_commission_claim_permission { + pool_id: ::core::primitive::u32, + permission: ::core::option::Option< + runtime_types::pallet_nomination_pools::CommissionClaimPermission< + ::sp_core::crypto::AccountId32, + >, + >, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DefensiveError { #[codec(index = 0)] NotEnoughSpaceInUnbondPool, @@ -1736,7 +2308,7 @@ pub mod api { #[codec(index = 4)] BondedStashKilledPrematurely, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] PoolNotFound, @@ -1785,21 +2357,25 @@ pub mod api { #[codec(index = 22)] CommissionExceedsMaximum, #[codec(index = 23)] - CommissionChangeThrottled, + CommissionExceedsGlobalMaximum, #[codec(index = 24)] - CommissionChangeRateNotAllowed, + CommissionChangeThrottled, #[codec(index = 25)] - NoPendingCommission, + CommissionChangeRateNotAllowed, #[codec(index = 26)] - NoCommissionCurrentSet, + NoPendingCommission, #[codec(index = 27)] - PoolIdInUse, + NoCommissionCurrentSet, #[codec(index = 28)] - InvalidPoolId, + PoolIdInUse, #[codec(index = 29)] + InvalidPoolId, + #[codec(index = 30)] BondExtraRestricted, + #[codec(index = 31)] + NothingToAdjust, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Created { @@ -1884,20 +2460,44 @@ pub mod api { >, }, #[codec(index = 14)] + PoolCommissionClaimPermissionUpdated { + pool_id: ::core::primitive::u32, + permission: ::core::option::Option< + runtime_types::pallet_nomination_pools::CommissionClaimPermission< + ::sp_core::crypto::AccountId32, + >, + >, + }, + #[codec(index = 15)] PoolCommissionClaimed { pool_id: ::core::primitive::u32, commission: ::core::primitive::u128, }, + #[codec(index = 16)] + MinBalanceDeficitAdjusted { + pool_id: ::core::primitive::u32, + amount: ::core::primitive::u128, + }, + #[codec(index = 17)] + MinBalanceExcessAdjusted { + pool_id: ::core::primitive::u32, + amount: ::core::primitive::u128, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum FreezeReason { + #[codec(index = 0)] + PoolMinBalance, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BondExtra<_0> { #[codec(index = 0)] FreeBalance(_0), #[codec(index = 1)] Rewards, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BondedPoolInner { pub commission: runtime_types::pallet_nomination_pools::Commission, pub member_counter: ::core::primitive::u32, @@ -1907,7 +2507,7 @@ pub mod api { >, pub state: runtime_types::pallet_nomination_pools::PoolState, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ClaimPermission { #[codec(index = 0)] Permissioned, @@ -1918,7 +2518,7 @@ pub mod api { #[codec(index = 3)] PermissionlessAll, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Commission { pub current: ::core::option::Option<( runtime_types::sp_arithmetic::per_things::Perbill, @@ -1931,13 +2531,25 @@ pub mod api { >, >, pub throttle_from: ::core::option::Option<::core::primitive::u32>, + pub claim_permission: ::core::option::Option< + runtime_types::pallet_nomination_pools::CommissionClaimPermission< + ::sp_core::crypto::AccountId32, + >, + >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommissionChangeRate<_0> { pub max_increase: runtime_types::sp_arithmetic::per_things::Perbill, pub min_delay: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CommissionClaimPermission<_0> { + #[codec(index = 0)] + Permissionless, + #[codec(index = 1)] + Account(_0), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -1946,7 +2558,7 @@ pub mod api { #[codec(index = 2)] Remove, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PoolMember { pub pool_id: ::core::primitive::u32, pub points: ::core::primitive::u128, @@ -1958,14 +2570,14 @@ pub mod api { ::core::primitive::u128, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PoolRoles<_0> { pub depositor: _0, pub root: ::core::option::Option<_0>, pub nominator: ::core::option::Option<_0>, pub bouncer: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PoolState { #[codec(index = 0)] Open, @@ -1974,7 +2586,7 @@ pub mod api { #[codec(index = 2)] Destroying, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RewardPool { pub last_recorded_reward_counter: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -1983,7 +2595,7 @@ pub mod api { pub total_commission_pending: ::core::primitive::u128, pub total_commission_claimed: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SubPools { pub no_era: runtime_types::pallet_nomination_pools::UnbondPool, pub with_era: @@ -1992,7 +2604,7 @@ pub mod api { runtime_types::pallet_nomination_pools::UnbondPool, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnbondPool { pub points: ::core::primitive::u128, pub balance: ::core::primitive::u128, @@ -2002,12 +2614,12 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Offence { kind: [::core::primitive::u8; 16usize], - timeslot: ::std::vec::Vec<::core::primitive::u8>, + timeslot: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } } @@ -2016,18 +2628,26 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - note_preimage { bytes: ::std::vec::Vec<::core::primitive::u8> }, + note_preimage { + bytes: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + }, #[codec(index = 1)] - unnote_preimage { hash: ::subxt::utils::H256 }, + unnote_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 2)] - request_preimage { hash: ::subxt::utils::H256 }, + request_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 3)] - unrequest_preimage { hash: ::subxt::utils::H256 }, + unrequest_preimage { hash: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 4)] + ensure_updated { + hashes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooBig, @@ -2041,19 +2661,28 @@ pub mod api { Requested, #[codec(index = 5)] NotRequested, + #[codec(index = 6)] + TooMany, + #[codec(index = 7)] + TooFew, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Noted { hash: ::subxt::utils::H256 }, + Noted { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 1)] - Requested { hash: ::subxt::utils::H256 }, + Requested { hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 2)] - Cleared { hash: ::subxt::utils::H256 }, + Cleared { hash: ::subxt::ext::subxt_core::utils::H256 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum HoldReason { + #[codec(index = 0)] + Preimage, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum RequestStatus<_0, _1> { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum OldRequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { deposit: (_0, _1), len: ::core::primitive::u32 }, #[codec(index = 1)] @@ -2063,29 +2692,51 @@ pub mod api { len: ::core::option::Option<::core::primitive::u32>, }, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RequestStatus<_0, _1> { + #[codec(index = 0)] + Unrequested { ticket: (_0, _1), len: ::core::primitive::u32 }, + #[codec(index = 1)] + Requested { + maybe_ticket: ::core::option::Option<(_0, _1)>, + count: ::core::primitive::u32, + maybe_len: ::core::option::Option<::core::primitive::u32>, + }, + } } pub mod pallet_proxy { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] proxy { - real: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - force_proxy_type: + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + force_proxy_type: ::core::option::Option, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 1)] add_proxy { - delegate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, proxy_type: runtime_types::westend_runtime::ProxyType, delay: ::core::primitive::u32, }, #[codec(index = 2)] remove_proxy { - delegate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, proxy_type: runtime_types::westend_runtime::ProxyType, delay: ::core::primitive::u32, }, @@ -2099,7 +2750,10 @@ pub mod api { }, #[codec(index = 5)] kill_pure { - spawner: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + spawner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, proxy_type: runtime_types::westend_runtime::ProxyType, index: ::core::primitive::u16, #[codec(compact)] @@ -2109,29 +2763,46 @@ pub mod api { }, #[codec(index = 6)] announce { - real: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 7)] remove_announcement { - real: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 8)] reject_announcement { - delegate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 9)] proxy_announced { - delegate: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - real: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, force_proxy_type: ::core::option::Option, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooMany, @@ -2150,7 +2821,7 @@ pub mod api { #[codec(index = 7)] NoSelfProxy, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] ProxyExecuted { @@ -2168,7 +2839,7 @@ pub mod api { Announced { real: ::sp_core::crypto::AccountId32, proxy: ::sp_core::crypto::AccountId32, - call_hash: ::subxt::utils::H256, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] ProxyAdded { @@ -2186,13 +2857,13 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Announcement<_0, _1, _2> { pub real: _0, pub call_hash: _1, pub height: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ProxyDefinition<_0, _1, _2> { pub delegate: _0, pub proxy_type: _1, @@ -2203,49 +2874,80 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] as_recovered { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call: ::std::boxed::Box, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 1)] set_recovered { - lost: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - rescuer: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + lost: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 2)] create_recovery { - friends: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + friends: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, threshold: ::core::primitive::u16, delay_period: ::core::primitive::u32, }, #[codec(index = 3)] initiate_recovery { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 4)] vouch_recovery { - lost: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - rescuer: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + lost: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 5)] claim_recovery { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 6)] close_recovery { - rescuer: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 7)] remove_recovery, #[codec(index = 8)] cancel_recovered { - account: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotAllowed, @@ -2280,7 +2982,7 @@ pub mod api { #[codec(index = 15)] BadState, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] RecoveryCreated { account: ::sp_core::crypto::AccountId32 }, @@ -2309,13 +3011,13 @@ pub mod api { RecoveryRemoved { lost_account: ::sp_core::crypto::AccountId32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ActiveRecovery<_0, _1, _2> { pub created: _0, pub deposit: _1, pub friends: _2, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RecoveryConfig<_0, _1, _2> { pub delay_period: _0, pub deposit: _1, @@ -2323,11 +3025,323 @@ pub mod api { pub threshold: ::core::primitive::u16, } } + pub mod pallet_referenda { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + submit { + proposal_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::OriginCaller, + >, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::westend_runtime::RuntimeCall, + ::sp_runtime::traits::BlakeTwo256, + >, + enactment_moment: + runtime_types::frame_support::traits::schedule::DispatchTime< + ::core::primitive::u32, + >, + }, + #[codec(index = 1)] + place_decision_deposit { index: ::core::primitive::u32 }, + #[codec(index = 2)] + refund_decision_deposit { index: ::core::primitive::u32 }, + #[codec(index = 3)] + cancel { index: ::core::primitive::u32 }, + #[codec(index = 4)] + kill { index: ::core::primitive::u32 }, + #[codec(index = 5)] + nudge_referendum { index: ::core::primitive::u32 }, + #[codec(index = 6)] + one_fewer_deciding { track: ::core::primitive::u16 }, + #[codec(index = 7)] + refund_submission_deposit { index: ::core::primitive::u32 }, + #[codec(index = 8)] + set_metadata { + index: ::core::primitive::u32, + maybe_hash: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + NotOngoing, + #[codec(index = 1)] + HasDeposit, + #[codec(index = 2)] + BadTrack, + #[codec(index = 3)] + Full, + #[codec(index = 4)] + QueueEmpty, + #[codec(index = 5)] + BadReferendum, + #[codec(index = 6)] + NothingToDo, + #[codec(index = 7)] + NoTrack, + #[codec(index = 8)] + Unfinished, + #[codec(index = 9)] + NoPermission, + #[codec(index = 10)] + NoDeposit, + #[codec(index = 11)] + BadStatus, + #[codec(index = 12)] + PreimageNotExist, + #[codec(index = 13)] + PreimageStoredWithDifferentLength, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + Submitted { + index: ::core::primitive::u32, + track: ::core::primitive::u16, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::westend_runtime::RuntimeCall, + ::sp_runtime::traits::BlakeTwo256, + >, + }, + #[codec(index = 1)] + DecisionDepositPlaced { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 2)] + DecisionDepositRefunded { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 3)] + DepositSlashed { + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 4)] + DecisionStarted { + index: ::core::primitive::u32, + track: ::core::primitive::u16, + proposal: runtime_types::frame_support::traits::preimages::Bounded< + runtime_types::westend_runtime::RuntimeCall, + ::sp_runtime::traits::BlakeTwo256, + >, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 5)] + ConfirmStarted { index: ::core::primitive::u32 }, + #[codec(index = 6)] + ConfirmAborted { index: ::core::primitive::u32 }, + #[codec(index = 7)] + Confirmed { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 8)] + Approved { index: ::core::primitive::u32 }, + #[codec(index = 9)] + Rejected { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 10)] + TimedOut { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 11)] + Cancelled { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 12)] + Killed { + index: ::core::primitive::u32, + tally: runtime_types::pallet_conviction_voting::types::Tally< + ::core::primitive::u128, + >, + }, + #[codec(index = 13)] + SubmissionDepositRefunded { + index: ::core::primitive::u32, + who: ::sp_core::crypto::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 14)] + MetadataSet { + index: ::core::primitive::u32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, + #[codec(index = 15)] + MetadataCleared { + index: ::core::primitive::u32, + hash: ::subxt::ext::subxt_core::utils::H256, + }, + } + } + pub mod types { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Curve { + #[codec(index = 0)] + LinearDecreasing { + length: runtime_types::sp_arithmetic::per_things::Perbill, + floor: runtime_types::sp_arithmetic::per_things::Perbill, + ceil: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 1)] + SteppedDecreasing { + begin: runtime_types::sp_arithmetic::per_things::Perbill, + end: runtime_types::sp_arithmetic::per_things::Perbill, + step: runtime_types::sp_arithmetic::per_things::Perbill, + period: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 2)] + Reciprocal { + factor: runtime_types::sp_arithmetic::fixed_point::FixedI64, + x_offset: runtime_types::sp_arithmetic::fixed_point::FixedI64, + y_offset: runtime_types::sp_arithmetic::fixed_point::FixedI64, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DecidingStatus<_0> { + pub since: _0, + pub confirming: ::core::option::Option<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Deposit<_0, _1> { + pub who: _0, + pub amount: _1, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ReferendumInfo<_0, _1, _2, _3, _4, _5, _6, _7> { + #[codec(index = 0)] + Ongoing( + runtime_types::pallet_referenda::types::ReferendumStatus< + _0, + _1, + _2, + _3, + _4, + _5, + _6, + _7, + >, + ), + #[codec(index = 1)] + Approved( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 2)] + Rejected( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 3)] + Cancelled( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 4)] + TimedOut( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 5)] + Killed(_2), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7> { + pub track: _0, + pub origin: _1, + pub proposal: _3, + pub enactment: runtime_types::frame_support::traits::schedule::DispatchTime<_2>, + pub submitted: _2, + pub submission_deposit: runtime_types::pallet_referenda::types::Deposit<_6, _4>, + pub decision_deposit: ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + pub deciding: ::core::option::Option< + runtime_types::pallet_referenda::types::DecidingStatus<_2>, + >, + pub tally: _5, + pub in_queue: ::core::primitive::bool, + pub alarm: ::core::option::Option<(_2, _7)>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct TrackInfo<_0, _1> { + pub name: ::subxt::ext::subxt_core::alloc::string::String, + pub max_deciding: ::core::primitive::u32, + pub decision_deposit: _0, + pub prepare_period: _1, + pub decision_period: _1, + pub confirm_period: _1, + pub min_enactment_period: _1, + pub min_approval: runtime_types::pallet_referenda::types::Curve, + pub min_support: runtime_types::pallet_referenda::types::Curve, + } + } + } + pub mod pallet_root_testing { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + fill_block { ratio: runtime_types::sp_arithmetic::per_things::Perbill }, + #[codec(index = 1)] + trigger_defensive, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + DefensiveTestCall, + } + } + } pub mod pallet_scheduler { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] schedule { @@ -2337,7 +3351,9 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 1)] cancel { when: ::core::primitive::u32, index: ::core::primitive::u32 }, @@ -2350,7 +3366,9 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 3)] cancel_named { id: [::core::primitive::u8; 32usize] }, @@ -2362,7 +3380,9 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 5)] schedule_named_after { @@ -2373,10 +3393,28 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, + }, + #[codec(index = 6)] + set_retry { + task: (::core::primitive::u32, ::core::primitive::u32), + retries: ::core::primitive::u8, + period: ::core::primitive::u32, }, + #[codec(index = 7)] + set_retry_named { + id: [::core::primitive::u8; 32usize], + retries: ::core::primitive::u8, + period: ::core::primitive::u32, + }, + #[codec(index = 8)] + cancel_retry { task: (::core::primitive::u32, ::core::primitive::u32) }, + #[codec(index = 9)] + cancel_retry_named { id: [::core::primitive::u8; 32usize] }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] FailedToSchedule, @@ -2389,7 +3427,7 @@ pub mod api { #[codec(index = 4)] Named, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Scheduled { when: ::core::primitive::u32, index: ::core::primitive::u32 }, @@ -2403,23 +3441,46 @@ pub mod api { ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, }, #[codec(index = 3)] - CallUnavailable { + RetrySet { task: (::core::primitive::u32, ::core::primitive::u32), id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + period: ::core::primitive::u32, + retries: ::core::primitive::u8, }, #[codec(index = 4)] - PeriodicFailed { + RetryCancelled { task: (::core::primitive::u32, ::core::primitive::u32), id: ::core::option::Option<[::core::primitive::u8; 32usize]>, }, #[codec(index = 5)] + CallUnavailable { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + }, + #[codec(index = 6)] + PeriodicFailed { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + }, + #[codec(index = 7)] + RetryFailed { + task: (::core::primitive::u32, ::core::primitive::u32), + id: ::core::option::Option<[::core::primitive::u8; 32usize]>, + }, + #[codec(index = 8)] PermanentlyOverweight { task: (::core::primitive::u32, ::core::primitive::u32), id: ::core::option::Option<[::core::primitive::u8; 32usize]>, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RetryConfig<_0> { + pub total_retries: ::core::primitive::u8, + pub remaining: ::core::primitive::u8, + pub period: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Scheduled<_0, _1, _2, _3, _4> { pub maybe_id: ::core::option::Option<_0>, pub priority: ::core::primitive::u8, @@ -2427,24 +3488,24 @@ pub mod api { pub maybe_periodic: ::core::option::Option<(_2, _2)>, pub origin: _3, #[codec(skip)] - pub __subxt_unused_type_params: ::core::marker::PhantomData<_4>, + pub __ignore: ::core::marker::PhantomData<_4>, } } pub mod pallet_session { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set_keys { keys: runtime_types::westend_runtime::SessionKeys, - proof: ::std::vec::Vec<::core::primitive::u8>, + proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] purge_keys, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidProof, @@ -2457,7 +3518,7 @@ pub mod api { #[codec(index = 4)] NoAccount, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewSession { session_index: ::core::primitive::u32 }, @@ -2470,7 +3531,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] bond { @@ -2496,8 +3557,11 @@ pub mod api { validate { prefs: runtime_types::pallet_staking::ValidatorPrefs }, #[codec(index = 5)] nominate { - targets: ::std::vec::Vec< - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + targets: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, >, }, #[codec(index = 6)] @@ -2530,7 +3594,9 @@ pub mod api { force_new_era, #[codec(index = 14)] set_invulnerables { - invulnerables: ::std::vec::Vec<::sp_core::crypto::AccountId32>, + invulnerables: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::sp_core::crypto::AccountId32, + >, }, #[codec(index = 15)] force_unstake { @@ -2542,7 +3608,8 @@ pub mod api { #[codec(index = 17)] cancel_deferred_slash { era: ::core::primitive::u32, - slash_indices: ::std::vec::Vec<::core::primitive::u32>, + slash_indices: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, }, #[codec(index = 18)] payout_stakers { @@ -2561,8 +3628,11 @@ pub mod api { }, #[codec(index = 21)] kick { - who: ::std::vec::Vec< - ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, >, }, #[codec(index = 22)] @@ -2590,9 +3660,13 @@ pub mod api { min_commission: runtime_types::pallet_staking::pallet::pallet::ConfigOp< runtime_types::sp_arithmetic::per_things::Perbill, >, + max_staked_rewards: + runtime_types::pallet_staking::pallet::pallet::ConfigOp< + runtime_types::sp_arithmetic::per_things::Percent, + >, }, #[codec(index = 23)] - chill_other { controller: ::sp_core::crypto::AccountId32 }, + chill_other { stash: ::sp_core::crypto::AccountId32 }, #[codec(index = 24)] force_apply_min_commission { validator_stash: ::sp_core::crypto::AccountId32, @@ -2601,8 +3675,37 @@ pub mod api { set_min_commission { new: runtime_types::sp_arithmetic::per_things::Perbill, }, + #[codec(index = 26)] + payout_stakers_by_page { + validator_stash: ::sp_core::crypto::AccountId32, + era: ::core::primitive::u32, + page: ::core::primitive::u32, + }, + #[codec(index = 27)] + update_payee { controller: ::sp_core::crypto::AccountId32 }, + #[codec(index = 28)] + deprecate_controller_batch { + controllers: + runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::sp_core::crypto::AccountId32, + >, + }, + #[codec(index = 29)] + restore_ledger { + stash: ::sp_core::crypto::AccountId32, + maybe_controller: + ::core::option::Option<::sp_core::crypto::AccountId32>, + maybe_total: ::core::option::Option<::core::primitive::u128>, + maybe_unlocking: ::core::option::Option< + runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::pallet_staking::UnlockChunk< + ::core::primitive::u128, + >, + >, + >, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ConfigOp<_0> { #[codec(index = 0)] Noop, @@ -2611,7 +3714,7 @@ pub mod api { #[codec(index = 2)] Remove, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotController, @@ -2644,27 +3747,37 @@ pub mod api { #[codec(index = 14)] AlreadyClaimed, #[codec(index = 15)] - IncorrectHistoryDepth, + InvalidPage, #[codec(index = 16)] - IncorrectSlashingSpans, + IncorrectHistoryDepth, #[codec(index = 17)] - BadState, + IncorrectSlashingSpans, #[codec(index = 18)] - TooManyTargets, + BadState, #[codec(index = 19)] - BadTarget, + TooManyTargets, #[codec(index = 20)] - CannotChillOther, + BadTarget, #[codec(index = 21)] - TooManyNominators, + CannotChillOther, #[codec(index = 22)] - TooManyValidators, + TooManyNominators, #[codec(index = 23)] - CommissionTooLow, + TooManyValidators, #[codec(index = 24)] + CommissionTooLow, + #[codec(index = 25)] BoundNotMet, + #[codec(index = 26)] + ControllerDeprecated, + #[codec(index = 27)] + CannotRestoreLedger, + #[codec(index = 28)] + RewardDestinationRestricted, + #[codec(index = 29)] + NotEnoughFunds, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] EraPaid { @@ -2675,6 +3788,9 @@ pub mod api { #[codec(index = 1)] Rewarded { stash: ::sp_core::crypto::AccountId32, + dest: runtime_types::pallet_staking::RewardDestination< + ::sp_core::crypto::AccountId32, + >, amount: ::core::primitive::u128, }, #[codec(index = 2)] @@ -2727,45 +3843,43 @@ pub mod api { prefs: runtime_types::pallet_staking::ValidatorPrefs, }, #[codec(index = 14)] + SnapshotVotersSizeExceeded { size: ::core::primitive::u32 }, + #[codec(index = 15)] + SnapshotTargetsSizeExceeded { size: ::core::primitive::u32 }, + #[codec(index = 16)] ForceEra { mode: runtime_types::pallet_staking::Forcing }, + #[codec(index = 17)] + ControllerBatchDeprecated { failures: ::core::primitive::u32 }, } } } pub mod slashing { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SlashingSpans { pub span_index: ::core::primitive::u32, pub last_start: ::core::primitive::u32, pub last_nonzero_slash: ::core::primitive::u32, - pub prior: ::std::vec::Vec<::core::primitive::u32>, + pub prior: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SpanRecord<_0> { pub slashed: _0, pub paid_out: _0, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ActiveEraInfo { pub index: ::core::primitive::u32, pub start: ::core::option::Option<::core::primitive::u64>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EraRewardPoints<_0> { pub total: ::core::primitive::u32, - pub individual: ::subxt::utils::KeyedVec<_0, ::core::primitive::u32>, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Exposure<_0, _1> { - #[codec(compact)] - pub total: _1, - #[codec(compact)] - pub own: _1, - pub others: - ::std::vec::Vec>, + pub individual: + ::subxt::ext::subxt_core::utils::KeyedVec<_0, ::core::primitive::u32>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Forcing { #[codec(index = 0)] NotForcing, @@ -2776,13 +3890,7 @@ pub mod api { #[codec(index = 3)] ForceAlways, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct IndividualExposure<_0, _1> { - pub who: _0, - #[codec(compact)] - pub value: _1, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Nominations { pub targets: runtime_types::bounded_collections::bounded_vec::BoundedVec< ::sp_core::crypto::AccountId32, @@ -2790,7 +3898,7 @@ pub mod api { pub submitted_in: ::core::primitive::u32, pub suppressed: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RewardDestination<_0> { #[codec(index = 0)] Staked, @@ -2803,7 +3911,7 @@ pub mod api { #[codec(index = 4)] None, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct StakingLedger { pub stash: ::sp_core::crypto::AccountId32, #[codec(compact)] @@ -2813,26 +3921,27 @@ pub mod api { pub unlocking: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::pallet_staking::UnlockChunk<::core::primitive::u128>, >, - pub claimed_rewards: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::core::primitive::u32, - >, + pub legacy_claimed_rewards: + runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u32, + >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnappliedSlash<_0, _1> { pub validator: _0, pub own: _1, - pub others: ::std::vec::Vec<(_0, _1)>, - pub reporters: ::std::vec::Vec<_0>, + pub others: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _1)>, + pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub payout: _1, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UnlockChunk<_0> { #[codec(compact)] pub value: _0, #[codec(compact)] pub era: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ValidatorPrefs { #[codec(compact)] pub commission: runtime_types::sp_arithmetic::per_things::Perbill, @@ -2843,31 +3952,47 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - sudo { call: ::std::boxed::Box }, + sudo { + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, + }, #[codec(index = 1)] sudo_unchecked_weight { - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, weight: ::sp_weights::Weight, }, #[codec(index = 2)] set_key { - new: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 3)] sudo_as { - who: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - call: ::std::boxed::Box, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, + #[codec(index = 4)] + remove_key, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] RequireSudo, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Sudid { @@ -2876,9 +4001,12 @@ pub mod api { }, #[codec(index = 1)] KeyChanged { - old_sudoer: ::core::option::Option<::sp_core::crypto::AccountId32>, + old: ::core::option::Option<::sp_core::crypto::AccountId32>, + new: ::sp_core::crypto::AccountId32, }, #[codec(index = 2)] + KeyRemoved, + #[codec(index = 3)] SudoAsDone { sudo_result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, @@ -2890,7 +4018,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] set { @@ -2904,7 +4032,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] TransactionFeePaid { @@ -2914,9 +4042,31 @@ pub mod api { }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub mod types { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct FeeDetails<_0> { + pub inclusion_fee: ::core::option::Option< + runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, + >, + pub tip: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InclusionFee<_0> { + pub base_fee: _0, + pub len_fee: _0, + pub adjusted_weight_fee: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RuntimeDispatchInfo<_0, _1> { + pub weight: _1, + pub class: runtime_types::frame_support::dispatch::DispatchClass, + pub partial_fee: _0, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -2924,44 +4074,228 @@ pub mod api { V2, } } + pub mod pallet_treasury { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + propose_spend { + #[codec(compact)] + value: ::core::primitive::u128, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 1)] + reject_proposal { + #[codec(compact)] + proposal_id: ::core::primitive::u32, + }, + #[codec(index = 2)] + approve_proposal { + #[codec(compact)] + proposal_id: ::core::primitive::u32, + }, + #[codec(index = 3)] + spend_local { + #[codec(compact)] + amount: ::core::primitive::u128, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + }, + #[codec(index = 4)] + remove_approval { + #[codec(compact)] + proposal_id: ::core::primitive::u32, + }, + #[codec(index = 5)] + spend { + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + >, + #[codec(compact)] + amount: ::core::primitive::u128, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + valid_from: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 6)] + payout { index: ::core::primitive::u32 }, + #[codec(index = 7)] + check_status { index: ::core::primitive::u32 }, + #[codec(index = 8)] + void_spend { index: ::core::primitive::u32 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + InsufficientProposersBalance, + #[codec(index = 1)] + InvalidIndex, + #[codec(index = 2)] + TooManyApprovals, + #[codec(index = 3)] + InsufficientPermission, + #[codec(index = 4)] + ProposalNotApproved, + #[codec(index = 5)] + FailedToConvertBalance, + #[codec(index = 6)] + SpendExpired, + #[codec(index = 7)] + EarlyPayout, + #[codec(index = 8)] + AlreadyAttempted, + #[codec(index = 9)] + PayoutError, + #[codec(index = 10)] + NotAttempted, + #[codec(index = 11)] + Inconclusive, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + Proposed { proposal_index: ::core::primitive::u32 }, + #[codec(index = 1)] + Spending { budget_remaining: ::core::primitive::u128 }, + #[codec(index = 2)] + Awarded { + proposal_index: ::core::primitive::u32, + award: ::core::primitive::u128, + account: ::sp_core::crypto::AccountId32, + }, + #[codec(index = 3)] + Rejected { + proposal_index: ::core::primitive::u32, + slashed: ::core::primitive::u128, + }, + #[codec(index = 4)] + Burnt { burnt_funds: ::core::primitive::u128 }, + #[codec(index = 5)] + Rollover { rollover_balance: ::core::primitive::u128 }, + #[codec(index = 6)] + Deposit { value: ::core::primitive::u128 }, + #[codec(index = 7)] + SpendApproved { + proposal_index: ::core::primitive::u32, + amount: ::core::primitive::u128, + beneficiary: ::sp_core::crypto::AccountId32, + }, + #[codec(index = 8)] + UpdatedInactive { + reactivated: ::core::primitive::u128, + deactivated: ::core::primitive::u128, + }, + #[codec(index = 9)] + AssetSpendApproved { + index: ::core::primitive::u32, + asset_kind: + runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, + amount: ::core::primitive::u128, + beneficiary: runtime_types::xcm::VersionedLocation, + valid_from: ::core::primitive::u32, + expire_at: ::core::primitive::u32, + }, + #[codec(index = 10)] + AssetSpendVoided { index: ::core::primitive::u32 }, + #[codec(index = 11)] + Paid { index: ::core::primitive::u32, payment_id: ::core::primitive::u64 }, + #[codec(index = 12)] + PaymentFailed { + index: ::core::primitive::u32, + payment_id: ::core::primitive::u64, + }, + #[codec(index = 13)] + SpendProcessed { index: ::core::primitive::u32 }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum PaymentState<_0> { + #[codec(index = 0)] + Pending, + #[codec(index = 1)] + Attempted { id: _0 }, + #[codec(index = 2)] + Failed, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Proposal<_0, _1> { + pub proposer: _0, + pub value: _1, + pub beneficiary: _0, + pub bond: _1, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct SpendStatus<_0, _1, _2, _3, _4> { + pub asset_kind: _0, + pub amount: _1, + pub beneficiary: _2, + pub valid_from: _3, + pub expire_at: _3, + pub status: runtime_types::pallet_treasury::PaymentState<_4>, + } + } pub mod pallet_utility { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - batch { calls: ::std::vec::Vec }, + batch { + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::westend_runtime::RuntimeCall, + >, + }, #[codec(index = 1)] as_derivative { index: ::core::primitive::u16, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 2)] batch_all { - calls: ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 3)] dispatch_as { - as_origin: ::std::boxed::Box, - call: ::std::boxed::Box, + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::OriginCaller, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 4)] force_batch { - calls: ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::westend_runtime::RuntimeCall, + >, }, #[codec(index = 5)] with_weight { - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, weight: ::sp_weights::Weight, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyCalls, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] BatchInterrupted { @@ -2988,17 +4322,23 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] vest, #[codec(index = 1)] vest_other { - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, }, #[codec(index = 2)] vested_transfer { - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< ::core::primitive::u128, ::core::primitive::u32, @@ -3006,8 +4346,14 @@ pub mod api { }, #[codec(index = 3)] force_vested_transfer { - source: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, - target: ::subxt::utils::MultiAddress<::sp_core::crypto::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< ::core::primitive::u128, ::core::primitive::u32, @@ -3018,8 +4364,16 @@ pub mod api { schedule1_index: ::core::primitive::u32, schedule2_index: ::core::primitive::u32, }, + #[codec(index = 5)] + force_remove_vesting_schedule { + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::sp_core::crypto::AccountId32, + (), + >, + schedule_index: ::core::primitive::u32, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotVesting, @@ -3032,7 +4386,7 @@ pub mod api { #[codec(index = 4)] InvalidScheduleParams, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] VestingUpdated { @@ -3045,14 +4399,14 @@ pub mod api { } pub mod vesting_info { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VestingInfo<_0, _1> { pub locked: _0, pub per_block: _0, pub starting_block: _1, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Releases { #[codec(index = 0)] V0, @@ -3060,74 +4414,209 @@ pub mod api { V1, } } - pub mod pallet_xcm { + pub mod pallet_whitelist { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - send { - dest: ::std::boxed::Box, - message: ::std::boxed::Box, - }, + whitelist_call { call_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 1)] - teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - }, + remove_whitelisted_call { call_hash: ::subxt::ext::subxt_core::utils::H256 }, #[codec(index = 2)] - reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, + dispatch_whitelisted_call { + call_hash: ::subxt::ext::subxt_core::utils::H256, + call_encoded_len: ::core::primitive::u32, + call_weight_witness: ::sp_weights::Weight, }, #[codec(index = 3)] - execute { - message: ::std::boxed::Box, - max_weight: ::sp_weights::Weight, + dispatch_whitelisted_call_with_preimage { + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::westend_runtime::RuntimeCall, + >, }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + UnavailablePreImage, + #[codec(index = 1)] + UndecodableCall, + #[codec(index = 2)] + InvalidCallWeightWitness, + #[codec(index = 3)] + CallIsNotWhitelisted, #[codec(index = 4)] - force_xcm_version { - location: - ::std::boxed::Box, - xcm_version: ::core::primitive::u32, - }, - #[codec(index = 5)] - force_default_xcm_version { - maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, - }, - #[codec(index = 6)] - force_subscribe_version_notify { - location: ::std::boxed::Box, - }, - #[codec(index = 7)] - force_unsubscribe_version_notify { - location: ::std::boxed::Box, - }, - #[codec(index = 8)] - limited_reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, - }, - #[codec(index = 9)] - limited_teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, - fee_asset_item: ::core::primitive::u32, - weight_limit: runtime_types::xcm::v3::WeightLimit, + CallAlreadyWhitelisted, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + CallWhitelisted { call_hash: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 1)] + WhitelistedCallRemoved { call_hash: ::subxt::ext::subxt_core::utils::H256 }, + #[codec(index = 2)] + WhitelistedCallDispatched { + call_hash: ::subxt::ext::subxt_core::utils::H256, + result: ::core::result::Result< + runtime_types::frame_support::dispatch::PostDispatchInfo, + runtime_types::sp_runtime::DispatchErrorWithPostInfo< + runtime_types::frame_support::dispatch::PostDispatchInfo, + >, + >, }, - #[codec(index = 10)] - force_suspension { suspended: ::core::primitive::bool }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + } + } + pub mod pallet_xcm { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + send { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + }, + #[codec(index = 1)] + teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 2)] + reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + }, + #[codec(index = 3)] + execute { + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + max_weight: ::sp_weights::Weight, + }, + #[codec(index = 4)] + force_xcm_version { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm::v4::location::Location, + >, + version: ::core::primitive::u32, + }, + #[codec(index = 5)] + force_default_xcm_version { + maybe_xcm_version: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 6)] + force_subscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 7)] + force_unsubscribe_version_notify { + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 8)] + limited_reserve_transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 9)] + limited_teleport_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 10)] + force_suspension { suspended: ::core::primitive::bool }, + #[codec(index = 11)] + transfer_assets { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + fee_asset_item: ::core::primitive::u32, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 12)] + claim_assets { + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + }, + #[codec(index = 13)] + transfer_assets_using_type_and_then { + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssets, + >, + assets_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + remote_fees_id: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedAssetId, + >, + fees_transfer_type: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::staging_xcm_executor::traits::asset_transfer::TransferType, + >, + custom_xcm_on_dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Unreachable, @@ -3156,7 +4645,7 @@ pub mod api { #[codec(index = 12)] AlreadySubscribed, #[codec(index = 13)] - InvalidAsset, + CannotCheckOutTeleport, #[codec(index = 14)] LowBalance, #[codec(index = 15)] @@ -3169,167 +4658,189 @@ pub mod api { LockNotFound, #[codec(index = 19)] InUse, + #[codec(index = 21)] + InvalidAssetUnknownReserve, + #[codec(index = 22)] + InvalidAssetUnsupportedReserve, + #[codec(index = 23)] + TooManyReserves, + #[codec(index = 24)] + LocalExecutionIncomplete, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Attempted(runtime_types::xcm::v3::traits::Outcome), + Attempted { outcome: runtime_types::staging_xcm::v4::traits::Outcome }, #[codec(index = 1)] - Sent( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::Xcm, - ), + Sent { + origin: runtime_types::staging_xcm::v4::location::Location, + destination: runtime_types::staging_xcm::v4::location::Location, + message: runtime_types::staging_xcm::v4::Xcm, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 2)] - UnexpectedResponse( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - ), + UnexpectedResponse { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + }, #[codec(index = 3)] - ResponseReady(::core::primitive::u64, runtime_types::xcm::v3::Response), + ResponseReady { + query_id: ::core::primitive::u64, + response: runtime_types::staging_xcm::v4::Response, + }, #[codec(index = 4)] - Notified(::core::primitive::u64, ::core::primitive::u8, ::core::primitive::u8), + Notified { + query_id: ::core::primitive::u64, + pallet_index: ::core::primitive::u8, + call_index: ::core::primitive::u8, + }, #[codec(index = 5)] - NotifyOverweight( - ::core::primitive::u64, - ::core::primitive::u8, - ::core::primitive::u8, - ::sp_weights::Weight, - ::sp_weights::Weight, - ), + NotifyOverweight { + query_id: ::core::primitive::u64, + pallet_index: ::core::primitive::u8, + call_index: ::core::primitive::u8, + actual_weight: ::sp_weights::Weight, + max_budgeted_weight: ::sp_weights::Weight, + }, #[codec(index = 6)] - NotifyDispatchError( - ::core::primitive::u64, - ::core::primitive::u8, - ::core::primitive::u8, - ), + NotifyDispatchError { + query_id: ::core::primitive::u64, + pallet_index: ::core::primitive::u8, + call_index: ::core::primitive::u8, + }, #[codec(index = 7)] - NotifyDecodeFailed( - ::core::primitive::u64, - ::core::primitive::u8, - ::core::primitive::u8, - ), + NotifyDecodeFailed { + query_id: ::core::primitive::u64, + pallet_index: ::core::primitive::u8, + call_index: ::core::primitive::u8, + }, #[codec(index = 8)] - InvalidResponder( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + InvalidResponder { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + expected_location: ::core::option::Option< + runtime_types::staging_xcm::v4::location::Location, >, - ), + }, #[codec(index = 9)] - InvalidResponderVersion( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - ), + InvalidResponderVersion { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + }, #[codec(index = 10)] - ResponseTaken(::core::primitive::u64), + ResponseTaken { query_id: ::core::primitive::u64 }, #[codec(index = 11)] - AssetsTrapped( - ::subxt::utils::H256, - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::VersionedMultiAssets, - ), + AssetsTrapped { + hash: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::staging_xcm::v4::location::Location, + assets: runtime_types::xcm::VersionedAssets, + }, #[codec(index = 12)] - VersionChangeNotified( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u32, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + VersionChangeNotified { + destination: runtime_types::staging_xcm::v4::location::Location, + result: ::core::primitive::u32, + cost: runtime_types::staging_xcm::v4::asset::Assets, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 13)] - SupportedVersionChanged( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u32, - ), + SupportedVersionChanged { + location: runtime_types::staging_xcm::v4::location::Location, + version: ::core::primitive::u32, + }, #[codec(index = 14)] - NotifyTargetSendFail( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - runtime_types::xcm::v3::traits::Error, - ), - #[codec(index = 15)] - NotifyTargetMigrationFail( - runtime_types::xcm::VersionedMultiLocation, - ::core::primitive::u64, - ), + NotifyTargetSendFail { + location: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + error: runtime_types::xcm::v3::traits::Error, + }, + #[codec(index = 15)] + NotifyTargetMigrationFail { + location: runtime_types::xcm::VersionedLocation, + query_id: ::core::primitive::u64, + }, #[codec(index = 16)] - InvalidQuerierVersion( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - ), + InvalidQuerierVersion { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + }, #[codec(index = 17)] - InvalidQuerier( - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::primitive::u64, - runtime_types::xcm::v3::multilocation::MultiLocation, - ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + InvalidQuerier { + origin: runtime_types::staging_xcm::v4::location::Location, + query_id: ::core::primitive::u64, + expected_querier: runtime_types::staging_xcm::v4::location::Location, + maybe_actual_querier: ::core::option::Option< + runtime_types::staging_xcm::v4::location::Location, >, - ), + }, #[codec(index = 18)] - VersionNotifyStarted( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + VersionNotifyStarted { + destination: runtime_types::staging_xcm::v4::location::Location, + cost: runtime_types::staging_xcm::v4::asset::Assets, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 19)] - VersionNotifyRequested( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + VersionNotifyRequested { + destination: runtime_types::staging_xcm::v4::location::Location, + cost: runtime_types::staging_xcm::v4::asset::Assets, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 20)] - VersionNotifyUnrequested( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + VersionNotifyUnrequested { + destination: runtime_types::staging_xcm::v4::location::Location, + cost: runtime_types::staging_xcm::v4::asset::Assets, + message_id: [::core::primitive::u8; 32usize], + }, #[codec(index = 21)] - FeesPaid( - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::v3::multiasset::MultiAssets, - ), + FeesPaid { + paying: runtime_types::staging_xcm::v4::location::Location, + fees: runtime_types::staging_xcm::v4::asset::Assets, + }, #[codec(index = 22)] - AssetsClaimed( - ::subxt::utils::H256, - runtime_types::xcm::v3::multilocation::MultiLocation, - runtime_types::xcm::VersionedMultiAssets, - ), + AssetsClaimed { + hash: ::subxt::ext::subxt_core::utils::H256, + origin: runtime_types::staging_xcm::v4::location::Location, + assets: runtime_types::xcm::VersionedAssets, + }, + #[codec(index = 23)] + VersionMigrationFinished { version: ::core::primitive::u32 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] - Xcm(runtime_types::xcm::v3::multilocation::MultiLocation), + Xcm(runtime_types::staging_xcm::v4::location::Location), #[codec(index = 1)] - Response(runtime_types::xcm::v3::multilocation::MultiLocation), + Response(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { - responder: runtime_types::xcm::VersionedMultiLocation, + responder: runtime_types::xcm::VersionedLocation, maybe_match_querier: - ::core::option::Option, + ::core::option::Option, maybe_notify: ::core::option::Option<(::core::primitive::u8, ::core::primitive::u8)>, timeout: _0, }, #[codec(index = 1)] VersionNotifier { - origin: runtime_types::xcm::VersionedMultiLocation, + origin: runtime_types::xcm::VersionedLocation, is_active: ::core::primitive::bool, }, #[codec(index = 2)] Ready { response: runtime_types::xcm::VersionedResponse, at: _0 }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, - pub owner: runtime_types::xcm::VersionedMultiLocation, - pub locker: runtime_types::xcm::VersionedMultiLocation, + pub owner: runtime_types::xcm::VersionedLocation, + pub locker: runtime_types::xcm::VersionedLocation, pub consumers: runtime_types::bounded_collections::bounded_vec::BoundedVec<( _0, ::core::primitive::u128, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -3337,7 +4848,9 @@ pub mod api { MigrateVersionNotifiers, #[codec(index = 2)] NotifyCurrentTargets( - ::core::option::Option<::std::vec::Vec<::core::primitive::u8>>, + ::core::option::Option< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, ), #[codec(index = 3)] MigrateAndNotifyOldTargets, @@ -3346,69 +4859,145 @@ pub mod api { } pub mod polkadot_core_primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct CandidateHash(pub ::subxt::utils::H256); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CandidateHash(pub ::subxt::ext::subxt_core::utils::H256); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, - pub msg: ::std::vec::Vec<::core::primitive::u8>, + pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } - pub mod polkadot_parachain { + pub mod polkadot_parachain_primitives { use super::runtime_types; pub mod primitives { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct HeadData(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct HeadData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannelId { - pub sender: runtime_types::polkadot_parachain::primitives::Id, - pub recipient: runtime_types::polkadot_parachain::primitives::Id, + pub sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Id(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ValidationCode(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ValidationCodeHash(pub ::subxt::utils::H256); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidationCode( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidationCodeHash(pub ::subxt::ext::subxt_core::utils::H256); } } pub mod polkadot_primitives { use super::runtime_types; - pub mod v4 { + pub mod v7 { use super::runtime_types; pub mod assignment_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + } + pub mod async_backing { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AsyncBackingParams { + pub max_candidate_depth: ::core::primitive::u32, + pub allowed_ancestry_len: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BackingState<_0, _1> { + pub constraints: runtime_types::polkadot_primitives::v7::async_backing::Constraints< + _1, + >, + pub pending_availability: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::async_backing::CandidatePendingAvailability< + _0, + _1, + >, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CandidatePendingAvailability<_0, _1> { + pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, + pub descriptor: + runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, + pub commitments: + runtime_types::polkadot_primitives::v7::CandidateCommitments<_1>, + pub relay_parent_number: _1, + pub max_pov_size: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Constraints<_0> { + pub min_relay_parent_number: _0, + pub max_pov_size: ::core::primitive::u32, + pub max_code_size: ::core::primitive::u32, + pub ump_remaining: ::core::primitive::u32, + pub ump_remaining_bytes: ::core::primitive::u32, + pub max_ump_num_per_candidate: ::core::primitive::u32, + pub dmp_remaining_messages: ::subxt::ext::subxt_core::alloc::vec::Vec< + _0, + >, + pub hrmp_inbound: runtime_types::polkadot_primitives::v7::async_backing::InboundHrmpLimitations< + _0, + >, + pub hrmp_channels_out: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::polkadot_parachain_primitives::primitives::Id, + runtime_types::polkadot_primitives::v7::async_backing::OutboundHrmpChannelLimitations, + ), + >, + pub max_hrmp_num_per_candidate: ::core::primitive::u32, + pub required_parent: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + pub validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + pub upgrade_restriction: ::core::option::Option< + runtime_types::polkadot_primitives::v7::UpgradeRestriction, + >, + pub future_validation_code: ::core::option::Option< + ( + _0, + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + ), + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InboundHrmpLimitations<_0> { + pub valid_watermarks: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OutboundHrmpChannelLimitations { + pub bytes_remaining: ::core::primitive::u32, + pub messages_remaining: ::core::primitive::u32, + } } pub mod collator_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 64usize]); } pub mod executor_params { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ExecutorParam { #[codec(index = 1)] MaxMemoryPages(::core::primitive::u32), @@ -3420,252 +5009,370 @@ pub mod api { PrecheckingMaxMemory(::core::primitive::u64), #[codec(index = 5)] PvfPrepTimeout( - runtime_types::polkadot_primitives::v4::PvfPrepTimeoutKind, + runtime_types::polkadot_primitives::v7::PvfPrepKind, ::core::primitive::u64, ), #[codec(index = 6)] PvfExecTimeout( - runtime_types::polkadot_primitives::v4::PvfExecTimeoutKind, + runtime_types::polkadot_primitives::v7::PvfExecKind, ::core::primitive::u64, ), #[codec(index = 7)] WasmExtBulkMemory, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ExecutorParams( - pub ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::executor_params::ExecutorParam, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::executor_params::ExecutorParam, >, ); } pub mod signed { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct UncheckedSigned<_0, _1> { pub payload: _0, - pub validator_index: runtime_types::polkadot_primitives::v4::ValidatorIndex, + pub validator_index: runtime_types::polkadot_primitives::v7::ValidatorIndex, pub signature: - runtime_types::polkadot_primitives::v4::validator_app::Signature, + runtime_types::polkadot_primitives::v7::validator_app::Signature, #[codec(skip)] - pub __subxt_unused_type_params: ::core::marker::PhantomData<_1>, + pub __ignore: ::core::marker::PhantomData<_1>, + } + } + pub mod slashing { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DisputeProof { + pub time_slot: + runtime_types::polkadot_primitives::v7::slashing::DisputesTimeSlot, + pub kind: + runtime_types::polkadot_primitives::v7::slashing::SlashingOffenceKind, + pub validator_index: runtime_types::polkadot_primitives::v7::ValidatorIndex, + pub validator_id: + runtime_types::polkadot_primitives::v7::validator_app::Public, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DisputesTimeSlot { + pub session_index: ::core::primitive::u32, + pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PendingSlashes { + pub keys: ::subxt::ext::subxt_core::utils::KeyedVec< + runtime_types::polkadot_primitives::v7::ValidatorIndex, + runtime_types::polkadot_primitives::v7::validator_app::Public, + >, + pub kind: + runtime_types::polkadot_primitives::v7::slashing::SlashingOffenceKind, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum SlashingOffenceKind { + #[codec(index = 0)] + ForInvalid, + #[codec(index = 1)] + AgainstValid, } } pub mod validator_app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 64usize]); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct ApprovalVotingParams { + pub max_approval_coalesce_count: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct AvailabilityBitfield( - pub ::subxt::utils::bits::DecodedBits< + pub ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BackedCandidate<_0> { pub candidate: - runtime_types::polkadot_primitives::v4::CommittedCandidateReceipt<_0>, - pub validity_votes: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::ValidityAttestation, + runtime_types::polkadot_primitives::v7::CommittedCandidateReceipt<_0>, + pub validity_votes: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::ValidityAttestation, >, - pub validator_indices: ::subxt::utils::bits::DecodedBits< + pub validator_indices: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateCommitments<_0> { pub upward_messages: runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, pub horizontal_messages: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::polkadot_core_primitives::OutboundHrmpMessage< - runtime_types::polkadot_parachain::primitives::Id, + runtime_types::polkadot_parachain_primitives::primitives::Id, >, >, pub new_validation_code: ::core::option::Option< - runtime_types::polkadot_parachain::primitives::ValidationCode, + runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, >, - pub head_data: runtime_types::polkadot_parachain::primitives::HeadData, - pub processed_downward_messages: _0, + pub head_data: + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + pub processed_downward_messages: ::core::primitive::u32, pub hrmp_watermark: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateDescriptor<_0> { - pub para_id: runtime_types::polkadot_parachain::primitives::Id, - pub relay_parent: _0, - pub collator: runtime_types::polkadot_primitives::v4::collator_app::Public, - pub persisted_validation_data_hash: _0, - pub pov_hash: _0, - pub erasure_root: _0, - pub signature: runtime_types::polkadot_primitives::v4::collator_app::Signature, - pub para_head: _0, - pub validation_code_hash: - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub relay_parent: _0, + pub collator: runtime_types::polkadot_primitives::v7::collator_app::Public, + pub persisted_validation_data_hash: ::subxt::ext::subxt_core::utils::H256, + pub pov_hash: ::subxt::ext::subxt_core::utils::H256, + pub erasure_root: ::subxt::ext::subxt_core::utils::H256, + pub signature: runtime_types::polkadot_primitives::v7::collator_app::Signature, + pub para_head: ::subxt::ext::subxt_core::utils::H256, + pub validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CandidateEvent<_0> { + #[codec(index = 0)] + CandidateBacked( + runtime_types::polkadot_primitives::v7::CandidateReceipt<_0>, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + runtime_types::polkadot_primitives::v7::GroupIndex, + ), + #[codec(index = 1)] + CandidateIncluded( + runtime_types::polkadot_primitives::v7::CandidateReceipt<_0>, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + runtime_types::polkadot_primitives::v7::GroupIndex, + ), + #[codec(index = 2)] + CandidateTimedOut( + runtime_types::polkadot_primitives::v7::CandidateReceipt<_0>, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidateReceipt<_0> { - pub descriptor: runtime_types::polkadot_primitives::v4::CandidateDescriptor<_0>, - pub commitments_hash: _0, + pub descriptor: runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, + pub commitments_hash: ::subxt::ext::subxt_core::utils::H256, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CommittedCandidateReceipt<_0> { - pub descriptor: runtime_types::polkadot_primitives::v4::CandidateDescriptor<_0>, - pub commitments: runtime_types::polkadot_primitives::v4::CandidateCommitments< + pub descriptor: runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, + pub commitments: runtime_types::polkadot_primitives::v7::CandidateCommitments< ::core::primitive::u32, >, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct CoreIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum CoreOccupied { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CoreState<_0, _1> { #[codec(index = 0)] - Parathread(runtime_types::polkadot_primitives::v4::ParathreadEntry), + Occupied(runtime_types::polkadot_primitives::v7::OccupiedCore<_0, _1>), #[codec(index = 1)] - Parachain, + Scheduled(runtime_types::polkadot_primitives::v7::ScheduledCore), + #[codec(index = 2)] + Free, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeState<_0> { - pub validators_for: ::subxt::utils::bits::DecodedBits< + pub validators_for: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub validators_against: ::subxt::utils::bits::DecodedBits< + pub validators_against: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, pub start: _0, pub concluded_at: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeStatement { #[codec(index = 0)] - Valid(runtime_types::polkadot_primitives::v4::ValidDisputeStatementKind), + Valid(runtime_types::polkadot_primitives::v7::ValidDisputeStatementKind), #[codec(index = 1)] - Invalid(runtime_types::polkadot_primitives::v4::InvalidDisputeStatementKind), + Invalid(runtime_types::polkadot_primitives::v7::InvalidDisputeStatementKind), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DisputeStatementSet { pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub session: ::core::primitive::u32, - pub statements: ::std::vec::Vec<( - runtime_types::polkadot_primitives::v4::DisputeStatement, - runtime_types::polkadot_primitives::v4::ValidatorIndex, - runtime_types::polkadot_primitives::v4::validator_app::Signature, + pub statements: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_primitives::v7::DisputeStatement, + runtime_types::polkadot_primitives::v7::ValidatorIndex, + runtime_types::polkadot_primitives::v7::validator_app::Signature, )>, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct GroupIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct GroupRotationInfo<_0> { + pub session_start_block: _0, + pub group_rotation_frequency: _0, + pub now: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct IndexedVec<_0, _1>( - pub ::std::vec::Vec<_1>, + pub ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, #[codec(skip)] pub ::core::marker::PhantomData<_0>, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct InherentData<_0> { - pub bitfields: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::signed::UncheckedSigned< - runtime_types::polkadot_primitives::v4::AvailabilityBitfield, - runtime_types::polkadot_primitives::v4::AvailabilityBitfield, + pub bitfields: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::signed::UncheckedSigned< + runtime_types::polkadot_primitives::v7::AvailabilityBitfield, + runtime_types::polkadot_primitives::v7::AvailabilityBitfield, >, >, - pub backed_candidates: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::BackedCandidate< - ::subxt::utils::H256, + pub backed_candidates: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::BackedCandidate< + ::subxt::ext::subxt_core::utils::H256, >, >, - pub disputes: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::DisputeStatementSet, + pub disputes: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::DisputeStatementSet, >, pub parent_header: _0, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum InvalidDisputeStatementKind { #[codec(index = 0)] Explicit, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParathreadClaim( - pub runtime_types::polkadot_parachain::primitives::Id, - pub runtime_types::polkadot_primitives::v4::collator_app::Public, - ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParathreadEntry { - pub claim: runtime_types::polkadot_primitives::v4::ParathreadClaim, - pub retries: ::core::primitive::u32, + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OccupiedCore<_0, _1> { + pub next_up_on_available: ::core::option::Option< + runtime_types::polkadot_primitives::v7::ScheduledCore, + >, + pub occupied_since: _1, + pub time_out_at: _1, + pub next_up_on_time_out: ::core::option::Option< + runtime_types::polkadot_primitives::v7::ScheduledCore, + >, + pub availability: ::subxt::ext::subxt_core::utils::bits::DecodedBits< + ::core::primitive::u8, + ::subxt::ext::subxt_core::utils::bits::Lsb0, + >, + pub group_responsible: runtime_types::polkadot_primitives::v7::GroupIndex, + pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, + pub candidate_descriptor: + runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PvfCheckStatement { - pub accept: ::core::primitive::bool, - pub subject: runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - pub session_index: ::core::primitive::u32, - pub validator_index: runtime_types::polkadot_primitives::v4::ValidatorIndex, + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum OccupiedCoreAssumption { + #[codec(index = 0)] + Included, + #[codec(index = 1)] + TimedOut, + #[codec(index = 2)] + Free, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum PvfExecTimeoutKind { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PersistedValidationData<_0, _1> { + pub parent_head: + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + pub relay_parent_number: _1, + pub relay_parent_storage_root: _0, + pub max_pov_size: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PvfCheckStatement { + pub accept: ::core::primitive::bool, + pub subject: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + pub session_index: ::core::primitive::u32, + pub validator_index: runtime_types::polkadot_primitives::v7::ValidatorIndex, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum PvfExecKind { #[codec(index = 0)] Backing, #[codec(index = 1)] Approval, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum PvfPrepTimeoutKind { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum PvfPrepKind { #[codec(index = 0)] Precheck, #[codec(index = 1)] - Lenient, + Prepare, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ScheduledCore { + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub collator: ::core::option::Option< + runtime_types::polkadot_primitives::v7::collator_app::Public, + >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ScrapedOnChainVotes<_0> { pub session: ::core::primitive::u32, - pub backing_validators_per_candidate: ::std::vec::Vec<( - runtime_types::polkadot_primitives::v4::CandidateReceipt<_0>, - ::std::vec::Vec<( - runtime_types::polkadot_primitives::v4::ValidatorIndex, - runtime_types::polkadot_primitives::v4::ValidityAttestation, + pub backing_validators_per_candidate: + ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_primitives::v7::CandidateReceipt<_0>, + ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_primitives::v7::ValidatorIndex, + runtime_types::polkadot_primitives::v7::ValidityAttestation, + )>, )>, - )>, - pub disputes: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::DisputeStatementSet, + pub disputes: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::DisputeStatementSet, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionInfo { - pub active_validator_indices: - ::std::vec::Vec, + pub active_validator_indices: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::ValidatorIndex, + >, pub random_seed: [::core::primitive::u8; 32usize], pub dispute_period: ::core::primitive::u32, - pub validators: runtime_types::polkadot_primitives::v4::IndexedVec< - runtime_types::polkadot_primitives::v4::ValidatorIndex, - runtime_types::polkadot_primitives::v4::validator_app::Public, + pub validators: runtime_types::polkadot_primitives::v7::IndexedVec< + runtime_types::polkadot_primitives::v7::ValidatorIndex, + runtime_types::polkadot_primitives::v7::validator_app::Public, + >, + pub discovery_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_authority_discovery::app::Public, >, - pub discovery_keys: - ::std::vec::Vec, - pub assignment_keys: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::assignment_app::Public, + pub assignment_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::assignment_app::Public, >, - pub validator_groups: runtime_types::polkadot_primitives::v4::IndexedVec< - runtime_types::polkadot_primitives::v4::GroupIndex, - ::std::vec::Vec, + pub validator_groups: runtime_types::polkadot_primitives::v7::IndexedVec< + runtime_types::polkadot_primitives::v7::GroupIndex, + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::ValidatorIndex, + >, >, pub n_cores: ::core::primitive::u32, pub zeroth_delay_tranche_width: ::core::primitive::u32, @@ -3674,52 +5381,69 @@ pub mod api { pub no_show_slots: ::core::primitive::u32, pub needed_approvals: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, #[codec(index = 1)] GoAhead, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UpgradeRestriction { #[codec(index = 0)] Present, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ValidDisputeStatementKind { #[codec(index = 0)] Explicit, #[codec(index = 1)] - BackingSeconded(::subxt::utils::H256), + BackingSeconded(::subxt::ext::subxt_core::utils::H256), #[codec(index = 2)] - BackingValid(::subxt::utils::H256), + BackingValid(::subxt::ext::subxt_core::utils::H256), #[codec(index = 3)] ApprovalChecking, + #[codec(index = 4)] + ApprovalCheckingMultipleCandidates( + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_core_primitives::CandidateHash, + >, + ), } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct ValidatorIndex(pub ::core::primitive::u32); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ValidityAttestation { #[codec(index = 1)] - Implicit(runtime_types::polkadot_primitives::v4::validator_app::Signature), + Implicit(runtime_types::polkadot_primitives::v7::validator_app::Signature), #[codec(index = 2)] - Explicit(runtime_types::polkadot_primitives::v4::validator_app::Signature), + Explicit(runtime_types::polkadot_primitives::v7::validator_app::Signature), } } pub mod vstaging { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct AsyncBackingParams { - pub max_candidate_depth: ::core::primitive::u32, - pub allowed_ancestry_len: ::core::primitive::u32, + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct SchedulerParams<_0> { + pub group_rotation_frequency: _0, + pub paras_availability_period: _0, + pub max_validators_per_core: ::core::option::Option<_0>, + pub lookahead: ::core::primitive::u32, + pub num_cores: ::core::primitive::u32, + pub max_availability_timeouts: ::core::primitive::u32, + pub on_demand_queue_max_size: ::core::primitive::u32, + pub on_demand_target_queue_utilization: + runtime_types::sp_arithmetic::per_things::Perbill, + pub on_demand_fee_variability: + runtime_types::sp_arithmetic::per_things::Perbill, + pub on_demand_base_fee: ::core::primitive::u128, + pub ttl: _0, } } } @@ -3729,10 +5453,27 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] assign_perm_parachain_slot { id : runtime_types :: polkadot_parachain :: primitives :: Id , } , # [codec (index = 1)] assign_temp_parachain_slot { id : runtime_types :: polkadot_parachain :: primitives :: Id , lease_period_start : runtime_types :: polkadot_runtime_common :: assigned_slots :: SlotLeasePeriodStart , } , # [codec (index = 2)] unassign_parachain_slot { id : runtime_types :: polkadot_parachain :: primitives :: Id , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + assign_perm_parachain_slot { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 1)] + assign_temp_parachain_slot { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + lease_period_start: runtime_types::polkadot_runtime_common::assigned_slots::SlotLeasePeriodStart, + }, + #[codec(index = 2)] + unassign_parachain_slot { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + set_max_permanent_slots { slots: ::core::primitive::u32 }, + #[codec(index = 4)] + set_max_temporary_slots { slots: ::core::primitive::u32 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParaDoesntExist, @@ -3753,23 +5494,31 @@ pub mod api { #[codec(index = 8)] MaxTemporarySlotsExceeded, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - PermanentSlotAssigned(runtime_types::polkadot_parachain::primitives::Id), + PermanentSlotAssigned( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), #[codec(index = 1)] - TemporarySlotAssigned(runtime_types::polkadot_parachain::primitives::Id), + TemporarySlotAssigned( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 2)] + MaxPermanentSlotsChanged { slots: ::core::primitive::u32 }, + #[codec(index = 3)] + MaxTemporarySlotsChanged { slots: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParachainTemporarySlot<_0, _1> { pub manager: _0, pub period_begin: _1, pub period_count: _1, pub last_lease: ::core::option::Option<_1>, - pub lease_count: _1, + pub lease_count: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum SlotLeasePeriodStart { #[codec(index = 0)] Current, @@ -3781,7 +5530,7 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] new_auction { @@ -3793,7 +5542,7 @@ pub mod api { #[codec(index = 1)] bid { #[codec(compact)] - para: runtime_types::polkadot_parachain::primitives::Id, + para: runtime_types::polkadot_parachain_primitives::primitives::Id, #[codec(compact)] auction_index: ::core::primitive::u32, #[codec(compact)] @@ -3806,7 +5555,7 @@ pub mod api { #[codec(index = 2)] cancel_auction, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] AuctionInProgress, @@ -3823,7 +5572,7 @@ pub mod api { #[codec(index = 6)] AlreadyLeasedOut, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] AuctionStarted { @@ -3846,14 +5595,14 @@ pub mod api { }, #[codec(index = 4)] ReserveConfiscated { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, leaser: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 5)] BidAccepted { bidder: ::sp_core::crypto::AccountId32, - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, first_slot: ::core::primitive::u32, last_slot: ::core::primitive::u32, @@ -3870,12 +5619,12 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] create { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, #[codec(compact)] cap: ::core::primitive::u128, #[codec(compact)] @@ -3890,7 +5639,7 @@ pub mod api { #[codec(index = 1)] contribute { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, #[codec(compact)] value: ::core::primitive::u128, signature: @@ -3900,22 +5649,22 @@ pub mod api { withdraw { who: ::sp_core::crypto::AccountId32, #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 3)] refund { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 4)] dissolve { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 5)] edit { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, #[codec(compact)] cap: ::core::primitive::u128, #[codec(compact)] @@ -3929,20 +5678,20 @@ pub mod api { }, #[codec(index = 6)] add_memo { - index: runtime_types::polkadot_parachain::primitives::Id, - memo: ::std::vec::Vec<::core::primitive::u8>, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, + memo: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 7)] - poke { index: runtime_types::polkadot_parachain::primitives::Id }, + poke { index: runtime_types::polkadot_parachain_primitives::primitives::Id }, #[codec(index = 8)] contribute_all { #[codec(compact)] - index: runtime_types::polkadot_parachain::primitives::Id, + index: runtime_types::polkadot_parachain_primitives::primitives::Id, signature: ::core::option::Option, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] FirstPeriodInPast, @@ -3991,53 +5740,63 @@ pub mod api { #[codec(index = 22)] NoLeasePeriod, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - Created { para_id: runtime_types::polkadot_parachain::primitives::Id }, + Created { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 1)] Contributed { who: ::sp_core::crypto::AccountId32, - fund_index: runtime_types::polkadot_parachain::primitives::Id, + fund_index: + runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, }, #[codec(index = 2)] Withdrew { who: ::sp_core::crypto::AccountId32, - fund_index: runtime_types::polkadot_parachain::primitives::Id, + fund_index: + runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, }, #[codec(index = 3)] PartiallyRefunded { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 4)] - AllRefunded { para_id: runtime_types::polkadot_parachain::primitives::Id }, + AllRefunded { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 5)] - Dissolved { para_id: runtime_types::polkadot_parachain::primitives::Id }, + Dissolved { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 6)] HandleBidResult { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, result: ::core::result::Result< (), runtime_types::sp_runtime::DispatchError, >, }, #[codec(index = 7)] - Edited { para_id: runtime_types::polkadot_parachain::primitives::Id }, + Edited { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 8)] MemoUpdated { who: ::sp_core::crypto::AccountId32, - para_id: runtime_types::polkadot_parachain::primitives::Id, - memo: ::std::vec::Vec<::core::primitive::u8>, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + memo: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 9)] AddedToNewRaise { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct FundInfo<_0, _1, _2, _3> { pub depositor: _0, pub verifier: ::core::option::Option, @@ -4047,69 +5806,111 @@ pub mod api { pub cap: _1, pub last_contribution: runtime_types::polkadot_runtime_common::crowdloan::LastContribution<_2>, - pub first_period: _2, - pub last_period: _2, - pub fund_index: _2, - #[codec(skip)] - pub __subxt_unused_type_params: ::core::marker::PhantomData<_3>, + pub first_period: _3, + pub last_period: _3, + pub fund_index: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum LastContribution<_0> { #[codec(index = 0)] Never, #[codec(index = 1)] - PreEnding(_0), + PreEnding(::core::primitive::u32), #[codec(index = 2)] Ending(_0), } } - pub mod paras_registrar { + pub mod identity_migrator { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - register { - id: runtime_types::polkadot_parachain::primitives::Id, - genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, - validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, - }, + reap_identity { who: ::sp_core::crypto::AccountId32 }, + #[codec(index = 1)] + poke_deposit { who: ::sp_core::crypto::AccountId32 }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + IdentityReaped { who: ::sp_core::crypto::AccountId32 }, #[codec(index = 1)] - force_register { + DepositUpdated { who: ::sp_core::crypto::AccountId32, - deposit: ::core::primitive::u128, - id: runtime_types::polkadot_parachain::primitives::Id, - genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, - validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, - }, - #[codec(index = 2)] - deregister { id: runtime_types::polkadot_parachain::primitives::Id }, - #[codec(index = 3)] - swap { - id: runtime_types::polkadot_parachain::primitives::Id, - other: runtime_types::polkadot_parachain::primitives::Id, - }, - #[codec(index = 4)] - remove_lock { para: runtime_types::polkadot_parachain::primitives::Id }, - #[codec(index = 5)] - reserve, - #[codec(index = 6)] - add_lock { para: runtime_types::polkadot_parachain::primitives::Id }, - #[codec(index = 7)] - schedule_code_upgrade { - para: runtime_types::polkadot_parachain::primitives::Id, - new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, - }, - #[codec(index = 8)] - set_current_head { - para: runtime_types::polkadot_parachain::primitives::Id, - new_head: runtime_types::polkadot_parachain::primitives::HeadData, + identity: ::core::primitive::u128, + subs: ::core::primitive::u128, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + } + } + pub mod impls { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VersionedLocatableAsset { + #[codec(index = 3)] + V3 { + location: runtime_types::staging_xcm::v3::multilocation::MultiLocation, + asset_id: runtime_types::xcm::v3::multiasset::AssetId, + }, + #[codec(index = 4)] + V4 { + location: runtime_types::staging_xcm::v4::location::Location, + asset_id: runtime_types::staging_xcm::v4::asset::AssetId, + }, + } + } + pub mod paras_registrar { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + register { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 1)] + force_register { + who: ::sp_core::crypto::AccountId32, + deposit: ::core::primitive::u128, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 2)] + deregister { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + swap { + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + other: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 4)] + remove_lock { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 5)] + reserve, + #[codec(index = 6)] + add_lock { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 7)] + schedule_code_upgrade { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 8)] + set_current_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotRegistered, @@ -4136,76 +5937,80 @@ pub mod api { #[codec(index = 11)] NotReserved, #[codec(index = 12)] - EmptyCode, + InvalidCode, #[codec(index = 13)] CannotSwap, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] Registered { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, manager: ::sp_core::crypto::AccountId32, }, #[codec(index = 1)] - Deregistered { para_id: runtime_types::polkadot_parachain::primitives::Id }, + Deregistered { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 2)] Reserved { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, who: ::sp_core::crypto::AccountId32, }, #[codec(index = 3)] Swapped { - para_id: runtime_types::polkadot_parachain::primitives::Id, - other_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + other_id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaInfo<_0, _1> { pub manager: _0, pub deposit: _1, - pub locked: ::core::primitive::bool, + pub locked: ::core::option::Option<::core::primitive::bool>, } } pub mod paras_sudo_wrapper { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] sudo_schedule_para_initialize { - id: runtime_types::polkadot_parachain::primitives::Id, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, genesis: runtime_types::polkadot_runtime_parachains::paras::ParaGenesisArgs, }, #[codec(index = 1)] sudo_schedule_para_cleanup { - id: runtime_types::polkadot_parachain::primitives::Id, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 2)] sudo_schedule_parathread_upgrade { - id: runtime_types::polkadot_parachain::primitives::Id, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 3)] sudo_schedule_parachain_downgrade { - id: runtime_types::polkadot_parachain::primitives::Id, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, }, #[codec(index = 4)] sudo_queue_downward_xcm { - id: runtime_types::polkadot_parachain::primitives::Id, - xcm: ::std::boxed::Box, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + xcm: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm, + >, }, #[codec(index = 5)] sudo_establish_hrmp_channel { - sender: runtime_types::polkadot_parachain::primitives::Id, - recipient: runtime_types::polkadot_parachain::primitives::Id, + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, max_capacity: ::core::primitive::u32, max_message_size: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParaDoesntExist, @@ -4223,6 +6028,8 @@ pub mod api { CannotUpgrade, #[codec(index = 7)] CannotDowngrade, + #[codec(index = 8)] + TooManyCores, } } } @@ -4230,35 +6037,39 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_lease { - para: runtime_types::polkadot_parachain::primitives::Id, + para: runtime_types::polkadot_parachain_primitives::primitives::Id, leaser: ::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, period_begin: ::core::primitive::u32, period_count: ::core::primitive::u32, }, #[codec(index = 1)] - clear_all_leases { para: runtime_types::polkadot_parachain::primitives::Id }, + clear_all_leases { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, #[codec(index = 2)] - trigger_onboard { para: runtime_types::polkadot_parachain::primitives::Id }, + trigger_onboard { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] ParaNotOnboarding, #[codec(index = 1)] LeaseError, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] NewLeasePeriod { lease_period: ::core::primitive::u32 }, #[codec(index = 1)] Leased { - para_id: runtime_types::polkadot_parachain::primitives::Id, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, leaser: ::sp_core::crypto::AccountId32, period_begin: ::core::primitive::u32, period_count: ::core::primitive::u32, @@ -4271,76 +6082,393 @@ pub mod api { } pub mod polkadot_runtime_parachains { use super::runtime_types; + pub mod assigner_coretime { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + AssignmentsEmpty, + #[codec(index = 1)] + OverScheduled, + #[codec(index = 2)] + UnderScheduled, + #[codec(index = 3)] + DisallowedInsert, + #[codec(index = 4)] + DuplicateInsert, + #[codec(index = 5)] + AssignmentsNotSorted, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AssignmentState { + pub ratio: + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + pub remaining: + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CoreDescriptor<_0> { + pub queue: ::core::option::Option< + runtime_types::polkadot_runtime_parachains::assigner_coretime::QueueDescriptor< + _0, + >, + >, + pub current_work: ::core::option::Option< + runtime_types::polkadot_runtime_parachains::assigner_coretime::WorkState< + _0, + >, + >, + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct PartsOf57600(pub ::core::primitive::u16); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueueDescriptor<_0> { + pub first: _0, + pub last: _0, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Schedule<_0> { + pub assignments: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::pallet_broker::coretime_interface::CoreAssignment, + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + )>, + pub end_hint: ::core::option::Option<_0>, + pub next_schedule: ::core::option::Option<_0>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct WorkState<_0> { + pub assignments: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::pallet_broker::coretime_interface::CoreAssignment, + runtime_types::polkadot_runtime_parachains::assigner_coretime::AssignmentState, + ), + >, + pub end_hint: ::core::option::Option<_0>, + pub pos: ::core::primitive::u16, + pub step: runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + } + } + pub mod assigner_on_demand { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 0)] + place_order_allow_death { + max_amount: ::core::primitive::u128, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 1)] + place_order_keep_alive { + max_amount: ::core::primitive::u128, + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + QueueFull, + #[codec(index = 1)] + SpotPriceHigherThanMaxAmount, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + OnDemandOrderPlaced { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + spot_price: ::core::primitive::u128, + }, + #[codec(index = 1)] + SpotTrafficSet { + traffic: runtime_types::sp_arithmetic::fixed_point::FixedU128, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CoreAffinityCount { + pub core_index: runtime_types::polkadot_primitives::v7::CoreIndex, + pub count: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct EnqueuedOrder { + pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + pub idx: + runtime_types::polkadot_runtime_parachains::assigner_on_demand::QueueIndex, + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct QueueIndex(pub ::core::primitive::u32); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueueStatusType { + pub traffic: runtime_types::sp_arithmetic::fixed_point::FixedU128, + pub next_index: runtime_types::polkadot_runtime_parachains::assigner_on_demand::QueueIndex, + pub smallest_index: runtime_types::polkadot_runtime_parachains::assigner_on_demand::QueueIndex, + pub freed_indices: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_runtime_parachains::assigner_on_demand::ReverseQueueIndex, + >, + } + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct ReverseQueueIndex(pub ::core::primitive::u32); + } pub mod configuration { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] set_validation_upgrade_cooldown { new : :: core :: primitive :: u32 , } , # [codec (index = 1)] set_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 2)] set_code_retention_period { new : :: core :: primitive :: u32 , } , # [codec (index = 3)] set_max_code_size { new : :: core :: primitive :: u32 , } , # [codec (index = 4)] set_max_pov_size { new : :: core :: primitive :: u32 , } , # [codec (index = 5)] set_max_head_data_size { new : :: core :: primitive :: u32 , } , # [codec (index = 6)] set_parathread_cores { new : :: core :: primitive :: u32 , } , # [codec (index = 7)] set_parathread_retries { new : :: core :: primitive :: u32 , } , # [codec (index = 8)] set_group_rotation_frequency { new : :: core :: primitive :: u32 , } , # [codec (index = 9)] set_chain_availability_period { new : :: core :: primitive :: u32 , } , # [codec (index = 10)] set_thread_availability_period { new : :: core :: primitive :: u32 , } , # [codec (index = 11)] set_scheduling_lookahead { new : :: core :: primitive :: u32 , } , # [codec (index = 12)] set_max_validators_per_core { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 13)] set_max_validators { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 14)] set_dispute_period { new : :: core :: primitive :: u32 , } , # [codec (index = 15)] set_dispute_post_conclusion_acceptance_period { new : :: core :: primitive :: u32 , } , # [codec (index = 18)] set_no_show_slots { new : :: core :: primitive :: u32 , } , # [codec (index = 19)] set_n_delay_tranches { new : :: core :: primitive :: u32 , } , # [codec (index = 20)] set_zeroth_delay_tranche_width { new : :: core :: primitive :: u32 , } , # [codec (index = 21)] set_needed_approvals { new : :: core :: primitive :: u32 , } , # [codec (index = 22)] set_relay_vrf_modulo_samples { new : :: core :: primitive :: u32 , } , # [codec (index = 23)] set_max_upward_queue_count { new : :: core :: primitive :: u32 , } , # [codec (index = 24)] set_max_upward_queue_size { new : :: core :: primitive :: u32 , } , # [codec (index = 25)] set_max_downward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 27)] set_max_upward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 28)] set_max_upward_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 29)] set_hrmp_open_request_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 30)] set_hrmp_sender_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 31)] set_hrmp_recipient_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 32)] set_hrmp_channel_max_capacity { new : :: core :: primitive :: u32 , } , # [codec (index = 33)] set_hrmp_channel_max_total_size { new : :: core :: primitive :: u32 , } , # [codec (index = 34)] set_hrmp_max_parachain_inbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 35)] set_hrmp_max_parathread_inbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 36)] set_hrmp_channel_max_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 37)] set_hrmp_max_parachain_outbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 38)] set_hrmp_max_parathread_outbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 39)] set_hrmp_max_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 41)] set_pvf_checking_enabled { new : :: core :: primitive :: bool , } , # [codec (index = 42)] set_pvf_voting_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 43)] set_minimum_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 44)] set_bypass_consistency_check { new : :: core :: primitive :: bool , } , # [codec (index = 45)] set_async_backing_params { new : runtime_types :: polkadot_primitives :: vstaging :: AsyncBackingParams , } , # [codec (index = 46)] set_executor_params { new : runtime_types :: polkadot_primitives :: v4 :: executor_params :: ExecutorParams , } , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[codec(index = 0)] + set_validation_upgrade_cooldown { new: ::core::primitive::u32 }, + #[codec(index = 1)] + set_validation_upgrade_delay { new: ::core::primitive::u32 }, + #[codec(index = 2)] + set_code_retention_period { new: ::core::primitive::u32 }, + #[codec(index = 3)] + set_max_code_size { new: ::core::primitive::u32 }, + #[codec(index = 4)] + set_max_pov_size { new: ::core::primitive::u32 }, + #[codec(index = 5)] + set_max_head_data_size { new: ::core::primitive::u32 }, + #[codec(index = 6)] + set_coretime_cores { new: ::core::primitive::u32 }, + #[codec(index = 7)] + set_max_availability_timeouts { new: ::core::primitive::u32 }, + #[codec(index = 8)] + set_group_rotation_frequency { new: ::core::primitive::u32 }, + #[codec(index = 9)] + set_paras_availability_period { new: ::core::primitive::u32 }, + #[codec(index = 11)] + set_scheduling_lookahead { new: ::core::primitive::u32 }, + #[codec(index = 12)] + set_max_validators_per_core { + new: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 13)] + set_max_validators { + new: ::core::option::Option<::core::primitive::u32>, + }, + #[codec(index = 14)] + set_dispute_period { new: ::core::primitive::u32 }, + #[codec(index = 15)] + set_dispute_post_conclusion_acceptance_period { + new: ::core::primitive::u32, + }, + #[codec(index = 18)] + set_no_show_slots { new: ::core::primitive::u32 }, + #[codec(index = 19)] + set_n_delay_tranches { new: ::core::primitive::u32 }, + #[codec(index = 20)] + set_zeroth_delay_tranche_width { new: ::core::primitive::u32 }, + #[codec(index = 21)] + set_needed_approvals { new: ::core::primitive::u32 }, + #[codec(index = 22)] + set_relay_vrf_modulo_samples { new: ::core::primitive::u32 }, + #[codec(index = 23)] + set_max_upward_queue_count { new: ::core::primitive::u32 }, + #[codec(index = 24)] + set_max_upward_queue_size { new: ::core::primitive::u32 }, + #[codec(index = 25)] + set_max_downward_message_size { new: ::core::primitive::u32 }, + #[codec(index = 27)] + set_max_upward_message_size { new: ::core::primitive::u32 }, + #[codec(index = 28)] + set_max_upward_message_num_per_candidate { + new: ::core::primitive::u32, + }, + #[codec(index = 29)] + set_hrmp_open_request_ttl { new: ::core::primitive::u32 }, + #[codec(index = 30)] + set_hrmp_sender_deposit { new: ::core::primitive::u128 }, + #[codec(index = 31)] + set_hrmp_recipient_deposit { new: ::core::primitive::u128 }, + #[codec(index = 32)] + set_hrmp_channel_max_capacity { new: ::core::primitive::u32 }, + #[codec(index = 33)] + set_hrmp_channel_max_total_size { new: ::core::primitive::u32 }, + #[codec(index = 34)] + set_hrmp_max_parachain_inbound_channels { + new: ::core::primitive::u32, + }, + #[codec(index = 36)] + set_hrmp_channel_max_message_size { + new: ::core::primitive::u32, + }, + #[codec(index = 37)] + set_hrmp_max_parachain_outbound_channels { + new: ::core::primitive::u32, + }, + #[codec(index = 39)] + set_hrmp_max_message_num_per_candidate { + new: ::core::primitive::u32, + }, + #[codec(index = 42)] + set_pvf_voting_ttl { new: ::core::primitive::u32 }, + #[codec(index = 43)] + set_minimum_validation_upgrade_delay { + new: ::core::primitive::u32, + }, + #[codec(index = 44)] + set_bypass_consistency_check { new: ::core::primitive::bool }, + #[codec(index = 45)] + set_async_backing_params { + new: runtime_types::polkadot_primitives::v7::async_backing::AsyncBackingParams, + }, + #[codec(index = 46)] + set_executor_params { + new: runtime_types::polkadot_primitives::v7::executor_params::ExecutorParams, + }, + #[codec(index = 47)] + set_on_demand_base_fee { new: ::core::primitive::u128 }, + #[codec(index = 48)] + set_on_demand_fee_variability { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 49)] + set_on_demand_queue_max_size { new: ::core::primitive::u32 }, + #[codec(index = 50)] + set_on_demand_target_queue_utilization { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, + #[codec(index = 51)] + set_on_demand_ttl { new: ::core::primitive::u32 }, + #[codec(index = 52)] + set_minimum_backing_votes { new: ::core::primitive::u32 }, + #[codec(index = 53)] + set_node_feature { + index: ::core::primitive::u8, + value: ::core::primitive::bool, + }, + #[codec(index = 54)] + set_approval_voting_params { + new: runtime_types::polkadot_primitives::v7::ApprovalVotingParams, + }, + #[codec(index = 55)] + set_scheduler_params { + new: runtime_types::polkadot_primitives::vstaging::SchedulerParams< + ::core::primitive::u32, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidNewValue, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HostConfiguration<_0> { - pub max_code_size: _0, - pub max_head_data_size: _0, - pub max_upward_queue_count: _0, - pub max_upward_queue_size: _0, - pub max_upward_message_size: _0, - pub max_upward_message_num_per_candidate: _0, - pub hrmp_max_message_num_per_candidate: _0, + pub max_code_size: ::core::primitive::u32, + pub max_head_data_size: ::core::primitive::u32, + pub max_upward_queue_count: ::core::primitive::u32, + pub max_upward_queue_size: ::core::primitive::u32, + pub max_upward_message_size: ::core::primitive::u32, + pub max_upward_message_num_per_candidate: ::core::primitive::u32, + pub hrmp_max_message_num_per_candidate: ::core::primitive::u32, pub validation_upgrade_cooldown: _0, pub validation_upgrade_delay: _0, pub async_backing_params: - runtime_types::polkadot_primitives::vstaging::AsyncBackingParams, - pub max_pov_size: _0, - pub max_downward_message_size: _0, - pub hrmp_max_parachain_outbound_channels: _0, - pub hrmp_max_parathread_outbound_channels: _0, + runtime_types::polkadot_primitives::v7::async_backing::AsyncBackingParams, + pub max_pov_size: ::core::primitive::u32, + pub max_downward_message_size: ::core::primitive::u32, + pub hrmp_max_parachain_outbound_channels: ::core::primitive::u32, pub hrmp_sender_deposit: ::core::primitive::u128, pub hrmp_recipient_deposit: ::core::primitive::u128, - pub hrmp_channel_max_capacity: _0, - pub hrmp_channel_max_total_size: _0, - pub hrmp_max_parachain_inbound_channels: _0, - pub hrmp_max_parathread_inbound_channels: _0, - pub hrmp_channel_max_message_size: _0, + pub hrmp_channel_max_capacity: ::core::primitive::u32, + pub hrmp_channel_max_total_size: ::core::primitive::u32, + pub hrmp_max_parachain_inbound_channels: ::core::primitive::u32, + pub hrmp_channel_max_message_size: ::core::primitive::u32, pub executor_params: - runtime_types::polkadot_primitives::v4::executor_params::ExecutorParams, + runtime_types::polkadot_primitives::v7::executor_params::ExecutorParams, pub code_retention_period: _0, - pub parathread_cores: _0, - pub parathread_retries: _0, - pub group_rotation_frequency: _0, - pub chain_availability_period: _0, - pub thread_availability_period: _0, - pub scheduling_lookahead: _0, - pub max_validators_per_core: ::core::option::Option<_0>, pub max_validators: ::core::option::Option<_0>, - pub dispute_period: _0, + pub dispute_period: ::core::primitive::u32, pub dispute_post_conclusion_acceptance_period: _0, - pub no_show_slots: _0, - pub n_delay_tranches: _0, - pub zeroth_delay_tranche_width: _0, - pub needed_approvals: _0, - pub relay_vrf_modulo_samples: _0, - pub pvf_checking_enabled: ::core::primitive::bool, - pub pvf_voting_ttl: _0, + pub no_show_slots: ::core::primitive::u32, + pub n_delay_tranches: ::core::primitive::u32, + pub zeroth_delay_tranche_width: ::core::primitive::u32, + pub needed_approvals: ::core::primitive::u32, + pub relay_vrf_modulo_samples: ::core::primitive::u32, + pub pvf_voting_ttl: ::core::primitive::u32, pub minimum_validation_upgrade_delay: _0, + pub minimum_backing_votes: ::core::primitive::u32, + pub node_features: ::subxt::ext::subxt_core::utils::bits::DecodedBits< + ::core::primitive::u8, + ::subxt::ext::subxt_core::utils::bits::Lsb0, + >, + pub approval_voting_params: + runtime_types::polkadot_primitives::v7::ApprovalVotingParams, + pub scheduler_params: + runtime_types::polkadot_primitives::vstaging::SchedulerParams<_0>, + } + } + pub mod coretime { + use super::runtime_types; + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Call { + #[codec(index = 1)] + request_core_count { count: ::core::primitive::u16 }, + #[codec(index = 4)] + assign_core { + core: ::core::primitive::u16, + begin: ::core::primitive::u32, + assignment: ::subxt::ext::subxt_core::alloc::vec::Vec< + ( + runtime_types::pallet_broker::coretime_interface::CoreAssignment, + runtime_types::polkadot_runtime_parachains::assigner_coretime::PartsOf57600, + ), + >, + end_hint: ::core::option::Option<::core::primitive::u32>, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + NotBroker, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Event { + #[codec(index = 0)] + RevenueInfoRequested { when: ::core::primitive::u32 }, + #[codec(index = 1)] + CoreAssigned { core: runtime_types::polkadot_primitives::v7::CoreIndex }, + } } } pub mod disputes { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_unfreeze, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] DuplicateDisputeStatementSets, @@ -4361,7 +6489,7 @@ pub mod api { #[codec(index = 8)] UnconfirmedDispute, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] DisputeInitiated( @@ -4381,14 +6509,17 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { - # [codec (index = 0)] report_dispute_lost_unsigned { dispute_proof : :: std :: boxed :: Box < runtime_types :: polkadot_runtime_parachains :: disputes :: slashing :: DisputeProof > , key_owner_proof : :: sp_session :: MembershipProof , } , } - #[derive( - :: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq, - )] + #[codec(index = 0)] + report_dispute_lost_unsigned { + dispute_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::polkadot_primitives::v7::slashing::DisputeProof, + >, + key_owner_proof: ::sp_session::MembershipProof, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] InvalidKeyOwnershipProof, @@ -4404,31 +6535,15 @@ pub mod api { DuplicateSlashingReport, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct DisputeProof { pub time_slot : runtime_types :: polkadot_runtime_parachains :: disputes :: slashing :: DisputesTimeSlot , pub kind : runtime_types :: polkadot_runtime_parachains :: disputes :: slashing :: SlashingOffenceKind , pub validator_index : runtime_types :: polkadot_primitives :: v4 :: ValidatorIndex , pub validator_id : runtime_types :: polkadot_primitives :: v4 :: validator_app :: Public , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct DisputesTimeSlot { - pub session_index: ::core::primitive::u32, - pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct PendingSlashes { pub keys : :: subxt :: utils :: KeyedVec < runtime_types :: polkadot_primitives :: v4 :: ValidatorIndex , runtime_types :: polkadot_primitives :: v4 :: validator_app :: Public > , pub kind : runtime_types :: polkadot_runtime_parachains :: disputes :: slashing :: SlashingOffenceKind , } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum SlashingOffenceKind { - #[codec(index = 0)] - ForInvalid, - #[codec(index = 1)] - AgainstValid, - } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeLocation { #[codec(index = 0)] Local, #[codec(index = 1)] Remote, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum DisputeResult { #[codec(index = 0)] Valid, @@ -4440,48 +6555,60 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - hrmp_init_open_channel { - recipient: runtime_types::polkadot_parachain::primitives::Id, - proposed_max_capacity: ::core::primitive::u32, - proposed_max_message_size: ::core::primitive::u32, - }, - #[codec(index = 1)] - hrmp_accept_open_channel { - sender: runtime_types::polkadot_parachain::primitives::Id, - }, - #[codec(index = 2)] - hrmp_close_channel { - channel_id: - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - }, - #[codec(index = 3)] - force_clean_hrmp { - para: runtime_types::polkadot_parachain::primitives::Id, - inbound: ::core::primitive::u32, - outbound: ::core::primitive::u32, - }, - #[codec(index = 4)] - force_process_hrmp_open { channels: ::core::primitive::u32 }, - #[codec(index = 5)] - force_process_hrmp_close { channels: ::core::primitive::u32 }, - #[codec(index = 6)] - hrmp_cancel_open_request { - channel_id: - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - open_requests: ::core::primitive::u32, - }, - #[codec(index = 7)] - force_open_hrmp_channel { - sender: runtime_types::polkadot_parachain::primitives::Id, - recipient: runtime_types::polkadot_parachain::primitives::Id, - max_capacity: ::core::primitive::u32, - max_message_size: ::core::primitive::u32, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + hrmp_init_open_channel { + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 1)] + hrmp_accept_open_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 2)] + hrmp_close_channel { + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 3)] + force_clean_hrmp { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + num_inbound: ::core::primitive::u32, + num_outbound: ::core::primitive::u32, + }, + #[codec(index = 4)] + force_process_hrmp_open { channels: ::core::primitive::u32 }, + #[codec(index = 5)] + force_process_hrmp_close { channels: ::core::primitive::u32 }, + #[codec(index = 6)] + hrmp_cancel_open_request { + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + open_requests: ::core::primitive::u32, + }, + #[codec(index = 7)] + force_open_hrmp_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + max_capacity: ::core::primitive::u32, + max_message_size: ::core::primitive::u32, + }, + #[codec(index = 8)] + establish_system_channel { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 9)] + poke_channel_deposits { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 10)] + establish_channel_with_system { + target_system_chain: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] OpenHrmpChannelToSelf, @@ -4521,52 +6648,66 @@ pub mod api { OpenHrmpChannelAlreadyConfirmed, #[codec(index = 18)] WrongWitness, + #[codec(index = 19)] + ChannelCreationNotAuthorized, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - OpenChannelRequested( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::Id, - ::core::primitive::u32, - ::core::primitive::u32, - ), - #[codec(index = 1)] - OpenChannelCanceled( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - ), - #[codec(index = 2)] - OpenChannelAccepted( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::Id, - ), - #[codec(index = 3)] - ChannelClosed( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::HrmpChannelId, - ), - #[codec(index = 4)] - HrmpChannelForceOpened( - runtime_types::polkadot_parachain::primitives::Id, - runtime_types::polkadot_parachain::primitives::Id, - ::core::primitive::u32, - ::core::primitive::u32, - ), - } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + OpenChannelRequested { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 1)] + OpenChannelCanceled { + by_parachain: runtime_types::polkadot_parachain_primitives::primitives::Id, + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 2)] + OpenChannelAccepted { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 3)] + ChannelClosed { + by_parachain: runtime_types::polkadot_parachain_primitives::primitives::Id, + channel_id: runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + }, + #[codec(index = 4)] + HrmpChannelForceOpened { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 5)] + HrmpSystemChannelOpened { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + proposed_max_capacity: ::core::primitive::u32, + proposed_max_message_size: ::core::primitive::u32, + }, + #[codec(index = 6)] + OpenChannelDepositsUpdated { + sender: runtime_types::polkadot_parachain_primitives::primitives::Id, + recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, pub max_message_size: ::core::primitive::u32, pub msg_count: ::core::primitive::u32, pub total_size: ::core::primitive::u32, - pub mqc_head: ::core::option::Option<::subxt::utils::H256>, + pub mqc_head: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, pub sender_deposit: ::core::primitive::u128, pub recipient_deposit: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct HrmpOpenChannelRequest { pub confirmed: ::core::primitive::bool, pub _age: ::core::primitive::u32, @@ -4580,154 +6721,129 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] - UnsortedOrDuplicateValidatorIndices, + ValidatorIndexOutOfBounds, #[codec(index = 1)] - UnsortedOrDuplicateDisputeStatementSet, + UnscheduledCandidate, #[codec(index = 2)] - UnsortedOrDuplicateBackedCandidates, + HeadDataTooLarge, #[codec(index = 3)] - UnexpectedRelayParent, + PrematureCodeUpgrade, #[codec(index = 4)] - WrongBitfieldSize, + NewCodeTooLarge, #[codec(index = 5)] - BitfieldAllZeros, + DisallowedRelayParent, #[codec(index = 6)] - BitfieldDuplicateOrUnordered, + InvalidAssignment, #[codec(index = 7)] - ValidatorIndexOutOfBounds, - #[codec(index = 8)] - InvalidBitfieldSignature, - #[codec(index = 9)] - UnscheduledCandidate, - #[codec(index = 10)] - CandidateScheduledBeforeParaFree, - #[codec(index = 11)] - WrongCollator, - #[codec(index = 12)] - ScheduledOutOfOrder, - #[codec(index = 13)] - HeadDataTooLarge, - #[codec(index = 14)] - PrematureCodeUpgrade, - #[codec(index = 15)] - NewCodeTooLarge, - #[codec(index = 16)] - CandidateNotInParentContext, - #[codec(index = 17)] InvalidGroupIndex, - #[codec(index = 18)] + #[codec(index = 8)] InsufficientBacking, - #[codec(index = 19)] + #[codec(index = 9)] InvalidBacking, - #[codec(index = 20)] + #[codec(index = 10)] NotCollatorSigned, - #[codec(index = 21)] + #[codec(index = 11)] ValidationDataHashMismatch, - #[codec(index = 22)] + #[codec(index = 12)] IncorrectDownwardMessageHandling, - #[codec(index = 23)] + #[codec(index = 13)] InvalidUpwardMessages, - #[codec(index = 24)] + #[codec(index = 14)] HrmpWatermarkMishandling, - #[codec(index = 25)] + #[codec(index = 15)] InvalidOutboundHrmp, - #[codec(index = 26)] + #[codec(index = 16)] InvalidValidationCodeHash, - #[codec(index = 27)] + #[codec(index = 17)] ParaHeadMismatch, - #[codec(index = 28)] - BitfieldReferencesFreedCore, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] CandidateBacked( - runtime_types::polkadot_primitives::v4::CandidateReceipt< - ::subxt::utils::H256, + runtime_types::polkadot_primitives::v7::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, >, - runtime_types::polkadot_parachain::primitives::HeadData, - runtime_types::polkadot_primitives::v4::CoreIndex, - runtime_types::polkadot_primitives::v4::GroupIndex, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + runtime_types::polkadot_primitives::v7::GroupIndex, ), #[codec(index = 1)] CandidateIncluded( - runtime_types::polkadot_primitives::v4::CandidateReceipt< - ::subxt::utils::H256, + runtime_types::polkadot_primitives::v7::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, >, - runtime_types::polkadot_parachain::primitives::HeadData, - runtime_types::polkadot_primitives::v4::CoreIndex, - runtime_types::polkadot_primitives::v4::GroupIndex, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, + runtime_types::polkadot_primitives::v7::GroupIndex, ), #[codec(index = 2)] CandidateTimedOut( - runtime_types::polkadot_primitives::v4::CandidateReceipt< - ::subxt::utils::H256, + runtime_types::polkadot_primitives::v7::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, >, - runtime_types::polkadot_parachain::primitives::HeadData, - runtime_types::polkadot_primitives::v4::CoreIndex, + runtime_types::polkadot_parachain_primitives::primitives::HeadData, + runtime_types::polkadot_primitives::v7::CoreIndex, ), #[codec(index = 3)] UpwardMessagesReceived { - from: runtime_types::polkadot_parachain::primitives::Id, + from: runtime_types::polkadot_parachain_primitives::primitives::Id, count: ::core::primitive::u32, }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AggregateMessageOrigin { #[codec(index = 0)] Ump(runtime_types::polkadot_runtime_parachains::inclusion::UmpQueueId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct AvailabilityBitfieldRecord<_0> { - pub bitfield: runtime_types::polkadot_primitives::v4::AvailabilityBitfield, - pub submitted_at: _0, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct CandidatePendingAvailability<_0, _1> { - pub core: runtime_types::polkadot_primitives::v4::CoreIndex, + pub core: runtime_types::polkadot_primitives::v7::CoreIndex, pub hash: runtime_types::polkadot_core_primitives::CandidateHash, - pub descriptor: runtime_types::polkadot_primitives::v4::CandidateDescriptor<_0>, - pub availability_votes: ::subxt::utils::bits::DecodedBits< + pub descriptor: runtime_types::polkadot_primitives::v7::CandidateDescriptor<_0>, + pub commitments: + runtime_types::polkadot_primitives::v7::CandidateCommitments<_1>, + pub availability_votes: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub backers: ::subxt::utils::bits::DecodedBits< + pub backers: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, pub relay_parent_number: _1, pub backed_in_number: _1, - pub backing_group: runtime_types::polkadot_primitives::v4::GroupIndex, + pub backing_group: runtime_types::polkadot_primitives::v7::GroupIndex, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum UmpQueueId { #[codec(index = 0)] - Para(runtime_types::polkadot_parachain::primitives::Id), + Para(runtime_types::polkadot_parachain_primitives::primitives::Id), } } pub mod initializer { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] force_approve { up_to: ::core::primitive::u32 }, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BufferedSessionChange { - pub validators: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::validator_app::Public, + pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::validator_app::Public, >, - pub queued: ::std::vec::Vec< - runtime_types::polkadot_primitives::v4::validator_app::Public, + pub queued: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v7::validator_app::Public, >, pub session_index: ::core::primitive::u32, } @@ -4736,10 +6852,10 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Origin { #[codec(index = 0)] - Parachain(runtime_types::polkadot_parachain::primitives::Id), + Parachain(runtime_types::polkadot_parachain_primitives::primitives::Id), } } } @@ -4747,51 +6863,53 @@ pub mod api { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] - force_set_current_code { - para: runtime_types::polkadot_parachain::primitives::Id, - new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, - }, - #[codec(index = 1)] - force_set_current_head { - para: runtime_types::polkadot_parachain::primitives::Id, - new_head: runtime_types::polkadot_parachain::primitives::HeadData, - }, - #[codec(index = 2)] - force_schedule_code_upgrade { - para: runtime_types::polkadot_parachain::primitives::Id, - new_code: runtime_types::polkadot_parachain::primitives::ValidationCode, - relay_parent_number: ::core::primitive::u32, - }, - #[codec(index = 3)] - force_note_new_head { - para: runtime_types::polkadot_parachain::primitives::Id, - new_head: runtime_types::polkadot_parachain::primitives::HeadData, - }, - #[codec(index = 4)] - force_queue_action { - para: runtime_types::polkadot_parachain::primitives::Id, - }, - #[codec(index = 5)] - add_trusted_validation_code { - validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, - }, - #[codec(index = 6)] - poke_unused_validation_code { - validation_code_hash: - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - }, - #[codec(index = 7)] - include_pvf_check_statement { - stmt: runtime_types::polkadot_primitives::v4::PvfCheckStatement, - signature: - runtime_types::polkadot_primitives::v4::validator_app::Signature, - }, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + force_set_current_code { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 1)] + force_set_current_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + #[codec(index = 2)] + force_schedule_code_upgrade { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + relay_parent_number: ::core::primitive::u32, + }, + #[codec(index = 3)] + force_note_new_head { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + new_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, + }, + #[codec(index = 4)] + force_queue_action { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + }, + #[codec(index = 5)] + add_trusted_validation_code { + validation_code: runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, + }, + #[codec(index = 6)] + poke_unused_validation_code { + validation_code_hash: runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + }, + #[codec(index = 7)] + include_pvf_check_statement { + stmt: runtime_types::polkadot_primitives::v7::PvfCheckStatement, + signature: runtime_types::polkadot_primitives::v7::validator_app::Signature, + }, + #[codec(index = 8)] + force_set_most_recent_context { + para: runtime_types::polkadot_parachain_primitives::primitives::Id, + context: ::core::primitive::u32, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] NotRegistered, @@ -4817,47 +6935,58 @@ pub mod api { PvfCheckSubjectInvalid, #[codec(index = 11)] CannotUpgradeCode, + #[codec(index = 12)] + InvalidCode, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Event { #[codec(index = 0)] - CurrentCodeUpdated(runtime_types::polkadot_parachain::primitives::Id), - #[codec(index = 1)] - CurrentHeadUpdated(runtime_types::polkadot_parachain::primitives::Id), - #[codec(index = 2)] - CodeUpgradeScheduled(runtime_types::polkadot_parachain::primitives::Id), - #[codec(index = 3)] - NewHeadNoted(runtime_types::polkadot_parachain::primitives::Id), - #[codec(index = 4)] - ActionQueued( - runtime_types::polkadot_parachain::primitives::Id, - ::core::primitive::u32, - ), - #[codec(index = 5)] - PvfCheckStarted( - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - runtime_types::polkadot_parachain::primitives::Id, - ), - #[codec(index = 6)] - PvfCheckAccepted( - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - runtime_types::polkadot_parachain::primitives::Id, - ), - #[codec(index = 7)] - PvfCheckRejected( - runtime_types::polkadot_parachain::primitives::ValidationCodeHash, - runtime_types::polkadot_parachain::primitives::Id, - ), - } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + CurrentCodeUpdated( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 1)] + CurrentHeadUpdated( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 2)] + CodeUpgradeScheduled( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 3)] + NewHeadNoted( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 4)] + ActionQueued( + runtime_types::polkadot_parachain_primitives::primitives::Id, + ::core::primitive::u32, + ), + #[codec(index = 5)] + PvfCheckStarted( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 6)] + PvfCheckAccepted( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + #[codec(index = 7)] + PvfCheckRejected( + runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash, + runtime_types::polkadot_parachain_primitives::primitives::Id, + ), + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaGenesisArgs { - pub genesis_head: runtime_types::polkadot_parachain::primitives::HeadData, + pub genesis_head: + runtime_types::polkadot_parachain_primitives::primitives::HeadData, pub validation_code: - runtime_types::polkadot_parachain::primitives::ValidationCode, + runtime_types::polkadot_parachain_primitives::primitives::ValidationCode, pub para_kind: ::core::primitive::bool, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ParaLifecycle { #[codec(index = 0)] Onboarding, @@ -4874,54 +7003,63 @@ pub mod api { #[codec(index = 6)] OffboardingParachain, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ParaPastCodeMeta<_0> { - pub upgrade_times: ::std::vec::Vec< + pub upgrade_times: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::paras::ReplacementTimes<_0>, >, pub last_pruned: ::core::option::Option<_0>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PvfCheckActiveVoteState<_0> { - pub votes_accept: ::subxt::utils::bits::DecodedBits< + pub votes_accept: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub votes_reject: ::subxt::utils::bits::DecodedBits< + pub votes_reject: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub age: _0, + pub age: ::core::primitive::u32, pub created_at: _0, - pub causes: ::std::vec::Vec< + pub causes: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::paras::PvfCheckCause<_0>, >, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PvfCheckCause<_0> { #[codec(index = 0)] - Onboarding(runtime_types::polkadot_parachain::primitives::Id), + Onboarding(runtime_types::polkadot_parachain_primitives::primitives::Id), #[codec(index = 1)] Upgrade { - id: runtime_types::polkadot_parachain::primitives::Id, - relay_parent_number: _0, + id: runtime_types::polkadot_parachain_primitives::primitives::Id, + included_at: _0, + upgrade_strategy: + runtime_types::polkadot_runtime_parachains::paras::UpgradeStrategy, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ReplacementTimes<_0> { pub expected_at: _0, pub activated_at: _0, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum UpgradeStrategy { + #[codec(index = 0)] + SetGoAheadSignal, + #[codec(index = 1)] + ApplyAtExpectedBlock, + } } pub mod paras_inherent { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call { #[codec(index = 0)] enter { - data: runtime_types::polkadot_primitives::v4::InherentData< + data: runtime_types::polkadot_primitives::v7::InherentData< ::sp_runtime::generic::Header< ::core::primitive::u32, ::sp_runtime::traits::BlakeTwo256, @@ -4929,72 +7067,81 @@ pub mod api { >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] TooManyInclusionInherents, #[codec(index = 1)] InvalidParentHeader, #[codec(index = 2)] - CandidateConcludedInvalid, - #[codec(index = 3)] InherentOverweight, + #[codec(index = 3)] + CandidatesFilteredDuringExecution, #[codec(index = 4)] - DisputeStatementsUnsortedOrDuplicates, - #[codec(index = 5)] - DisputeInvalid, + UnscheduledCandidate, } } } pub mod scheduler { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum AssignmentKind { - #[codec(index = 0)] - Parachain, - #[codec(index = 1)] - Parathread( - runtime_types::polkadot_primitives::v4::collator_app::Public, - ::core::primitive::u32, - ), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct CoreAssignment { - pub core: runtime_types::polkadot_primitives::v4::CoreIndex, - pub para_id: runtime_types::polkadot_parachain::primitives::Id, - pub kind: runtime_types::polkadot_runtime_parachains::scheduler::AssignmentKind, - pub group_idx: runtime_types::polkadot_primitives::v4::GroupIndex, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ParathreadClaimQueue { - pub queue: ::std::vec::Vec< - runtime_types::polkadot_runtime_parachains::scheduler::QueuedParathread, - >, - pub next_core_offset: ::core::primitive::u32, + pub mod common { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Assignment { + #[codec(index = 0)] + Pool { + para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, + core_index: runtime_types::polkadot_primitives::v7::CoreIndex, + }, + #[codec(index = 1)] + Bulk(runtime_types::polkadot_parachain_primitives::primitives::Id), + } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct QueuedParathread { - pub claim: runtime_types::polkadot_primitives::v4::ParathreadEntry, - pub core_offset: ::core::primitive::u32, + pub mod pallet { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum CoreOccupied<_0> { + #[codec(index = 0)] + Free, + #[codec(index = 1)] + Paras( + runtime_types::polkadot_runtime_parachains::scheduler::pallet::ParasEntry< + _0, + >, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ParasEntry<_0> { + pub assignment: runtime_types::polkadot_runtime_parachains::scheduler::common::Assignment, + pub availability_timeouts: ::core::primitive::u32, + pub ttl: _0, + } } } pub mod shared { use super::runtime_types; pub mod pallet { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Call {} } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AllowedRelayParentsTracker<_0, _1> { + pub buffer: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _0)>, + pub latest_number: _1, + } } } pub mod sp_arithmetic { use super::runtime_types; pub mod fixed_point { use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct FixedI64(pub ::core::primitive::i64); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -5004,34 +7151,43 @@ pub mod api { pub mod per_things { use super::runtime_types; #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct PerU16(pub ::core::primitive::u16); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Perbill(pub ::core::primitive::u32); #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, )] pub struct Percent(pub ::core::primitive::u8); + #[derive( + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, + Clone, + Debug, + PartialEq, + )] + pub struct Permill(pub ::core::primitive::u32); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -5045,20 +7201,20 @@ pub mod api { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); } } pub mod sp_consensus_babe { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::sr25519::Public); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); } pub mod digests { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NextConfigDescriptor { #[codec(index = 1)] V1 { @@ -5066,7 +7222,7 @@ pub mod api { allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum PreDigest { #[codec(index = 1)] Primary(runtime_types::sp_consensus_babe::digests::PrimaryPreDigest), @@ -5077,25 +7233,25 @@ pub mod api { #[codec(index = 3)] SecondaryVRF(runtime_types::sp_consensus_babe::digests::SecondaryVRFPreDigest), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PrimaryPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SecondaryPlainPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SecondaryVRFPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AllowedSlots { #[codec(index = 0)] PrimarySlots, @@ -5104,22 +7260,108 @@ pub mod api { #[codec(index = 2)] PrimaryAndSecondaryVRFSlots, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BabeConfiguration { + pub slot_duration: ::core::primitive::u64, + pub epoch_length: ::core::primitive::u64, + pub c: (::core::primitive::u64, ::core::primitive::u64), + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::sp_consensus_babe::app::Public, + ::core::primitive::u64, + )>, + pub randomness: [::core::primitive::u8; 32usize], + pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct BabeEpochConfiguration { pub c: (::core::primitive::u64, ::core::primitive::u64), pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Epoch { + pub epoch_index: ::core::primitive::u64, + pub start_slot: runtime_types::sp_consensus_slots::Slot, + pub duration: ::core::primitive::u64, + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::sp_consensus_babe::app::Public, + ::core::primitive::u64, + )>, + pub randomness: [::core::primitive::u8; 32usize], + pub config: runtime_types::sp_consensus_babe::BabeEpochConfiguration, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + } + pub mod sp_consensus_beefy { + use super::runtime_types; + pub mod commitment { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Commitment<_0> { + pub payload: runtime_types::sp_consensus_beefy::payload::Payload, + pub block_number: _0, + pub validator_set_id: ::core::primitive::u64, + } + } + pub mod ecdsa_crypto { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 33usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 65usize]); + } + pub mod mmr { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct BeefyAuthoritySet<_0> { + pub id: ::core::primitive::u64, + pub len: ::core::primitive::u32, + pub keyset_commitment: _0, + } + } + pub mod payload { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Payload( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<( + [::core::primitive::u8; 2usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + )>, + ); + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct EquivocationProof<_0, _1, _2> { + pub first: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, + pub second: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidatorSet<_0> { + pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + pub id: ::core::primitive::u64, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct VoteMessage<_0, _1, _2> { + pub commitment: runtime_types::sp_consensus_beefy::commitment::Commitment<_0>, + pub id: _1, + pub signature: _2, + } } pub mod sp_consensus_grandpa { use super::runtime_types; pub mod app { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub runtime_types::sp_core::ed25519::Public); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Public(pub [::core::primitive::u8; 32usize]); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Signature(pub [::core::primitive::u8; 64usize]); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Equivocation<_0, _1> { #[codec(index = 0)] Prevote( @@ -5138,10 +7380,14 @@ pub mod api { >, ), } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } pub mod sp_consensus_slots { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct EquivocationProof<_0, _1> { pub offender: _1, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -5149,9 +7395,9 @@ pub mod api { pub second_header: _0, } #[derive( - :: codec :: Decode, - :: codec :: Encode, - :: subxt :: ext :: codec :: CompactAs, + ::codec::Decode, + ::codec::Encode, + ::subxt::ext::subxt_core::ext::codec::CompactAs, Clone, Debug, PartialEq, @@ -5162,423 +7408,1130 @@ pub mod api { use super::runtime_types; pub mod crypto { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } - pub mod ecdsa { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 33usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 65usize]); - } - pub mod ed25519 { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); - } - pub mod offchain { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OpaqueMultiaddr(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OpaqueNetworkState { - pub peer_id: runtime_types::sp_core::OpaquePeerId, - pub external_addresses: - ::std::vec::Vec, - } - } pub mod sr25519 { use super::runtime_types; pub mod vrf { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct VrfSignature { - pub output: [::core::primitive::u8; 32usize], + pub pre_output: [::core::primitive::u8; 32usize], pub proof: [::core::primitive::u8; 64usize], } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Public(pub [::core::primitive::u8; 32usize]); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Signature(pub [::core::primitive::u8; 64usize]); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OpaquePeerId(pub ::std::vec::Vec<::core::primitive::u8>); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OpaqueMetadata( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Void {} } + pub mod sp_inherents { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct CheckInherentsResult { + pub okay: ::core::primitive::bool, + pub fatal_error: ::core::primitive::bool, + pub errors: runtime_types::sp_inherents::InherentData, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct InherentData { + pub data: ::subxt::ext::subxt_core::utils::KeyedVec< + [::core::primitive::u8; 8usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + } + } + pub mod sp_mmr_primitives { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct EncodableOpaqueLeaf( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + InvalidNumericOp, + #[codec(index = 1)] + Push, + #[codec(index = 2)] + GetRoot, + #[codec(index = 3)] + Commit, + #[codec(index = 4)] + GenerateProof, + #[codec(index = 5)] + Verify, + #[codec(index = 6)] + LeafNotFound, + #[codec(index = 7)] + PalletNotIncluded, + #[codec(index = 8)] + InvalidLeafIndex, + #[codec(index = 9)] + InvalidBestKnownBlock, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Proof<_0> { + pub leaf_indices: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>, + pub leaf_count: ::core::primitive::u64, + pub items: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + } + } pub mod sp_npos_elections { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct ElectionScore { pub minimal_stake: ::core::primitive::u128, pub sum_stake: ::core::primitive::u128, pub sum_stake_squared: ::core::primitive::u128, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Support<_0> { pub total: ::core::primitive::u128, - pub voters: ::std::vec::Vec<(_0, ::core::primitive::u128)>, + pub voters: + ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, ::core::primitive::u128)>, + } + } + pub mod sp_runtime { + use super::runtime_types; + pub mod generic { + use super::runtime_types; + pub mod block { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Block<_0, _1> { + pub header: _0, + pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + } + } + pub mod digest { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum DigestItem { + #[codec(index = 6)] + PreRuntime( + [::core::primitive::u8; 4usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ), + #[codec(index = 4)] + Consensus( + [::core::primitive::u8; 4usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ), + #[codec(index = 5)] + Seal( + [::core::primitive::u8; 4usize], + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ), + #[codec(index = 0)] + Other(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), + #[codec(index = 8)] + RuntimeEnvironmentUpdated, + } + } + } + pub mod transaction_validity { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum InvalidTransaction { + #[codec(index = 0)] + Call, + #[codec(index = 1)] + Payment, + #[codec(index = 2)] + Future, + #[codec(index = 3)] + Stale, + #[codec(index = 4)] + BadProof, + #[codec(index = 5)] + AncientBirthBlock, + #[codec(index = 6)] + ExhaustsResources, + #[codec(index = 7)] + Custom(::core::primitive::u8), + #[codec(index = 8)] + BadMandatory, + #[codec(index = 9)] + MandatoryValidation, + #[codec(index = 10)] + BadSigner, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionSource { + #[codec(index = 0)] + InBlock, + #[codec(index = 1)] + Local, + #[codec(index = 2)] + External, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionValidityError { + #[codec(index = 0)] + Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), + #[codec(index = 1)] + Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum UnknownTransaction { + #[codec(index = 0)] + CannotLookup, + #[codec(index = 1)] + NoUnsignedValidator, + #[codec(index = 2)] + Custom(::core::primitive::u8), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ValidTransaction { + pub priority: ::core::primitive::u64, + pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub longevity: ::core::primitive::u64, + pub propagate: ::core::primitive::bool, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum DispatchError { + #[codec(index = 0)] + Other, + #[codec(index = 1)] + CannotLookup, + #[codec(index = 2)] + BadOrigin, + #[codec(index = 3)] + Module(runtime_types::sp_runtime::ModuleError), + #[codec(index = 4)] + ConsumerRemaining, + #[codec(index = 5)] + NoProviders, + #[codec(index = 6)] + TooManyConsumers, + #[codec(index = 7)] + Token(runtime_types::sp_runtime::TokenError), + #[codec(index = 8)] + Arithmetic(runtime_types::sp_arithmetic::ArithmeticError), + #[codec(index = 9)] + Transactional(runtime_types::sp_runtime::TransactionalError), + #[codec(index = 10)] + Exhausted, + #[codec(index = 11)] + Corruption, + #[codec(index = 12)] + Unavailable, + #[codec(index = 13)] + RootNotAllowed, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct DispatchErrorWithPostInfo<_0> { + pub post_info: _0, + pub error: runtime_types::sp_runtime::DispatchError, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum ExtrinsicInclusionMode { + #[codec(index = 0)] + AllExtrinsics, + #[codec(index = 1)] + OnlyInherents, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ModuleError { + pub index: ::core::primitive::u8, + pub error: [::core::primitive::u8; 4usize], + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum MultiSignature { + #[codec(index = 0)] + Ed25519([::core::primitive::u8; 64usize]), + #[codec(index = 1)] + Sr25519([::core::primitive::u8; 64usize]), + #[codec(index = 2)] + Ecdsa([::core::primitive::u8; 65usize]), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum MultiSigner { + #[codec(index = 0)] + Ed25519([::core::primitive::u8; 32usize]), + #[codec(index = 1)] + Sr25519([::core::primitive::u8; 32usize]), + #[codec(index = 2)] + Ecdsa([::core::primitive::u8; 33usize]), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TokenError { + #[codec(index = 0)] + FundsUnavailable, + #[codec(index = 1)] + OnlyProvider, + #[codec(index = 2)] + BelowMinimum, + #[codec(index = 3)] + CannotCreate, + #[codec(index = 4)] + UnknownAsset, + #[codec(index = 5)] + Frozen, + #[codec(index = 6)] + Unsupported, + #[codec(index = 7)] + CannotCreateHold, + #[codec(index = 8)] + NotExpendable, + #[codec(index = 9)] + Blocked, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransactionalError { + #[codec(index = 0)] + LimitReached, + #[codec(index = 1)] + NoLayer, + } + } + pub mod sp_staking { + use super::runtime_types; + pub mod offence { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct OffenceDetails<_0, _1> { + pub offender: _1, + pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Exposure<_0, _1> { + #[codec(compact)] + pub total: _1, + #[codec(compact)] + pub own: _1, + pub others: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_staking::IndividualExposure<_0, _1>, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct ExposurePage<_0, _1> { + #[codec(compact)] + pub page_total: _1, + pub others: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_staking::IndividualExposure<_0, _1>, + >, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct IndividualExposure<_0, _1> { + pub who: _0, + #[codec(compact)] + pub value: _1, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PagedExposureMetadata<_0> { + #[codec(compact)] + pub total: _0, + #[codec(compact)] + pub own: _0, + pub nominator_count: ::core::primitive::u32, + pub page_count: ::core::primitive::u32, + } + } + pub mod sp_version { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RuntimeVersion { + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, + pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, + pub authoring_version: ::core::primitive::u32, + pub spec_version: ::core::primitive::u32, + pub impl_version: ::core::primitive::u32, + pub apis: ::subxt::ext::subxt_core::alloc::vec::Vec<( + [::core::primitive::u8; 8usize], + ::core::primitive::u32, + )>, + pub transaction_version: ::core::primitive::u32, + pub state_version: ::core::primitive::u8, + } + } + pub mod sp_weights { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct RuntimeDbWeight { + pub read: ::core::primitive::u64, + pub write: ::core::primitive::u64, + } + } + pub mod staging_xcm { + use super::runtime_types; + pub mod v3 { + use super::runtime_types; + pub mod multilocation { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct MultiLocation { + pub parents: ::core::primitive::u8, + pub interior: runtime_types::xcm::v3::junctions::Junctions, + } + } + } + pub mod v4 { + use super::runtime_types; + pub mod asset { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Asset { + pub id: runtime_types::staging_xcm::v4::asset::AssetId, + pub fun: runtime_types::staging_xcm::v4::asset::Fungibility, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AssetFilter { + #[codec(index = 0)] + Definite(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 1)] + Wild(runtime_types::staging_xcm::v4::asset::WildAsset), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct AssetId(pub runtime_types::staging_xcm::v4::location::Location); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum AssetInstance { + #[codec(index = 0)] + Undefined, + #[codec(index = 1)] + Index(#[codec(compact)] ::core::primitive::u128), + #[codec(index = 2)] + Array4([::core::primitive::u8; 4usize]), + #[codec(index = 3)] + Array8([::core::primitive::u8; 8usize]), + #[codec(index = 4)] + Array16([::core::primitive::u8; 16usize]), + #[codec(index = 5)] + Array32([::core::primitive::u8; 32usize]), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Assets( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::asset::Asset, + >, + ); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Fungibility { + #[codec(index = 0)] + Fungible(#[codec(compact)] ::core::primitive::u128), + #[codec(index = 1)] + NonFungible(runtime_types::staging_xcm::v4::asset::AssetInstance), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum WildAsset { + #[codec(index = 0)] + All, + #[codec(index = 1)] + AllOf { + id: runtime_types::staging_xcm::v4::asset::AssetId, + fun: runtime_types::staging_xcm::v4::asset::WildFungibility, + }, + #[codec(index = 2)] + AllCounted(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 3)] + AllOfCounted { + id: runtime_types::staging_xcm::v4::asset::AssetId, + fun: runtime_types::staging_xcm::v4::asset::WildFungibility, + #[codec(compact)] + count: ::core::primitive::u32, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum WildFungibility { + #[codec(index = 0)] + Fungible, + #[codec(index = 1)] + NonFungible, + } + } + pub mod junction { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Junction { + #[codec(index = 0)] + Parachain(#[codec(compact)] ::core::primitive::u32), + #[codec(index = 1)] + AccountId32 { + network: ::core::option::Option< + runtime_types::staging_xcm::v4::junction::NetworkId, + >, + id: [::core::primitive::u8; 32usize], + }, + #[codec(index = 2)] + AccountIndex64 { + network: ::core::option::Option< + runtime_types::staging_xcm::v4::junction::NetworkId, + >, + #[codec(compact)] + index: ::core::primitive::u64, + }, + #[codec(index = 3)] + AccountKey20 { + network: ::core::option::Option< + runtime_types::staging_xcm::v4::junction::NetworkId, + >, + key: [::core::primitive::u8; 20usize], + }, + #[codec(index = 4)] + PalletInstance(::core::primitive::u8), + #[codec(index = 5)] + GeneralIndex(#[codec(compact)] ::core::primitive::u128), + #[codec(index = 6)] + GeneralKey { + length: ::core::primitive::u8, + data: [::core::primitive::u8; 32usize], + }, + #[codec(index = 7)] + OnlyChild, + #[codec(index = 8)] + Plurality { + id: runtime_types::xcm::v3::junction::BodyId, + part: runtime_types::xcm::v3::junction::BodyPart, + }, + #[codec(index = 9)] + GlobalConsensus(runtime_types::staging_xcm::v4::junction::NetworkId), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum NetworkId { + #[codec(index = 0)] + ByGenesis([::core::primitive::u8; 32usize]), + #[codec(index = 1)] + ByFork { + block_number: ::core::primitive::u64, + block_hash: [::core::primitive::u8; 32usize], + }, + #[codec(index = 2)] + Polkadot, + #[codec(index = 3)] + Kusama, + #[codec(index = 4)] + Westend, + #[codec(index = 5)] + Rococo, + #[codec(index = 6)] + Wococo, + #[codec(index = 7)] + Ethereum { + #[codec(compact)] + chain_id: ::core::primitive::u64, + }, + #[codec(index = 8)] + BitcoinCore, + #[codec(index = 9)] + BitcoinCash, + #[codec(index = 10)] + PolkadotBulletin, + } + } + pub mod junctions { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Junctions { + #[codec(index = 0)] + Here, + #[codec(index = 1)] + X1([runtime_types::staging_xcm::v4::junction::Junction; 1usize]), + #[codec(index = 2)] + X2([runtime_types::staging_xcm::v4::junction::Junction; 2usize]), + #[codec(index = 3)] + X3([runtime_types::staging_xcm::v4::junction::Junction; 3usize]), + #[codec(index = 4)] + X4([runtime_types::staging_xcm::v4::junction::Junction; 4usize]), + #[codec(index = 5)] + X5([runtime_types::staging_xcm::v4::junction::Junction; 5usize]), + #[codec(index = 6)] + X6([runtime_types::staging_xcm::v4::junction::Junction; 6usize]), + #[codec(index = 7)] + X7([runtime_types::staging_xcm::v4::junction::Junction; 7usize]), + #[codec(index = 8)] + X8([runtime_types::staging_xcm::v4::junction::Junction; 8usize]), + } + } + pub mod location { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Location { + pub parents: ::core::primitive::u8, + pub interior: runtime_types::staging_xcm::v4::junctions::Junctions, + } + } + pub mod traits { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Outcome { + #[codec(index = 0)] + Complete { used: ::sp_weights::Weight }, + #[codec(index = 1)] + Incomplete { + used: ::sp_weights::Weight, + error: runtime_types::xcm::v3::traits::Error, + }, + #[codec(index = 2)] + Error { error: runtime_types::xcm::v3::traits::Error }, + } + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Instruction { + #[codec(index = 0)] + WithdrawAsset(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 1)] + ReserveAssetDeposited(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 2)] + ReceiveTeleportedAsset(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 3)] + QueryResponse { + #[codec(compact)] + query_id: ::core::primitive::u64, + response: runtime_types::staging_xcm::v4::Response, + max_weight: ::sp_weights::Weight, + querier: ::core::option::Option< + runtime_types::staging_xcm::v4::location::Location, + >, + }, + #[codec(index = 4)] + TransferAsset { + assets: runtime_types::staging_xcm::v4::asset::Assets, + beneficiary: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 5)] + TransferReserveAsset { + assets: runtime_types::staging_xcm::v4::asset::Assets, + dest: runtime_types::staging_xcm::v4::location::Location, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 6)] + Transact { + origin_kind: runtime_types::xcm::v2::OriginKind, + require_weight_at_most: ::sp_weights::Weight, + call: runtime_types::xcm::double_encoded::DoubleEncoded, + }, + #[codec(index = 7)] + HrmpNewChannelOpenRequest { + #[codec(compact)] + sender: ::core::primitive::u32, + #[codec(compact)] + max_message_size: ::core::primitive::u32, + #[codec(compact)] + max_capacity: ::core::primitive::u32, + }, + #[codec(index = 8)] + HrmpChannelAccepted { + #[codec(compact)] + recipient: ::core::primitive::u32, + }, + #[codec(index = 9)] + HrmpChannelClosing { + #[codec(compact)] + initiator: ::core::primitive::u32, + #[codec(compact)] + sender: ::core::primitive::u32, + #[codec(compact)] + recipient: ::core::primitive::u32, + }, + #[codec(index = 10)] + ClearOrigin, + #[codec(index = 11)] + DescendOrigin(runtime_types::staging_xcm::v4::junctions::Junctions), + #[codec(index = 12)] + ReportError(runtime_types::staging_xcm::v4::QueryResponseInfo), + #[codec(index = 13)] + DepositAsset { + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + beneficiary: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 14)] + DepositReserveAsset { + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + dest: runtime_types::staging_xcm::v4::location::Location, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 15)] + ExchangeAsset { + give: runtime_types::staging_xcm::v4::asset::AssetFilter, + want: runtime_types::staging_xcm::v4::asset::Assets, + maximal: ::core::primitive::bool, + }, + #[codec(index = 16)] + InitiateReserveWithdraw { + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + reserve: runtime_types::staging_xcm::v4::location::Location, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 17)] + InitiateTeleport { + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + dest: runtime_types::staging_xcm::v4::location::Location, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 18)] + ReportHolding { + response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, + assets: runtime_types::staging_xcm::v4::asset::AssetFilter, + }, + #[codec(index = 19)] + BuyExecution { + fees: runtime_types::staging_xcm::v4::asset::Asset, + weight_limit: runtime_types::xcm::v3::WeightLimit, + }, + #[codec(index = 20)] + RefundSurplus, + #[codec(index = 21)] + SetErrorHandler(runtime_types::staging_xcm::v4::Xcm), + #[codec(index = 22)] + SetAppendix(runtime_types::staging_xcm::v4::Xcm), + #[codec(index = 23)] + ClearError, + #[codec(index = 24)] + ClaimAsset { + assets: runtime_types::staging_xcm::v4::asset::Assets, + ticket: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 25)] + Trap(#[codec(compact)] ::core::primitive::u64), + #[codec(index = 26)] + SubscribeVersion { + #[codec(compact)] + query_id: ::core::primitive::u64, + max_response_weight: ::sp_weights::Weight, + }, + #[codec(index = 27)] + UnsubscribeVersion, + #[codec(index = 28)] + BurnAsset(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 29)] + ExpectAsset(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 30)] + ExpectOrigin( + ::core::option::Option, + ), + #[codec(index = 31)] + ExpectError( + ::core::option::Option<( + ::core::primitive::u32, + runtime_types::xcm::v3::traits::Error, + )>, + ), + #[codec(index = 32)] + ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), + #[codec(index = 33)] + QueryPallet { + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + response_info: runtime_types::staging_xcm::v4::QueryResponseInfo, + }, + #[codec(index = 34)] + ExpectPallet { + #[codec(compact)] + index: ::core::primitive::u32, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + #[codec(compact)] + crate_major: ::core::primitive::u32, + #[codec(compact)] + min_crate_minor: ::core::primitive::u32, + }, + #[codec(index = 35)] + ReportTransactStatus(runtime_types::staging_xcm::v4::QueryResponseInfo), + #[codec(index = 36)] + ClearTransactStatus, + #[codec(index = 37)] + UniversalOrigin(runtime_types::staging_xcm::v4::junction::Junction), + #[codec(index = 38)] + ExportMessage { + network: runtime_types::staging_xcm::v4::junction::NetworkId, + destination: runtime_types::staging_xcm::v4::junctions::Junctions, + xcm: runtime_types::staging_xcm::v4::Xcm, + }, + #[codec(index = 39)] + LockAsset { + asset: runtime_types::staging_xcm::v4::asset::Asset, + unlocker: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 40)] + UnlockAsset { + asset: runtime_types::staging_xcm::v4::asset::Asset, + target: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 41)] + NoteUnlockable { + asset: runtime_types::staging_xcm::v4::asset::Asset, + owner: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 42)] + RequestUnlock { + asset: runtime_types::staging_xcm::v4::asset::Asset, + locker: runtime_types::staging_xcm::v4::location::Location, + }, + #[codec(index = 43)] + SetFeesMode { jit_withdraw: ::core::primitive::bool }, + #[codec(index = 44)] + SetTopic([::core::primitive::u8; 32usize]), + #[codec(index = 45)] + ClearTopic, + #[codec(index = 46)] + AliasOrigin(runtime_types::staging_xcm::v4::location::Location), + #[codec(index = 47)] + UnpaidExecution { + weight_limit: runtime_types::xcm::v3::WeightLimit, + check_origin: ::core::option::Option< + runtime_types::staging_xcm::v4::location::Location, + >, + }, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct PalletInfo { + #[codec(compact)] + pub index: ::core::primitive::u32, + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + ::core::primitive::u8, + >, + #[codec(compact)] + pub major: ::core::primitive::u32, + #[codec(compact)] + pub minor: ::core::primitive::u32, + #[codec(compact)] + pub patch: ::core::primitive::u32, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct QueryResponseInfo { + pub destination: runtime_types::staging_xcm::v4::location::Location, + #[codec(compact)] + pub query_id: ::core::primitive::u64, + pub max_weight: ::sp_weights::Weight, + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Response { + #[codec(index = 0)] + Null, + #[codec(index = 1)] + Assets(runtime_types::staging_xcm::v4::asset::Assets), + #[codec(index = 2)] + ExecutionResult( + ::core::option::Option<( + ::core::primitive::u32, + runtime_types::xcm::v3::traits::Error, + )>, + ), + #[codec(index = 3)] + Version(::core::primitive::u32), + #[codec(index = 4)] + PalletsInfo( + runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::staging_xcm::v4::PalletInfo, + >, + ), + #[codec(index = 5)] + DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::staging_xcm::v4::Instruction, + >, + ); } } - pub mod sp_runtime { + pub mod staging_xcm_executor { use super::runtime_types; - pub mod generic { + pub mod traits { use super::runtime_types; - pub mod digest { + pub mod asset_transfer { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum DigestItem { - #[codec(index = 6)] - PreRuntime( - [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, - ), - #[codec(index = 4)] - Consensus( - [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, - ), - #[codec(index = 5)] - Seal( - [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, - ), + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum TransferType { #[codec(index = 0)] - Other(::std::vec::Vec<::core::primitive::u8>), - #[codec(index = 8)] - RuntimeEnvironmentUpdated, + Teleport, + #[codec(index = 1)] + LocalReserve, + #[codec(index = 2)] + DestinationReserve, + #[codec(index = 3)] + RemoteReserve(runtime_types::xcm::VersionedLocation), } } - pub mod unchecked_extrinsic { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct UncheckedExtrinsic<_0, _1, _2, _3>( - pub ::std::vec::Vec<::core::primitive::u8>, - #[codec(skip)] pub ::core::marker::PhantomData<(_0, _1, _2, _3)>, - ); - } - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum DispatchError { - #[codec(index = 0)] - Other, - #[codec(index = 1)] - CannotLookup, - #[codec(index = 2)] - BadOrigin, - #[codec(index = 3)] - Module(runtime_types::sp_runtime::ModuleError), - #[codec(index = 4)] - ConsumerRemaining, - #[codec(index = 5)] - NoProviders, - #[codec(index = 6)] - TooManyConsumers, - #[codec(index = 7)] - Token(runtime_types::sp_runtime::TokenError), - #[codec(index = 8)] - Arithmetic(runtime_types::sp_arithmetic::ArithmeticError), - #[codec(index = 9)] - Transactional(runtime_types::sp_runtime::TransactionalError), - #[codec(index = 10)] - Exhausted, - #[codec(index = 11)] - Corruption, - #[codec(index = 12)] - Unavailable, - #[codec(index = 13)] - RootNotAllowed, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct ModuleError { - pub index: ::core::primitive::u8, - pub error: [::core::primitive::u8; 4usize], - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum MultiSignature { - #[codec(index = 0)] - Ed25519(runtime_types::sp_core::ed25519::Signature), - #[codec(index = 1)] - Sr25519(runtime_types::sp_core::sr25519::Signature), - #[codec(index = 2)] - Ecdsa(runtime_types::sp_core::ecdsa::Signature), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum MultiSigner { - #[codec(index = 0)] - Ed25519(runtime_types::sp_core::ed25519::Public), - #[codec(index = 1)] - Sr25519(runtime_types::sp_core::sr25519::Public), - #[codec(index = 2)] - Ecdsa(runtime_types::sp_core::ecdsa::Public), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum TokenError { - #[codec(index = 0)] - FundsUnavailable, - #[codec(index = 1)] - OnlyProvider, - #[codec(index = 2)] - BelowMinimum, - #[codec(index = 3)] - CannotCreate, - #[codec(index = 4)] - UnknownAsset, - #[codec(index = 5)] - Frozen, - #[codec(index = 6)] - Unsupported, - #[codec(index = 7)] - CannotCreateHold, - #[codec(index = 8)] - NotExpendable, - #[codec(index = 9)] - Blocked, - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum TransactionalError { - #[codec(index = 0)] - LimitReached, - #[codec(index = 1)] - NoLayer, } } - pub mod sp_staking { + pub mod westend_runtime { use super::runtime_types; - pub mod offence { + pub mod governance { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct OffenceDetails<_0, _1> { - pub offender: _1, - pub reporters: ::std::vec::Vec<_0>, + pub mod origins { + use super::runtime_types; + pub mod pallet_custom_origins { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Origin { + #[codec(index = 0)] + StakingAdmin, + #[codec(index = 1)] + Treasurer, + #[codec(index = 2)] + FellowshipAdmin, + #[codec(index = 3)] + GeneralAdmin, + #[codec(index = 4)] + AuctionAdmin, + #[codec(index = 5)] + LeaseAdmin, + #[codec(index = 6)] + ReferendumCanceller, + #[codec(index = 7)] + ReferendumKiller, + #[codec(index = 8)] + SmallTipper, + #[codec(index = 9)] + BigTipper, + #[codec(index = 10)] + SmallSpender, + #[codec(index = 11)] + MediumSpender, + #[codec(index = 12)] + BigSpender, + #[codec(index = 13)] + WhitelistedCaller, + #[codec(index = 14)] + FellowshipInitiates, + #[codec(index = 15)] + Fellows, + #[codec(index = 16)] + FellowshipExperts, + #[codec(index = 17)] + FellowshipMasters, + #[codec(index = 18)] + Fellowship1Dan, + #[codec(index = 19)] + Fellowship2Dan, + #[codec(index = 20)] + Fellowship3Dan, + #[codec(index = 21)] + Fellowship4Dan, + #[codec(index = 22)] + Fellowship5Dan, + #[codec(index = 23)] + Fellowship6Dan, + #[codec(index = 24)] + Fellowship7Dan, + #[codec(index = 25)] + Fellowship8Dan, + #[codec(index = 26)] + Fellowship9Dan, + } + } } } - } - pub mod sp_version { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RuntimeVersion { - pub spec_name: ::std::string::String, - pub impl_name: ::std::string::String, - pub authoring_version: ::core::primitive::u32, - pub spec_version: ::core::primitive::u32, - pub impl_version: ::core::primitive::u32, - pub apis: - ::std::vec::Vec<([::core::primitive::u8; 8usize], ::core::primitive::u32)>, - pub transaction_version: ::core::primitive::u32, - pub state_version: ::core::primitive::u8, - } - } - pub mod sp_weights { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct RuntimeDbWeight { - pub read: ::core::primitive::u64, - pub write: ::core::primitive::u64, - } - } - pub mod westend_runtime { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct NposCompactSolution16 { - pub votes1: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, - ::subxt::ext::codec::Compact<::core::primitive::u16>, + pub votes1: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes2: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes2: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, ( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ), - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes3: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes3: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 2usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes4: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes4: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 3usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes5: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes5: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 4usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes6: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes6: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 5usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes7: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes7: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 6usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes8: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes8: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 7usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes9: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes9: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 8usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes10: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes10: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 9usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes11: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes11: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 10usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes12: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes12: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 11usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes13: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes13: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 12usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes14: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes14: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 13usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes15: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes15: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 14usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, - pub votes16: ::std::vec::Vec<( - ::subxt::ext::codec::Compact<::core::primitive::u32>, + pub votes16: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u32>, [( - ::subxt::ext::codec::Compact<::core::primitive::u16>, - ::subxt::ext::codec::Compact< + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact< runtime_types::sp_arithmetic::per_things::PerU16, >, ); 15usize], - ::subxt::ext::codec::Compact<::core::primitive::u16>, + ::subxt::ext::subxt_core::ext::codec::Compact<::core::primitive::u16>, )>, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginCaller { #[codec(index = 0)] - system( - runtime_types::frame_support::dispatch::RawOrigin< - ::sp_core::crypto::AccountId32, - >, - ), - #[codec(index = 41)] - ParachainsOrigin( - runtime_types::polkadot_runtime_parachains::origin::pallet::Origin, - ), - #[codec(index = 99)] - XcmPallet(runtime_types::pallet_xcm::pallet::Origin), - #[codec(index = 3)] - Void(runtime_types::sp_core::Void), - } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + system( + runtime_types::frame_support::dispatch::RawOrigin< + ::sp_core::crypto::AccountId32, + >, + ), + #[codec(index = 35)] + Origins( + runtime_types::westend_runtime::governance::origins::pallet_custom_origins::Origin, + ), + #[codec(index = 41)] + ParachainsOrigin( + runtime_types::polkadot_runtime_parachains::origin::pallet::Origin, + ), + #[codec(index = 99)] + XcmPallet(runtime_types::pallet_xcm::pallet::Origin), + #[codec(index = 4)] + Void(runtime_types::sp_core::Void), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum ProxyType { #[codec(index = 0)] Any, #[codec(index = 1)] NonTransfer, #[codec(index = 2)] - Staking, + Governance, #[codec(index = 3)] - SudoBalances, + Staking, #[codec(index = 4)] - IdentityJudgement, + SudoBalances, #[codec(index = 5)] - CancelProxy, + IdentityJudgement, #[codec(index = 6)] - Auction, + CancelProxy, #[codec(index = 7)] + Auction, + #[codec(index = 8)] NominationPools, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct Runtime; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -5596,8 +8549,6 @@ pub mod api { Session(runtime_types::pallet_session::pallet::Call), #[codec(index = 10)] Grandpa(runtime_types::pallet_grandpa::pallet::Call), - #[codec(index = 11)] - ImOnline(runtime_types::pallet_im_online::pallet::Call), #[codec(index = 16)] Utility(runtime_types::pallet_utility::pallet::Call), #[codec(index = 17)] @@ -5626,6 +8577,14 @@ pub mod api { NominationPools(runtime_types::pallet_nomination_pools::pallet::Call), #[codec(index = 30)] FastUnstake(runtime_types::pallet_fast_unstake::pallet::Call), + #[codec(index = 31)] + ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Call), + #[codec(index = 32)] + Referenda(runtime_types::pallet_referenda::pallet::Call), + #[codec(index = 36)] + Whitelist(runtime_types::pallet_whitelist::pallet::Call), + #[codec(index = 37)] + Treasury(runtime_types::pallet_treasury::pallet::Call), #[codec(index = 42)] Configuration( runtime_types::polkadot_runtime_parachains::configuration::pallet::Call, @@ -5650,6 +8609,10 @@ pub mod api { ParasSlashing( runtime_types::polkadot_runtime_parachains::disputes::slashing::pallet::Call, ), + #[codec(index = 56)] + OnDemandAssignmentProvider( + runtime_types::polkadot_runtime_parachains::assigner_on_demand::pallet::Call, + ), #[codec(index = 60)] Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Call), #[codec(index = 61)] @@ -5664,12 +8627,131 @@ pub mod api { Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Call), #[codec(index = 65)] AssignedSlots(runtime_types::polkadot_runtime_common::assigned_slots::pallet::Call), + #[codec(index = 66)] + Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Call), #[codec(index = 99)] XcmPallet(runtime_types::pallet_xcm::pallet::Call), #[codec(index = 100)] MessageQueue(runtime_types::pallet_message_queue::pallet::Call), + #[codec(index = 101)] + AssetRate(runtime_types::pallet_asset_rate::pallet::Call), + #[codec(index = 102)] + RootTesting(runtime_types::pallet_root_testing::pallet::Call), + #[codec(index = 200)] + Beefy(runtime_types::pallet_beefy::pallet::Call), + #[codec(index = 248)] + IdentityMigrator( + runtime_types::polkadot_runtime_common::identity_migrator::pallet::Call, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RuntimeError { + #[codec(index = 0)] + System(runtime_types::frame_system::pallet::Error), + #[codec(index = 1)] + Babe(runtime_types::pallet_babe::pallet::Error), + #[codec(index = 3)] + Indices(runtime_types::pallet_indices::pallet::Error), + #[codec(index = 4)] + Balances(runtime_types::pallet_balances::pallet::Error), + #[codec(index = 6)] + Staking(runtime_types::pallet_staking::pallet::pallet::Error), + #[codec(index = 8)] + Session(runtime_types::pallet_session::pallet::Error), + #[codec(index = 10)] + Grandpa(runtime_types::pallet_grandpa::pallet::Error), + #[codec(index = 16)] + Utility(runtime_types::pallet_utility::pallet::Error), + #[codec(index = 17)] + Identity(runtime_types::pallet_identity::pallet::Error), + #[codec(index = 18)] + Recovery(runtime_types::pallet_recovery::pallet::Error), + #[codec(index = 19)] + Vesting(runtime_types::pallet_vesting::pallet::Error), + #[codec(index = 20)] + Scheduler(runtime_types::pallet_scheduler::pallet::Error), + #[codec(index = 28)] + Preimage(runtime_types::pallet_preimage::pallet::Error), + #[codec(index = 21)] + Sudo(runtime_types::pallet_sudo::pallet::Error), + #[codec(index = 22)] + Proxy(runtime_types::pallet_proxy::pallet::Error), + #[codec(index = 23)] + Multisig(runtime_types::pallet_multisig::pallet::Error), + #[codec(index = 24)] + ElectionProviderMultiPhase( + runtime_types::pallet_election_provider_multi_phase::pallet::Error, + ), + #[codec(index = 25)] + VoterList(runtime_types::pallet_bags_list::pallet::Error), + #[codec(index = 29)] + NominationPools(runtime_types::pallet_nomination_pools::pallet::Error), + #[codec(index = 30)] + FastUnstake(runtime_types::pallet_fast_unstake::pallet::Error), + #[codec(index = 31)] + ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Error), + #[codec(index = 32)] + Referenda(runtime_types::pallet_referenda::pallet::Error), + #[codec(index = 36)] + Whitelist(runtime_types::pallet_whitelist::pallet::Error), + #[codec(index = 37)] + Treasury(runtime_types::pallet_treasury::pallet::Error), + #[codec(index = 42)] + Configuration( + runtime_types::polkadot_runtime_parachains::configuration::pallet::Error, + ), + #[codec(index = 44)] + ParaInclusion(runtime_types::polkadot_runtime_parachains::inclusion::pallet::Error), + #[codec(index = 45)] + ParaInherent( + runtime_types::polkadot_runtime_parachains::paras_inherent::pallet::Error, + ), + #[codec(index = 47)] + Paras(runtime_types::polkadot_runtime_parachains::paras::pallet::Error), + #[codec(index = 51)] + Hrmp(runtime_types::polkadot_runtime_parachains::hrmp::pallet::Error), + #[codec(index = 53)] + ParasDisputes(runtime_types::polkadot_runtime_parachains::disputes::pallet::Error), + #[codec(index = 54)] + ParasSlashing( + runtime_types::polkadot_runtime_parachains::disputes::slashing::pallet::Error, + ), + #[codec(index = 56)] + OnDemandAssignmentProvider( + runtime_types::polkadot_runtime_parachains::assigner_on_demand::pallet::Error, + ), + #[codec(index = 57)] + CoretimeAssignmentProvider( + runtime_types::polkadot_runtime_parachains::assigner_coretime::pallet::Error, + ), + #[codec(index = 60)] + Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Error), + #[codec(index = 61)] + Slots(runtime_types::polkadot_runtime_common::slots::pallet::Error), + #[codec(index = 62)] + ParasSudoWrapper( + runtime_types::polkadot_runtime_common::paras_sudo_wrapper::pallet::Error, + ), + #[codec(index = 63)] + Auctions(runtime_types::polkadot_runtime_common::auctions::pallet::Error), + #[codec(index = 64)] + Crowdloan(runtime_types::polkadot_runtime_common::crowdloan::pallet::Error), + #[codec(index = 65)] + AssignedSlots( + runtime_types::polkadot_runtime_common::assigned_slots::pallet::Error, + ), + #[codec(index = 66)] + Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Error), + #[codec(index = 99)] + XcmPallet(runtime_types::pallet_xcm::pallet::Error), + #[codec(index = 100)] + MessageQueue(runtime_types::pallet_message_queue::pallet::Error), + #[codec(index = 101)] + AssetRate(runtime_types::pallet_asset_rate::pallet::Error), + #[codec(index = 200)] + Beefy(runtime_types::pallet_beefy::pallet::Error), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -5687,8 +8769,6 @@ pub mod api { Session(runtime_types::pallet_session::pallet::Event), #[codec(index = 10)] Grandpa(runtime_types::pallet_grandpa::pallet::Event), - #[codec(index = 11)] - ImOnline(runtime_types::pallet_im_online::pallet::Event), #[codec(index = 16)] Utility(runtime_types::pallet_utility::pallet::Event), #[codec(index = 17)] @@ -5717,6 +8797,14 @@ pub mod api { NominationPools(runtime_types::pallet_nomination_pools::pallet::Event), #[codec(index = 30)] FastUnstake(runtime_types::pallet_fast_unstake::pallet::Event), + #[codec(index = 31)] + ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Event), + #[codec(index = 32)] + Referenda(runtime_types::pallet_referenda::pallet::Event), + #[codec(index = 36)] + Whitelist(runtime_types::pallet_whitelist::pallet::Event), + #[codec(index = 37)] + Treasury(runtime_types::pallet_treasury::pallet::Event), #[codec(index = 44)] ParaInclusion(runtime_types::polkadot_runtime_parachains::inclusion::pallet::Event), #[codec(index = 47)] @@ -5725,6 +8813,10 @@ pub mod api { Hrmp(runtime_types::polkadot_runtime_parachains::hrmp::pallet::Event), #[codec(index = 53)] ParasDisputes(runtime_types::polkadot_runtime_parachains::disputes::pallet::Event), + #[codec(index = 56)] + OnDemandAssignmentProvider( + runtime_types::polkadot_runtime_parachains::assigner_on_demand::pallet::Event, + ), #[codec(index = 60)] Registrar(runtime_types::polkadot_runtime_common::paras_registrar::pallet::Event), #[codec(index = 61)] @@ -5737,35 +8829,55 @@ pub mod api { AssignedSlots( runtime_types::polkadot_runtime_common::assigned_slots::pallet::Event, ), + #[codec(index = 66)] + Coretime(runtime_types::polkadot_runtime_parachains::coretime::pallet::Event), #[codec(index = 99)] XcmPallet(runtime_types::pallet_xcm::pallet::Event), #[codec(index = 100)] MessageQueue(runtime_types::pallet_message_queue::pallet::Event), + #[codec(index = 101)] + AssetRate(runtime_types::pallet_asset_rate::pallet::Event), + #[codec(index = 102)] + RootTesting(runtime_types::pallet_root_testing::pallet::Event), + #[codec(index = 248)] + IdentityMigrator( + runtime_types::polkadot_runtime_common::identity_migrator::pallet::Event, + ), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RuntimeFreezeReason { + #[codec(index = 29)] + NominationPools(runtime_types::pallet_nomination_pools::pallet::FreezeReason), + } + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum RuntimeHoldReason { + #[codec(index = 28)] + Preimage(runtime_types::pallet_preimage::pallet::HoldReason), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct SessionKeys { pub grandpa: runtime_types::sp_consensus_grandpa::app::Public, pub babe: runtime_types::sp_consensus_babe::app::Public, - pub im_online: runtime_types::pallet_im_online::sr25519::app_sr25519::Public, - pub para_validator: runtime_types::polkadot_primitives::v4::validator_app::Public, - pub para_assignment: runtime_types::polkadot_primitives::v4::assignment_app::Public, + pub para_validator: runtime_types::polkadot_primitives::v7::validator_app::Public, + pub para_assignment: runtime_types::polkadot_primitives::v7::assignment_app::Public, pub authority_discovery: runtime_types::sp_authority_discovery::app::Public, + pub beefy: runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, } } pub mod xcm { use super::runtime_types; pub mod double_encoded { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct DoubleEncoded { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, + pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod v2 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -5806,14 +8918,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] - Abstract(::std::vec::Vec<::core::primitive::u8>), + Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -5828,39 +8940,41 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), #[codec(index = 6)] - Blob(::std::vec::Vec<::core::primitive::u8>), + Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -5873,7 +8987,7 @@ pub mod api { } pub mod multilocation { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -5936,7 +9050,7 @@ pub mod api { runtime_types::xcm::v2::junction::Junction, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -5944,7 +9058,7 @@ pub mod api { } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -6000,7 +9114,7 @@ pub mod api { WeightNotComputable, } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -6027,7 +9141,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -6058,7 +9172,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -6198,7 +9312,7 @@ pub mod api { #[codec(index = 27)] UnsubscribeVersion, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] Any, @@ -6213,7 +9327,7 @@ pub mod api { #[codec(index = 3)] Kusama, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum OriginKind { #[codec(index = 0)] Native, @@ -6224,7 +9338,7 @@ pub mod api { #[codec(index = 3)] Xcm, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -6240,21 +9354,25 @@ pub mod api { #[codec(index = 3)] Version(::core::primitive::u32), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(#[codec(compact)] ::core::primitive::u64), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::Instruction, + >, + ); } pub mod v3 { use super::runtime_types; pub mod junction { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyId { #[codec(index = 0)] Unit, @@ -6277,7 +9395,7 @@ pub mod api { #[codec(index = 9)] Treasury, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -6308,7 +9426,7 @@ pub mod api { denom: ::core::primitive::u32, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -6350,7 +9468,7 @@ pub mod api { #[codec(index = 9)] GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -6378,11 +9496,13 @@ pub mod api { BitcoinCore, #[codec(index = 9)] BitcoinCash, + #[codec(index = 10)] + PolkadotBulletin, } } pub mod junctions { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Junctions { #[codec(index = 0)] Here, @@ -6448,14 +9568,14 @@ pub mod api { } pub mod multiasset { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetId { #[codec(index = 0)] - Concrete(runtime_types::xcm::v3::multilocation::MultiLocation), + Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 1)] Abstract([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -6470,37 +9590,39 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), #[codec(index = 1)] NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::multiasset::MultiAsset, + >, ); - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildFungibility { #[codec(index = 0)] Fungible, #[codec(index = 1)] NonFungible, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -6520,17 +9642,9 @@ pub mod api { }, } } - pub mod multilocation { - use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct MultiLocation { - pub parents: ::core::primitive::u8, - pub interior: runtime_types::xcm::v3::junctions::Junctions, - } - } pub mod traits { use super::runtime_types; - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Error { #[codec(index = 0)] Overflow, @@ -6613,17 +9727,8 @@ pub mod api { #[codec(index = 39)] ExceedsStackLimit, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum Outcome { - #[codec(index = 0)] - Complete(::sp_weights::Weight), - #[codec(index = 1)] - Incomplete(::sp_weights::Weight, runtime_types::xcm::v3::traits::Error), - #[codec(index = 2)] - Error(runtime_types::xcm::v3::traits::Error), - } } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Instruction { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -6638,18 +9743,18 @@ pub mod api { response: runtime_types::xcm::v3::Response, max_weight: ::sp_weights::Weight, querier: ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, }, #[codec(index = 4)] TransferAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssets, - beneficiary: runtime_types::xcm::v3::multilocation::MultiLocation, + beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 5)] TransferReserveAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssets, - dest: runtime_types::xcm::v3::multilocation::MultiLocation, + dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, xcm: runtime_types::xcm::v3::Xcm, }, #[codec(index = 6)] @@ -6690,12 +9795,12 @@ pub mod api { #[codec(index = 13)] DepositAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - beneficiary: runtime_types::xcm::v3::multilocation::MultiLocation, + beneficiary: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 14)] DepositReserveAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v3::multilocation::MultiLocation, + dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, xcm: runtime_types::xcm::v3::Xcm, }, #[codec(index = 15)] @@ -6707,13 +9812,13 @@ pub mod api { #[codec(index = 16)] InitiateReserveWithdraw { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - reserve: runtime_types::xcm::v3::multilocation::MultiLocation, + reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation, xcm: runtime_types::xcm::v3::Xcm, }, #[codec(index = 17)] InitiateTeleport { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, - dest: runtime_types::xcm::v3::multilocation::MultiLocation, + dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, xcm: runtime_types::xcm::v3::Xcm, }, #[codec(index = 18)] @@ -6737,7 +9842,7 @@ pub mod api { #[codec(index = 24)] ClaimAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssets, - ticket: runtime_types::xcm::v3::multilocation::MultiLocation, + ticket: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 25)] Trap(#[codec(compact)] ::core::primitive::u64), @@ -6756,7 +9861,7 @@ pub mod api { #[codec(index = 30)] ExpectOrigin( ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, ), #[codec(index = 31)] @@ -6770,15 +9875,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::xcm::v3::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -6799,22 +9906,22 @@ pub mod api { #[codec(index = 39)] LockAsset { asset: runtime_types::xcm::v3::multiasset::MultiAsset, - unlocker: runtime_types::xcm::v3::multilocation::MultiLocation, + unlocker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 40)] UnlockAsset { asset: runtime_types::xcm::v3::multiasset::MultiAsset, - target: runtime_types::xcm::v3::multilocation::MultiLocation, + target: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 41)] NoteUnlockable { asset: runtime_types::xcm::v3::multiasset::MultiAsset, - owner: runtime_types::xcm::v3::multilocation::MultiLocation, + owner: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 42)] RequestUnlock { asset: runtime_types::xcm::v3::multiasset::MultiAsset, - locker: runtime_types::xcm::v3::multilocation::MultiLocation, + locker: runtime_types::staging_xcm::v3::multilocation::MultiLocation, }, #[codec(index = 43)] SetFeesMode { jit_withdraw: ::core::primitive::bool }, @@ -6823,16 +9930,16 @@ pub mod api { #[codec(index = 45)] ClearTopic, #[codec(index = 46)] - AliasOrigin(runtime_types::xcm::v3::multilocation::MultiLocation), + AliasOrigin(runtime_types::staging_xcm::v3::multilocation::MultiLocation), #[codec(index = 47)] UnpaidExecution { weight_limit: runtime_types::xcm::v3::WeightLimit, check_origin: ::core::option::Option< - runtime_types::xcm::v3::multilocation::MultiLocation, + runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, }, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum MaybeErrorCode { #[codec(index = 0)] Success, @@ -6849,7 +9956,7 @@ pub mod api { >, ), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, @@ -6866,14 +9973,14 @@ pub mod api { #[codec(compact)] pub patch: ::core::primitive::u32, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub struct QueryResponseInfo { - pub destination: runtime_types::xcm::v3::multilocation::MultiLocation, + pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] pub query_id: ::core::primitive::u64, pub max_weight: ::sp_weights::Weight, } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum Response { #[codec(index = 0)] Null, @@ -6897,48 +10004,80 @@ pub mod api { #[codec(index = 5)] DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum WeightLimit { #[codec(index = 0)] Unlimited, #[codec(index = 1)] Limited(::sp_weights::Weight), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub struct Xcm(pub ::std::vec::Vec); + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub struct Xcm( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::Instruction, + >, + ); } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::asset::AssetId), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum VersionedMultiAssets { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VersionedAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::MultiAssets), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::asset::Assets), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] - pub enum VersionedMultiLocation { + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum VersionedLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 3)] - V3(runtime_types::xcm::v3::multilocation::MultiLocation), + V3(runtime_types::staging_xcm::v3::multilocation::MultiLocation), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::location::Location), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), #[codec(index = 3)] V3(runtime_types::xcm::v3::Response), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::Response), } - #[derive(:: codec :: Decode, :: codec :: Encode, Clone, Debug, PartialEq)] + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] pub enum VersionedXcm { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm), #[codec(index = 3)] V3(runtime_types::xcm::v3::Xcm), + #[codec(index = 4)] + V4(runtime_types::staging_xcm::v4::Xcm), + } + } + pub mod xcm_fee_payment_runtime_api { + use super::runtime_types; + #[derive(::codec::Decode, ::codec::Encode, Clone, Debug, PartialEq)] + pub enum Error { + #[codec(index = 0)] + Unimplemented, + #[codec(index = 1)] + VersionedConversionFailed, + #[codec(index = 2)] + WeightNotComputable, + #[codec(index = 3)] + UnhandledXcmVersion, + #[codec(index = 4)] + AssetNotFound, + #[codec(index = 5)] + Unroutable, } } } From 15d6161197295d2098b71dbb511ff02962cc1236 Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Tue, 4 Jun 2024 11:59:31 +0200 Subject: [PATCH 5/5] README.md nit --- RELEASE.md | 2 ++ scripts/regenerate_runtimes.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index e1faa95469..7676e9fd07 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -135,6 +135,8 @@ support it. Normally it means: 2. Regenerating bundled runtime wrapper code using `runtime-codegen` binary: +_(You can use the pre-defined `./scripts/regenerate_runtimes.sh` to regenerate all supported runtimes. If you need just a particular runtime, then follow the commands below.)_ + If you can start updated chain node, it could be done using following command (assuming you're in the root of the repository): ```sh diff --git a/scripts/regenerate_runtimes.sh b/scripts/regenerate_runtimes.sh index 8f317ff974..bc7dae06a3 100755 --- a/scripts/regenerate_runtimes.sh +++ b/scripts/regenerate_runtimes.sh @@ -35,4 +35,6 @@ cargo +nightly fmt --all # git clone https://github.com/zdave-parity/polkadot-bulletin-chain.git # cd polkadot-bulletin-chain # cargo run -# cargo run --bin runtime-codegen -- --from-node-url "ws://127.0.0.1:9944" > ../../relays/client-polkadot-bulletin/src/codegen_runtime.rs \ No newline at end of file +# cargo run --bin runtime-codegen -- --from-node-url "ws://127.0.0.1:9944" > ../../relays/client-polkadot-bulletin/src/codegen_runtime.rs + +cargo check --workspace \ No newline at end of file